pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
tnftp build error on Solaris 10 with Sun Studio compiler
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
Questions:
1) Howcome tnftp is built/needed at all, I don't see how/where nginx
depends on tnftp (but it looks like so by the last four lines above)?
2) What can I do about it?
3) In general, is there anything else I need to do in order to use
pkgsrc successfully on Solaris 10?
I would like to use pkgsrc with Solaris 10, and as I understand it it
should be usable. I'm hoping this is something weird with my setup or
just tnftp being broken :)
Kind Regards, Leo
Home |
Main Index |
Thread Index |
Old Index