Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id D1DD77A2B0 for ; Sun, 3 Jul 2016 15:38:13 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 82FE385E9B; Sun, 3 Jul 2016 15:38:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 13BA085E99 for ; Sun, 3 Jul 2016 15:38:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 1mbwiqbcAb3d for ; Sun, 3 Jul 2016 15:38:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7086084CE9 for ; Sun, 3 Jul 2016 15:38:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6BAA7FBB5; Sun, 3 Jul 2016 15:38:12 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_146756029271290" MIME-Version: 1.0 Date: Sun, 3 Jul 2016 15:38:12 +0000 From: "Sevan Janiyan" Subject: CVS commit: pkgsrc/bootstrap To: pkgsrc-changes@NetBSD.org Reply-To: sevan@netbsd.org X-Mailer: log_accum Message-Id: <20160703153812.6BAA7FBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_146756029271290 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: sevan Date: Sun Jul 3 15:38:12 UTC 2016 Modified Files: pkgsrc/bootstrap: README.Solaris Log Message: Add notes about common problems & mk.conf snippet for Sun Workshop users from the pkgsrc guide To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 pkgsrc/bootstrap/README.Solaris Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_146756029271290 Content-Disposition: inline Content-Length: 1272 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/bootstrap/README.Solaris diff -u pkgsrc/bootstrap/README.Solaris:1.14 pkgsrc/bootstrap/README.Solaris:1.15 --- pkgsrc/bootstrap/README.Solaris:1.14 Fri Jul 13 16:12:41 2012 +++ pkgsrc/bootstrap/README.Solaris Sun Jul 3 15:38:12 2016 @@ -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 ensur 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. --_----------=_146756029271290--