Problem configuring libxslt-1.0.9 on Solaris.
- From: Rich Burridge <Rich Burridge Sun COM>
- To: gnome-libs-devel gnome org
- Subject: Problem configuring libxslt-1.0.9 on Solaris.
- Date: Tue, 18 Dec 2001 15:06:16 -0800 (PST)
Hi all,
A minor nit. I'm trying to configure and install libxslt-1.0.9
on Solaris. /bin/sh on that platform doesn't have a "test -e", so the
configure fails with:
...
checking for gmtime... yes
checking for perl... perl
Enabling debugger
checking for libxml libraries >= 2.4.10... 2.4.12 found
./configure: test: argument expected
%
I fixed this with the following diff to .../libxslt-1.0.9/configure.in:
*** configure.in.orig Tue Dec 18 14:53:07 2001
--- configure.in Tue Dec 18 14:53:47 2001
***************
*** 268,278 ****
# try to check if there is already an installed shared lib of the same level
#
INSTALLED_XSLT_LIB=""
! if test -e $prefix
then
shared_xslt_lib="$prefix/lib/libxslt.so.$LIBXSLT_MAJOR_VERSION"
shared_xslt_la="$prefix/lib/libxslt.la"
! if test -e $shared_xslt_lib -a -e $shared_xslt_la
then
INSTALLED_XSLT_LIB="-L$libdir -lxslt"
fi
--- 268,278 ----
# try to check if there is already an installed shared lib of the same level
#
INSTALLED_XSLT_LIB=""
! if test -d $prefix
then
shared_xslt_lib="$prefix/lib/libxslt.so.$LIBXSLT_MAJOR_VERSION"
shared_xslt_la="$prefix/lib/libxslt.la"
! if test -f $shared_xslt_lib -a -f $shared_xslt_la
then
INSTALLED_XSLT_LIB="-L$libdir -lxslt"
fi
A similar fix would need to be applied to the HEAD. See:
http://cvs.gnome.org/lxr/source/libxslt/configure.in#271
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]