On Fri, 23 Jul 2004, Nagy Viktor wrote:
After having skipped the libpng part, the configure script failed at
libxml.
I checked it, and I have both libxml (version: 1.8.17-274) and libxml2
(version: 2.5.10-32). Even I checked the provided files of the before
mentioned packages for libxml-2.0.pc, it isn't between them.
libxml provides:
libxml.so.1
libxml2 provides:
libxml2.so.2
/usr/bin/xmlcatalog
/usr/bin/xmllint
The ".pc" files that are missing are components of the pkg-config
system, which is a mechanism for gathering information about installed
libraries when configuring new software for compilation. The fact
that these files are not present on your system makes me think that
maybe you don't have the "developer" packages (rpms) installed.
Package-based Linux systems divide their packages for shared libraries
into two components:
1. A runtime package which provides the shared library itself: this is
sufficient if you just want to *run* a program that uses the shared
library.
Example: libxml2-2.6.11-1.i386.rpm
2. A corresponding "developer" package (with "devel" in its name):
this is required in addition to the runtime package if you want to
*build* software that uses the library in question.
Example: libxml2-devel-2.6.11-1.i386.rpm
If you did a default install of SuSE, it's quite likely that only the
runtime packages were installed. In that case you'll now need to
install the "devel" packages too (for libxml2, gtk, and so on).
Personally, my feeling is that Linux distributions should install the
"devel" packages by default, unless there's an issue with shortage of
disk space. Many new Linux users get caught out by this: they think
they ought to be able to compile software themselves, if they want to,
but then they find all sorts of stuff is missing. The label "devel"
is misleading, to my mind: it suggests you need that stuff only if you
are a coder, a software developer, but in fact you need it if you want
to compile anything but trivial programs.
You don't need to worry about gnome: gretl can manage fine without a
gnome installation.
I hope this helps.
Allin Cottrell