Ken, On 4/12/06, Patrick LeBoutillier <[EMAIL PROTECTED]> wrote: > Ken, > > On 4/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm re-opening this issue - I just went to install Inline and > > Inline::Java on cygwin. Inline and Inline::C installed fine, but the > > Java build fails: > > > > gcc -c -I/cygdrive/c/Program Files/Java/j2sdk1.4.2_04/include > > -I/cygdrive/c/Program Files/Java/j2sdk1.4.2_04/include/win32 > > -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include > > -DUSEIMPORTLIB -O3 -DVERSION=\"0.50\" -DXS_VERSION=\"0.50\" > > "-I/usr/lib/perl5/5.8/cygwin/CORE" PerlNatives.c > > gcc: Files/Java/j2sdk1.4.2_04/include: No such file or directory > > gcc: Files/Java/j2sdk1.4.2_04/include/win32: No such file or directory > > > > I forget, what's the status of this fix? > > My guess is that in this specific case it is an Inline::Java bug. The > paths are not always quoted properly when generating the INC/LIB > options for MakeMaker. >
In this case it is really a problem with the Inline::Java part. However, I can't figure out how to properly pass a library path containing a space to the LIBS parameter of ExtUtils::MakeMaker::WriteMakefile. LIBS => ['-L /tmp/a b c -ljvm'] LIBS => ['-L "/tmp/a b c" -ljvm'] LIBS => ['"-L /tmp/a b c" -ljvm'] All generate 'Unrecognized argument in LIBS ignored: ...' errors. Is there any other way to do this? Patrick -- ===================== Patrick LeBoutillier Laval, Québec, Canada