summaryrefslogtreecommitdiff
path: root/bootstrap/README.Solaris
diff options
context:
space:
mode:
authorsevan <sevan>2016-07-03 15:38:12 +0000
committersevan <sevan>2016-07-03 15:38:12 +0000
commit61ee9cc872528e587073d07920af63131e9db1f5 (patch)
treec941a9f0d38b4413f935419b4947e80c44192f62 /bootstrap/README.Solaris
parentf25aac56d572e2fb1616bef668dffa16b29e1ee1 (diff)
downloadpkgsrc-61ee9cc872528e587073d07920af63131e9db1f5.tar.gz
Add notes about common problems & mk.conf snippet for Sun Workshop users from the pkgsrc guide
Diffstat (limited to 'bootstrap/README.Solaris')
-rw-r--r--bootstrap/README.Solaris19
1 files changed, 18 insertions, 1 deletions
diff --git a/bootstrap/README.Solaris b/bootstrap/README.Solaris
index c089b1049cd..66d552d00c6 100644
--- a/bootstrap/README.Solaris
+++ b/bootstrap/README.Solaris
@@ -1,4 +1,4 @@
-$NetBSD: README.Solaris,v 1.14 2012/07/13 16:12:41 jperkin Exp $
+$NetBSD: README.Solaris,v 1.15 2016/07/03 15:38:12 sevan Exp $
You will need a working C compiler. Any version of gcc >2.8 should
work, 2.95.x and 3.x have been tested. SunPro 5 and 8 have been
@@ -108,4 +108,21 @@ Whichever compiler you use, please ensure the compiler tools and
your $prefix are in your PATH. This includes /usr/ccs/{bin,lib}
and eg. /usr/pkg/{bin,sbin}.
+You should set the following variables in your mk.conf file:
+ CC= cc
+ CXX= CC
+ CPP= cc -E
+ CXXCPP= CC -E
+
+Common problems
+---------------
+Sometimes, when using libtool, /bin/ksh crashes with a segmentation fault. The
+workaround is to use another shell for the configure scripts, for example by
+installing shells/bash and adding the following lines to your mk.conf:
+
+ CONFIG_SHELL= ${LOCALBASE}/bin/bash
+ WRAPPER_SHELL= ${LOCALBASE}/bin/bash
+
+Then, rebuild the devel/libtool-base package.
+
bootstrap-pkgsrc has been tested on Solaris 2.6 -> 10.