Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Variable PATH]instalation postgres
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Dragondark
n00b
n00b


Joined: 02 Apr 2009
Posts: 7
Location: perdu dans mon antre

PostPosted: Tue Apr 07, 2009 12:17 pm    Post subject: [Variable PATH]instalation postgres Reply with quote

bonjour,

j'ai installer postgresql, puis suite a deux trois changement on a descider de le desinstaller et de le reinstaller
donc j'en suis à
je suis entrain d'essayer d'installer posgresql avec la commande :


#emerge postgresql

il l'execute jusqu'a a un certain moment ou il sort :
Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make[4]: *** [libecpg.so.5.0] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-db/postgresql-8.0.15/work/postgresql-8.0.15/src/interfaces/ecpg/ecpglib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-db/postgresql-8.0.15/work/postgresql-8.0.15/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/postgresql-8.0.15/work/postgresql-8.0.15/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/postgresql-8.0.15/work/postgresql-8.0.15/src'
make: *** [all] Error 2
*
 * ERROR: dev-db/postgresql-8.0.15 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2931:  Called die
 * The specific snippet of code:
 *       emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed";
 *  The die message:
 *   main emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-db/postgresql-8.0.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/postgresql-8.0.15/temp/environment'.
 *

>>> Failed to emerge dev-db/postgresql-8.0.15, Log file:

>>>  '/var/tmp/portage/dev-db/postgresql-8.0.15/temp/build.log'

 * Messages for package dev-db/postgresql-8.0.15:

 *
 * ERROR: dev-db/postgresql-8.0.15 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2931:  Called die
 * The specific snippet of code:
 *       emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed";
 *  The die message:
 *   main emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-db/postgresql-8.0.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/postgresql-8.0.15/temp/environment'.


d'apres ce que je peux voir
Code:
 *       emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed";
 *  The die message:
 *   main emake failed



ca viendrais de la commande emake qu'il n'arrive pas a executer
donc j'ai regarde mon PATH :



Code:
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
//usr/lib32/opengl/xorg-x11/lib
//usr/lib64/opengl/xorg-x11/lib
/lib
/usr/lib
/lib64
/usr/lib64
/usr/local/lib64
/lib32
/usr/lib32
/usr/local/lib32
/usr/x86_64-pc-linux-gnu/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32
/usr/lib64/nspr
/usr/lib64/nss
/usr/lib64/qca1
/usr/lib/qt4
/usr/lib64/qt4
/usr/lib32/qt4
/usr/kde/3.5/lib
/usr/kde/3.5/lib64
/usr/kde/3.5/lib32
/usr/qt/3/lib
/usr/qt/3/lib64
/usr/qt/3/lib32



on peux voir qu'il est senser en faire partis :


je regarde ma variable PATH pres un

#env-update

#echo $PATH

Code:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin


sachant que emake vien de /usr/lib64/portage/bin/emake

et la on peux remarquer qu'il en manque. et je ne sais pas pourquoi :s
en esperant que cela vienne de là

cordialement
dragondark

[edit 1]

apparament cela vient pas de postgres car un autre emerge me fais la même

Code:
~ # emerge postgresql

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-python/egenix-mx-base-2.0.5
 * egenix-mx-base-2.0.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking egenix-mx-base-2.0.5.tar.gz to /var/tmp/portage/dev-python/egenix-mx-base-2.0.5/work
>>> Source unpacked in /var/tmp/portage/dev-python/egenix-mx-base-2.0.5/work
>>> Compiling source in /var/tmp/portage/dev-python/egenix-mx-base-2.0.5/work/egenix-mx-base-2.0.5 ...
running build
running mx_autoconf
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -fPIC -D_GNU_SOURCE=1 -I/usr/include -c -D_GNU_SOURCE=1 -I/usr/include -c _configtest.c -o _configtest.o
/usr/bin/gcc-config: line 456: echo: write error: Broken pipe
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
failure.
removing: _configtest.c _configtest.o
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -fPIC -D_GNU_SOURCE=1 -I/usr/include/python2.5 -I/usr/include -c -D_GNU_SOURCE=1 -I/usr/include/python2.5 -I/usr/include -c _configtest.c -o _configtest.o
/usr/bin/gcc-config: line 456: echo: write error: Broken pipe
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
failure.
removing: _configtest.c _configtest.o
running build_ext
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/mx
creating build/temp.linux-x86_64-2.5/mx/DateTime
creating build/temp.linux-x86_64-2.5/mx/DateTime/mxDateTime
creating build/temp.linux-x86_64-2.5/mx/DateTime/mxDateTime/mxDateTime
creating build/temp.linux-x86_64-2.5/mx/DateTime/mxDateTime/mxDateTime/mx
creating build/temp.linux-x86_64-2.5/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime
creating build/temp.linux-x86_64-2.5/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime/mxDateTime
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -fPIC -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime -I/usr/include/python2.5 -I/usr/include -c -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime -I/usr/include/python2.5 -I/usr/include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-x86_64-2.5/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
/usr/bin/gcc-config: line 456: echo: write error: Broken pipe
gcc-config error: Could not run/locate "x86_64-pc-linux-gnu-gcc"
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 *
 * ERROR: dev-python/egenix-mx-base-2.0.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2822:  Called distutils_src_compile
 *             environment, line  809:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/egenix-mx-base-2.0.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/egenix-mx-base-2.0.5/temp/environment'.
 *

>>> Failed to emerge dev-python/egenix-mx-base-2.0.5, Log file:

>>>  '/var/tmp/portage/dev-python/egenix-mx-base-2.0.5/temp/build.log'

 * Messages for package dev-python/egenix-mx-base-2.0.5:

 *
 * ERROR: dev-python/egenix-mx-base-2.0.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2822:  Called distutils_src_compile
 *             environment, line  809:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/egenix-mx-base-2.0.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/egenix-mx-base-2.0.5/temp/environment'.
 *

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Back to top
View user's profile Send private message
Dragondark
n00b
n00b


Joined: 02 Apr 2009
Posts: 7
Location: perdu dans mon antre

PostPosted: Tue Apr 07, 2009 1:42 pm    Post subject: Reply with quote

Probleme resolu


apparament mon pc, n'arrivais plus a compiller ce qui provoquais ces erreur.

surment une mauvaise manip de ma part, resolut grace a

http://www.gentoo.org/doc/fr/gcc-upgrading.xml

j'ai mis a jour gcc, qui a du recevoir un changement ou je ne sais pas, ce qui provoquai l'erreur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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