bug in parrot_config ?

Will Coleda will at coleda.com
Mon Apr 6 21:11:43 UTC 2009


Trying to get partcl building on osx (after getting a port working
that includes 'install-dev', which hopefully will drop soon), and
running into a problem.

First, I applied the patch allison supplied to build against an
installed parrot.

Trying to build dynops, I get the following error:

/usr/bin/ld: can't locate file for: -lparrot

Looking at the .in file for this makefile, I see:

#IF(parrot_is_shared):LIBPARROT = @libparrot_ldflags@
#ELSE:LIBPARROT =

which renders as the build directory

LIBPARROT = -L/opt/local/var/macports/build/_Users_coke_research_macports_lang_parrot/work/parrot-1.0.0/blib/lib
-lparrot

... which doesn't exist after the port is actually installed.

LDFLAGS seems to include -L/opt/local/lib, which isn't right either
(it's -L/opt/local/lib/parrot/lib), but at least I could make that
work by hacking the portfile to copy some files from
/opt/local/lib/parrot/lib to /opt/local/lib

Thoughts?

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list