Problem compiling svn version

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem compiling svn version

Markus Spring
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

when trying to compile the svn-version of digikam, I always get the error

.libs/digikamapp.o(.text+0x5e08): In function
`Digikam::DigikamApp::convertToLocalUrl(QString const&)':
: undefined reference to `KIO::NetAccess::mostLocalURL(KURL const&, QWidget*)'

I have to add that I am using KDE 3.5.1, so my environment settings for
compiling digikam is

export KDEDIRS=/opt/kde3.5.1
export LD_LIBRARY_PATH=/opt/kde3.5.1/lib

The same settings were used for compiling the extragear-libs

Is there anything obvious I have overlooked?

Kind regards

Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD+PYYxxUzQSse11ARAq0zAJ95Q6O9iVQGQg7xwrNNZtIH+J756QCeLLu5
1eoPo2rQP7PADIVCB1GNdkM=
=QT7X
-----END PGP SIGNATURE-----

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

springm.vcf (601 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling svn version

Bugzilla from mikmach@wp.pl
Dnia niedziela, 19 lutego 2006 23:50, Markus Spring napisał:
> Hi list,
>
> when trying to compile the svn-version of digikam, I always get the
> error
>
> .libs/digikamapp.o(.text+0x5e08): In function
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> `Digikam::DigikamApp::convertToLocalUrl(QString const&)':
> : undefined reference to `KIO::NetAccess::mostLocalURL(KURL const&,
> : QWidget*)'
>
> Is there anything obvious I have overlooked?

make distclean

This type of error usually occurs when various compilations clash.

m.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling svn version

Markus Spring
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mikolaj Machowski schrieb:
>
> make distclean
>
Thanks for the answer. I did a rm -rf on the sources dirs and started my build
skript anew, but with the same result:

make[3]: Entering directory `/var/compile/digikam_svn/graphics/digikam/digikam'
/bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long -Wundef
- -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
- -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
- -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
- -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
- -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
- -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libdigikam.la -rpath
/opt/digikam/lib -L/opt/kde3.5.1/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib    -R
/opt/digikam/lib -R /opt/kde3.5.1/lib -R /usr/share/qt3/lib -R /usr/X11R6/lib
- -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined albummanager.lo
album.lo albumitemhandler.lo albumdb.lo albumdb_sqlite2.lo albumlister.lo
dragobjects.lo iconview.lo icongroupitem.lo iconitem.lo digikamapp.lo
digikamview.lo albumfolderview.lo albumiconview.lo albumicongroupitem.lo
albumiconitem.lo albumpropsedit.lo albumsettings.lo cameralist.lo cameratype.lo
cameradragobject.lo kipiinterface.lo tagcreatedlg.lo albumfiletip.lo
tagspopupmenu.lo syncjob.lo albumhistory.lo scanlib.lo imageinfo.lo
datefolderview.lo pixmapmanager.lo tagfolderview.lo tagfilterview.lo
monthwidget.lo searchfolderview.lo dio.lo searchresultsview.lo
searchresultsitem.lo searchquickdialog.lo searchadvanceddialog.lo
searchwidgets.lo kdateedit.lo kdatetimeedit.lo kdatepickerpopup.lo folderview.lo
folderitem.lo upgradedb_sqlite2tosqlite3.lo squeezedcombobox.lo ratingwidget.lo
digikamfirstrun.lo dcopiface.lo dcopiface_skel.lo firstrunUI.lo -lkio -lsqlite3
  -lkabc -lkexif   -lkipi   -lkutils ../../digikam/sqlite/libsqlite.la
../../digikam/libs/filters/libfilters.la
../../digikam/libs/thumbbar/libthumbbar.la
../../digikam/libs/themeengine/libthemeengine.la
../../digikam/libs/widgets/libwidgets.la ../../digikam/libs/dialogs/libdialog.la
../../digikam/libs/jpegutils/libjpegutils.la
../../digikam/libs/imageproperties/libimagepropertiesdigikam.la
../../digikam/libs/threadimageio/libthreadimageio.la
../../digikam/utilities/cameragui/libcameragui.la
../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la
../../digikam/utilities/imageeditor/editor/libdimgeditor.la
../../digikam/utilities/splashscreen/libsplashscreen.la
../../digikam/utilities/setup/libsetup.la
.libs/digikamapp.o(.text+0x5e08): In function
`Digikam::DigikamApp::convertToLocalUrl(QString const&)':
: undefined reference to `KIO::NetAccess::mostLocalURL(KURL const&, QWidget*)'
collect2: ld returned 1 exit status

These is my compilation script:

#!/bin/sh -xve
MYDIR=/opt/digikam
export KDEDIR=/opt/kde3.5.1
export KDEDIRS=/opt/kde3.5.1
export LD_LIBRARY_PATH=/opt/kde3.5.1/lib
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/libs
cd libs
svn up
make -f Makefile.cvs
./configure --prefix=$MYDIR
make
sudo make install
cd ..
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics
cd graphics
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/digikam
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/digikamimageplugins
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
svn up
make -f Makefile.cvs
./configure --prefix=$MYDIR
make
sudo make install
#-----------------------------------------------------------------------

Any ideas what is wrong?

Kind regards - Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD+WRmxxUzQSse11ARAvBDAJ9QLtvFlXiUKLkbMF3IxzcxgYnzkwCfVXXn
gqCBqs5thdkDuKgrpMI1/kg=
=k332
-----END PGP SIGNATURE-----

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

springm.vcf (601 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling svn version

Gilles Caulier-2
Le Lundi 20 Février 2006 07:40, Markus Spring a écrit :

I suspect a broken kde libs installed or something is missing to link digikam
with kde. Check your system.

Gilles

> Mikolaj Machowski schrieb:
> > make distclean
>
> Thanks for the answer. I did a rm -rf on the sources dirs and started my
> build skript anew, but with the same result:
>
> make[3]: Entering directory
> `/var/compile/digikam_svn/graphics/digikam/digikam' /bin/sh ../../libtool
> --silent --tag=CXX --mode=link g++  -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION    -o libdigikam.la -rpath /opt/digikam/lib
> -L/opt/kde3.5.1/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib    -R
> /opt/digikam/lib -R /opt/kde3.5.1/lib -R /usr/share/qt3/lib -R
> /usr/X11R6/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined
> albummanager.lo album.lo albumitemhandler.lo albumdb.lo albumdb_sqlite2.lo
> albumlister.lo dragobjects.lo iconview.lo icongroupitem.lo iconitem.lo
> digikamapp.lo digikamview.lo albumfolderview.lo albumiconview.lo
> albumicongroupitem.lo albumiconitem.lo albumpropsedit.lo albumsettings.lo
> cameralist.lo cameratype.lo cameradragobject.lo kipiinterface.lo
> tagcreatedlg.lo albumfiletip.lo tagspopupmenu.lo syncjob.lo albumhistory.lo
> scanlib.lo imageinfo.lo datefolderview.lo pixmapmanager.lo tagfolderview.lo
> tagfilterview.lo monthwidget.lo searchfolderview.lo dio.lo
> searchresultsview.lo
> searchresultsitem.lo searchquickdialog.lo searchadvanceddialog.lo
> searchwidgets.lo kdateedit.lo kdatetimeedit.lo kdatepickerpopup.lo
> folderview.lo folderitem.lo upgradedb_sqlite2tosqlite3.lo
> squeezedcombobox.lo ratingwidget.lo digikamfirstrun.lo dcopiface.lo
> dcopiface_skel.lo firstrunUI.lo -lkio -lsqlite3 -lkabc -lkexif   -lkipi  
> -lkutils ../../digikam/sqlite/libsqlite.la
> ../../digikam/libs/filters/libfilters.la
> ../../digikam/libs/thumbbar/libthumbbar.la
> ../../digikam/libs/themeengine/libthemeengine.la
> ../../digikam/libs/widgets/libwidgets.la
> ../../digikam/libs/dialogs/libdialog.la
> ../../digikam/libs/jpegutils/libjpegutils.la
> ../../digikam/libs/imageproperties/libimagepropertiesdigikam.la
> ../../digikam/libs/threadimageio/libthreadimageio.la
> ../../digikam/utilities/cameragui/libcameragui.la
> ../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la
> ../../digikam/utilities/imageeditor/editor/libdimgeditor.la
> ../../digikam/utilities/splashscreen/libsplashscreen.la
> ../../digikam/utilities/setup/libsetup.la
> .libs/digikamapp.o(.text+0x5e08): In function
>
> `Digikam::DigikamApp::convertToLocalUrl(QString const&)':
> : undefined reference to `KIO::NetAccess::mostLocalURL(KURL const&,
> : QWidget*)'
>
> collect2: ld returned 1 exit status
>
> These is my compilation script:
>
> #!/bin/sh -xve
> MYDIR=/opt/digikam
> export KDEDIR=/opt/kde3.5.1
> export KDEDIRS=/opt/kde3.5.1
> export LD_LIBRARY_PATH=/opt/kde3.5.1/lib
> svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/libs
> cd libs
> svn up
> make -f Makefile.cvs
> ./configure --prefix=$MYDIR
> make
> sudo make install
> cd ..
> svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics
> cd graphics
> svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/digikam
> svn co
> svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/digikamimageplugins
> svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin svn
> up
> make -f Makefile.cvs
> ./configure --prefix=$MYDIR
> make
> sudo make install
> #-----------------------------------------------------------------------
>
> Any ideas what is wrong?
>
> Kind regards - Markus
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users