Compilation problem
Brought to you by:
davefx
The ./configure script fail with this error, this bot with 0.9.9 and 0.9.1 version.
./configure: line 5104: syntax error near unexpected token `('
./configure: line 5104: ` ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
Please, I need more details. Which distribution are you using??
Thanks for your report.
Same problem with the tatest 1.0.0 version! I'm on Slackware 12.2.
./configure: line 5203: syntax error near unexpected token `('
./configure: line 5203: ` ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;'
Please, check if you can compile the development tree hosted in subversion. If you can, please do a "make dist" and send the result package backt to me, so I can analyze the differences.
Thank you for your support.
I have a problem also with svn. But the 0.6.0 versione configure work and compile.
config.status: creating gnomint.spec
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE
Configure summary:
Source code location .......: .
Compiler ...................: gcc
Compiler flags .............: -Wall -Werror
Installing into prefix .....: /usr
ALL_LINGUAS ................: cs de es fr it sv
Type make to build gnoMint 0.6.0
The offending line 5104 of configure script in version 1.0.0 appears in the line 5089 of the same script in version 0.6.0.
Nevertheless, this line should be executed only if you are trying to compile gnoMint with a MingW cross-compiler, and it only should fail if your /bin/sh doesn't recognize this line.
Where does /bin/sh link to?
/bin/sh it's a link to /bin/bash
Ok maybe i find the problem! It's on the line 8 of configure.in
PACKAGE_AUTHORS=`cat AUTHORS | tr '\n\' ',' | sed 's/,/\\\\n/g'`
I'have commented out this line
#PACKAGE_AUTHORS=`cat AUTHORS | tr '\n\' ',' | sed 's/,/\\\\n/g'`
I have rebuilted the condfigure with autoconf
And now the configure script work like a charm.
config.status: creating gnomint.spec
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
Configure summary:
Source code location .......: .
Compiler ...................: gcc
Compiler flags .............: -Wall -Werror
Installing into prefix .....: /usr/local
ALL_LINGUAS ................: cs de es fi fr it pt_BR ru sv
Type make to build gnoMint 1.0.0
Thank you!
Please recheck the last subversion revision: I have made some changes to the configure script that should correct this problem.
Sorry the autogen.sh script don't work on my system!
Checking for required M4 macros...
libtool.m4 not found
glib-gettext.m4 not found
intltool.m4 not found
pkg.m4 not found
***Error***: some autoconf macros required to build gnoMint
were not found in your aclocal path, or some forbidden
macros were found. Perhaps you need to adjust your
ACLOCAL_FLAGS?
but the new configure.in work!!!
I have tested it inside the 1.0.0 source after an autoconf.
If you send me a new ready tarball i can also test it, before you release it.
gohanz@infinito.it
Marking as fixed.