Compilation error.

Daniel J. Luke dluke at geeklair.net
Wed Jan 31 08:55:43 PST 2007


On Jan 31, 2007, at 11:51 AM, Mark Duling wrote:
> "Daniel J. Luke" <dluke at geeklair.net> on Wednesday, January 31,  
> 2007 at
> 8:44 AM -0800 wrote:
>>> Error: Target com.apple.configure returned: configure failure: shell
>>> command "cd
>>> "/opt/local/var/db/dports/build/
>>> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpu 
>>> pd
>>> ate_dports_perl_p5-locale-gettext/work/gettext-1.05" && /opt/local/
>>> bin/perl Makefile.PL INSTALLDIRS=vendor" returned error 127
>>> Command output: sh: line 1: /opt/local/bin/perl: No such file or
>>> directory
>>
>> before this happens, macports should try to install perl5.8, but it
>> doesn't because the port uses depends_lib instead of depends_lib-
>> append to specify its dependencies.
>
> Can you elaborate?  I know to use depends_lib-append when using  
> variants,
> but where should it have been used (p5-locale-gettext?) and why in  
> this
> case?

It should have been used instead of depends_lib because the perl5  
group code already sets depends_lib to pull in perl5.8

If you set depends_lib again, you wipe out whatever was set before.

So, as a general rule, if you're using any of the group code, you  
should stick with the -append versions.

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070131/1aaceafa/PGP.bin


More information about the macports-users mailing list