OS/2, eCS & ArcaOS - Technical > Programming
Strange autoconf / autoreconf / configure behavior
Mentore:
--- Quote from: Mentore on May 22, 2024, 08:22:17 am ---
--- Quote from: KO Myung-Hun on May 21, 2024, 05:48:56 pm ---Hi/2.
How about trying `-c' option like:
--- Code: ---sh -c /usr/bin/autoreconf -sfvi
--- End code ---
or
--- Code: ---sh -c "/usr/bin/autoreconf -sfvi"
--- End code ---
Auto tools scripts are not shell scripts but perl scripts in many cases.
KO Myung-Hun
--- End quote ---
Thanks for this help KO. I'll check everything asap. What puzzles me is that this behavior just started occurring on every project, suddendly, while days ago autoreconf and the other perl scripts worked correctly.
Will update asap.
Mentore
--- End quote ---
Quoting myself:
after creating a config.site file and slightly modifying my CMD settings file the result is the same - error on gawk while running config.status.
Also, if I issue autoreconf, the result is this
[D:\Sviluppo\sorgenti\tmp\cscope-15.9>]sh -c /usr/bin/autoreconf -sfvi
Can't open perl script "exe": No such file or directory
which points me really nowhere. Have to check something, or maybe the best solution is to reinstall everything.
Mentore
Mentore:
--- Quote from: Mentore on May 22, 2024, 09:02:15 am ---
--- Quote from: Mentore on May 22, 2024, 08:22:17 am ---
--- Quote from: KO Myung-Hun on May 21, 2024, 05:48:56 pm ---Hi/2.
How about trying `-c' option like:
--- Code: ---sh -c /usr/bin/autoreconf -sfvi
--- End code ---
or
--- Code: ---sh -c "/usr/bin/autoreconf -sfvi"
--- End code ---
Auto tools scripts are not shell scripts but perl scripts in many cases.
KO Myung-Hun
--- End quote ---
Thanks for this help KO. I'll check everything asap. What puzzles me is that this behavior just started occurring on every project, suddendly, while days ago autoreconf and the other perl scripts worked correctly.
Will update asap.
Mentore
--- End quote ---
Quoting myself:
after creating a config.site file and slightly modifying my CMD settings file the result is the same - error on gawk while running config.status.
Also, if I issue autoreconf, the result is this
[D:\Sviluppo\sorgenti\tmp\cscope-15.9>]sh -c /usr/bin/autoreconf -sfvi
Can't open perl script "exe": No such file or directory
which points me really nowhere. Have to check something, or maybe the best solution is to reinstall everything.
Mentore
--- End quote ---
Bit of update: correcting SED=sed in configuration made configure work again.
It seems I need to work a little more to make autoreconf / autoconf work correctly.
Mentore
Mentore:
Bringing up this thread with some little more information.
I'm trying to autoreconf this HP48 emulator (x48 -- HP48 CPU emulator) which, by the way, most probably won't compile because I need X and I still didn't install development files. But this is not my issue.
My problems with auto* tools still remain: if I launch
sh /usr/bin/autoreconf -sfvi
or similar invocation I get this error
aclocal: running echo 'm4_define([m4_require_silent_probe], [-])' | autom4te --l
anguage Autoconf-without-aclocal-m4 - /usr/share/aclocal-1.16/internal/ac-confi
g-macro-dirs.m4 @C:/var/temp/PW47KLolVM configure.ac
Can't open perl script "exe": No such file or directory
aclocal: error: echo failed with exit status: 2
which gives me nothing since I still can't figure out what "exe" script perl is searching for. Also, for the life of me I can't understand why the script tries to write in C:\var\temp since I set every temporary variable to D:\temp, where I develop.
attaching a log from the execution of aclocal. Most probably will be useless, since it's got no warnings at all.
Mentore
Mentore:
Another attempt, this time after re-installing autoconf and automake: this time I receive
sh /usr/bin/autoreconf -sfvi
/usr/bin/autoreconf.: /@unixroot/usr/bin/perl: not found
Getting kind of lost here...
Mentore
KO Myung-Hun:
Still not working ? And did you install perl ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version