[Kde-imaging] 0.1.3-rc1 ipodexport build trouble.
Achim Bohnet
ach at mpe.mpg.de
Sun Dec 31 14:50:39 CET 2006
Hi,
configure.in.in check for libgpod-1.0 > 0.4.0.
Most recent stable is 0.4.0. And README says >= 0.4.0
With:
Index: kipi-plugins/configure.in.in
===================================================================
--- kipi-plugins/configure.in.in (Revision 617632)
+++ kipi-plugins/configure.in.in (Arbeitskopie)
@@ -153,7 +153,7 @@
# check for libgpod
have_libgpod=no
- KDE_PKG_CHECK_MODULES(LIBGPOD, libgpod-1.0 > 0.4.0, have_libgpod=yes,have_libgpod=no)
+ KDE_PKG_CHECK_MODULES(LIBGPOD, libgpod-1.0 >= 0.4.0, have_libgpod=yes,have_libgpod=no)
AC_MSG_RESULT($have_libgpod)
if test "x$have_libgpod" != "xno"; then
AC_DEFINE(HAVE_LIBGPOD, 1, [have libgpod])
Configure lists:
[...]
checking for libgpod-1.0 >= 0.4.0... yes
checking LIBGPOD_CFLAGS... -I/usr/include/gpod-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBGPOD_LIBS... -lgpod -lglib-2.0
yes
checking for itdb_photodb_photoalbum_create... no
checking for itdb_photodb_parse... yes
checking for itdb_device_get_ipod_info... yes
[...]
Later build fails
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp: In member function 'void IpodExport::UploadDialog::startTransfer()':
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:328: error: cannot convert 'GError**' to 'const gchar*' for argument '3' to 'gboolean itdb_photodb_add_photo(Itdb_PhotoDB*, const gchar*, const gchar*)'
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:339: error: 'itdb_photodb_photoalbum_add_photo' was not declared in this scope
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp: In member function 'void IpodExport::UploadDialog::createIpodAlbum()':
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:496: error: 'itdb_photodb_photoalbum_create' was not declared in this scope
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp: In member function 'bool IpodExport::UploadDialog::deleteIpodPhoto(IpodExport::IpodPhotoItem*)':
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:550: error: invalid conversion from 'Itdb_PhotoAlbum*' to 'gint'
/usr/include/gpod-1.0/gpod/itdb.h:967: error: too many arguments to function 'gboolean itdb_photodb_remove_photo(Itdb_PhotoDB*, gint)'
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:550: error: at this point in file
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:553: error: 'struct _Itdb_PhotoAlbum' has no member named 'album_type'
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp: In member function 'bool IpodExport::UploadDialog::deleteIpodAlbum(IpodExport::IpodAlbumItem*)':
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:575: error: 'itdb_photodb_photoalbum_remove' was not declared in this scope
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp: In member function 'bool IpodExport::UploadDialog::openDevice()':
/home/ach/src/kipi-plugins/0.1.3-rc1/kipi-plugins-0.1.3-rc1/./kipi-plugins/ipodexport/ipodexportdialog.cpp:736: error: 'itdb_photodb_create' was not declared in this scope
make[4]: *** [ipodexportdialog.lo] Fehler 1
Any hint what's going wrong here?
Achim
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- reddy at lion.austin.ibm.com
More information about the Kde-imaging
mailing list