[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't compile pkgsrc on OpenBSD 3.4
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Can't compile pkgsrc on OpenBSD 3.4
- From: "Robert S" <robert_s_(_at_)_emailme_(_dot_)_net_(_dot_)_au>
- Date: Sun, 14 Dec 2003 18:17:35 +1100
- Reply-to: "Robert S" <robert_s_(_at_)_emailme_(_dot_)_net_(_dot_)_au>
I've put this on the NetBSD group, but no answers - its probably more
appropriate to put it here.
I am trying to install pkgsrc (NetBSD) on my OpenBSD 3.4 system. I
have downloaded the file bootstrap-pkgsrc.tar.gz and have run the
./bootstrap --pkgdbdir=/var/db/pkgsrc script as recommended. It
finishes like this:
gcc -O2 -I. -I. -DHAVE_CONFIG_H -I./missing -DNEED_HOST_CDEFS_H
"-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\"" -Werror -c hash.c
gcc -O2 -I. -I. -DHAVE_CONFIG_H -I./missing -DNEED_HOST_CDEFS_H
"-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\"" -Werror -c job.c
cc1: warnings being treated as errors
job.c: In function `JobFinish':
job.c:975: warning: `and' of mutually exclusive equal-tests is always 0
*** Error code 1
Stop.
bmake.boot: stopped in /usr/bootstrap-pkgsrc/bmake
*** Error code 1
Stop in /usr/bootstrap-pkgsrc/bmake (line 34 of makefile.boot).
===> exited with status 1
aborted.
I can't run the precompiled OpenBSD 3.2 binaries either.
I've managed to do this on a Linux system with no problems.
Has anyone got a fix?
Visit your host, monkey.org