Day: September 2, 2012

Error: X–tag=CC: command not found

Se você está recebendo estas mensagens de erro:


../../libtool: line 805: X--tag=CC: command not found
../../libtool: line 838: libtool: ignoring unknown tag : command not found
../../libtool: line 805: X--mode=compile: command not found
../../libtool: line 955: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 956: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../libtool: line 1099: Xgcc: command not found
../../libtool: line 1099: X-DHAVE_CONFIG_H: command not found
../../libtool: line 1099: X-I.: command not found
../../libtool: line 1099: X-I../..: No such file or directory
../../libtool: line 1099: X-g: command not found
../../libtool: line 1099: X-O2: command not found
../../libtool: line 1099: X-MT: command not found

Este erro ocorre porque você está usando uma versão libtool mais nova que a versão usada no programa que você está tentando compilar.

Você pode resolver dessa forma:


$ rm ltmain.sh
$ autoreconf
$ ./configure
$ make

Fonte: http://errorjournal.blogspot.com.br/2008/11/x-tagcc-command-not-found.html