Date: Sat, 08 Mar 2014 03:35:11 +0100 From: "Julian H. Stacey" <jhs@berklix.com> To: freebsd-perl@freebsd.org Cc: sunpoet@freebsd.org, gjb@freebsd.org, Josh Gilliam <josh@quick.net> Subject: How to compile lang/perl5.14 static ? Message-ID: <201403080235.s282ZBpo056254@fire.js.berklix.net>
next in thread | raw e-mail | index | archive | help
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=-static # Fails LDFLAGS=-static in /etc/make.conf Fails My hack fails: http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/lang/perl5.14/files/ Other ideas please ? 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 I was seeing a similar lack of shared libs problem with /usr/local/bin/emil called from procmail, until I compiled emil static. http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/mail/emil/Makefile.REL=9.1-RELEASE.diff Idealy I would solve the problem in procmail, but I dont know how, adding -p to .forward did not help adding LD_LIBRARY_PATH=/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/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/dovecot/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 I cc'd Maintainers of procmail emil & [ex]demime FYI Any ideas welcome, Thanks. PS I am not on perl@freebsd.org, please keep jhs@berklix.com on CC. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. Boycott Putin's Russia, invaders of Ukraine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403080235.s282ZBpo056254>