Willkommen im #Neuland
Login wie bei quake.ingame.de zuvor, die Passwörter aus der alten Datenbank wurden aber gelöscht - einmal hier neu anfordern.
Wer seine E-Mail-Adresse nicht mehr hat oder kennt, bitte eine Nachricht mit Infos schicken o. im Discord melden.
PQ Discord Server: #planetquake Spenden? Hier entlang!
Login wie bei quake.ingame.de zuvor, die Passwörter aus der alten Datenbank wurden aber gelöscht - einmal hier neu anfordern.
Wer seine E-Mail-Adresse nicht mehr hat oder kennt, bitte eine Nachricht mit Infos schicken o. im Discord melden.
PQ Discord Server: #planetquake Spenden? Hier entlang!
configure - cannot run C compiled programs.
configure - cannot run C compiled programs.
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
in der Config.log steht:
Es gibt in dem Verzeichnis aber keine conftest.o datei.
Es handelt sich übrigens bei dem Programm um mysqltcl (mysqlControlCenter)
http://www.xdobry.de/mysqltcl/mysqltcl-2.50-0.src.rpm
Code: Alles auswählen
configure:1682: checking whether the C compiler works[br]configure:1688: ./conftest.o[br]./configure: ./conftest.o: Permission denied[br]configure:1691: $? = 126[br]configure:1699: error: cannot run C compiled programs.[br]If you meant to cross compile, use `--host'.[br][br]## ---------------- ##[br]## Cache variables. ##[br]## ---------------- ##[br][br]ac_cv_build=sparc-sun-solaris2.8[br]...
Es handelt sich übrigens bei dem Programm um mysqltcl (mysqlControlCenter)
http://www.xdobry.de/mysqltcl/mysqltcl-2.50-0.src.rpm
Du hast keine Erlaubnis, sie auszuführen -- das ist was anderes. Warum dem so ist, da bin ich jetzt überfragt. Es könnte sowas blödes sein wie dass GCC keine Ausführungsrechte setzt, oder etwas obskures wie dass du den Configure-Lauf auf einer noexec-Partition durchführst. Ich wüsste auf Anhieb nicht, wie man das genauer diagnostizieren soll..
-
- Slash
- Beiträge: 678
- Registriert: Jan 2004
- Wohnort: Wörgl / Tirol / Austria
-
- Slash
- Beiträge: 678
- Registriert: Jan 2004
- Wohnort: Wörgl / Tirol / Austria
-
- Slash
- Beiträge: 678
- Registriert: Jan 2004
- Wohnort: Wörgl / Tirol / Austria
eine hello world schreiben.
dann gcc -o testbinary testbinarysource.c
und ./testbinary
Wenn das funktioniert ... funktionierts
Code: Alles auswählen
#include <stdio.h>
int main()
{
printf("blubb");
return 0;
}
und ./testbinary
Wenn das funktioniert ... funktionierts
To follow the path:
look to the master,
follow the master,
walk with the master,
see through the master,
become the master.
look to the master,
follow the master,
walk with the master,
see through the master,
become the master.