Subject: Re: pkgsrc compilation failure on redhat linux 7.2
To: None <>
From: Niilo Kajander <>
List: tech-pkg
Date: 12/18/2002 19:54:33
On Wed, 18 Dec 2002 17:37:15 +0100 (CET) wrote:

> Hi!
> i'm trying to compile pkgsrc bootstrapping kit on redhat linux 7.2
> (with last official updates)
> i did:
>; export CVSROOT
> cvs login
> cvs -z5 checkout othersrc/bootstrap-pkgsrc
> cd othersrc/bootstrap-pkgsrc
> ./bootstrap
> after some output there's an error:
> gcc -I. -I. -DHAVE_CONFIG_H  -I./missing -DNEED_HOST_CDEFS_H
> "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\"" -DMAKE_BOOTSTRAP    -c -o
> compat.o compat.c
> compat.c: In function `CompatRunCommand':
> compat.c:318: incompatible type for argument 1 of `wait'
> can you help me pls?

I got the same on Debian GNU/Linux both on x86 and on alpha. On
OpenBSD/i386 it worked fine, some packages got built nicely but
converters/libiconv didn't.

cc -I. -I. -I.. -I./.. -O1 -march=pentiumpro
-DHAVE_CONFIG_H -DLIBDIR=\"/usr/pkg/lib\" -c ./localcharset.c  -fPIC
-DPIC -o .libs/localcharset.o
./localcharset.c: In function `get_charset_aliases':
./localcharset.c:115: syntax error before `/'
*** Error code 1

The OpenBSD box here is running 3.1-stable as of Sep 15.

for some reason openssl's buildlink doesn't have a clue about OpenBSD's
openssl in base and tries to build openssl from pkgsrc which fails.