LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing xerces-c, Help needed (https://www.linuxquestions.org/questions/linux-newbie-8/installing-xerces-c-help-needed-374709/)

Jorek 10-19-2005 12:15 PM

Installing xerces-c, Help needed
 
Hi.
I'm trying to install the game "Glest", but when I'm doing a ./configure, I get this output:
Code:

checking for xerces... not found
configure: error: Please install xerces-c

How to install xerces-c?
I have been googleing and using the search function of this forum, but I haven't been able to find anything about it.
The distro is VectorLinux(slackbased)
Thanks in advance.

Dark_Helmet 10-19-2005 12:53 PM

You didn't Google hard enough :)

The sixth link listed on a Google search for "xerces-c":
http://archive.apache.org/dist/xml/xerces-c/

That's a link to the Apache archive for "old software", but the current mirrors list the same version as the most current.

Jorek 10-19-2005 01:58 PM

Oh, sorry about that:(
Now I have downloaded the file, when I'm about to run the runConfigure script, it says this:
Code:

root@Joreks:# ./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread
ERROR : You have not set your XERCESCROOT environment variable

How do I set the enviroment variable?!

Dark_Helmet 10-19-2005 02:10 PM

Bash lets you create environment variables using this format:
Code:

export Variablename=Value
There is a Readme.html file included in the xerces tarball that has some build instructions for Unix-style systems. It says that the XERCESCROOT environment variable needs to be set to the path to the Xerces-C source code directory. In other words, if you untar'ed the source to /home/Jorek/software/xerces-c, then you need to export XERCESCROOT with this:
Code:

export XERCESCROOT=/home/Jorek/software/xerces-c/xerces-c-src_2_7_0
That last directory is created when you untar the source tarball, and the numbers will depend on which version of the software you downloaded.

To read the Readme.html file that came in the tarball, open a web browser, select File->Open File, and browse to the directory that has it. It has lots of good stuff in it.


All times are GMT -5. The time now is 10:20 PM.