Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
help? configure, non-standard prefix, linkage
- X-seq: zsh-workers 23515
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: help? configure, non-standard prefix, linkage
- Date: Sun, 3 Jun 2007 18:29:04 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=first1; d=spodhuis.org; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition; b=AtUiwgzpKPbEbPiy77sfHCfEyFHazF8I0AtDX2jb7EhXq3+6YKZLOBTcq+ywIbxFPPWxSV5Ur5dm2Lo0HPJo2iqlVzTEvqWIDajnSIAdABja1tyxvoNeYOfp1Qw02qMMZzSt8P4y7I9tvXPTbzO4AhUOaSyPWll0x6EdBpMhu10=;
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I build test instances of zsh to install into --prefix=$HOME/dbg, a
hierarchy which I can safely annihilate at any time. I manually force
in /usr/local/lib/ as a library search path so that libiconv is
available.
I also apply any autotools updates which FreeBSD's Ports collection
offers, as this normally reduces pain of the "your framework of hacks
upon hacks is too old, nyer nyer nyer" variety. I especially come
up-to-date on these before installing security updates. Being silly and
trusting, and valuing my time, I didn't regression-test build everything
after each individual update.
At some point, "something" has changed the linkage flags passed to zsh,
so that it's specifying the system LDFLAGS -L/usr/local/lib to the build
twice, the second time as a linker -Wl,-R/usr/local/lib; this means that
a zsh installed into ~/dbg can't find libzsh.
I've searched back through zsh CVS and it's now "broken" for versions
which previously installed fine, so I don't think that this is zsh
breakage. It's something in my build environment. I'm hoping that
someone here with more experience of autotools can point me at what I've
broken. I've tried using v259 instead of v261 but whatever's changed is
broken in both.
Thanks,
-Phil
----------------------------8< cut here >8------------------------------
sed -i.bak '/auto/s/$/261/' .preconfig
sh ./.preconfig
zbuildopts=(
--build=amd64-phil-freebsd62
--with-curses-terminfo --with-tcsetpgrp
--enable-etcdir=/etc --enable-function-subdirs
--enable-zsh-mem --enable-zsh-secure-free
--enable-zsh-debug --enable-zsh-mem-debug
--enable-dynamic
--enable-multibyte
--enable-pcre
--enable-site-fndir=/usr/local/share/zsh/site-functions
)
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib \
./configure $zbuildopts --prefix=$HOME/dbg \
--enable-fndir=$HOME/dbg/share/zsh/zsh-phil-4.3.4/functions
----------------------------8< cut here >8------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author