#1927: Parrot doesn't build on Win32 with spaces in directory name
-------------------------+--------------------------------------------------
 Reporter:  whiteknight  |       Owner:  nwellnhof
     Type:  bug          |      Status:  assigned 
 Priority:  critical     |   Milestone:  3.0      
Component:  build        |     Version:  master   
 Severity:  high         |    Keywords:  win32    
     Lang:               |       Patch:           
 Platform:  all          |  
-------------------------+--------------------------------------------------

Comment(by jkeenan):

 Some more data from ''lib/Parrot/Config/Generated.pm'':

 On linux/i386, trying to build in a directory called ''My Freakin
 Parrot''::
 {{{
 grep -n Freakin lib/Parrot/Config/Generated.pm
 79:  'build_dir' => '/home/jimk/gitwork/My Freakin Parrot',
 109:  'coveragedir' => '/home/jimk/gitwork/My Freakin Parrot',
 294:  'libparrot_linkflags' => '-L"/home/jimk/gitwork/My Freakin
 Parrot/blib/lib" -lparrot',
 355:  'rpath_blib' => '-Wl,-rpath="/home/jimk/gitwork/My Freakin
 Parrot"/blib/lib',
 }}}
 Note the weird value for `rpath_blib`.  Notwithstanding this, I built and
 tested successfully.

 On Darwin/PPC, trying to build in a directory called ''My Parrot'':
 {{{
 $ grep -n My lib/Parrot/Config/Generated.pm
 77:  'build_dir' => '/Users/jimk/gitwork/My Parrot',
 107:  'coveragedir' => '/Users/jimk/gitwork/My Parrot',
 286:  'ldflags' => '-L/usr/local/lib -L/opt/local/lib
 -L/Users/jimk/gitwork/My Parrot/blib/lib -L/sw/lib',
 292:  'libparrot_linkflags' => '-L"/Users/jimk/gitwork/My Parrot/blib/lib"
 -lparrot',
 295:  'libparrot_soname' => '-install_name /Users/jimk/gitwork/My
 Parrot/blib/lib/libparrot.dylib',
 353:  'rpath_blib' => '-L"/Users/jimk/gitwork/My Parrot"/blib/lib',
 }}}
 Here I failed with:
 {{{
 powerpc-apple-darwin8-g++-4.0.1: Parrot/blib/lib: No such file or
 directory
 powerpc-apple-darwin8-g++-4.0.1: Parrot/blib/lib/libparrot.dylib: No such
 file or directory
 make: *** [blib/lib/libparrot.2.11.0.dylib] Error 1
 }}}
 So I think this problem has to do with the way different OSes add to
 `ldflags`, `libparrot_linkflags`, `libparrot_soname` and `rpath_blib`.

 kid51

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1927#comment:6>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to