Subject: pkgsrc compilation woes on sgimips
To: None <pkgsrc-users@netbsd.org>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: pkgsrc-users
Date: 08/16/2006 08:23:49
(Resent from port-sgimips list. This is a port-specific problem IMHO. The 
same pkgsrc has been used on i386 and macppc without problems.)

Just installed 3.0.1 on my IP22 and tried to compile a few packages from 
pkgsrc-2006Q2, but without much success.

I started off by trying to get joe compiled (standalone-tcsh worked fine), but 
even though it compiled, make install got stuck in an endless loop:

===> Installing for joe-3.3nb1
  cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
  cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
  cd . && /bin/sh ./config.status Makefile depfiles
etc, etc, etc.

Perl ended like this:

[snip]
Writing Makefile for B::C
Writing Makefile for B
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
/usr/bin/make -f Makefile.old clean > /dev/null 2>&1
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" 
"PERL_CORE=1" "LIBPERL_A=libperl.so"
Writing Makefile for B::C
Writing Makefile for B
==> Your Makefile has been rebuilt. <==
==> Please rerun the /usr/bin/make command.  <==
false
*** Error code 1

Stop.
make: stopped in /usr/obj/pkgsrc/lang/perl5/work.sgi/perl-5.8.8/ext/B
/usr/bin/make config failed, continuing anyway...
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
/usr/bin/make -f Makefile.old clean > /dev/null 2>&1
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" 
"PERL_CORE=1" "LIBPERL_A=libperl.so"
Writing Makefile for B::C
Writing Makefile for B
==> Your Makefile has been rebuilt. <==
==> Please rerun the /usr/bin/make command.  <==
false
*** Error code 1

Stop.
make: stopped in /usr/obj/pkgsrc/lang/perl5/work.sgi/perl-5.8.8/ext/B
*** Error code 1

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

Would I be better using -current (or at least a newer toolchain) or has nothing 
changed?

-- 
Stephen