[esp-r] XML installation problem
Sara Nikoofard
sr880710 at dal.ca
Mon Nov 26 20:37:38 GMT 2012
Hi all,
I have a problem in esp-r installation. I have two different versions of
esp-r on my computer. The first one is my branch (Sara_Nikoofard) which is
based on older revision of development_branch and another one is
development_branch at the latest revision. My OS is Ubuntu 10.10. I install
esp-r with the following command:
./Install -d ~/esru --gcc4 --compiler_version -4.2 --xml --silent
This work perfectly when I install my own branch but when I want to install
development_branch, it can't enable xml and give me the following error.
However, if I disable xml it works perfectly fine. Any suggestion what is
the problem? (if the problem was a missing package then my branch shouldn't
be installed which is not the case. I am guessing something else is wrong)
I also used this command: "./Install -d ~/esru " to let the esp-r find the
compiler versions itself but still no luck.
ERROR: could not build executable enableXML!
ERROR: result /home/sara/esp-r_src/development_branch/src/lib/libXML.a!
Compilation messages follow:
-----------------------------------------
Compilation of enableXML on Mon Nov 26 16:08:26 AST 2012
Make command:
-------------
make MCTYPE=lin MCC=gcc-4.2 MCPL=g++-4.2 MFC=gfortran-4.2
DESTdir=/home/sara/esru_dev ESPdir=/home/sara/esru_dev/esp-r WWLINK=unshared
EXE= XINSTALLDIR=/usr CFLAGS=-I../include -I../shocc -I/usr/local/include
-I../cetc/h3kreports -I/usr/include -I/usr/include -I/usr/include/libxml2
-I/usr/local/include/libxml2 -I/usr/include/libxslt -I/local/include/libxslt
-DLIN -DX11 -DXSL FFLAGS=-I../include -I../shocc -I/usr/local/include
-I../cetc/h3kreports -DLIN -DX11 -fno-automatic -DGCC4 LD_FLAGS=
ULIBS=-L/home/sara/esp-r_src/development_branch/src/lib -lversion -lxesru
-L/usr/lib -lX11 -lXML -lstdc++ -lxslt -lxml2 -lSQLite xml_status=
SQLite_status= -f Makefile enableXML >>.make_msg 2>&1
Make output:
------------
cd `pwd`/lib; \
make the_libH3KReports
make[1]: Entering directory
`/home/sara/esp-r_src/development_branch/src/lib'
rm -f h3kmodule.f90
ln -s `pwd`/../cetc/h3kmodule.f90 . ;
gfortran-4.2 -I../include -I../shocc -I/usr/local/include
-I../cetc/h3kreports -DLIN -DX11 -fno-automatic -DGCC4 -c h3kmodule.f90;
rm -f ConfigureH3kReports.F ;
ln -s `pwd`/../cetc/h3kreports/ConfigureH3kReports.F . ;
gfortran-4.2 -I../include -I../shocc -I/usr/local/include
-I../cetc/h3kreports -DLIN -DX11 -fno-automatic -DGCC4 -c
ConfigureH3kReports.F
rm -f TBinnedData.cpp ;
ln -s `pwd`/../cetc/h3kreports/TBinnedData.cpp .;
g++-4.2 -I../include -I../shocc -I/usr/local/include -I../cetc/h3kreports
-I/usr/include -I/usr/include -I/usr/include/libxml2
-I/usr/local/include/libxml2 -I/usr/include/libxslt -I/local/include/libxslt
-DLIN -DX11 -DXSL -c TBinnedData.cpp
rm -f TXMLAdapter.cpp ;
ln -s `pwd`/../cetc/h3kreports/TXMLAdapter.cpp . ;
g++-4.2 -I../include -I../shocc -I/usr/local/include -I../cetc/h3kreports
-I/usr/include -I/usr/include -I/usr/include/libxml2
-I/usr/local/include/libxml2 -I/usr/include/libxslt -I/local/include/libxslt
-DLIN -DX11 -DXSL -c TXMLAdapter.cpp
TXMLAdapter.cpp:11:26: error: libxslt/xslt.h: No such file or directory
TXMLAdapter.cpp:12:35: error: libxslt/xsltInternals.h: No such file or
directory
TXMLAdapter.cpp:13:31: error: libxslt/transform.h: No such file or directory
TXMLAdapter.cpp:14:31: error: libxslt/xsltutils.h: No such file or directory
TXMLAdapter.cpp: In member function 'void
TXMLAdapter::WriteTransformedXML(const char*,
std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >)':
TXMLAdapter.cpp:262: error: 'xsltStylesheetPtr' was not declared in this
scope
TXMLAdapter.cpp:262: error: expected `;' before 'cur'
TXMLAdapter.cpp:290: error: 'cur' was not declared in this scope
TXMLAdapter.cpp:290: error: 'xsltParseStylesheetFile' was not declared in
this scope
TXMLAdapter.cpp:292: error: 'xsltApplyStylesheet' was not declared in this
scope
TXMLAdapter.cpp:295: error: 'xsltSaveResultToFile' was not declared in this
scope
TXMLAdapter.cpp:301: error: 'xsltFreeStylesheet' was not declared in this
scope
make[1]: *** [TXMLAdapter.o] Error 1
make[1]: Leaving directory `/home/sara/esp-r_src/development_branch/src/lib'
make: *** [enableXML] Error 2
-----------------------------------------
Install: Fatal error.
Executable enableXML could not be built!
Installation aborted.
Thanks,
Sara Nikoofard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20121126/8c3743b4/attachment.html
More information about the esp-r
mailing list