[Clam-devel] Troubleshooting
Jun Jun
wangjun at dsp.ac.cn
Sat Jan 3 17:50:08 PST 2009
Happy new year!
I have not met with those including 1) a) b) c). May I see the original config.log file that prompts those troubleshootings? A complete config.log file would be more helpful than a segmental one.
I doubt those troubles were caused by the missing of pkg-config.(see Giulio's procedure for reference)
Jun
----- Original Message -----
From: Rupinder Singh
To: clam-devel at llistes.projectes.lafarga.org
Sent: Friday, January 02, 2009 5:04 AM
Subject: [Clam-devel] Troubleshooting
Hi,
I had to do some troubleshooting to confer to the given SConscript.
1) a)In the mingw\local\include directory, changed the name of libxml++-2.6 folder to libxml++. That is, all the libxml++ data should be in a folder named
libxml++ in mingw\local\include. Did the same for glibmm (in glib-2.4), glib (in glib-2.0).
b) Downloaded glibconfig.h , glibmmconfig.h , libxml++config.h (they're absent from the tarball) and put it in the include folder.
c) Transfered gmacros.h from glib to include .
Not doing this caused libxml++ code compile/link/run test to fail.
2) In the file ustring.h, instead of using : GLIBMM_USING_STD(bidirectional_iterator_tag) , used : using std::bidirectional_iterator_tag;
Not doing this gave some error like : '::bidirectional_iterator_tag' has not been declared
Those were the steps till now.
In the prompt I get:
#########################################
### CLAM CORE DEPENDENCIES CHECKING ###
#########################################
Checking that libxml++ sample program compiles...yes
Checking that libxml++ sample program links...no
libxml++ code compile/link/run test failed!
Check the config.log file for details
-> config.h <-
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to `Glib::ustring::ustring(char const*)'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to `xmlpp::Document::Document(Glib::ustring const&)'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to `Glib::ustring::~ustring()'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:5: undefined reference to `Glib::ustring::~ustring()'
C:/clam/CLAM/.sconf_temp/conftest_7.cxx:6: undefined reference to `xmlpp::Document::~Document()'
I guess this can be solved if the conftest_7.cxx being produced can be made to include ustring.h . Is there any method to solve this ?
Rupinder
------------------------------------------------------------------------------
_______________________________________________
Clam-devel mailing list
Clam-devel at llistes.projectes.lafarga.org
https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20090104/5e352b1f/attachment-0004.htm>
More information about the clam-devel
mailing list