problem with configure
Markus Mertens
markus.mertens at uni-muenster.de
Thu Mar 20 16:47:59 GMT 2003
Hello,
I attached the part of the core tests from the config.log file. Somehow
configure assumes that the name of the compiler is "sparc-linux-gcc". But
since a compiler with this name does not exist on my system compilation fails.
Kind regards,
Markus
Caleb Tennis <caleb at aei-tech.com> schrieb:
> On Thursday 20 March 2003 03:59 am, you wrote:
> > Hello,
> >
> > after creating a new C++-project with KDevelop-2.1.5 on Solaris I wanted
> to
> > configure and compile it. But something goes wrong in KDevelop. How is it
> > possible that the system is correctly recognized (sparc-sun-solaris2.8)
> and
> > later configure assumes that the compiler is named "sparc-linux-gcc"? If I
> > run configure in a terminal (not within KDevelop) then it finds the
> correct
> > compiler "gcc". How can I solve this problem?
> The configure script is based on KDE's magic voodoo at the time
> KDevelop-2.1.5
> was packaged. What does the config.log show as being the problem?
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1498: checking build system type
configure:1516: result: sparc-sun-solaris2.8
configure:1524: checking host system type
configure:1538: result: sparc-sun-solaris2.8
configure:1546: checking target system type
configure:1560: result: sparc-sun-solaris2.8
configure:1606: checking for a BSD-compatible install
configure:1660: result: /opt/sfw/bin/ginstall -c
configure:1675: checking for -p flag to install
configure:1688: result: yes
configure:1699: checking whether build environment is sane
configure:1742: result: yes
configure:1762: checking for gawk
configure:1778: found /usr/local/bin/gawk
configure:1788: result: gawk
configure:1798: checking whether make sets $(MAKE)
configure:1818: result: yes
configure:2026: checking for style of include used by make
configure:2054: result: GNU
configure:2201: checking for gcc
configure:2227: result: sparc-linux-gcc
configure:2471: checking for C compiler version
configure:2474: sparc-linux-gcc --version </dev/null >&5
./configure[2475]: sparc-linux-gcc: not found
configure:2477: $? = 127
configure:2479: sparc-linux-gcc -v </dev/null >&5
./configure[2480]: sparc-linux-gcc: not found
configure:2482: $? = 127
configure:2484: sparc-linux-gcc -V </dev/null >&5
./configure[2485]: sparc-linux-gcc: not found
configure:2487: $? = 127
configure:2511: checking for C compiler default output
configure:2514: sparc-linux-gcc conftest.c -lsocket -lnsl >&5
./configure[2515]: sparc-linux-gcc: not found
configure:2517: $? = 127
configure: failed program was:
| #line 2490 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "first"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2555: error: C compiler cannot create executables
See `config.log' for more details.
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list