Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

openldap 2.1.22-r1

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
SillyPants
Apprentice
Apprentice
User avatar
Posts: 154
Joined: Mon Sep 02, 2002 3:18 am

openldap 2.1.22-r1

  • Quote

Post by SillyPants » Thu Oct 16, 2003 11:54 am

This isn't compiling. I get

Code: Select all

init.c: In function `perl_back_initialize':
init.c:74: warning: passing arg 2 of `perl_parse' from incompatible pointer typeinit.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 type
make[3]: *** [init.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/openldap-2.1.22-r1/work/openldap-2.1.22/servers/slapd/back-perl'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory `/var/tmp/portage/openldap-2.1.22-r1/work/openldap-2.1.22/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/openldap-2.1.22-r1/work/openldap-2.1.22/servers'
make: *** [all-common] Error 1
 
!!! ERROR: net-nds/openldap-2.1.22-r1 failed.
!!! Function src_compile, Line 100, Exitcode 2
!!! make failed
Top
474
l33t
l33t
Posts: 714
Joined: Fri Apr 19, 2002 2:55 pm

  • Quote

Post by 474 » Thu Oct 16, 2003 6:32 pm

Try prefixing your emerge command with:

Code: Select all

USE="-perl"
If this issue seems to be reproducible then you should file a bug.
Top
POLAX
n00b
n00b
User avatar
Posts: 40
Joined: Thu Dec 11, 2003 7:06 pm
Location: Edmonton, AB - Canada

The Workaround Works

  • Quote

Post by POLAX » Sat Jan 17, 2004 2:36 pm

The workaround allowed it to compile. I have a funny feeling that this has something to do with compiling perl with the "threads" option :!:
Top
474
l33t
l33t
Posts: 714
Joined: Fri Apr 19, 2002 2:55 pm

  • Quote

Post by 474 » Mon Jan 19, 2004 2:21 pm

Well, I never ecountered the problem and the cause isn't immediately apparent to me from that report above (it seems to refer to the perl embedding functions). However, I can say this: threads support should probably be avoided like the plague. I tried it briefly once, and it broke various things.

I don't think there's much to be gained from it, nor is it as cool as it sounds - as far as I know, it's an entirely self-contained threading mechanism so you don't have anything to gain if, say, you're using a NPTL-enabled glibc. I don't know of anything specifically using the implementation either (which, incidentally, is covered nicely here.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic