LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   libtool error (http://www.linuxquestions.org/questions/programming-9/libtool-error-702532/)

linuxdoniv 02-05-2009 12:36 PM

libtool error
 
Hi,

I am trying to build one of the source code given by my friend and it gives the following error when i execute the build script.

./build_libs.sh

the out put is

/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -ggdb -DLINUX -Werror -Wall -MT gkeyfile.lo -MD -MP -MF .deps/gkeyfile.Tpo -c -o gkeyfile.lo gkeyfile.c
../libtool: line 824: X--tag=CC: command not found
../libtool: line 857: libtool: ignoring unknown tag : command not found
../libtool: line 824: X--mode=compile: command not found
../libtool: line 990: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 991: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1134: Xgcc: command not found
../libtool: line 1134: X-DHAVE_CONFIG_H: command not found
../libtool: line 1134: X-I.: command not found
../libtool: line 1134: X-I..: command not found
../libtool: line 1134: X-I/usr/include/glib-1.2: No such file or directory
../libtool: line 1134: X-I/usr/lib/glib/include: No such file or directory
../libtool: line 1134: X-ggdb: command not found
../libtool: line 1134: X-DLINUX: command not found
../libtool: line 1134: X-Werror: command not found
../libtool: line 1134: X-Wall: command not found
../libtool: line 1134: X-MT: command not found
../libtool: line 1134: Xgkeyfile.lo: command not found
../libtool: line 1134: X-MD: command not found




Could anybody help me in this regard.

Thanks ...

gnashley 02-05-2009 12:51 PM

Try something like this:
export CC=/path/to/your/gcc ; ./build_libs.sh


All times are GMT -5. The time now is 08:38 PM.