On 06:56 Thu 18 Sep , William G. Scott wrote:
> CCP4 6.0.99 builds its own libxml2. It there a way to get it to use a
> later version I have already installed? The reason is that this is
> messing up other programs that for some reason I can't fathom (the evil
> $DYLD_LIBRARY_PATH remains unset) are finding this older version.
Bill,
Here's the hacks I'm using to make ccp4 act very slightly more like
normal software:
# Rapper bundles libxml2 and boehm-gc. Don't build, use or install those.
pushd src/rapper 2>/dev/null
sed -i \
-e '/^AC_CONFIG_SUBDIRS(\[gc7.0 libxml2\])/d' \
configure.ac
sed -i \
-e '/^SUBDIRS/s:libxml2 gc7.0::g' \
Makefile.am
sed -i \
-e '/^rapper_LDADD/s:../gc7.0/libgc.la ../libxml2/libxml2.la:-lgc -lxml2:g' \
LOOP/Makefile.am
sed -i \
-e '/^INCLUDES/s:-I../gc7.0/include -I../libxml2/include:-I/usr/include/gc -I/usr/include/libxml2:g' \
LOOP/Makefile.am
eautoreconf
popd
--
Thanks,
Donnie
Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com
|