Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Robert Hicks
Eric Wilhelm wrote: # from Hicks, Robert # on Monday 12 June 2006 12:24 pm: Can't open C:\Documents\config for output. This sounds familiar. Please try this inline: http://scratchcomputing.com/code/x-Inline/Inline-0.44_01.tar.gz --Eric That gets me the same error message... Did you do "

Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Sisyphus
- Original Message - From: "Hicks, Robert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Tuesday, June 13, 2006 1:36 PM Subject: RE: Inline on XP (and spaces in the path) > > > >-Original Message- > >From: [EMAIL PROTECTED] [mailto

RE: Inline on XP (and spaces in the path)

2006-06-12 Thread Hicks, Robert
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, June 12, 2006 11:27 PM >To: Hicks, Robert; inline@perl.org >Subject: Re: Inline on XP (and spaces in the path) > > >- Original Message - >From: "Hicks, Robert&q

Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Sisyphus
- Original Message - From: "Hicks, Robert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Tuesday, June 13, 2006 1:09 PM Subject: RE: Inline on XP (and spaces in the path) > C:\TEMP\Inline-0.44_01>perl -Mblib C/t/01syntax.t > 1..5 Doh !!! - sorry,

RE: Inline on XP (and spaces in the path)

2006-06-12 Thread Hicks, Robert
C:\TEMP\Inline-0.44_01>perl -Mblib C/t/01syntax.t 1..5 # Running under perl version 5.008008 for MSWin32 # Win32::BuildNumber 817 # Current time local: Mon Jun 12 23:07:49 2006 # Current time GMT: Tue Jun 13 03:07:49 2006 # Using Test.pm version 1.25 Argument "0.44_01" isn't numeric in numeric ge

Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Sisyphus
- Original Message - From: "Hicks, Robert" <[EMAIL PROTECTED]> . . . > t/01syntax.dubious > Test returned status 255 (wstat 65280, 0xff00) > What does the following produce: perl -Mblib C/t/01syntax.t If you get output that directs you to look at one of the files in the build direct

RE: Inline on XP (and spaces in the path)

2006-06-12 Thread Hicks, Robert
I moved the Inline source to a path without a space and did a "dmake test": === NO SPACES IN BUILD PATH === C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00init..ok t/01usagesok t/02configok t/03errorsok t/04createok t/05

RE: Inline on XP (and spaces in the path)

2006-06-12 Thread Hicks, Robert
I am using ActivePerl 5.8.8.817 Perl -V below: U:\>perl -V Set up gcc environment - 3.4.2 (mingw-special) Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' h

Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Sisyphus
- Original Message - From: "Hicks, Robert" . . > > I do a "perl Makefile.pl" and I get: > > C:\Documents and Settings\BLHicks2\Desktop\Inline-0.44_01>perl > Makefile.PL > Set up gcc environment - 3.4.2 (mingw-special) > > Inline::C is packaged with Inline.pm because it is the most commonl

RE: Inline on XP (and spaces in the path)

2006-06-12 Thread Hicks, Robert
>-Original Message- >From: [EMAIL PROTECTED] [mailto:inline-return- >[EMAIL PROTECTED] On Behalf Of Eric Wilhelm >Sent: Monday, June 12, 2006 1:09 PM >To: inline@perl.org >Subject: Re: Inline on XP (and spaces in the path) > ># from Robert Hicks ># on M

Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Sisyphus
- Original Message - From: "Eric Wilhelm" > > $ perl -e 'use Inline; print Inline->VERSION, "\n";' > 0.44 > > $ PERL_INLINE_DIRECTORY='/tmp/inline test' perl inline_use.pl > Can't open /tmp/inline/config for output. > No such file or directory > Interesting that Robert was getting "permi

Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Eric Wilhelm
# from Hicks, Robert # on Monday 12 June 2006 12:24 pm: >>>Can't open C:\Documents\config for output. >> >>This sounds familiar.  Please try this inline: >> >>  http://scratchcomputing.com/code/x-Inline/Inline-0.44_01.tar.gz >> >>--Eric > >That gets me the same error message... Did you do "make t

RE: Inline on XP (and spaces in the path)

2006-06-12 Thread Hicks, Robert
>-Original Message- >From: [EMAIL PROTECTED] [mailto:inline-return- >[EMAIL PROTECTED] On Behalf Of Eric Wilhelm >Sent: Monday, June 12, 2006 1:09 PM >To: inline@perl.org >Subject: Re: Inline on XP (and spaces in the path) > ># from Robert Hicks ># on M

Re: Inline on XP (and spaces in the path)

2006-06-12 Thread Eric Wilhelm
# from Robert Hicks # on Monday 12 June 2006 07:15 am: >Can't open C:\Documents\config for output. This sounds familiar. Please try this inline: http://scratchcomputing.com/code/x-Inline/Inline-0.44_01.tar.gz --Eric -- Entia non sunt multiplicanda praeter necessitatem. --Occam's Razor -

RE: Inline::Java and spaces in the path

2006-04-13 Thread Ken.Williams
> -Original Message- > From: Eric Wilhelm [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 13, 2006 10:52 AM > To: inline@perl.org > Subject: Re: Inline::Java and spaces in the path > > > foreach $thislib (split ' ', $potential_libs){ > >

Re: Inline::Java and spaces in the path

2006-04-13 Thread Eric Wilhelm
# from Patrick LeBoutillier # on Thursday 13 April 2006 05:44 am: >>   LIBS => ['-L/tmp/a\\ b\\ c -ljvm'] > >I'll try it and see what gives. Probably the same thing. >The message actually comes from ExtUtils/Liblist/Kid.pm. My version >is 6.17, but I looked and the same code is there in 6.30. T

Re: Inline::Java and spaces in the path

2006-04-13 Thread Patrick LeBoutillier
Eric, > Maybe > > LIBS => ["\\\"-L/tmp/a b c\\\" -ljvm"] > LIBS => ['-L/tmp/a\\ b\\ c -ljvm'] I'll try it and see what gives. But I think the problem comes down to MakeMaker trying to be too smart about the LIBS. It should maybe provide some kind of way to have the args passed through withou

Re: Inline::Java and spaces in the path

2006-04-12 Thread Eric Wilhelm
# from Patrick LeBoutillier # on Wednesday 12 April 2006 05:04 pm: >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 => ['"-

Re: Inline::Java and spaces in the path

2006-04-12 Thread Patrick LeBoutillier
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: > >

RE: Inline::Java and spaces in the path

2006-04-12 Thread Hicks, Robert
I get the following: C:\WINNT\system32\cmd.exe /c perl "C:\Documents and Settings\BLHicks2\Desktop\TestScripts/inline_tes t.pl " Can't open C:\Documents\config for output. No such file or directory at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate C:\Documents and Settings\B

Re: Inline::Java and spaces in the path

2006-04-12 Thread Eric Wilhelm
# from Patrick LeBoutillier # on Wednesday 12 April 2006 08:22 am: >> 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. Not having Inline::Java

Re: Inline::Java and spaces in the path

2006-04-12 Thread Patrick LeBoutillier
ays quoted properly when generating the INC/LIB options for MakeMaker. I'll see if I can fix it. Patrick > > -Ken > > > -Original Message- > > From: Williams, Ken (TLR Corp) > > Sent: Thursday, January 26, 2006 9:37 AM > > To: [EMAIL PROTECTED]; i

RE: Inline::Java and spaces in the path

2006-04-12 Thread Ken.Williams
win32: No such file or directory I forget, what's the status of this fix? -Ken > -Original Message- > From: Williams, Ken (TLR Corp) > Sent: Thursday, January 26, 2006 9:37 AM > To: [EMAIL PROTECTED]; inline@perl.org > Subject: RE: Inline::Java and spaces in the

Re: and spaces in the path

2006-03-02 Thread Patrick LeBoutillier
Hi, > > > > Patrick, if this patch looks good to you, I'll apply and release it. > > I'll take a look at it and apply it on my Inline.pm. I'll then test it > out with Inline::Java and I'll post my results soon. Finally got a few moments to try out the patch. It worked ok with Inline::Java when us

RE: and spaces in the path

2006-02-06 Thread Ken.Williams
> -Original Message- > From: Ken Williams [mailto:[EMAIL PROTECTED] > Sent: Friday, February 03, 2006 10:43 AM > To: Patrick LeBoutillier > Cc: Eric Wilhelm; Ingy dot Net; inline@perl.org > Subject: Re: and spaces in the path > > > On Feb 3, 2006, at 7:

Re: and spaces in the path

2006-02-03 Thread Ken Williams
On Feb 3, 2006, at 7:56 AM, Patrick LeBoutillier wrote: IIRC I did a pass a while to plug File::Spec everywhere and make sure that everything was quoted properly. Eric's patch uses the multi-arg system() function rather than quoting, which is much safer and more cross-platform. -Ken

Re: and spaces in the path

2006-02-03 Thread Patrick LeBoutillier
On 2/2/06, Ingy dot Net <[EMAIL PROTECTED]> wrote: > On 02/02/06 11:52 -0800, Eric Wilhelm wrote: > > Hi all, > > > > Finally got this guess worked into a patch and test (attached.) > > > > Patrick: does Inline::Java call fix_make() from Inline::C or do any > > similar munging of the makefile? If

Re: and spaces in the path

2006-02-02 Thread Eric Wilhelm
Hi all, Finally got this guess worked into a patch and test (attached.) Patrick: does Inline::Java call fix_make() from Inline::C or do any similar munging of the makefile? If so, you would need to apply some similar fixes. The original entry point of the bug is in Inline.pm and therefore a

Re: and spaces in the path

2006-02-02 Thread Ingy dot Net
On 02/02/06 11:52 -0800, Eric Wilhelm wrote: > Hi all, > > Finally got this guess worked into a patch and test (attached.) > > Patrick: does Inline::Java call fix_make() from Inline::C or do any > similar munging of the makefile? If so, you would need to apply some > similar fixes. The origi

Re: Inline::Java and spaces in the path

2006-01-27 Thread Eric Wilhelm
# from Eric Wilhelm # on Friday 27 January 2006 02:15 am: >My bet is that >system($perl, $INC, '-Minline=_CONFIG_' , '-e1' $dir) > >might work. On further inspection, that is only where the bug first manifests. It can't be so easily fixed. Looks like it ends up in MakeMaker and/or mak

Re: Inline::Java and spaces in the path

2006-01-27 Thread Eric Wilhelm
# from Ken Williams # on Thursday 26 January 2006 05:42 pm: >On Jan 26, 2006, at 7:34 PM, Patrick LeBoutillier wrote: >> Just to make things clear. I believe that this is an Inline.pm issue >> and is not specific to Inline::Java. I am right on this (or else >> I'll see what I can do)? > >Yeah, tha

Re: Inline::Java and spaces in the path

2006-01-27 Thread Ken Williams
On Jan 26, 2006, at 7:34 PM, Patrick LeBoutillier wrote: Just to make things clear. I believe that this is an Inline.pm issue and is not specific to Inline::Java. I am right on this (or else I'll see what I can do)? Yeah, that's my understanding too. I haven't actually laid eyes on the offe

Re: Inline::Java and spaces in the path

2006-01-26 Thread Patrick LeBoutillier
Ken, On 1/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 26, 2006 7:37 AM > > To: inline@perl.org > > Subject: Inline::Java and s

RE: Inline::Java and spaces in the path

2006-01-26 Thread Hicks, Robert
> > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 26, 2006 7:37 AM > > To: inline@perl.org > > Subject: Inline::Java and spaces in the path > > > > Is this a "known" for Windows? &g

RE: Inline::Java and spaces in the path

2006-01-26 Thread Ken.Williams
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 26, 2006 7:37 AM > To: inline@perl.org > Subject: Inline::Java and spaces in the path > > Is this a "known" for Windows? > Yeah, it's a known i

Inline::Java and spaces in the path

2006-01-26 Thread Hicks, Robert
I am on Windows XP and I get the following with a test file on my desktop: Can't open C:\Documents\config for output. No such file or directory at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate C:\Documents and Settings\BLHicks2\Desktop\_Inline\config. at inline.pl line 1