pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bootstrapping pkgsrc on SCO OpenServer 5 (GCC 4.2.4) and SCO OpenServer 6 (GCC 7.3.0)



On Sunday 2022-07-24 13:00, Lance Payne wrote:
But I still get the following:

===> Bootstrapping pkgtools
===> running: /bin/sh /src/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g root /src/pkgsrc/bootstrap/work/libarchive ===> running: (cd /src/pkgsrc/bootstrap/work/libarchive; env INSTALL='/usr/pkg/bin/install-sh -c' CONFIG_SHELL=/bin/sh /bin/sh ./configure --enable-static --disable-shared --disable-bsdtar --disable-bsdcpio --disable-posix-regex-lib --disable-xattr --disable-maintainer-mode --disable-acl --without-zlib --without-bz2lib --without-iconv --without-lzma --without-lzo2 --without-lz4 --without-nettle --without-openssl --without-xml2 --without-expat --without-zstd MAKE=/src/pkgsrc/bootstrap/work/bin/bmake && /src/pkgsrc/bootstrap/work/bin/bmake -j1)
./configure: syntax error at line 3494: `ARCHIVE_MINOR=$' unexpected
===> exited with status 2
aborted.

I'm not sure where it's going awry, beyond the old Unix Bourne shell being a jerk.

What magic sauce did you use to get it to bootstrap?

SCO /bin/sh is brain dead.

You also need to mv /bin/sh to /bin/sh.lnk;ln -s /bin/ksh /bin/sh

While bootstraping and builds that do not build or have the above error due to the brain dead shell.

I have the following

PATH=/usr/xdev/bin:/opt/xinuos/bin:/opt/bin:/usr/gnu/bin:/usr/bin:/bin:/usr/ccs/bin:/usr/ucb:/usr/local/bin:$HOME/tools/bin:$HOME/bin:
LD_LIBRARY_PATH=/usr/xdev/lib:/usr/gnu/lib:/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:$HOME/tools/lib:
LIBPATH=/usr/xdev/lib:/usr/gnu/lib:/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/gnu/lib:/opt/xinuos/lib:$HOME/tools/lib:

export PATH LD_LIBRARY_PATH LIBPATH

MANPATH=scohelp:/usr/xdev/:/usr/gnu/man:/usr/man:/opt/xinuos/man:/usr/local/man:$HOME/tools/man:
export MANPATH

CONFIG_SHELL=/usr/bin/bash
WRAPPER_SHELL=/usr/bin/bash
export CONFIG_SHELL WRAPPER_SHELL

Regards,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index