Export to GitHub

pynie - issue #1

Unable to compile pynie if Parrot is installed in /opt/parrot


Posted on Mar 19, 2009 by Swift Lion

Hi,

I just installed Parrot with "perl Configure.pl --prefix=/opt/parrot". Then I tried to compile pynie using "perl Configure.pl --parrot-config=/opt/parrot/bin/parrot_config" but make fails quickly with:

$ make cc /home/haypo/prog/SVN/parrot/pbc_to_exe.o -o /home/haypo/prog/SVN/parrot/pbc_to_exe /home/haypo/prog/SVN/parrot/pbc_to_exe.o: In function main': pbc_to_exe.c:(.text+0x15): undefined reference to Parrot_set_config_hash' (...)

I don't understand why pynie tries to compile a file in parrot source tree. I think that I misused Configure.pl. So, how can I compile pynie if Parrot is already installed in /opt/parrot?

I tried "export PKG_CONFIG_PATH=/opt/parrot/lib/pkgconfig/1.0.0-devel/" but pynie doesn't look to use pkg-config, but parrot_config program.

I downloaded trunk version of Parrot and pynie. I'm runing Ubuntu Gutsy (Perl 5.8.8, gcc 4.1.3).

Using Configure.pl --gen-parrot, pynie compiles correctly. But I don't want to compile Parrot for each language :-/

Comment #1

Posted on Mar 29, 2009 by Swift Camel

Unfortunately, this is a bug in the installed pbc_to_exe tool. I've modified Pynie so it no longer attempts to build the executable by default.

Status: New

Labels:
Type-Defect Priority-Medium