Hello All,
I'm trying to compile Sablotron under a FreeBSD 4.2 virtual server system (from iServer).
I've first downloaded the expat tarball, and have successfully compiled it under /usr/home/vinsomni/usr/local
By default it should install to /usr/local - but since this is outside my home directory, I have no write permissions to it.
I compiled expat in the following way:
1) downloaded expat tarball to ~/usr/local
2) tar -xvzf expat*.tar.gz
3) cd <expat dir>
4) ./configure --prefix=/usr/home/vinsomni/usr/local
5) make
6) make install
I end up with the following files under the following directories:
1) in ~/usr/local/bin
libexpat.a,libexpat.so,libgdbm.so,libexpat.la,libexpat.so.0,libgdbm.so.2
2) in ~/usr/local/include
expat.h
I then did the following:
1) downloaded the Sablotron tarball to ~/usr/local
2) tar -xvzf Sablot*.tar.gz
3) cd <Sablotron dir>
4) ./configure --prefix=/usr/home/vinsomni/usr/local
this is when everything goes wrong. The Sablotron configure script ALWAYS fails to find the expat libraries, giving the following message:
"checking where to find xml parser... 0: not found
not found (panic)
configure: error: Couldn't find the expat libraries"
I've tried modifying my $PATH environment variable to include the directories in which I installed expat (since its installed in /usr/home/vinsomni/usr/local/lib and /usr/home/vinsomni/usr/local/include
and not the usual /usr/local/lib and /usr/local/include
In other words - I have NO idea how to force that configure script to find my expat libraries where they belong. How can I tell it to find expat where I installed it???
Also, once I have compiled both expat and Sablotron, what do I have to do? Do I have to recompile PHP taking those two into account?
The documentation out there is AWEFULL. There are a lot of users and developers out there that are still learning Linux/BSD and don't know the system inside out to solve such problems as I have. The main problem I've encountered with linux/BSD so far is the lack of simple and straight-forward documentation.
Anyways, I hope someone can help me here! :/
Thanks in advance,
The_Mutha.