Probleme beim Installieren von K3b und amule

martin

Well-Known Member
Hi

Ich hab gerade mein System neu gebaut und gnome deinstalliert. Anschließend das neue Gnome über die ports installiert und alle anderen ports geupdatet. Alles läuft nun ohne Probleme, pkgdb -F hab ich auch gemacht.
Nun gut, alle Programme die ich so benötige konnte ich ohne Probleme über die Ports installieren, nur bei 2en komm ich nicht weiter.
Ich poste mal die Ausgabe von amule und k3b, in der Hoffnung, dass sie euch etwas sagen, mir leider nicht:

Code:
su-2.05b# cd /usr/ports/net/amule
su-2.05b# make install clean
===>   aMule-1.2.8_2 depends on executable: gmake - found
===>   aMule-1.2.8_2 depends on shared library: wx_gtk2-2.4.0 - not found
===>    Verifying install for wx_gtk2-2.4.0 in /usr/ports/x11-toolkits/wxgtk2
===>  Building for wxgtk2-2.4.2_6
c++ -c   -I./lib/wx/include/gtk2-2.4 -I./include -D_REENTRANT -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include -I/mnt/ports/x11-toolkits/wxgtk2/work/wxGTK-2.4.2/include -I/usr/local/include -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES    -D__WXGTK__ -DGTK_NO_CHECK_CASTS -MMD -O -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -Wall -fPIC -o accel.o ./src/generic/accel.cpp
In file included from ./lib/wx/include/gtk2-2.4/wx/setup.h:1144,
                 from ./include/wx/platform.h:85,
                 from ./include/wx/defs.h:23,
                 from ./include/wx/wxprec.h:13,
                 from ./src/generic/accel.cpp:24:
./include/wx/chkconf.h:778:13: #error "wxUSE_FS_INET requires wxUSE_PROTOCOL"
In file included from ./include/wx/platform.h:88,
                 from ./include/wx/defs.h:23,
                 from ./include/wx/wxprec.h:13,
                 from ./src/generic/accel.cpp:24:
./include/wx/chkconf.h:778:13: #error "wxUSE_FS_INET requires wxUSE_PROTOCOL"
In file included from /usr/include/stdarg.h:42,
                 from ./include/wx/wxchar.h:81,
                 from ./include/wx/debug.h:18,
                 from ./include/wx/defs.h:403,
                 from ./include/wx/wxprec.h:13,
                 from ./src/generic/accel.cpp:24:
/usr/include/sys/_types.h:91: internal compiler error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [accel.o] Error 1
*** Error code 2

Stop in /mnt/ports/x11-toolkits/wxgtk2.
*** Error code 1

Stop in /mnt/ports/net/amule.

k3b:
Code:
checking for strcmp... yes
checking for extra includes... added
checking for extra libs... added
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... yes
checking for crypt in -lcrypt... yes
checking for socklen_t... no
checking for socklen_t equivalent for socket functions... int
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... no
checking for res_init... no
checking if res_init needs custom prototype... res_init unavailable
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) no
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking if Qt compiles without flags... no
checking whether c++ supports -fno-exceptions... (cached) yes
checking whether c++ supports -fno-check-new... (cached) yes
checking whether c++ supports -fno-common... (cached) yes
checking whether c++ supports -fvisibility=hidden... no
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/mnt/ports/audio/arts/work/arts-1.4.0/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /mnt/ports/audio/arts.
*** Error code 1

Stop in /mnt/ports/x11/kdelibs3.
*** Error code 1

Stop in /mnt/ports/sysutils/k3b.
 
martin schrieb:
Hi

[...] ohne Probleme über die Ports installieren, nur bei 2en komm ich nicht weiter.
Ich poste mal die Ausgabe von amule und k3b [...]
k3b habe ich gestern (17.4.) ohne Probs aus den Ports installiert.
/usr/include/sys/_types.h:91: internal compiler error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Was fuer compiler hast du installiert ?
Was gibt dir gcc --version aus ?
Du schreibst das du 5.3 Stable hast, hast du mal das System geupdatet ? Was sagt uname -a ?
k3b:
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.
Hast du mal in die config.log reingeschaut ?

Gruss
Joerg
 
Hi und danke für die Antwort.

Also zunächst zu meinem System. Ich hab vergessen meine Signatur upzudaten, ich hab seit gestern 5.4-STABLE. Die Ports sind auch die von gestern und alle aktualisiert.
Leider kann ich im Moment nicht nachsehen was mir gcc ausgibt, da ich nicht vor meiner Maschine sitze, aber ich schätze mal, dass nicht der richtige Compiler installiert ist. Ich hab gestern versucht gcc40 zu installieren, brachte nix, auch gcc34 nicht.
Ich kenn mich nicht so aus mit compilern usw., welchen brauch ich denn?

Thx
 
martin schrieb:
Hi und danke für die Antwort.

Also zunächst zu meinem System. Ich hab vergessen meine Signatur upzudaten, ich hab seit gestern 5.4-STABLE. Die Ports sind auch die von gestern und alle aktualisiert.
Hmm, schade, dachte das waere das Problem :). Habe naehmlich bei mir auch 5.4.-RC1
Leider kann ich im Moment nicht nachsehen was mir gcc ausgibt, da ich nicht vor meiner Maschine sitze, aber ich schätze mal, dass nicht der richtige Compiler installiert ist. Ich hab gestern versucht gcc40 zu installieren, brachte nix, auch gcc34 nicht.
Ich kenn mich nicht so aus mit compilern usw., welchen brauch ich denn?
Nur den, der als B-deps drinsteht. Steht da keiner wird der Standard gcc Compiler genommen (/usr/bin/gcc oder /usr/bin/c++)

Dachte halt, dass das Problem bei dir an 5.3 liegt (da ich ja 5.4.RC1 habe und gestern keine Probs bei k3b hatte)... dem scheint ja nicht so.
Du sagst 5.4-STABLE ... Was hast du als TAG in deiner cvsup conf drin ?
Ich benutze RELENG_5_4
Schreib trotzdem mal nacher dein gcc --version und uname -a output hier hin.

Gruss
Joerg
 
gcc --version:
Code:
bash-2.05b$ gcc --version
gcc (GCC) 3.4.2 [FreeBSD] 20040728
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-2.05b$

Code:
bash-2.05b$ uname -v
FreeBSD 5.4-STABLE #6: Sat Apr 16 14:41:18 CEST 2005

In meiner cvsup hab ich RELENG_5 drinnen stehen.
 
Hmmm ... leider kann ich dir keine Loesung bieten, da ich auf die schnelle kein cvs diff zwischen 5.4.RC3 und 5.4.STABLE hinbekomme, sondern nur einpaar Hinweise geben.


1.
Irgendetwas stimmt da mit deinem c++ Compiler nicht. In der config.log wimmelt es nur von "internal compiler error: Floating point exception"
Einfach nochmal eine make buildworld && make installworld absetzen. Vielleicht vorher noch ein cvsup.


2.
Bzgl. RELENG_5.
Schau dir mal folgende Beitraege von mir an:
Wie haelt man FreeBSD "Sauber"
Hier habe ich so aehnliche Probleme gehabt.

Seit dem werde ich folgende vorgehensweise verfolgen:
FreeBSD updaten
Denn bzgl. Stable hatt mich folgender Text davon abgebracht STABLE zu benutzen:
Beachten Sie, dass dies immer noch ein Entwicklungszweig ist und daher zu jedem Zeitpunkt die Quellen von FreeBSD-STABLE verwendbar sein können oder nicht. FreeBSD-STABLE ist Teil des Entwicklungsprozesses und nicht für Endanwender gedacht.
Alles weiter findest du im Wiki

Gruss
Joerg
 
Na toll.... Jetzt hab ich versucht mein System mit RELENG_5_4 neu upzudaten. Gut RELENG_5_4 in die cvsup rein und neue Sourcen und ports gezogen.
dann /usr/ports/make buildworld
jetzt geht nichtmal mehr das, auch da kommt der Fehler:
Code:
mkdep -f .depend -a    -I/usr/obj/usr/src/i386/legacy/usr/include -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf  /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/vectors.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc
echo gperf: /usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend
echo gperf: /usr/lib/libstdc++.a >> .depend
===> gnu/usr.bin/gperf/doc
c++ -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -c /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc
In file included from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.h:30,
                 from /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc:21:
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.h:31: internal compiler error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/gperf.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1
 
martin schrieb:
Na toll.... Jetzt hab ich versucht mein System mit RELENG_5_4 neu upzudaten. Gut RELENG_5_4 in die cvsup rein und neue Sourcen und ports gezogen.
Naja, ob ein "downgrade" so gut ist ...
dann /usr/ports/make buildworld
jetzt geht nichtmal mehr das, auch da kommt der Fehler:
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.h:31: internal compiler error: Floating point exception
Ja, habs mir fast gedacht. Wie gesagt, irgendwie ist der c++ Kompiler bei dir "defekt", wie auch immer das zustande kam.
Vorschlag:
1.
Entweder du wartest bis das 5.4 Release da ist und machst dann mit sysinstall ein BIN update, oder

2.
du installierst nochmal das 5.3. BIN Release und machst dann ein cvsup mit RELENG_5_4 und dann ein make buildword etc.

Sorry, das ich dir keine bessere Loesung liefern kann, aber was anderes faellt mir da auch nicht ein.
Gruss
joerg
 
ok ich hab's jetzt mit RELENG_5_3 probiert, auch kein Erfolg. Mir bleibt wohl nichts anderes über, als auf die 5_4 RELEASE zu warten... wann ist es denn voraussichtlich soweit?
 
OT an Martin:
probier mal das hier in deiner .bashrc, sieht besser aus als <bash-2.05#>
export PS1='[\u@\H] >> \w :\n\$ '
 
Zurück
Oben