Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65055 - perl 5.8.5 fails to emerge on initial emerge of stage 2 due to gdbm
Summary: perl 5.8.5 fails to emerge on initial emerge of stage 2 due to gdbm
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 02:55 UTC by Tobias Hunger
Modified: 2005-10-05 03:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Hunger 2004-09-23 02:55:54 UTC
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.
Comment 1 Manuel Benet 2004-09-23 08:04:18 UTC
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.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-23 10:40:22 UTC
Do we even support "~x86" for emerge system, release team?
Comment 3 Benjamin Judas (RETIRED) gentoo-dev 2004-09-23 11:28:28 UTC
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.
Comment 4 Hiel Van Campen 2004-09-23 19:13:04 UTC
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]
Comment 5 Erik McNellis 2005-09-23 23:01:56 UTC
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.

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-10-05 03:23:17 UTC
(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.