Hi,
I am trying to configure and make install tslib on my computer to use it later to create application for a board. I configured and installed it on a pc and there was no problem but now that i am trying it on 2 others i run into this error. (i followed the same steps in the first pc and now)
i configure it like this :
Code:
./configure CC=arm-linux-gcc CXX=arm-linux-g++ -host=arm-linux -target=arm-linux -enable-static=yes -enable-shared=yes
And get the message :
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... arm-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether the C++ compiler works... no
configure: error: in `/home/spi/installQt/ts/tslib-1.0':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
I checked in config.log and saw this :
Code:
configure:3208: checking for C++ compiler version
configure:3217: arm-linux-g++ --version >&5
./configure: line 3219: /usr/bin/arm-linux-g++: No such file or directory
configure:3228: $? = 127
configure:3217: arm-linux-g++ -v >&5
./configure: line 3219: /usr/bin/arm-linux-g++: No such file or directory
configure:3228: $? = 127
configure:3217: arm-linux-g++ -V >&5
./configure: line 3219: /usr/bin/arm-linux-g++: No such file or directory
configure:3228: $? = 127
configure:3217: arm-linux-g++ -qversion >&5
./configure: line 3219: /usr/bin/arm-linux-g++: No such file or directory
configure:3228: $? = 127
configure:3248: checking whether the C++ compiler works
configure:3270: arm-linux-g++ conftest.cpp >&5
./configure: line 3272: /usr/bin/arm-linux-g++: No such file or directory
configure:3274: $? = 127
configure:3312: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tslib"
| #define PACKAGE_TARNAME "tslib"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "tslib 0.1.0"
| #define PACKAGE_BUGREPORT "kergoth@handhelds.org"
| #define PACKAGE_URL ""
| #define PACKAGE "tslib"
| #define VERSION "0.1.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3317: error: in `/home/spi/installQt/ts/tslib-1.0':
configure:3319: error: C++ compiler cannot create executables
See `config.log' for more details
I check, the symlink exist in /usr/bin, the targets exist too and all of them have all the rights.
I tried :
Code:
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install build-essential
It always tells me that i have the lastest version.
Autoconf and libtool are installed too.