tech-pkg archive

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

Problems bootstrapping on Solaris-11



Hi,

I encountered 2 problems bootstrapping pkgsrc on Solaris-11

1)

Global:.PARSEFILE = sunpro.mk
ParseReadLine (18): 'SUNWSPROBASE?=             /opt/SUNWspro'
Searching for UNWSPROBASE ...
   failed.
exists(UNWSPROBASE) result is ""
ParseReadLine (20): 'SUNWSPROBASE!=         /bin/ls -d /opt/solstudio*'
/opt/solstudio*: No such file or directory
Global:SUNWSPROBASE =
bmake: "../../mk/compiler/../../mk/compiler/sunpro.mk" line 20: warning: 
"/bin/ls -d /opt/solstudio*" returned non-zero status

index 1678c4a..ec56586 100644
--- a/mk/compiler/sunpro.mk
+++ b/mk/compiler/sunpro.mk
@@ -16,7 +16,7 @@ COMPILER_SUNPRO_MK=   defined
 .include "../../mk/bsd.prefs.mk"

 SUNWSPROBASE?=         /opt/SUNWspro
-.if !exists($SUNWSPROBASE)
+.if !exists(${SUNWSPROBASE})
 SUNWSPROBASE!=         /bin/ls -d /opt/solstudio*
 .endif

2)
===> running: (cd /data/pkgsrc/pkgtools/bootstrap-mk-files && 
/var/tmp/pkgsrc-bootstrap/bin/bmake  USE_DESTDIR=no -DPKG_PRESERVE 
MAKECONF=/var/tmp/pkgsrc-bootstrap/mk.conf install)
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Missing PLIST file or PLIST/GENERATE_PLIST definition.
*** Error code 1

That requires CFLAGS="-m64 -O" LDFLAGS="-m64" also specified for ./bootstrap

As usual, I'm unsure whether my "fixes" are accurate, that's why I throw it on 
ML before committing.

Cheers
-- 
Jens Rehsack
pkgsrc, Perl5
sno%NetBSD.org@localhost







Home | Main Index | Thread Index | Old Index