View previous topic :: View next topic |
Author |
Message |
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4809 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Thu Apr 01, 2004 8:07 pm Post subject: compilazione openldap [Risolto] |
|
|
Ho ottenuto il seguente errore di compilazione da emerge opeldap, su ppc G3.
Code: | Entering subdirectory libldbm
make[2]: Entering directory `/var/tmp/portage/openldap-2.0.27/work/openldap-2.0.27/libraries/libldbm'
gcc -O3 -mcpu=powerpc -I../../include -I../../include -c -o ldbm.o ldbm.c
ldbm.c: In function `ldbm_open':
ldbm.c:329: warning: passing arg 2 of pointer to function from incompatible pointer type
ldbm.c:329: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
ldbm.c:329: too few arguments to function
make[2]: *** [ldbm.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/openldap-2.0.27/work/openldap-2.0.27/libraries/libldbm'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/openldap-2.0.27/work/openldap-2.0.27/libraries'
make: *** [all-common] Error 1
!!! ERROR: net-nds/openldap-2.0.27 failed.
!!! Function src_compile, Line 71, Exitcode 2
!!! make failed
|
La mia /etc/make.conf contiene:
Code: | CFLAGS="-O3 -mcpu=powerpc"
CHOST="powerpc-unknown-linux-gnu"
USE="X gnome kde qt alsa oss cups foomaticdb ppds usb"
CXXFLAGS="${CFLAGS}"
|
Infine, ho osservato anche dei problemi con il comando seguente:
Code: | gentoo-ppc cloc3 # emerge -p nss_ldap pam_ldap
These are the packages that I would merge, in order:
Calculating dependencies
!!! all ebuilds that could satisfy "nss_ldap" have been masked.
!!! possible candidates are:
- net-libs/nss_ldap-215-r1 (masked by: missing keyword)
- net-libs/nss_ldap-207-r1 (masked by: missing keyword)
- net-libs/nss_ldap-211 (masked by: missing keyword)
- net-libs/nss_ldap-207 (masked by: missing keyword)
- net-libs/nss_ldap-174-r2 (masked by: missing keyword)
- net-libs/nss_ldap-202 (masked by: missing keyword)
- net-libs/nss_ldap-210 (masked by: missing keyword)
- net-libs/nss_ldap-209.1 (masked by: missing keyword)
- net-libs/nss_ldap-215 (masked by: missing keyword)
!!! Error calculating dependencies. Please correct.
|
che bisogna aggirare digitando:
Code: | gentoo-ppc cloc3 # ACCEPT_KEYWORDS="~x86" emerge -p nss_ldap pam_ldap
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-nds/openldap-2.1.27
[ebuild N ] net-libs/nss_ldap-215-r1
[ebuild N ] net-libs/pam_ldap-167
|
cosa posso fare? _________________ vu vu vu
gentù
mi piaci tu
Last edited by cloc3 on Thu Apr 01, 2004 9:17 pm; edited 1 time in total |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4809 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Thu Apr 01, 2004 9:16 pm Post subject: Re: compilazione openldap |
|
|
cloc3 wrote: | Ho ottenuto il seguente errore di compilazione da emerge opeldap, su ppc G3.
|
Mi accorgo ora che si taratta di un allarme eccessivo:
la versione più recente, cioè:
Code: |
gentoo-ppc cloc3 # ACCEPT_KEYWORDS="~ppc" emerge openldap -p
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-nds/openldap-2.1.27
|
compila benissimo _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
|
|
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
|
|