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

Comment(by jkeenan):

 I got '''very''' close to solving this problem -- only to run into the
 kind of problem we used to have frequently.

 On Linux/i386, I merged the spaces_in_path branch into master.  (See
 attached diff; I have not pushed the merge to github.)  In a directory
 that had spaces in its path, I then configured and installed like this:
 {{{
 $> pwd
 /home/user/gitwork/My\ Freakin\ Parrot
 $> perl Configure.pl --prefix=/tmp/pseudoinstall
 $> make install
 }}}
 (By this point, I was passing `make fulltest`.)

 I then went to the prefix directory and called:
 {{{
 ./bin/parrot --version
 }}}
 ... and got the expected output.  I then went back to my build directory,
 called `make realclean`, went back to the prefix directory, and again
 called `./bin/parrot --version`.  Once again, I got the expected output.

 I then moved to Darwin/PPC, pulled the latest changes from the branch and
 (without attempting a merge into master), replicated the above procedure
 closely.  I was able to build Parrot in the prefix directory and get the
 expected version output.
 {{{
 [pseudoinstall] 507 $ ./bin/parrot --version
 This is Parrot version 2.11.0-devel built for ppc-darwin.
 Copyright (C) 2001-2011, Parrot Foundation.

 This code is distributed under the terms of the Artistic License 2.0.
 For more details, see the full text of the license in the LICENSE file
 included in the Parrot source tree.
 }}}
 However, when I then called `make realclean` and then called `./bin/parrot
 --version` from the install directory, I got this output:
 {{{
 [pseudoinstall] 508 $ ./bin/parrot --version
 dyld: Library not loaded: /Users/jimk/gitwork/My Freakin
 Parrot/blib/lib/libparrot.dylib
   Referenced from: /Users/jimk/work/pseudoinstall/./bin/parrot
   Reason: image not found
 Trace/BPT trap
 }}}
 The install directory is still somehow dependent on the build directory.

 Can anyone help?  The ''spaces_in_paths'' branch is up-to-date on github,
 so I would appreciate someone taking a look.
 ''config/init/hints/darwin.pm'' is something which will need inspection,
 but the problem may not be there.  In any event, if I observe this problem
 on Darwin there's a chance that it will crop up on FreeBSD as well.  So I
 would really like to nail this.

 Thank you very much.

 kid51

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1927#comment:12>
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