Forum OpenACS Development: problems with nsxml on redhat 7.0

Collapse
Posted by Rafael Calvo on
Hi,

I am installing OpenACS 4. on redhat 7.0.
followed the instructions by Vinod <a
href="/new-file-storage/download/openacs-4.html?version_id=178">here</a>

I have problems installing nsxml. As it is redhat I should be
installing libxml2, but to do that I need to install glibc.2.3 and
there is no such rpm for redhat (redhat's site only has 2.2 versions).
Should I use the 2.3 even if is not RedHat?

also I get quite a few other dependencies that I would need to fix...
can I bypass the use of nsxml? what is it for?

Collapse
Posted by Rafael Calvo on
After reading Don porting guidelines I come to the conclusion that nsxml deals with the APM. Am I right? if this is so I probably can not escape to installing all the dependencies.

Why other people is not having the same problems? is it RH 7.0?

Collapse
Posted by Don Baccus on
libxml is used by the query dispatcher, not the APM at this point.  If anything, though, the query dispatcher is more crucial than the APM.  So yes, you need it.

(we plan to rewrite the APM to use libxml later so there will only be one XML parsing package used by OpenACS 4 rather than two, as is true today).

Collapse
Posted by Rafael Calvo on
thanks,
so I guess the answer is that yes I need to install glibc and the other dependencies.

Does anyone know if installing a glibc.2.3 that is not distributed with redhat can bring any trouble?

How do you rollback if it does? (sorry if this is a silly question or not appropiate here)

cheers

Collapse
Posted by Pascal Scheffers on
I just downloaded the src rpm from the libxml website (don't remember where). It compiles fine on RH7.1 (with glibc 2.2).
# rpm --rebuild libxml2-2.3.8-1.src.rpm
# cd /usr/src/redhat/RPMS/i386/  
# rpm -i libxml2* 
Collapse
Posted by Ola Hansson on
Rafael,

Could you get nsxml to compile on RH 7.0? I don't.

In order to install libxml2-2.3.9-2.rpm I also installed glibc-2.2.3-3.rpm and iconv-2.2.3-3. I tried with both -lxml and -lxml2 in the makefile but to no avail...
libxml2-2.3.8-1.src.rpm didn't compile either.

Collapse
Posted by Antonio Laterza on
Just for notice: the last libxml2-2.3.13-1.src.rpm don't work.
I used libxml2-2.3.8-1.src.rpm following Pascal's instruction and installation was ok!