Hi! I am trying gentoo and got stuck in chapter 6.d of the manual. I have already added the ~x86 keyword before the emerge system there and that fails due to perl not finding gdbm.h and ndbm.h. Reproducible: Always Steps to Reproduce: 1. bootstrap a gentoo system after unpacking the stage 1 tarball. 2. set ~x86 keyword 3. emerge system Actual Results: perl fails to build due to the missing files gdbm.h and ndbm.h. Expected Results: gdbm should have been set up before building the perl extensions that depend on that.
Set a -gdbm in the 'USE' variable in make.conf. That'll make perl compile and you can always recompile it later after installing gdbm libraries.
Do we even support "~x86" for emerge system, release team?
Nope, we don't. But I had a user in IRC today who had the exact same problem with perl 5.8.4 (i.e. the current stable version). gdbm is set by profile, but somehow it gets installed wrong or something. In any case the building of perl stops.
There are already 3 threads on this in Installing Gentoo. See this thread at the end it list the other 2. [url=http://forums.gentoo.org/viewtopic.php?t=227385&start=0&postdays=0&postorder=asc&highlight=]Emerge Pearl, or don't.[/url]
Hi, this bug is always reproducible on Gentoo x86, but now for perl-5.8.6-r1. The perl install looks for gdbm.h in /usr/include, but the gdbm (1.8.3-r1) install places all headers in /usr/include/gdbm. That is, the perl compile runs perfectly if gdbm.h is copied to /usr/include. Please fix the perl header prefixes.
(In reply to comment #5) > Hi, > > this bug is always reproducible on Gentoo x86, but now for perl-5.8.6-r1. The > perl install looks for gdbm.h in /usr/include, but the gdbm (1.8.3-r1) install > places all headers in /usr/include/gdbm. That is, the perl compile runs > perfectly if gdbm.h is copied to /usr/include. Please fix the perl header prefixes. Fixed in sys-libs/gdbm-1.8.3-r2 $ equery f gdbm | grep gdbm.h /usr/include/gdbm.h Please, test and report back.