Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme beim kompilieren von PHP-4.3.4
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Mar 13, 2004 2:04 pm    Post subject: Probleme beim kompilieren von PHP-4.3.4 Reply with quote

Hallo zusammen,
ich möchte auf meinem Rechner MySQL in Verbindung mit phpmyadmin laufen lassen. MySQL ist schon kompiliert. Sobald ich phpmyadmin emergen will, bricht der Vorgang bezüglich GCC Fehler ab. Hier der Output:

Code:

 
Libraries have been installed in:
   /var/tmp/portage/php-4.3.4-r4/work/php-4.3.4/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
libtool: link: cannot find the library `/usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/libstdc++.la'
make: *** [sapi/cli/php] Error 1

!!! ERROR: dev-php/php-4.3.4-r4 failed.
!!! Function php-sapi_src_compile, Line 466, Exitcode 2
!!! compile problem

bash-2.05b#


Nach dem ich überprüft hatte ob /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/libstdc++.la existiert, stellte ich fest, das ich die Version 3.3.2 von GCC habe und die benötigte libary unter /usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/libstdc++.la zu finden ist.

Wie muss ich vorgehen um phpmyadmin mit der aktuellen GCC 3.3.2 auf meinem System zu installieren?

Danke für eure HILFE !!!
Back to top
View user's profile Send private message
kurt
Guru
Guru


Joined: 25 Aug 2003
Posts: 403
Location: Arni (AG); CH

PostPosted: Sun Mar 14, 2004 12:38 am    Post subject: Reply with quote

Hallo

überprüfe bitte mal:

nano -w /etc/env.d/05gcc
nano -w /etc/env.d/gcc/config
nano -w /etc/env.d/gcc/i686-pc-linux-gnu-3.3.2

anschliessend
Code:
env-update && source /etc/profile && env-update && source /etc/profile


anschliessend nachprüffen
Code:
gcc-config -c
gcc-config -l
gcc-config -E
gcc-config -B
gcc-config -L
gcc-config -X


es kann sein das du keine fäll einträge feststelst und anschliesend dass emergen trotzdem funktioniert.

gruss

kurt
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sun Mar 14, 2004 1:44 pm    Post subject: Reply with quote

Hallo Kurt,
ich verstehe nicht genau was ich bei den drei Config Files überprüfen soll. Habe die Dateien mal geöffnet und anschließend

Code:

env-update && source /etc/profile && env-update && source /etc/profile


ausgeführt. Wenn ich die gcc-config Befehle (plus Parameter) ausführe erhalte ich einen Output über die aktuelle Version. Nach wiederholtem Versuch "phpmyadmin" zu emergen gleicher Fehler. Er sucht nach libaries in gcc-3.2.3. Ich poste mal den Inhalt der zu überprüfenden Config Files:

nano -w /etc/env.d/05gcc
Code:

PATH="/usr/i486-pc-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/i486-pc-linux-gnu/gcc-bin/3.3"
MANPATH="/usr/share/gcc-data/i486-pc-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/i486-pc-linux-gnu/3.3/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2"


nano -w /etc/env.d/gcc/config
Code:

CURRENT=i486-pc-linux-gnu-3.3.2


nano -w /etc/env.d/gcc/i686-pc-linux-gnu-3.3.2
Code:

PATH="/usr/i486-pc-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/i486-pc-linux-gnu/gcc-bin/3.3"
LDPATH="/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2"
MANPATH="/usr/share/gcc-data/i486-pc-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/i486-pc-linux-gnu/3.3/info"
STDCXX_INCDIR="g++-v3"
CC="gcc"
CXX="g++"


Danke für eure Unterstützung. Weiterhin ein schönes WE.
Back to top
View user's profile Send private message
kurt
Guru
Guru


Joined: 25 Aug 2003
Posts: 403
Location: Arni (AG); CH

PostPosted: Sun Mar 14, 2004 2:08 pm    Post subject: Reply with quote

vielleicht hielft dieser träd

https://forums.gentoo.org/viewtopic.php?t=133497&highlight=stdcxxincdir

ansonsten musst du analog ebuild openoffice-1.0.3-r1.ebuild den libstdc++.?.?.? im php ebuild fixen was nicht ganz einfach ist.

vielleicht hilft auch schon ein simlink.

gruss

kurt
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sun Mar 14, 2004 3:18 pm    Post subject: Reply with quote

Hallo Kurt,
ein simlink hat schon geholfen. Vielen Dank für Deine Hilfe.

Gruß,
Benjamin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum