Hallo Thomas > >> Installiere ihn und probiers noch mal! > > Installiert ist: > > Gcc-cpp > > Gcc3.0 > > Gcc-c++ > > Kernel-headers > > Perl > > (das hab ich zu compiler gefunden) > > Weitere Vorschläge :-) > > Mit freundlichen Grüßen > > Juergen l. > libgcc fehlt.. Nochmals schritt für schritt was ich gemacht habe. 1. Qmail downgeloadet 2. entpackt 3. "make setup check" ausgeführt (ohne "") 4. Fehler (Siehe unten ausgabe ) 5. nach suche bei google nach dem Fehler folgendes ausgeführt "echo gcc > conf-cc" 6. nochmals "make setup check" aufgerufen 7. Fehler (siehe unten) 8. Verzweifelt :-) Nachgeprüft ob obige Packete installiert sind "ja, sind drauf" Ausgabe Schritt 4: [root@spaceball qmail-1.03]# make setup check ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\' \ ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile chmod 755 compile ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1 \ && cat fork.h2 || cat fork.h1 ) > fork.h rm -f tryvfork.o tryvfork ./compile qmail-local.c ./compile: exec: cc: not found make: *** [qmail-local.o] Fehler 127 <------------------------Fehler Ausgabe Schritt 7: [root@spaceball qmail-1.03]# make setup check ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\' \ ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile chmod 755 compile ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1 \ && cat fork.h2 || cat fork.h1 ) > fork.h rm -f tryvfork.o tryvfork ./compile qmail-local.c qmail-local.c: In function `main': qmail-local.c:450: warning: return type of `main' is not `int' ./compile qmail.c ./compile quote.c ./compile now.c ./compile gfrom.c ./compile myctime.c ./compile slurpclose.c cat auto-ccld.sh make-makelib.sh > make-makelib chmod 755 make-makelib ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ makelib chmod 755 makelib ./compile case_diffb.c ./compile case_diffs.c ./compile case_lowerb.c ./compile case_lowers.c ./compile case_starts.c ./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \ case_lowers.o case_starts.o ./compile getln.c ./compile getln2.c ./makelib getln.a getln.o getln2.o ./compile subgetopt.c ./compile sgetopt.c ./makelib getopt.a subgetopt.o sgetopt.o ./compile sig_alarm.c ( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \ 2>&1 \ && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h rm -f trysgprm.o trysgprm ./compile sig_block.c ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ 2>&1 \ && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h rm -f trysgact.o trysgact ./compile sig_catch.c ./compile sig_pause.c ./compile sig_pipe.c ./compile sig_child.c ./compile sig_hup.c ./compile sig_term.c ./compile sig_bug.c ./compile sig_misc.c ./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \ sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \ sig_bug.o sig_misc.o ./compile open_append.c ./compile open_excl.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./makelib open.a open_append.o open_excl.o open_read.o \ open_trunc.o open_write.o ./compile seek_cur.c ./compile seek_end.c ./compile seek_set.c ./compile seek_trunc.c ./makelib seek.a seek_cur.o seek_end.o seek_set.o \ seek_trunc.o ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \ 2>&1 \ && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h rm -f tryflock.o tryflock ./compile lock_ex.c ./compile lock_exnb.c ./compile lock_un.c ./makelib lock.a lock_ex.o lock_exnb.o lock_un.o ./compile fd_copy.c ./compile fd_move.c ./makelib fd.a fd_copy.o fd_move.o ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \ 2>&1 \ && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h rm -f trywaitp.o trywaitp ./compile wait_pid.c ./compile wait_nohang.c ./makelib wait.a wait_pid.o wait_nohang.o ./compile env.c ./compile envread.c ./makelib env.a env.o envread.o ./compile stralloc_eady.c ./compile stralloc_pend.c ./compile stralloc_copy.c ./compile stralloc_opys.c ./compile stralloc_opyb.c ./compile stralloc_cat.c ./compile stralloc_cats.c ./compile stralloc_catb.c ./compile stralloc_arts.c ./makelib stralloc.a stralloc_eady.o stralloc_pend.o \ stralloc_copy.o stralloc_opys.o stralloc_opyb.o \ stralloc_cat.o stralloc_cats.o stralloc_catb.o \ stralloc_arts.o ./compile alloc.c ./compile alloc_re.c ./makelib alloc.a alloc.o alloc_re.o ./compile strerr_sys.c ./compile strerr_die.c ./makelib strerr.a strerr_sys.o strerr_die.o ./compile substdio.c ./compile substdi.c ./compile substdo.c ./compile subfderr.c ./compile subfdout.c ./compile subfdouts.c ./compile subfdin.c ./compile subfdins.c ./compile substdio_copy.c ./makelib substdio.a substdio.o substdi.o substdo.o \ subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \ substdio_copy.o ./compile error.c ./compile error_str.c ./compile error_temp.c ./makelib error.a error.o error_str.o error_temp.o ./compile str_len.c ./compile str_diff.c ./compile str_diffn.c ./compile str_cpy.c ./compile str_chr.c ./compile str_rchr.c ./compile str_start.c ./compile byte_chr.c ./compile byte_rchr.c ./compile byte_diff.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_zero.c ./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \ str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \ byte_diff.o byte_copy.o byte_cr.o byte_zero.o ./compile fmt_str.c ./compile fmt_strn.c ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c ./compile scan_ulong.c ./compile scan_8long.c ./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \ fmt_ulong.o scan_ulong.o scan_8long.o ./compile datetime.c ./compile datetime_un.c ./makelib datetime.a datetime.o datetime_un.o ./compile auto-str.c auto-str.c: In function `main': auto-str.c:17: warning: return type of `main' is not `int' ./load auto-str substdio.a error.a str.a ./load: exec: cc: not found make: *** [auto-str] Fehler 127 <-------------------Fehler Hoffe das die ausführliche Beschreibung nicht zu spät kommt. Vielen Dank schon mal im voraus Mit freundlichen Grüßen Juergen l.
Hallo Jürgen, hallo Leute, Am Samstag, 1. März 2003 13:58 schrieb Juergen L.:
Installiere ihn und probiers noch mal!
Installiert ist: Gcc-cpp Gcc3.0
Sicher? BTW: Welche SuSE-Version? (bei 8.1 ist nämlich der gcc 3.2 dabei, bei den 8.0 und davor gcc 2.xx. gcc 3.0 ist somit wohl nicht von den SuSE-CDs.) Was meldet rpm -qa | grep gcc und was rpm -ql gcc | grep bin ?
[root@spaceball qmail-1.03]# make setup check [...] ./compile qmail-local.c ./compile: exec: cc: not found make: *** [qmail-local.o] Fehler 127 <------------------------Fehler ^^^^^^ Der Fehler ist das nicht, 127 ist nur der Exitcode ($? in bash) ;-)
Der Fehler steht wie so oft bei make eine Zeile höher: cc: not found Findet which cc den Compiler? Bei mir ist /usr/bin/cc übrigens ein Symlink auf /usr/bin/gcc Evtl. kannst/musst Du auch den zu verwendeten Compiler beim configure (siehe configure --help) festlegen. Wenn Du den Fehler nicht findest, würde mich mal der Inhalt des Scripts "compile" interessieren. Gruß Christian Boltz -- Stell dein cron auch deine Rechneruhr? Ja? Dann würde ich ihm nicht allzuviel mehr anvertrauen - er scheint leicht überlastet und strebt in Riesenschritten die Rente an ;-) [Matthias Houdek in suse-linux zu einer Mail aus der Zukunft]
Was meldet rpm -qa | grep gcc und was rpm -ql gcc | grep bin ? gcc3.0-cpp-3.0.4-2mdk
Hallo Christian libgcc3.0-3.0.4-2mdk gcc3.0-3.0.4-2mdk gcc-cpp-2.96-0.76mdk gcc3.0-c++-3.0.4-2mdk
Der Fehler steht wie so oft bei make eine Zeile höher: cc: not found
Findet which cc den Compiler?
Bei mir ist /usr/bin/cc übrigens ein Symlink auf /usr/bin/gcc
Evtl. kannst/musst Du auch den zu verwendeten Compiler beim configure (siehe configure --help) festlegen.
Wenn Du den Fehler nicht findest, würde mich mal der Inhalt des Scripts "compile" interessieren. Ich habe das Problem jetzt anderst gelöst, oder zuminderst einen Weg gefunden Wie es geht. Würde im Netz nach einem rpm Packet fündig und dieses ist Anstandslos zu installieren gegeangen. Wobei ich den Fehler schon seltsam Finde. Habe schon öfter Qmail übersetzt, aber zum ersten mal solche Probs gehabt. Aber noch einen dicken dank an alle, für die Hilfestellung Mit freundlichen Grüßen Juergen l.
Juergen L. wrote:
gcc3.0-cpp-3.0.4-2mdk libgcc3.0-3.0.4-2mdk gcc3.0-3.0.4-2mdk gcc-cpp-2.96-0.76mdk gcc3.0-c++-3.0.4-2mdk
Du hast diese Pakete auf einer SuSE installiert? Mutig, zumal es die Version 3.0 auch direkt von SuSE gab (allerdings nicht als offizieller Com- piler einer Distri). Inzwischen ist GCC 3.2 ak- tuell. Ich wuerde es vermeiden, RPM von Fremd- distributionen einzuspielen - es gibt da doch den ein oder anderen feinen Unterschied, der einem in manchen Situationen dann schwer zu schaffen ma- chen kann. GCC 3.2 laesst sich z.B. problemlos selbst compilieren. Gruesse, Th. -- Thomas Hertweck, Geophysicist Geophysical Institute, Karlsruhe University (TH)
participants (3)
-
Christian Boltz
-
Juergen L.
-
Thomas Hertweck