Subject: How do I get pkg_install compiled?
To: None <port-macppc@netbsd.org>
From: Alex Zepeda <zipzippy@sonic.net>
List: port-macppc
Date: 11/03/2003 01:28:25
--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


A simple make install seems to bomb out because 'configure doesn't recognize -4 as 
a valid option'.  Zuh?

Do I need to update autoconf?  the base system? what?

I just ran sup to update my pkgsrc tree (and ran make clean-depends, and make sure 
that the delete option is in the supfile).

I'd be happy to leave everything alone I suppose, but I suddenly had a need 
to install a ruby module.. and since I've managed to update my pkgsrc tree I can't 
use the 'outdated' pkg_install that's currently installed.

I can't very well update the base system (since I'm running current, and this
would require a newer, non-functional kernel).

*sigh*

- alex

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=spam

===> Checking for vulnerabilities in pkg_install-20031003
===> Extracting for pkg_install-20031003
===> Patching for pkg_install-20031003
===> Configuring for pkg_install-20031003
cd /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat && /usr/bin/env CC="cc" ./configure &&	 make
checking build system type... powerpc-unknown-netbsd1.6ZC
checking host system type... powerpc-unknown-netbsd1.6ZC
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for ar... ar
checking for fparseln in -lutil... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking bind/bitypes.h usability... no
checking bind/bitypes.h presence... no
checking for bind/bitypes.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fts.h usability... yes
checking fts.h presence... yes
checking for fts.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for inttypes.h... (cached) yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in6_machtypes.h usability... no
checking netinet/in6_machtypes.h presence... no
checking for netinet/in6_machtypes.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stringlist.h usability... yes
checking stringlist.h presence... yes
checking for stringlist.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/mount.h usability... no
checking sys/mount.h presence... yes
configure: WARNING: sys/mount.h: present but cannot be compiled
configure: WARNING: sys/mount.h: check for missing prerequisite headers?
configure: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/mount.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttycom.h usability... yes
checking sys/ttycom.h presence... yes
checking for sys/ttycom.h... yes
checking for sys/stat.h... (cached) yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... no
checking sys/statvfs.h presence... no
checking for sys/statvfs.h... no
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking for sys/types.h... (cached) yes
checking for sys/vfs.h... (cached) no
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tzfile.h usability... yes
checking tzfile.h presence... yes
checking for tzfile.h... yes
checking for unistd.h... (cached) yes
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking rmd160.h usability... yes
checking rmd160.h presence... yes
checking for rmd160.h... yes
checking sha1.h usability... yes
checking sha1.h presence... yes
checking for sha1.h... yes
checking for md5.h... (cached) yes
checking for MD5Init in md5.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for struct option... yes
checking vis.h usability... yes
checking vis.h presence... yes
checking for vis.h... yes
checking for VIS_WHITE in vis.h... yes
checking for __attribute__... yes
checking for size_t... yes
checking for long long... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking whether byte ordering is bigendian... yes
checking for off_t... yes
checking size of off_t... 8
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether strerror_r is declared... no
checking for strerror_r... no
checking whether strerror_r returns char *... no
checking for vprintf... yes
checking for _doprnt... no
checking for err... yes
checking for fgetln... yes
checking for fparseln... yes
checking for fseeko... yes
checking for getenv... yes
checking for glob... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isblank... yes
checking for lchflags... yes
checking for lchmod... yes
checking for lchown... yes
checking for lutimes... yes
checking for mkstemp... yes
checking for mkdtemp... yes
checking for poll... yes
checking for setenv... yes
checking for setprogname... yes
checking for snprintf... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strmode... yes
checking for strptime... yes
checking for strsep... yes
checking for strtoll... yes
checking for timegm... yes
checking for usleep... yes
checking for setgroupent... yes
checking for setgrent... yes
checking for setpassent... yes
checking for setpwent... yes
checking for bcopy... yes
checking for bzero... yes
checking for memset... yes
checking for memcpy... yes
checking for setlocale... yes
checking for getmode... yes
checking for setmode... yes
checking for getmode... (cached) yes
checking for setmode... (cached) yes
checking for gid_from_group... yes
checking for group_from_gid... yes
checking for pwcache_groupdb... yes
checking for pwcache_userdb... yes
checking for uid_from_user... yes
checking for user_from_uid... yes
checking for gid_from_group... (cached) yes
checking for group_from_gid... (cached) yes
checking for pwcache_groupdb... (cached) yes
checking for pwcache_userdb... (cached) yes
checking for uid_from_user... (cached) yes
checking for user_from_uid... (cached) yes
checking for fts_open... yes
checking for MD5File... yes
checking for RMD160File... yes
checking for SHA1File... yes
checking for strunvis... yes
checking for strvis... yes
checking for strsvis... yes
checking for strunvis... (cached) yes
checking for strvis... (cached) yes
checking for strsvis... (cached) yes
checking for getpassphrase... no
checking for getpgrp... yes
checking for memmove... yes
checking for poll... (cached) yes
checking for select... yes
checking for getpgrp... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for sl_init... yes
checking if sl_add() returns int... yes
checking for statfs... yes
checking *printf() support for %lld... yes
checking for strtoll... (cached) yes
checking for optarg declaration... yes
checking for optind declaration... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
cc -o bits bits.c
./bits nbcompat/nbtypes.h
awk '							 BEGIN { process = 1 }					 /NBCOMPAT template section follows\./ { process = 0 }	 /^\#[ 	]*define[ 	]+PACKAGE_.*/ { next }		 /^\#[ 	]*define[ 	]+/ {				 if (process == 1) {				 guard = $0;				 sub("^\#[ 	]*define[ 	]+", "", guard);  sub("[ 	]+.*", "", guard);		 print "#ifndef " guard;			 print $0;				 print "#endif";				 next;					 }						 }							 { print }						 ' nbcompat/config.h > nbcompat/nbconfig.h
cc  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c dummy.c
+ ar cr libnbcompat.a dummy.o
ranlib libnbcompat.a
configure: error: unrecognized option: -4
Try `./configure --help' for more information.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install

--FCuugMFkClbJLl1L--