Subject: packages using getopt(3) and Solaris 9
To: None <tech-pkg@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: tech-pkg
Date: 04/08/2003 15:55:32
... don't like each other as there's no getopt.h (and libgetopt.so)
on Slowlaris anywhere. Trying to compile /usr/pkgsrc/devel/libgetopt
fails miserably (see below). This is on a SunBlade1000, Solaris 9u2
full install, pkgsrc & bootstrap-pkgsrc cvs updated an hour (or so)
ago. Btw. I'm trying to get audio/abcde (+ all those nice litte tools
it uses) up and running on this machine.

Any help in sight?

-kurt

>-264: bmake
=> Checksum OK for getopt_long.c-1.3.
=> Checksum OK for getopt_long.3-1.3.
work -> /u/NetBSD/pkgobj/devel/libgetopt/work
===> Extracting for libgetopt-1.3
/usr/bin/cp /u/NetBSD/pkgsrc/devel/libgetopt/files/getopt.h /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt
/usr/bin/cp /u/NetBSD/pkgsrc/devel/libgetopt/files/namespace.h /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt
/usr/bin/cp /u/NetBSD/pkgsrc/devel/libgetopt/files/shlib_version /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt
/usr/bin/cp /u/NetBSD/pkgsrc/devel/libgetopt/files/Makefile.libgetopt /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt/Makefile
/usr/bin/mv /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt/getopt_long.c-1.3 /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt/getopt_long.c
/usr/bin/mv /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt/getopt_long.3-1.3 /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt/getopt_long.3
===> Patching for libgetopt-1.3
===> Configuring for libgetopt-1.3
===> Building for libgetopt-1.3
gcc -O -DREPLACE_GETOPT  -Werror  -I/include -D__EXTENSIONS__ -D_XPG4_2 -DSUNOS_5  -c getopt_long.c
getopt_long.c:39:23: sys/cdefs.h: No such file or directory
In file included from getopt_long.c:44:
namespace.h:39:23: sys/cdefs.h: No such file or directory
getopt_long.c:48:17: err.h: No such file or directory
In file included from getopt_long.c:51:
getopt.h:42:23: sys/cdefs.h: No such file or directory
In file included from getopt_long.c:51:
getopt.h:68: syntax error before "int"
getopt_long.c:61: syntax error before "int"
getopt_long.c:88: parse error before "__P"
getopt_long.c:89: parse error before "__P"
getopt_long.c:90: parse error before "__P"
*** Error code 1

Stop.
bmake: stopped in /u/NetBSD/pkgobj/devel/libgetopt/work/libgetopt
*** Error code 1

Stop.
bmake: stopped in /u/NetBSD/pkgsrc/devel/libgetopt
*** Error code 1

Stop.
bmake: stopped in /u/NetBSD/pkgsrc/devel/libgetopt