public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  ExtUtils/MakeMaker.pm troubles
@ 2005-10-03 18:40 James
  2005-10-03 19:45 ` [gentoo-user] " James
  0 siblings, 1 reply; 11+ messages in thread
From: James @ 2005-10-03 18:40 UTC (permalink / raw
  To: gentoo-user

Hello,

I'm having difficulty with a perl module. I have recently installed
a stage 1 gentoo system on a pentium pro to be an experimental minimal
firewall.

Upon 'emerge -uDp world' these  packages will not build:
ebuild  N    ] dev-perl/Locale-gettext-1.03  
ebuild  N    ] sys-apps/help2man-1.33.1

Here's the error message:

 Source unpacked.
  Using ExtUtils::MakeMaker
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /etc/perl
usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6
usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux
usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl
usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl

at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make: *** No targets specified and no makefile found.  Stop.


Help2man needs Locale-gettext, which needs ExtUtils-MakeMaker-6.21.  So I
'emerge =ExtUtils-MakeMaker-6.20' and got this message:

Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::MakeMaker
Test phase [not enabled]: perl-core/ExtUtils-MakeMaker-6.20

Install ExtUtils-MakeMaker-6.20 into
/var/tmp/portage/ExtUtils-MakeMaker-6.20/image/ category perl-core
make: *** No rule to make target
`/usr/lib/perl5/5.8.6/i686-linux/CORE/config.h', needed by `Makefile'.  
Stop.


In   /usr/lib/perl5/5.8.6/i686-linux/CORE/  I see only these files:
libperl.so  libperl.so.1  libperl.so.1.5.8
but no 'config.h'. The files are all linke to:
libperl.so -> ../../../../../lib/libperl.so.1.5.8


But in /lib/ there is no libperl(anything)....?
yet 'eix libperl' says:
sys-devel/libperl
     Available versions:  5.8.5 ~5.8.5-r1 5.8.6 5.8.6-r1 ~5.8.7
     Installed:           5.8.6-r1


The only thing I can figure is my minimal USE flags have removed 
something that is needed. From  'make.conf'
USE="-gtk -gnome -qt -kde acl apm hardened kerberos krb4 minimal ssl 
-alsa -arts -avi -cups -gif -gstreamer -gtk2 -jpeg -kde -motif -mp3 
-mpeg -ogg -oggvorbis -png -qt -quicktime -spell -vorbis -X  -xmms -xv"

At first I also had '-xml2' for a USE flag setting. I delete that
and unmerged perl and build perl again. This did not fix the 
problem.

Any ideas, as I've googled around extensively and cannot
find any recent discussion on this problem, or any ideas
how to fix it.

James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: ExtUtils/MakeMaker.pm troubles
  2005-10-03 18:40 [gentoo-user] ExtUtils/MakeMaker.pm troubles James
@ 2005-10-03 19:45 ` James
  2005-10-03 20:31   ` Moshe Kaminsky
  0 siblings, 1 reply; 11+ messages in thread
From: James @ 2005-10-03 19:45 UTC (permalink / raw
  To: gentoo-user

James <wireless <at> tampabay.rr.com> writes:


>  Source unpacked.
>   Using ExtUtils::MakeMaker
> Can't locate ExtUtils/MakeMaker.pm in  <at> INC ( <at> INC contains: /etc/perl
> usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6
> usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux
> usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl
> usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl

> at Makefile.PL line 1.
> BEGIN failed--compilation aborted at Makefile.PL line 1.
> make: *** No targets specified and no makefile found.  Stop.


> Install ExtUtils-MakeMaker-6.20 into
> /var/tmp/portage/ExtUtils-MakeMaker-6.20/image/ category perl-core
> make: *** No rule to make target
> `/usr/lib/perl5/5.8.6/i686-linux/CORE/config.h', needed by `Makefile'.  
> Stop.

I tried both recent versions of ExtUtils-MakeMaker 6,20 and 6.21, 
both failed. I also tried
'USE=ithreads emerge libperl'
which did not work either.

Any other ideas?


James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: ExtUtils/MakeMaker.pm troubles
  2005-10-03 19:45 ` [gentoo-user] " James
@ 2005-10-03 20:31   ` Moshe Kaminsky
  2005-10-03 20:37     ` James
  0 siblings, 1 reply; 11+ messages in thread
From: Moshe Kaminsky @ 2005-10-03 20:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

Hi,

* James <wireless@tampabay.rr.com> [03/10/05 23:00]:
> 
> James <wireless <at> tampabay.rr.com> writes:
> 
> 
> >  Source unpacked.
> >   Using ExtUtils::MakeMaker
> > Can't locate ExtUtils/MakeMaker.pm in  <at> INC ( <at> INC contains: /etc/perl
> > usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6
> > usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux
> > usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl
> > usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl
> 
> > at Makefile.PL line 1.
> > BEGIN failed--compilation aborted at Makefile.PL line 1.
> > make: *** No targets specified and no makefile found.  Stop.
> 
> 
> > Install ExtUtils-MakeMaker-6.20 into
> > /var/tmp/portage/ExtUtils-MakeMaker-6.20/image/ category perl-core
> > make: *** No rule to make target
> > `/usr/lib/perl5/5.8.6/i686-linux/CORE/config.h', needed by `Makefile'.  
> > Stop.
> 
> I tried both recent versions of ExtUtils-MakeMaker 6,20 and 6.21, 
> both failed. I also tried
> 'USE=ithreads emerge libperl'
> which did not work either.
> 
> Any other ideas?

Do you actually have perl installed? If so, which version? If you don't 
have perl, I don't think you can even install perl modules.

Moshe

> 
> 
> James
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

-- 
I love deadlines. I like the whooshing sound they make as they fly by. 
                                        -- Douglas Adams
    
    Moshe Kaminsky <kaminsky@math.huji.ac.il>
    Home: 08-9456841


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: ExtUtils/MakeMaker.pm troubles
  2005-10-03 20:31   ` Moshe Kaminsky
@ 2005-10-03 20:37     ` James
  2005-10-03 20:57       ` Moshe Kaminsky
  0 siblings, 1 reply; 11+ messages in thread
From: James @ 2005-10-03 20:37 UTC (permalink / raw
  To: gentoo-user

Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:


> Do you actually have perl installed? If so, which version? If you don't 
> have perl, I don't think you can even install perl modules.

I thought that was clear, that perl was installed:

dev-lang/perl
     Available versions:  5.8.6-r5 5.8.6-r6 ~5.8.7 ~5.8.7-r1
     Installed:           5.8.6-r6

sys-devel/libperl
     Available versions:  5.8.5 ~5.8.5-r1 5.8.6 5.8.6-r1 ~5.8.7
     Installed:           5.8.6-r1


Any thing I missed?


James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: ExtUtils/MakeMaker.pm troubles
  2005-10-03 20:37     ` James
@ 2005-10-03 20:57       ` Moshe Kaminsky
  2005-10-03 23:49         ` James
  0 siblings, 1 reply; 11+ messages in thread
From: Moshe Kaminsky @ 2005-10-03 20:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

* James <wireless@tampabay.rr.com> [03/10/05 23:48]:
> 
> Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:
> 
> 
> > Do you actually have perl installed? If so, which version? If you don't 
> > have perl, I don't think you can even install perl modules.
> 
> I thought that was clear, that perl was installed:
> 
> dev-lang/perl
>      Available versions:  5.8.6-r5 5.8.6-r6 ~5.8.7 ~5.8.7-r1
>      Installed:           5.8.6-r6
> 
> sys-devel/libperl
>      Available versions:  5.8.5 ~5.8.5-r1 5.8.6 5.8.6-r1 ~5.8.7
>      Installed:           5.8.6-r1
> 
> 
> Any thing I missed?

Then you are supposed to have ExtUtils::MakeMaker installed as part of 
perl. Do you have /usr/lib/perl5/5.8.6/ExtUtils/MakeMaker.pm?

Moshe

> 
> 
> James
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

-- 
I love deadlines. I like the whooshing sound they make as they fly by. 
                                        -- Douglas Adams
    
    Moshe Kaminsky <kaminsky@math.huji.ac.il>
    Home: 08-9456841


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: ExtUtils/MakeMaker.pm troubles
  2005-10-03 20:57       ` Moshe Kaminsky
@ 2005-10-03 23:49         ` James
  2005-10-04  0:04           ` Moshe Kaminsky
  2005-10-04  1:23           ` James
  0 siblings, 2 replies; 11+ messages in thread
From: James @ 2005-10-03 23:49 UTC (permalink / raw
  To: gentoo-user

Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:


> Then you are supposed to have ExtUtils::MakeMaker installed as part of 
> perl. Do you have /usr/lib/perl5/5.8.6/ExtUtils/MakeMaker.pm?

No, it's not there.

emerge  ExtUtils-MakeMaker
results fail:

Calculating dependencies ...done!
 emerge (1 of 1) perl-core/ExtUtils-MakeMaker-6.21 to /
 md5 files   ;-) ExtUtils-MakeMaker-6.20.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.05-r6.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.05-r5.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.21.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.05-r4.ebuild
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.05-r4
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.05-r5
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.05-r6
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.20
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.21
 md5 src_uri ;-) ExtUtils-MakeMaker-6.21.tar.gz
 Unpacking source...
 Unpacking ExtUtils-MakeMaker-6.21.tar.gz to
/var/tmp/portage/ExtUtils-MakeMaker-6.21/work
 Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::MakeMaker
make: *** No rule to make target
`/usr/lib/perl5/5.8.6/i686-linux/CORE/config.h', needed by `Makefile'.  Stop.


any ideas?

James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: ExtUtils/MakeMaker.pm troubles
  2005-10-03 23:49         ` James
@ 2005-10-04  0:04           ` Moshe Kaminsky
  2005-10-04  5:06             ` Rumen Yotov
  2005-10-04 14:50             ` James
  2005-10-04  1:23           ` James
  1 sibling, 2 replies; 11+ messages in thread
From: Moshe Kaminsky @ 2005-10-04  0:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

* James <wireless@tampabay.rr.com> [04/10/05 02:57]:
> 
> Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:
> 
> 
> > Then you are supposed to have ExtUtils::MakeMaker installed as part of 
> > perl. Do you have /usr/lib/perl5/5.8.6/ExtUtils/MakeMaker.pm?
> 
> No, it's not there.
> 
> emerge  ExtUtils-MakeMaker

Though ExtUtils::MakeMaker can be emerged as a separate package, it also 
comes bundled with perl. I don't know why you don't have it; Do you have 
the 'minimal' use flag set for perl? If so, I would try to re-emerge 
perl without it.

Moshe


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: ExtUtils/MakeMaker.pm troubles
  2005-10-03 23:49         ` James
  2005-10-04  0:04           ` Moshe Kaminsky
@ 2005-10-04  1:23           ` James
  1 sibling, 0 replies; 11+ messages in thread
From: James @ 2005-10-04  1:23 UTC (permalink / raw
  To: gentoo-user

Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:


> Then you are supposed to have ExtUtils::MakeMaker installed as part of 
> perl. Do you have /usr/lib/perl5/5.8.6/ExtUtils/MakeMaker.pm?

No, it's not there.

emerge  ExtUtils-MakeMaker
results fail:

Calculating dependencies ...done!
 emerge (1 of 1) perl-core/ExtUtils-MakeMaker-6.21 to /
 md5 files   ;-) ExtUtils-MakeMaker-6.20.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.05-r6.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.05-r5.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.21.ebuild
 md5 files   ;-) ExtUtils-MakeMaker-6.05-r4.ebuild
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.05-r4
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.05-r5
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.05-r6
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.20
 md5 files   ;-) files/digest-ExtUtils-MakeMaker-6.21
 md5 src_uri ;-) ExtUtils-MakeMaker-6.21.tar.gz
 Unpacking source...
 Unpacking ExtUtils-MakeMaker-6.21.tar.gz to
/var/tmp/portage/ExtUtils-MakeMaker-6.21/work
 Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::MakeMaker
make: *** No rule to make target
`/usr/lib/perl5/5.8.6/i686-linux/CORE/config.h', needed by `Makefile'.  Stop.


any ideas?

James

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: ExtUtils/MakeMaker.pm troubles
  2005-10-04  0:04           ` Moshe Kaminsky
@ 2005-10-04  5:06             ` Rumen Yotov
  2005-10-04 14:50             ` James
  1 sibling, 0 replies; 11+ messages in thread
From: Rumen Yotov @ 2005-10-04  5:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 834 bytes --]

On Tue, 4 Oct 2005 03:04:02 +0300
Moshe Kaminsky <kaminsky@math.huji.ac.il> wrote:

> * James <wireless@tampabay.rr.com> [04/10/05 02:57]:
> > 
> > Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:
> > 
> > 
> > > Then you are supposed to have ExtUtils::MakeMaker installed as
> > > part of perl. Do you
> > > have /usr/lib/perl5/5.8.6/ExtUtils/MakeMaker.pm?
> > 
> > No, it's not there.
> > 
> > emerge  ExtUtils-MakeMaker
> 
> Though ExtUtils::MakeMaker can be emerged as a separate package, it
> also comes bundled with perl. I don't know why you don't have it; Do
> you have the 'minimal' use flag set for perl? If so, I would try to
> re-emerge perl without it.
> 
> Moshe
> 
> 
Hi,
In response to a previous post (same thread): if using "ithreads" make
it +/- for both libperl & perl.
HTH.Rumen

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: ExtUtils/MakeMaker.pm troubles
  2005-10-04  0:04           ` Moshe Kaminsky
  2005-10-04  5:06             ` Rumen Yotov
@ 2005-10-04 14:50             ` James
  2005-10-04 16:05               ` Moshe Kaminsky
  1 sibling, 1 reply; 11+ messages in thread
From: James @ 2005-10-04 14:50 UTC (permalink / raw
  To: gentoo-user

Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:


> Though ExtUtils::MakeMaker can be emerged as a separate package, it also 
> comes bundled with perl. I don't know why you don't have it; Do you have 
> the 'minimal' use flag set for perl? If so, I would try to re-emerge 
> perl without it.

OK, My use flags in make.conf are:


USE=" perl -gtk -gnome -qt -kde acl apm hardened kerberos krb4 minimal ssl -alsa
-arts -avi -cups -gif -gstreamer -gtk2 -jpeg -kde -motif -mp3 -mpeg -ogg
-oggvorbis -png -qt -quicktime -spell -vorbis -X  -xmms -xv"

(note, I just added perl)

How do I track down what USE flags to set, so that perl actually builds
MakeMaker.pm?

'ufed' shows the list, but does not detail which flags I need to get perl
to build MakeMaker.pm. At the time of this email, I unmerged perl and
I'm rebuilding it (yet again) --newuse and without 'ithreads' this time.

Looking at the ebuilds under /var/db/pkg/dev-perl did not exactly 
'turn on the light' for me as far as find the flags that I need to
set so that MakeMaker.pm get's built. Is there a tool, script or a 
method to discern exactly what flags are needed for which package? 
Obviously, I need MakeMaker.pm, which normally get's built with perl. 
But since, I'm trying to make this system a minimal firewall, I need 
to minimize the flags that get set.

Do you thing I need to add 'pcre' to the USE flag settings?

'man  ufed' says this: "A list of USE keywords used by a
 particular package can be found by checking the IUSE line
in any  ebuild  file."  I'm just not sure which ebuild to
look at. An explicit path to the ebuild file would possible
help.

Alternaively, somebody could post a minimized set of USE flags
for make.conf and elsewhere which allows iptable/netfilter 
to work with hardened kernels, kerberos or ipsec/selinux
 and not much else... That would give me a minimized baseline
to build the firewall....


James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: ExtUtils/MakeMaker.pm troubles
  2005-10-04 14:50             ` James
@ 2005-10-04 16:05               ` Moshe Kaminsky
  0 siblings, 0 replies; 11+ messages in thread
From: Moshe Kaminsky @ 2005-10-04 16:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

* James <wireless@tampabay.rr.com> [04/10/05 18:05]:
> 
> Moshe Kaminsky <kaminsky <at> math.huji.ac.il> writes:
> 
> 
> > Though ExtUtils::MakeMaker can be emerged as a separate package, it also 
> > comes bundled with perl. I don't know why you don't have it; Do you have 
> > the 'minimal' use flag set for perl? If so, I would try to re-emerge 
> > perl without it.
> 
> OK, My use flags in make.conf are:
> 
> 
> USE=" perl -gtk -gnome -qt -kde acl apm hardened kerberos krb4 minimal ssl -alsa
> -arts -avi -cups -gif -gstreamer -gtk2 -jpeg -kde -motif -mp3 -mpeg -ogg
> -oggvorbis -png -qt -quicktime -spell -vorbis -X  -xmms -xv"
> 
> (note, I just added perl)
> 
> How do I track down what USE flags to set, so that perl actually builds
> MakeMaker.pm?
> 

As I said, it is the 'minimal' flag (the flag named 'minimal') that 
causes it, and it is indeed in your USE flags. Just remove it and you're 
done.

Moshe

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-10-04 16:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 18:40 [gentoo-user] ExtUtils/MakeMaker.pm troubles James
2005-10-03 19:45 ` [gentoo-user] " James
2005-10-03 20:31   ` Moshe Kaminsky
2005-10-03 20:37     ` James
2005-10-03 20:57       ` Moshe Kaminsky
2005-10-03 23:49         ` James
2005-10-04  0:04           ` Moshe Kaminsky
2005-10-04  5:06             ` Rumen Yotov
2005-10-04 14:50             ` James
2005-10-04 16:05               ` Moshe Kaminsky
2005-10-04  1:23           ` James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox