From owner-freebsd-perl@FreeBSD.ORG Sat Mar 8 03:48:32 2014 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9581F38F; Sat, 8 Mar 2014 03:48:32 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E15924E; Sat, 8 Mar 2014 03:48:32 +0000 (UTC) Received: from glenbarber.us (nucleus.glenbarber.us [IPv6:2001:470:8:1205:2:2:ff:100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 43340C105; Sat, 8 Mar 2014 03:48:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 43340C105 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Fri, 7 Mar 2014 22:48:27 -0500 From: Glen Barber To: "Julian H. Stacey" Subject: Re: How to compile lang/perl5.14 static ? Message-ID: <20140308034827.GB62690@glenbarber.us> References: <201403080235.s282ZBpo056254@fire.js.berklix.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <201403080235.s282ZBpo056254@fire.js.berklix.net> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.22 (2013-10-16) Cc: sunpoet@freebsd.org, Josh Gilliam , freebsd-perl@freebsd.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2014 03:48:32 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am not sure why I am in CC on this. Glen On Sat, Mar 08, 2014 at 03:35:11AM +0100, Julian H. Stacey wrote: > Hi freebsd-perl@freebsd.org > On 9.1-release & up, how can one compile lang/perl5.14 static ? > cd /usr/ports/lang/perl5.14 ; make LDFLAGS=3D-static # Fails > LDFLAGS=3D-static in /etc/make.conf Fails > My hack fails: > http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/lang/perl5.1= 4/files/ > Other ideas please ? >=20 > I want perl static so I can debug/solve a problem with procmail calling > demime calling perl, perl is now in /usr/local, where shared libs are > no longer being seen from my procmail filter > http://berklix.com/~jhs/dots/.procmailrc > http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/mail/demime >=20 > I was seeing a similar lack of shared libs problem with /usr/local/bin/em= il > called from procmail, until I compiled emil static. > http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/mail/emil/Mak= efile.REL=3D9.1-RELEASE.diff >=20 > Idealy I would solve the problem in procmail, but I dont know how, > adding -p to .forward did not help > adding=20 > LD_LIBRARY_PATH=3D/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/loca= l/lib/browser_plugins/gnash:/usr/local/GNUstep/Local/Library/Libraries:/usr= /local/GNUstep/System/Library/Libraries:/usr/local/kde4/lib:/usr/local/lib/= R/lib:/usr/local/lib/alsa-lib:/usr/local/lib/compat:/usr/local/lib/dovecot:= /usr/local/lib/dovecot/imap:/usr/local/lib/dovecot/lda:/usr/local/lib/dovec= ot/pop3:/usr/local/lib/event2:/usr/local/lib/ffmpeg1:/usr/local/lib/gcc42:/= usr/local/lib/gcc46:/usr/local/lib/gnash:/usr/local/lib/graphviz:/usr/local= /lib/httrack:/usr/local/lib/libxul:/usr/local/lib/mysql:/usr/local/lib/nss:= /usr/local/lib/pth:/usr/local/lib/qt4:/usr/local/lib/virtualbox > to .procmailrc did not help >=20 > I cc'd Maintainers of procmail emil & [ex]demime FYI >=20 > Any ideas welcome, Thanks. >=20 > PS I am not on perl@freebsd.org, please keep jhs@berklix.com on CC. >=20 > Cheers, > Julian > --=20 > Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix= =2Ecom > Reply below not above, like a play script. Indent old text with "> ". > Send plain text. No quoted-printable, HTML, base64, multipart/alternati= ve. > Boycott Putin's Russia, invaders of Ukraine --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJTGpMLAAoJELls3eqvi17QS+EP/iAemMJgSjzZmClPvAkeKeNg dWQY5tuwZPhjziIicHCOBZPW2g0OY0KPV+omCswH8DQn31JnYMgSRKsifibTHm0p 8J1hVwdcfx+R9K0OoMSV3XUvBsx9bhcb/SzQzcFFhpulwZOtstakx4iwsRkAAkse 0tAAPWphlkUc4+mCNvdzElhnO9NlmS4bOn5aapC7zHZAkBhjf7ubg7CT4mIJyzVQ hlck2hlax7Mf9KoGQhrtqOuFhc3sft0wtvDd6CfGClOLYPWxVSWRk8j9CerMhPWm OQn9eV8iLAu8HmXzj6r2rS7LKkLUFP+YR5ISFEnfGbpXnwA0+uJuh+KLmrGzR4zX OyUeF8UdHzlNekVb6H/CbkY1/tow4TCAQA4itm0LUcniKwqWx1FGXf/aA44Eu+MQ r8Fet/JX9MHpcgoSQg8s7vk4CUyyUTTjNJ3euooDRFhFrRSk9hb04oav3tJ/QD9e uotjzRg5Xo81GUWx1B5vC51ZcsPZ88GdPom/K1nOiD3TSA0Xqrc2BH7YQx76mz9w AXOYNCX3sg6qtjyQa07hWsPVkOO7vtKkWSWLR3OZcXmZ5v3mVEdZTKsspbFItVCG GfIH+tu2UWwfkrwL8Ed6SURmI1p6U3v2G4yN82sA3hy2JrmLYBQU4xxHaBdwVopW D1yI8chTadpN7TDCe59B =KXOp -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--