Hi,
I am having trouble compiling packages on a newly installed Solaris
10 machine. It is a VM running in VMware Fusion.
# uname -a
SunOS miro 5.10 Generic_139556-08 i86pc i386 i86pc
I have installed the OS itself, then I installed Sun Studio from the
tarfile package (it's located in /opt/sunstudio12.1). This part went
without apparent errors.
I then placed pkgsrc in /usr/pkg/pkgsrc, set the environment
variable CC=cc, and run ./bootstrap in /usr/pkg/pkgsrc/bootstrap.
This part gave no errors either, looks good.
My mk.conf contains this:
.ifdef BSD_PKG_MK # begin pkgsrc settings
PKGSRC_COMPILER= sunpro
CC= cc
CXX= CC
CPP= ${CC} -E
PKG_DBDIR= /var/db/pkg
LOCALBASE= /usr/pkg
VARBASE= /var
PKG_TOOLS_BIN= /usr/pkg/sbin
PKGMANDIR= man
TOOLS_PLATFORM.install?= /usr/pkg/bin/install-sh
TOOLS_PLATFORM.sh?= /usr/pkg/bin/pdksh
TOOLS_PLATFORM.ksh?= /usr/pkg/bin/pdksh
TOOLS_PLATFORM.awk?= /usr/pkg/bin/nawk
TOOLS_PLATFORM.sed?= /usr/pkg/bin/nbsed
.endif # end pkgsrc settings
Next, I went to /usr/pkg/pkgsrc/www/nginx to try this package as a
start, but it errors out on me. I've pasted the entire build output
at http://pastie.org/655257, but here are the obvious parts of the
error messages:
bmake: don't know how to make ../libedit/libedit.a. Stop
bmake: stopped in /usr/pkg/pkgsrc/net/tnftp/work/tnftp-20070806/src
*** Error code 2
Stop.
bmake: stopped in /usr/pkg/pkgsrc/net/tnftp/work/tnftp-20070806
*** Error code 1
Stop.
bmake: stopped in /usr/pkg/pkgsrc/net/tnftp
*** Error code 1
Stop.
bmake: stopped in /usr/pkg/pkgsrc/net/tnftp
*** Error code 1
Stop.
bmake: stopped in /usr/pkg/pkgsrc/www/nginx