(Mail to [EMAIL PROTECTED] bounced - details at the end of the
message.)
_unix_os2_ext() doesn't handle spaces in the LIBS list properly:
foreach $thislib (split ' ', $potential_libs){
_win32_ext() does:
foreach (Text::ParseWords::quotewords('\s+', 0, $potential_libs)){
I found this when building an XS module on a Win2K box from inside the
"Documents and Settings" folder using cygwin perl. Of course, while
certainly fairly uncommon, Unix platforms can also have spaces in their
pathnames.
_unix_os_ext() also needs some quoting similar to that in _win32_ext():
# make sure paths with spaces are properly quoted
@extralibs = map { (/\s/ && !/^".*"$/) ? qq["$_"] : $_ } @extralibs;
@libs = map { (/\s/ && !/^".*"$/) ? qq["$_"] : $_ } @libs;
$lib = join(' ',@extralibs);
I wish I could be of more help, but I haven't taken the time to learn the
innards of MakeMaker (... and I'm hoping to not have to).
--robs
$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=cygwin, osvers=1.3.2(0.3932), archname=cygwin-multi
uname='cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 unknown
'
config_args='-de -Dusemultiplicity'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags
='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include',
optimize='-O2',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.3-5 (cygwin special)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -lcrypt
perllibs=-lcrypt
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under cygwin
Compiled at Aug 22 2001 01:05:05
@INC:
/usr/lib/perl5/5.6.1/cygwin-multi
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl
.
-----
The bounce:
To: [EMAIL PROTECTED]
Subject: Mail delivery failed: returning message to sender
This message was created automatically by mail delivery software (Exim).
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[EMAIL PROTECTED]
No route to host:
retry timeout exceeded
------ This is a copy of the message, including all the headers. ------
Return-path: <[EMAIL PROTECTED]>
Received: from mail.zrz.tu-berlin.de ([130.149.4.15])
by mail2.zrz.tu-berlin.de with esmtp (exim-3.33)
for <[EMAIL PROTECTED]>
id 15blgu-0003Y6-00; Tue, 28 Aug 2001 18:26:16 +0200
Received: from mail205.mail.bellsouth.net ([205.152.58.145]
helo=imf05bis.bellsouth.net)
by mail.zrz.tu-berlin.de with esmtp (exim-3.33)
for <[EMAIL PROTECTED]>
id 15blgs-0003oC-00; Tue, 28 Aug 2001 18:26:15 +0200
Received: from maisel ([208.61.71.91]) by imf05bis.bellsouth.net
(InterMail vM.5.01.01.01 201-252-104) with SMTP
id <20010828162710.CUCO16249.imf05bis.bellsouth.net@maisel>;
Tue, 28 Aug 2001 12:27:10 -0400
From: "Rob Saccoccio" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Sven Verdoolaege" <[EMAIL PROTECTED]>
Subject: ExtUtils::Liblist::_unix_os2_ext() doesn't handle pathnames with
spaces
Date: Tue, 28 Aug 2001 12:26:11 -0400
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700