Difference between revisions of "How To Install Channel Archiver On Scientific Linux"

From EPICSWIKI
 
Line 4: Line 4:




'''w3c-libwww-devel'''
===w3c-libwww-devel===


The w3c-libwww sources supplied with archiver did compile but xmlrpc's configure
The w3c-libwww sources supplied with archiver did compile but xmlrpc's configure
Line 13: Line 13:
   
   


'''xml rpc'''
===xml rpc===


I applied both patches mentioned in the manual and changed line 104 in
I applied both patches mentioned in the manual and changed line 104 in
extensions/src/ChannelArchiver/ThirdParty/xmlrpc-c-0.9.9/src/validatee.c where
extensions/src/ChannelArchiver/ThirdParty/xmlrpc-c-0.9.9/src/validatee.c where
default:
default:
was changed to
was changed to
default:;
default:;
in order to prevent compiler error.
in order to prevent compiler error.


Line 25: Line 25:


Added
Added
#include <xercesc/framework/MemoryManager.hpp>
#include <xercesc/framework/MemoryManager.hpp>
to
to
extensions/src/ChannelArchiver/ThirdParty/xercesc/util/RefArrayOf.hpp
extensions/src/ChannelArchiver/ThirdParty/xercesc/util/RefArrayOf.hpp
as mentioned in manual.
as mentioned in manual.


o) XML-Simple and Frontier
===XML-Simple and Frontier===


Worked exactly as described in manual.
Worked exactly as described in manual.


o) some general notes
===Some general notes===


- /usr/local/bin is not by default included in path which causes archiver making
* /usr/local/bin is not by default included in path which causes archiver making
(when calling xmlrpc-c-config) to fail. Just
(when calling xmlrpc-c-config) to fail. Just
export PATH=$PATH:/usr/local/bin
export PATH=$PATH:/usr/local/bin


- I omited 'o' switch when extracting third party archives to prevent "Cannot
* I omited 'o' switch when extracting third party archives to prevent "Cannot
change ownership" errors.
change ownership" errors.


- Remember to run "make" in extensions/configure prior to making
* Remember to run "make" in extensions/configure prior to making
ChannelArchiver.
ChannelArchiver.

Revision as of 07:53, 14 February 2006

For Channel Archiver installation refer to Channel Archiver Manual, Chapter 8: Setup, Installation.

On Scientific Linux (version 4.1, gcc 3.4.3) the following should be taken in account in addition to Channel Archive Manual's instructions:


w3c-libwww-devel

The w3c-libwww sources supplied with archiver did compile but xmlrpc's configure didn't find it (probably path/location issues). I just grabbed the package from internet and it worked ok;

su -c "yum install w3c-libwww-devel"

xml rpc

I applied both patches mentioned in the manual and changed line 104 in extensions/src/ChannelArchiver/ThirdParty/xmlrpc-c-0.9.9/src/validatee.c where

default:

was changed to

default:;

in order to prevent compiler error.

xerces

Added

#include <xercesc/framework/MemoryManager.hpp>

to

extensions/src/ChannelArchiver/ThirdParty/xercesc/util/RefArrayOf.hpp

as mentioned in manual.

XML-Simple and Frontier

Worked exactly as described in manual.

Some general notes

  • /usr/local/bin is not by default included in path which causes archiver making

(when calling xmlrpc-c-config) to fail. Just export PATH=$PATH:/usr/local/bin

  • I omited 'o' switch when extracting third party archives to prevent "Cannot

change ownership" errors.

  • Remember to run "make" in extensions/configure prior to making

ChannelArchiver.