Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

help? configure, non-standard prefix, linkage



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