I installed NetBSD 5.1 on my iBook G4. I fetched pkgsrc-2011Q3 through cvs. When I try to compile perl, the process stops with the following error:
Code:
==> Please rerun the make command. <==
false
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/perl5/work/perl-5.14.2/cpan/CPANPLUS
Unsuccessful make(cpan/CPANPLUS): code=256 at make_ext.pl line 463.
*** Error code 25
I read somewhere that the problem ist the optimization flag -O2 and it should work with -Os. As I am pretty new to NetBSD I don't know where to set the flag.
Did someone encounter the same problem? Can you guide me to the solution?
Thanks.