Subject: Interix perl build problem
To: None <tech-pkg@netbsd.org>
From: Boyd Kelly (Coast Systems) <bkelly@coastone.ca>
List: tech-pkg
Date: 10/30/2005 17:26:01
Hi,

Trying to get a netbsd system up on Interix.

Any suggestions on a best order to start installing packages from
source?  I had a terrible time with gettext and libiconv.  Finally found
a post for someone who had a similar problem with Darwin, and circular
dependancy.  Not being a programmer...  I commented out the dependency
to libiconv in the Makefile in gettext-lib, and was then able to build
gettext-lib, gettext, and libiconv. =20

But now I have a problem with with perl, output below.  Any help with
this would be much appreciated!

Thank you,

Boyd

=3D=3D=3D> Extracting for autoconf-2.59nb2
=3D=3D=3D> Required installed package pkg_install-info-[0-9]*:
pkg_install-info-4.5nb3
 found
=3D=3D=3D> Required installed package m4>=3D1.4: m4-1.4.4 found
=3D=3D=3D> Required package perl>=3D5.8.3nb1: NOT found
=3D=3D=3D> Verifying reinstall for ../../lang/perl5
=3D=3D=3D> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
=3D=3D=3D> *** skipping vulnerability checks. To fix, install
=3D=3D=3D> *** the pkgsrc/security/audit-packages package and run
=3D=3D=3D> *** '/usr/pkg/sbin/download-vulnerability-list'.
=3D=3D=3D> Building for perl-5.8.7nb4
`sh  cflags "optimize=3D'-D_ALL_SOURCE -D_REENTRANT -I/usr/include'"
miniperlmain.
o` -DPIC miniperlmain.c
          CCCMD =3D  gcc -DPERL_CORE -c -D_REENTRANT -D_ALL_SOURCE
-fno-strict-ali
asing -pipe -I/usr/pkg/include -D_ALL_SOURCE -D_REENTRANT -I/usr/include
-Wall
In file included from perl.h:37,
                 from miniperlmain.c:36:
config.h:3107:9: invalid preprocessing directive #NEED_VA_COPY
config.h:3764:3: invalid preprocessing directive #I_STDARG
config.h:3765:3: invalid preprocessing directive #I_VARARGS
In file included from perl.h:3734,
                 from miniperlmain.c:36:
thrdvar.h:85: error: field `Tstatbuf' has incomplete type
thrdvar.h:86: error: field `Tstatcache' has incomplete type
thrdvar.h:91: error: field `Ttimesbuf' has incomplete type
*** Error code 1

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