RE: Build glitch: gnome-print-0.19 fails to build on Solaris 2.8
- From: "Zach Frey" <zfrey bright net>
- To: <gnome-devel-list gnome org>
- Subject: RE: Build glitch: gnome-print-0.19 fails to build on Solaris 2.8
- Date: Tue, 16 May 2000 16:50:08 -0400
> I have not debugged configure enough yet to figure out *why* it fails
> to set this properly.
Aha! configure is trying to do the right thing, but gnome-config
is lying to it:
bash-2.03$ echo "XML libs are `gnome-config --libs xml`"
XML libs are
bash-2.03$
The problem is that gnome-config is broken when using Solaris'
/usr/bin/tr, and fails to properly pull out values from xmlConf.sh.
So, there's apparantly some difference between Solaris tr and
GNU tr.
The following patch fixes things on Solaris, at least. I don't
have a Linux system handy to test this on, so I don't know how
general the solution is.
bash-2.03$ diff -u gnome-config gnome-config.orig
--- gnome-config Tue May 16 16:42:40 2000
+++ gnome-config.orig Tue May 16 11:01:26 2000
@@ -195,7 +195,7 @@
cnf_sh=${dir}/${1}Conf.sh
if test -f ${cnf_sh}; then
. ${cnf_sh}
- up_name=`echo $1 | tr "[:lower:]" "[:upper:]"`
+ up_name=`echo $1 | tr a-z A-Z`
cnf_libdir=\$${up_name}_LIBDIR
cnf_libs=\$${up_name}_LIBS
cnf_flags=\$${up_name}_INCLUDEDIR
bash-2.03$
FYI,
Zach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]