pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Add notes about common problems & mk.conf sn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efea72fa2801
branches:  trunk
changeset: 349297:efea72fa2801
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sun Jul 03 15:38:12 2016 +0000

description:
Add notes about common problems & mk.conf snippet for Sun Workshop users from the pkgsrc guide

diffstat:

 bootstrap/README.Solaris |  19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r e30063e1920f -r efea72fa2801 bootstrap/README.Solaris
--- a/bootstrap/README.Solaris  Sun Jul 03 15:26:27 2016 +0000
+++ b/bootstrap/README.Solaris  Sun Jul 03 15:38:12 2016 +0000
@@ -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 @@
 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.



Home | Main Index | Thread Index | Old Index