[svn:parrot] r38364 - trunk/tools/dev

Michael Schroeder mls at suse.de
Wed Apr 29 13:59:20 UTC 2009


On Wed, Apr 29, 2009 at 09:28:56AM -0400, Andy Dougherty wrote:
> No, that won't help.  installable_pbc_to_exe is already linked with 
> src/install_config.o as part of the build process.  Copying 
> src/install_config.o to the installation directory won't actually do 
> anything right now, since pbc_to_exe won't go looking for it anyway.

That's pretty easy to fix, see attached patch (assuming the .o files
are installed into $libdir/$versiondir/src which is probably wrong).
Reini Urban uses a similar patch for cygwin.

> > > and TT #540 "installed versions of 
> > > dynext/*.so still link to -lparrot in build directory" are fixed.
> > 
> > Add "--disable-rpath" to your Configure.pl call.
> 
> Yes, I realize that will work around the problem.  But it shouldn't be 
> necessary, and creates two new problems:  During the build process, 
> LD_LIBRARY_PATH (or equivalent) will need to be manually set.

Yes, that's true.

>  Then, after 
> install, LD_LIBRARY_PATH (or equivalent) will need to be set to include 
> the installed parrot library directory for every process that invokes 
> parrot.

Not if you install libparrot into /usr/lib.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parrot.diff
Type: text/x-patch
Size: 2117 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20090429/34141080/attachment.bin>


More information about the parrot-dev mailing list