bug in parrot_config ?

Rolf Grossmann rg at progtech.net
Mon Apr 6 21:24:24 UTC 2009


That looks a lot like the problem in TT 495. I've been looking into it, 
but so far didn't have the time to find a good solution.

RG.

Will Coleda wrote:
> 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?
> 

Viele Gruesse,
Rolf Grossmann.

-- 
PROGTECH GmbH, NL München * Xaver-Weismor-Str.58 * D-81829 München
GF: Michael Schimanski, Michael R. Merkle * AG Traunstein HRB13387
Telefon: +49 (89) 358989-100 * Fax: +49 (89) 358989-200

... people who are great at something are not so much convinced of
their own greatness as mystified at why everyone else seems so
incompetent.   -- Paul Graham


More information about the parrot-dev mailing list