Skip Menu |

This queue is for tickets about the IO-AIO CPAN distribution.

Report information
The Basics
Id: 24097
Status: resolved
Priority: 0/
Queue: IO-AIO

People
Owner: Nobody in particular
Requestors: jleffler [...] earthlink.net
Cc:
AdminCc:

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



Subject: Problem with --prefix ~username/perl/v5.8.8 in IO::AIO 2.3 (on MacOS X 10.4.8)
Date: Tue, 26 Dec 2006 01:05:30 -0800
To: bug-IO-AIO [...] rt.cpan.org
From: Jonathan Leffler <jleffler [...] earthlink.net>
When I try to configure the IO::AIO module, I get the error: $ perl Makefile.PL configure: error: expected an absolute directory name for --prefix: ~jleffler/perl/v5.8.8 configure failed, check it's output above and autoconf/config.log $ That's very odd - my 'perl -V' output below does not include a ~jleffler attribute - though $Config{prefix} as referenced in autoconf.pm does indeed specify ~jleffler/perl/v5.8.8. This is the first module I've compiled that has given that complaint - and I've compiled a *lot* of modules under my Perl. I'm not sure what is the best way of rationalizing the prefix, but I can tell you that reinstalling Perl isn't one that will happen in a hurry. $ perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=8.4.0, archname=darwin-2level uname='darwin osiris.local 8.4.0 darwin kernel version 8.4.0: tue jan 3 18:22:10 pst 2006; root:xnu-792.6.56.obj~1release_ppc power macintosh powerpc ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5247)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under darwin Compiled at Feb 15 2006 19:27:48 %ENV: PERL5_CPANPLUS_CONFIG="/Users/jleffler/.cpanplus/config" @INC: /Users/jleffler/perl/v5.8.8/lib/5.8.8/darwin-2level /Users/jleffler/perl/v5.8.8/lib/5.8.8 /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8 /Users/jleffler/perl/v5.8.8/lib/site_perl . $ -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
~xxx is not an absolute path and not supported. use an absolute path instead.
Subject: Re: [rt.cpan.org #24097] Problem with --prefix ~username/perl/v5.8.8 in IO::AIO 2.3 (on MacOS X 10.4.8)
Date: Tue, 26 Dec 2006 21:22:04 -0800
To: bug-IO-AIO [...] rt.cpan.org
From: Jonathan Leffler <jleffler [...] earthlink.net>
Marc_Lehmann via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=24097 > > > ~xxx is not an absolute path and not supported. use an absolute path > instead.
OK - I'm sorry I won't be able to use your module. -- Jonathan Leffler (jleffler@earthlink.net) #include <disclaimer.h> Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
From: perl [...] galumph.com
Marc_Lehmann via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=24097 > > > ~xxx is not an absolute path and not supported. use an absolute path > instead.
No, this is a bug IO::AIO in the code and not his installation. Don't use $Config{prefix}. You need to use $Config{prefixexp}.
From: perl [...] galumph.com
Marc_Lehmann via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=24097 > > > ~xxx is not an absolute path and not supported. use an absolute path > instead.
No, this is a bug IO::AIO in the code and not his installation. Don't use $Config{prefix}. You need to use $Config{prefixexp}.
On Sun Jan 21 18:50:31 2007, clonezone wrote: Show quoted text
> Marc_Lehmann via RT wrote:
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=24097 > > > > > ~xxx is not an absolute path and not supported. use an absolute path > > instead.
> > No, this is a bug IO::AIO in the code and not his installation. Don't > use $Config{prefix}. You > need to use $Config{prefixexp}.
Well, I disagree that it is a bug, but it is nevertheless "fixed" in the current release :) Cheers!