View previous topic :: View next topic |
Author |
Message |
punter Guru
Joined: 25 Nov 2002 Posts: 506
|
Posted: Mon Feb 02, 2004 10:54 pm Post subject: openldap-2.1.26 error |
|
|
Code: | gcc -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-l oop-arrays -mmmx -m3dnow -funroll-loops -falign-functions=4 -maccumulate-outgoin g-args -ffast-math -I../../../include -I../../../include -I.. -I./.. -D_REENTRAN T -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_ FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE -c init. c -fPIC -DPIC -o .libs/init.lo
init.c: In function `perl_back_initialize':
init.c:74: warning: passing arg 2 of `perl_parse' from incompatible pointer type
init.c: In function `perl_back_db_open':
init.c:147: error: `my_perl' undeclared (first use in this function)
init.c:147: error: (Each undeclared identifier is reported only once
init.c:147: error: for each function it appears in.)
init.c: In function `perl_back_xs_init':
init.c:182: error: `my_perl' undeclared (first use in this function)
init.c:182: warning: passing arg 3 of `Perl_newXS' from incompatible pointer typ e
make[3]: *** [init.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/openldap-2.1.26/work/openldap-2.1.2 6/servers/slapd/back-perl'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory `/var/tmp/portage/openldap-2.1.26/work/openldap-2.1.2 6/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/openldap-2.1.26/work/openldap-2.1.2 6/servers'
make: *** [all-common] Error 1
!!! ERROR: net-nds/openldap-2.1.26 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! make failed
|
looks like either a bug or perl problem ??
but i'm suprised no one else has complained about this bug !
Is it my CFLAGS ? perl ? or the fact that I have perl with threads enabled ??
I re-emerged perl but nothing changed.
what do you suggest ? |
|
Back to top |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Mon Feb 09, 2004 9:04 pm Post subject: |
|
|
hi have the same problem.... not just you.... have you found any solution? |
|
Back to top |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Mon Feb 09, 2004 9:46 pm Post subject: |
|
|
ok.... the problem is because i had perl compiled with threads enabled.
disable threads to compile perl and then reemerge openldap
after that all will be ok
Code: | net-nds/openldap
Latest version available: 2.1.26
Latest version installed: 2.1.26
Size of downloaded files: 1,994 kB
Homepage: http://www.OpenLDAP.org/
Description: LDAP suite of application and development tools
License: OPENLDAP
|
|
|
Back to top |
|
|
dma Guru
Joined: 31 Jan 2003 Posts: 437 Location: Charlotte, NC, USA
|
Posted: Tue Feb 10, 2004 1:14 am Post subject: |
|
|
r3pek wrote: | ok.... the problem is because i had perl compiled with threads enabled.
disable threads to compile perl and then reemerge openldap
after that all will be ok
Code: | net-nds/openldap
Latest version available: 2.1.26
Latest version installed: 2.1.26
Size of downloaded files: 1,994 kB
Homepage: http://www.OpenLDAP.org/
Description: LDAP suite of application and development tools
License: OPENLDAP
|
|
What if I don't *WANT* to disable threads? |
|
Back to top |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Tue Feb 10, 2004 7:48 am Post subject: |
|
|
well you have to find out how to make it compile 'cause i didn't make it. with threads enabled in perl i simply can't compile openldap |
|
Back to top |
|
|
BiggJ Guru
Joined: 07 Nov 2003 Posts: 384 Location: /usr/share/ \ zoneinfo/America/Los_Angeles
|
Posted: Tue Feb 10, 2004 8:29 pm Post subject: |
|
|
dma wrote: | What if I don't *WANT* to disable threads? |
Word on the street is, threaded perl isn't compatable with a lot of things and unless you have dual cpu's (or more) it doesn't really speed things up. No personal experience, but that's what I heard.
--J |
|
Back to top |
|
|
|