|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
problem compiling libsyncml 0.46Hi,
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. Does somebody have an idea what's missing on my system? Thanks, Dirk ~/svn/opensync_dev/libsyncml-0.4.6/build$ osync_cmake ../ -- checking for one of the modules 'openobex>=1.1' -- checking for one of the modules 'libsoup-2.2>=2.2.91;libsoup2>=2.2.91' -- checking for one of the modules 'libwbxml2' -- checking for one of the modules 'bluez' -- checking for one of the modules 'check' -- Could NOT find CHECK -- ================================================== -- building tools ON -- tracing tools ON -- unit tests OFF -- http transports OFF -- obex transports OFF -- obex over bluetooth transports OFF -- Configuring done -- Generating done -- Build files have been written to: /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build /usr/bin/cmake -H/home/dirkl/svn/opensync_dev/libsyncml-0.4.6 -B/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build/CMakeFiles 23 make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build' make -f libsyncml/CMakeFiles/syncml.dir/build.make libsyncml/CMakeFiles/syncml.dir/depend make[2]: Entering directory `/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build' make[2]: Für das Ziel »libsyncml/CMakeFiles/syncml.dir/depend« ist nichts zu tun. make[2]: Leaving directory `/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build' make -f libsyncml/CMakeFiles/syncml.dir/build.make libsyncml/CMakeFiles/syncml.dir/build make[2]: Entering directory `/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build' /usr/bin/cmake -E cmake_progress_report /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build/CMakeFiles 2 [ 4%] Building C object libsyncml/CMakeFiles/syncml.dir/sml_command.o /usr/bin/gcc -Dsyncml_EXPORTS -fPIC -I/home/dirkl/svn/opensync_dev/libsyncml-0.4.6 -I/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o libsyncml/CMakeFiles/syncml.dir/sml_command.o -c /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c 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 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:44: error: expected specifier-qualifier-list before ‘xmlBuffer’ /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c: In function ‘smlCommandNewResult’: /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:268: error: ‘SmlItem’ has no member named ‘contenttype’ /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c: In function ‘smlCommandNewChange’: /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:394: error: ‘SmlItem’ has no member named ‘contenttype’ /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c: In function ‘smlCommandNewPartialChange’: /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:448: error: ‘SmlItem’ has no member named ‘moreData’ /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:449: error: ‘SmlItem’ has no member named ‘contenttype’ /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c: In function ‘smlCommandNewPut’: /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:544: error: ‘SmlItem’ has no member named ‘contenttype’ /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c: In function ‘smlCommandNewGet’: /home/dirkl/svn/opensync_dev/libsyncml-0.4.6/libsyncml/sml_command.c:573: error: ‘SmlItem’ has no member named ‘contenttype’ make[2]: *** [libsyncml/CMakeFiles/syncml.dir/sml_command.o] Fehler 1 make[2]: Leaving directory `/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build' make[1]: *** [libsyncml/CMakeFiles/syncml.dir/all] Fehler 2 make[1]: Leaving directory `/home/dirkl/svn/opensync_dev/libsyncml-0.4.6/build' make: *** [all] Fehler 2 ------------------------------------------------------------------------- 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 Opensync-users@... https://lists.sourceforge.net/lists/listinfo/opensync-users |
|
|
Re: problem compiling libsyncml 0.46Dirk 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 > 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 :) Christian -- Christian Hilgers |ConSol* Tel. +49.2102.994-423 |Consulting&Solutions Software GmbH Fax +49.2102.994-411 |Berliner Str. 101, 40880 Ratingen email: Christian.Hilgers@... |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 Opensync-users@... https://lists.sourceforge.net/lists/listinfo/opensync-users |
|
|
|
|
|
Re: problem compiling libsyncml 0.46Dirk 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 /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 michael.bell@... D-10099 Berlin _______________________________________________________________ X.509 CA Certificates / Wurzelzertifikate http://ra.pki.hu-berlin.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 Opensync-users@... https://lists.sourceforge.net/lists/listinfo/opensync-users |
|
|
|
|
|
Re: problem compiling libsyncml 0.46Dirk 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". 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 michael.bell@... D-10099 Berlin _______________________________________________________________ X.509 CA Certificates / Wurzelzertifikate http://ra.pki.hu-berlin.de ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Opensync-users mailing list Opensync-users@... https://lists.sourceforge.net/lists/listinfo/opensync-users |
|
|
Re: problem compiling libsyncml 0.46> 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:dirkl@... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Opensync-users mailing list Opensync-users@... https://lists.sourceforge.net/lists/listinfo/opensync-users |
| Free Forum Powered by Nabble | Forum Help |