building from git on Fedora 15

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

building from git on Fedora 15

Adam Spiers
Hi all,

I'm trying to build the git master branch on a fresh Fedora 15
install.  I've satisfied all the build dependencies via:

    yum install \
        gcc-c++ kde4-devel kde4-libs-devel kdebase-devel kdelibs-devel \
        sane-backends-devel exiv2-devel dcraw lcms-devel lcms2-devel \
        qjson-devel libgomp opencv-devel libxml2-devel libxslt-devel \
        expat-devel qca2-devel libgpod-devel jasper-devel liblqr-1-devel \
        lensfun-devel doxygen lapack-devel kdeedu-devel

Perhaps someone would like to add this information to

    http://digikam.org/drupal/download?q=download/dependencies

to save other Fedora users a bit of time working them out?

Ideally I suppose we could provide an up-to-date rpm .spec file with
the correct BuildRequires: header, but the above is better than nothing.

However, my build fails part of the way through:

[ 37%] Built target kipiplugin_photolayoutseditor_automoc
Linking CXX shared module ../../../lib/kipiplugin_photolayoutseditor.so
../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
function `PhotoLayoutsEditor':
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
undefined reference to
`KIPIPhotoLayoutsEditor::qInitResources_icons()'
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
undefined reference to
`KIPIPhotoLayoutsEditor::qInitResources_icons()'
../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
function `~PhotoLayoutsEditor':
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
undefined reference to
`KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
/home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
undefined reference to
`KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
collect2: ld returned 1 exit status
make[2]: *** [lib/kipiplugin_photolayoutseditor.so] Error 1
make[1]: *** [extra/kipi-plugins/photolayoutseditor/CMakeFiles/kipiplugin_photolayoutseditor.dir/all]
Error 2
make: *** [all] Error 2

Any ideas?

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

Re: building from git on Fedora 15

Gilles Caulier-4
I think this have been fixed some hours ago. I recieve a mail
yesterday about, and see commit from KDE core developers to fix it.

update from git master and try again.

Gilles Caulier

2011/9/21 Adam Spiers <[hidden email]>:

> Hi all,
>
> I'm trying to build the git master branch on a fresh Fedora 15
> install.  I've satisfied all the build dependencies via:
>
>    yum install \
>        gcc-c++ kde4-devel kde4-libs-devel kdebase-devel kdelibs-devel \
>        sane-backends-devel exiv2-devel dcraw lcms-devel lcms2-devel \
>        qjson-devel libgomp opencv-devel libxml2-devel libxslt-devel \
>        expat-devel qca2-devel libgpod-devel jasper-devel liblqr-1-devel \
>        lensfun-devel doxygen lapack-devel kdeedu-devel
>
> Perhaps someone would like to add this information to
>
>    http://digikam.org/drupal/download?q=download/dependencies
>
> to save other Fedora users a bit of time working them out?
>
> Ideally I suppose we could provide an up-to-date rpm .spec file with
> the correct BuildRequires: header, but the above is better than nothing.
>
> However, my build fails part of the way through:
>
> [ 37%] Built target kipiplugin_photolayoutseditor_automoc
> Linking CXX shared module ../../../lib/kipiplugin_photolayoutseditor.so
> ../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
> function `PhotoLayoutsEditor':
> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
> undefined reference to
> `KIPIPhotoLayoutsEditor::qInitResources_icons()'
> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
> undefined reference to
> `KIPIPhotoLayoutsEditor::qInitResources_icons()'
> ../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
> function `~PhotoLayoutsEditor':
> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
> undefined reference to
> `KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
> undefined reference to
> `KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
> collect2: ld returned 1 exit status
> make[2]: *** [lib/kipiplugin_photolayoutseditor.so] Error 1
> make[1]: *** [extra/kipi-plugins/photolayoutseditor/CMakeFiles/kipiplugin_photolayoutseditor.dir/all]
> Error 2
> make: *** [all] Error 2
>
> Any ideas?
>
> Thanks!
> Adam
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: building from git on Fedora 15

Adam Spiers
Thanks, yes it works for me now - since commit
6ad7ac210edbdc2d483573566032f3d67e611693.

On Thu, Sep 22, 2011 at 6:46 AM, Gilles Caulier
<[hidden email]> wrote:

> I think this have been fixed some hours ago. I recieve a mail
> yesterday about, and see commit from KDE core developers to fix it.
>
> update from git master and try again.
>
> Gilles Caulier
>
> 2011/9/21 Adam Spiers <[hidden email]>:
>> Hi all,
>>
>> I'm trying to build the git master branch on a fresh Fedora 15
>> install.  I've satisfied all the build dependencies via:
>>
>>    yum install \
>>        gcc-c++ kde4-devel kde4-libs-devel kdebase-devel kdelibs-devel \
>>        sane-backends-devel exiv2-devel dcraw lcms-devel lcms2-devel \
>>        qjson-devel libgomp opencv-devel libxml2-devel libxslt-devel \
>>        expat-devel qca2-devel libgpod-devel jasper-devel liblqr-1-devel \
>>        lensfun-devel doxygen lapack-devel kdeedu-devel
>>
>> Perhaps someone would like to add this information to
>>
>>    http://digikam.org/drupal/download?q=download/dependencies
>>
>> to save other Fedora users a bit of time working them out?
>>
>> Ideally I suppose we could provide an up-to-date rpm .spec file with
>> the correct BuildRequires: header, but the above is better than nothing.
>>
>> However, my build fails part of the way through:
>>
>> [ 37%] Built target kipiplugin_photolayoutseditor_automoc
>> Linking CXX shared module ../../../lib/kipiplugin_photolayoutseditor.so
>> ../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
>> function `PhotoLayoutsEditor':
>> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
>> undefined reference to
>> `KIPIPhotoLayoutsEditor::qInitResources_icons()'
>> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:125:
>> undefined reference to
>> `KIPIPhotoLayoutsEditor::qInitResources_icons()'
>> ../../../lib/liblibphotolayoutseditor.a(photolayoutseditor.cpp.o): In
>> function `~PhotoLayoutsEditor':
>> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
>> undefined reference to
>> `KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
>> /home/adam/software/digikam-sc/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:159:
>> undefined reference to
>> `KIPIPhotoLayoutsEditor::qCleanupResources_icons()'
>> collect2: ld returned 1 exit status
>> make[2]: *** [lib/kipiplugin_photolayoutseditor.so] Error 1
>> make[1]: *** [extra/kipi-plugins/photolayoutseditor/CMakeFiles/kipiplugin_photolayoutseditor.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> Any ideas?
>>
>> Thanks!
>> Adam
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: building from git on Fedora 15

Rex Dieter
In reply to this post by Adam Spiers
Adam Spiers wrote:

> Ideally I suppose we could provide an up-to-date rpm .spec file with
> the correct BuildRequires: header, but the above is better than nothing.

Feel free to reference or use:
http://pkgs.fedoraproject.org/gitweb/?p=digikam.git;a=blob;f=digikam.spec

which should always be close to current

-- rex

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