|
From: Dirk L. <di...@cs...> - 2008-03-25 15:17:21
|
Tuesday, March 25, 2008, 4:10:55 PM, Christian Hilgers wrote: > Dirk Leinenbach schrieb: >> Hi, >> >> I'm trying to compile libsyncml 0.46 in order to use it with the >> syncml plugin of opensync. >> >> Since I found no specia information about the new build process using >> cmake for libsyncml, I used the script from >> http://www.opensync.org/wiki/devel-branch-0.30 and got the error >> printed below. At first I guessed a missing libxml, but this library >> has been installed. > it is libxml, but not the lib itself.The headers are missing > for debian based: search for something with -dev well, the dev package libxml2-dev is also installed >> In file included from /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:27: >> /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_elements_internals.h:24:30: error: libxml/xmlreader.h: Datei oder Verzeichnis nicht gefunden > It is complaining about xmlreader.h not libxml.so :) xmlreader.h is present in the system: # locate xmlreader.h # /usr/include/libxml2/libxml/xmlreader.h Dirk > Christian > -- > Christian Hilgers |ConSol* > Tel. +49.2102.994-423 |Consulting&Solutions Software GmbH > Fax +49.2102.994-411 |Berliner Str. 101, 40880 Ratingen > email: Chr...@co... |WWW: http://www.consol.de > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users |
|
From: Michael B. <mic...@cm...> - 2008-03-25 16:10:25
Attachments:
smime.p7s
|
Dirk Leinenbach schrieb: > Tuesday, March 25, 2008, 4:10:55 PM, Christian Hilgers wrote: > >> Dirk Leinenbach schrieb: >>> Hi, >>> >>> I'm trying to compile libsyncml 0.46 in order to use it with the >>> syncml plugin of opensync. >>> >>> Since I found no specia information about the new build process using >>> cmake for libsyncml, I used the script from >>> http://www.opensync.org/wiki/devel-branch-0.30 and got the error >>> printed below. At first I guessed a missing libxml, but this library >>> has been installed. > >> it is libxml, but not the lib itself.The headers are missing >> for debian based: search for something with -dev > > well, the dev package libxml2-dev is also installed > >>> In file included from /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:27: >>> /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_elements_internals.h:24:30: error: libxml/xmlreader.h: Datei oder Verzeichnis nicht gefunden > >> It is complaining about xmlreader.h not libxml.so :) > > xmlreader.h is present in the system: > > # locate xmlreader.h > # /usr/include/libxml2/libxml/xmlreader.h Do the following files exist? /usr/lib/pkgconfig/libxml-2.0.pc /usr/include/libxml/ (usually a dynamic link) It looks like all of your pkgconfig files are missing. You can try to check the basic stuff by running "pkg-config --modversion libxml-2.0". After this you can continue with pkg-config --modversion openobex pkg-config --modversion libsoup-2.2 Best regards Michael -- _______________________________________________________________ Michael Bell Humboldt-Universitaet zu Berlin Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 mic...@cm... D-10099 Berlin _______________________________________________________________ X.509 CA Certificates / Wurzelzertifikate http://ra.pki.hu-berlin.de |
|
From: Dirk L. <di...@cs...> - 2008-03-26 10:13:09
|
Wednesday, March 26, 2008, 11:05:08 AM, Michael Bell wrote: > Dirk Leinenbach schrieb: >> I'm not familiar with cmake so please excuse if me question is stupid. >> But isn't it be possible to check the existence of these libraries >> explicitly (as usually done in configure scripts) and give better >> error messages? > This is what OFF means. libsoup is not present or some parts of it are > missing ... and yes I'm a beginner in terms of cmake too. Ok, that's true but I interpreted the OFF as: library not present but also not mandatory; for a library which is necessary to compile the program I would prefer an error instead of a "warning". Dirk > Perhaps Daniel can give a more sophisticated comment. > Michael |
|
From: Michael B. <mic...@cm...> - 2008-03-26 10:19:58
Attachments:
smime.p7s
|
Dirk Leinenbach schrieb: > Wednesday, March 26, 2008, 11:05:08 AM, Michael Bell wrote: > >> Dirk Leinenbach schrieb: > >>> I'm not familiar with cmake so please excuse if me question is stupid. >>> But isn't it be possible to check the existence of these libraries >>> explicitly (as usually done in configure scripts) and give better >>> error messages? > >> This is what OFF means. libsoup is not present or some parts of it are >> missing ... and yes I'm a beginner in terms of cmake too. > > Ok, that's true but I interpreted the OFF as: library not present but > also not mandatory; for a library which is necessary to compile the > program I would prefer an error instead of a "warning". The problem is that OpenObex or libsoup must be present and we does not integrate a check if at minimum one is present. Can you please open a ticket for this issue? Best regards Michael -- _______________________________________________________________ Michael Bell Humboldt-Universitaet zu Berlin Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 mic...@cm... D-10099 Berlin _______________________________________________________________ X.509 CA Certificates / Wurzelzertifikate http://ra.pki.hu-berlin.de |
|
From: Dirk L. <di...@cs...> - 2008-03-26 22:33:40
|
> Dirk Leinenbach schrieb: >> Wednesday, March 26, 2008, 11:05:08 AM, Michael Bell wrote: >> >>> Dirk Leinenbach schrieb: >> >>>> I'm not familiar with cmake so please excuse if me question is stupid. >>>> But isn't it be possible to check the existence of these libraries >>>> explicitly (as usually done in configure scripts) and give better >>>> error messages? >> >>> This is what OFF means. libsoup is not present or some parts of it are >>> missing ... and yes I'm a beginner in terms of cmake too. >> >> Ok, that's true but I interpreted the OFF as: library not present but >> also not mandatory; for a library which is necessary to compile the >> program I would prefer an error instead of a "warning". > The problem is that OpenObex or libsoup must be present and we does not > integrate a check if at minimum one is present. Can you please open a > ticket for this issue? I did. The ticket is #142. Dirk > Best regards > Michael -- Mit freundlichen Grüßen Dirk Leinenbach mailto:di...@cs... |