configure - cannot run C compiled programs.
Verfasst: 10.11.2004, 13:51
Ich habe beim installieren/ compellieren folgende Fehlermeldung bekommen, was kann ich tun?
shell> configure
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking for C compiler default output... conftest.o
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
shell> configure --host localhost
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... sparc-sun-solaris2.8
checking host system type... localhost
checking for localhost-gcc... gcc
checking for C compiler default output... conftest.o
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for localhost-g++... no
checking for localhost-c++... no
checking for localhost-gpp... no
checking for localhost-aCC... no
checking for localhost-CC... no
checking for localhost-cxx... no
checking for localhost-cc++... no
checking for localhost-cl... no
checking for localhost-FCC... no
checking for localhost-KCC... no
checking for localhost-RCC... no
checking for localhost-xlC_r... no
checking for localhost-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for compress in -lz... yes
checking for libmysqlclient...
checking for "/usr/lib/libmysqlclient.a"... configure: error: cannot check for file existence when cross compiling
shell> configure
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking for C compiler default output... conftest.o
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
shell> configure --host localhost
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... sparc-sun-solaris2.8
checking host system type... localhost
checking for localhost-gcc... gcc
checking for C compiler default output... conftest.o
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for localhost-g++... no
checking for localhost-c++... no
checking for localhost-gpp... no
checking for localhost-aCC... no
checking for localhost-CC... no
checking for localhost-cxx... no
checking for localhost-cc++... no
checking for localhost-cl... no
checking for localhost-FCC... no
checking for localhost-KCC... no
checking for localhost-RCC... no
checking for localhost-xlC_r... no
checking for localhost-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for compress in -lz... yes
checking for libmysqlclient...
checking for "/usr/lib/libmysqlclient.a"... configure: error: cannot check for file existence when cross compiling