Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Installing Perl5 not working



Hi,

this is my first time with NetBSD and so far I have 2 hours experience with it :-)


I managed to get NetBSD 6.0 installed on my Sun Fire V210 machine and so far it seems to be running very well, through net install using the SPARC "jumpstart" method as the machine doesn't have a CDROM.


My issue now is that I'm very new having never used NetBSD before and so I'm trying to get used to things.


I've currently gone through here:

http://www.netbsd.org/docs/pkgsrc/getting.html#getting-first

http://www.netbsd.org/docs/guide/en/chap-boot.html#chap-boot-pkgsrc

To get pkgsrc installed, which I did by:

ftp URL/pkgsrc /tmp
tar -xzvf pkgsrc.tar.gz -C /usr

as mentioned in the guide.


If I try to use: pkg_add though I get the error:

# pkg_add perl5
pkg_add: no pkg found for 'perl5', sorry.
pkg_add: 1 package addition failed

I have managed to install some packages like this:

/usr/pkgsrc/devel/m4

then typing:

make install clean

-- ok this is similar to what I'm used to with FreeBSD Ports though I don't know if correct for NetBSD.

I tryied doing the same thing with Perl5 and unfortunately got an error in the build:

    Making CPANPLUS (all)
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1" "LIBPERL_A=libperl.so"
Writing Makefile for CPANPLUS
Writing MYMETA.yml
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl5/work/perl-5.14.2/cpan/CPANPLUS
/usr/bin/make config PERL_CORE=1 LIBPERL_A=libperl.so failed, continuing anyway...
Making all in cpan/CPANPLUS
 /usr/bin/make all PERL_CORE=1 LIBPERL_A=libperl.so
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1" "LIBPERL_A=libperl.so"
Writing Makefile for CPANPLUS
Writing MYMETA.yml
==> Your Makefile has been rebuilt. <==
==> 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 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl5/work/perl-5.14.2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl5


Would it be possible for someone to help me understand how to get this installed?


Oh, btw I am using the 'stable' branch of pkgsrc.


Regards,


Kaya


Home | Main Index | Thread Index | Old Index