Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 3787
Status: resolved
Worked: -1 min
Priority: 0/
Queue: POE

People
Owner: RCAPUTO [...] cpan.org
Requestors: perl [...] crystalflame.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Mon, 15 Sep 2003 02:21:47 -0700
Subject: POE 0.26, OS X 10.2.6: Invalid Makefile generated by Makefile.PL
From: Richard Soderberg <perl [...] crystalflame.net>
To: bug-POE [...] rt.cpan.org
Hi, I just tried to build POE-0.26, but the build process terminated abnormally when I tried to "make": Show quoted text
> *** Dependencies will be installed the next time you type 'make'. > (You may need to do that as the 'root' user.) > *** ExtUtils::AutoInstall configuration finished. > Checking if your kit is complete... > Looks good > Writing Makefile for POE > coral@cay:.cpanplus/5.6.0/build/POE-0.26/ > make > Makefile.PL --config= -- > installdeps=Filter::Util::Call,1.04,Time::HiRes,0,Socket6,0.11,IO::Pty, > 1.02,Term::ReadKey,0 > make: Makefile.PL: Command not found > make: *** [installdeps] Error 127 > coral@cay:.cpanplus/5.6.0/build/POE-0.26/ >
It seems to have generated the Makefile presuming that Makefile.PL is in the PATH, and executable. I investigated, and traced it to the following segment of the Makefile: Show quoted text
> # --- MakeMaker makefile section: > > # We take a very conservative approach here, but it\'s worth it. > # We move Makefile to Makefile.old here to avoid gnu make looping. > Makefile : Makefile.PL $(CONFIGDEP)
I currently have ExtUtils::MakeMaker 5.45 installed (which appears to be what ships with OS X 10.2.6). For the sake of testing, I'm going to leave my installation intact, pending any ideas. If I edit the Makefile to say "perl Makefile.PL $(CONFIGDEP)", I get the following: Show quoted text
> coral@cay:.cpanplus/5.6.0/build/POE-0.26/ > make > make: Circular static <- Makefile dependency dropped. > make: Circular Makefile.aperl <- Makefile dependency dropped. > Writing "Makefile.aperl" for this perl > > ================================================================= > > If the prompts are annoying, they can be bypassed by running > /usr/bin/perl Makefile.PL --default > > Only the necessary modules will be installed by default.
After answering the EU:AI dependency questions again, the installation process tries to build perlmain.o, fails, and aborts. Show quoted text
> *** Dependencies will be installed the next time you type 'make'. > (You may need to do that as the 'root' user.) > *** ExtUtils::AutoInstall configuration finished. > Warning: /System/Library/Perl/darwin/CORE/libperl.a not found > If you're going to build a static perl binary, make sure perl is > installed > otherwise ignore this warning > Writing Makefile.aperl for POE > make -f Makefile.aperl perl > Writing perlmain.c > cd . && cc -c -I/System/Library/Perl/darwin/CORE -g -pipe -pipe > -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE > -fno-strict-aliasing -Os \ > -DVERSION=\"0.26\" \ > -DXS_VERSION=\"0.26\" -I/System/Library/Perl/darwin/CORE perlmain.c > make[1]: *** No rule to make target > `/System/Library/Perl/darwin/CORE/libperl.a', needed by `perl'. Stop. > make: *** [perl] Error 2
At this point I admit that I am absolutely lost as to what's going on; I appear to have a libperl (shared, not static), but it doesn't appear to have been detected by.. something. Show quoted text
> coral@cay:.cpanplus/5.6.0/build/POE-0.26/ > find /System/Library/Perl > -name libperl.\* > /System/Library/Perl/darwin/CORE/libperl.dylib
Anyways, that's my experience with this attempt at installing POE. I've included the perl -V below, in case it proves useful; I'd be happy to be of service in assisting with this. - R. Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=darwin, osvers=6.0, archname=darwin uname='darwin traffic 6.0 darwin kernel version 6.0: sat jul 27 13:18:52 pdt 2002; root:xnuxnu-344.obj~1release_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-Os', gccversion=Apple cpp-precomp 6.14 cppflags='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing' ccflags ='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing' stdchar='char', d_stdstdio=undef, usevfork=true intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/usr/lib libs=-lm -lc libc=/System/Library/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.dylib Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -flat_namespace -undefined suppress' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under darwin Compiled at Nov 12 2002 06:25:38 @INC: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .
Discussed the issue with the user on IRC. We determined that it is fixed in 0.2601 (cvspoe). The next CPAN release will install fine. -- Rocco Caputo - rcaputo@pobox.com - http://poe.perl.org/