[Digikam-users] Fail to compile last git on MacOSX

G g.is at free.fr
Mon Oct 13 16:10:17 BST 2014


Le 13/10/14 16:15, Gilles Caulier a écrit :
> Hi,
>
> yes, digiKam 4.5.0 drop internal libpgf code. before compilation under
> OSX through Macports work fine. Now, there is a problem, because
> Macports do not include yet libpgf.
>
> This must be reported in Macports bugzilla.
>
> To work around, libpgf compile fine under OSX. I do it recently
> without problem using last code from svn trunk :
>
>> sudo port install libtool
>> svn checkout svn://svn.code.sf.net/p/libpgf/code/trunk libpgf
>> cd libpgf
>> glibtoolize --copy --force && aclocal && automake --gnu --add-missing --copy && autoconf
>> ./configure --prefix=/opt/local
>> make
>> sudo make install
OK. Thanks a lot for the tip.

Some info for Mac people about the commands I've to enter :

sudo port install libtool
svn checkout svn://svn.code.sf.net/p/libpgf/code/trunk libpgf
cd libpgf*/libpgf*
glibtoolize --copy --force && aclocal && automake --gnu --add-missing --copy && autoconf

If you have an error "aclocal not found"

sudo port install automake

then

aclocal

then

automake --gnu --add-missing --copy

If you have an error "NEWS file not found"

touch NEWS README AUTHORS ChangeLog

then

automake --gnu --add-missing --copy && autoconf

and finally :

./configure --prefix=/opt/local
make
sudo make install

OK.

I can launch the digikam compilation from the dk folder

cd build
make

While I wait the end, does anyone has an idea for my second question about the VideoSlideShow

2 annoying lines in the oupput of ./bootstrap.macports :

--  VideoSlideshow will be compiled.......... NO  (optional - Look README
file for more details about dependencies)
--  Wallpaper will be compiled............... NO  (optional - Look README
file for more details about dependencies)

  I've read the README and haven't found any info on which dependencies is
necessary for the VideoSlideshow, one of the improvement I would want...

How can I add the VideoSlideshow ?

Thank you,

G.



> Et voilà. libpgf is installed and digiKam can be compiled.
>
> Gilles Caulier
>
> 2014-10-13 16:02 GMT+02:00 G <g.is at free.fr>:
>> Hi,
>>
>> I've DK 2.6 on my Mac until too much time and i want the new improvements
>> :-)
>>
>> So I decide to install again, ready for hours of compiling.
>>
>> I've read all the recent stuff I can find to know if the mac install has
>> changed. Important message here :
>> http://osdir.com/ml/digikam-users/2014-08/msg00014.html
>>
>> So I begin to use the Gilles' scripts to clean out all my macports install
>> (https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/show/project/macosx)
>> :
>>
>> sudo macports-uninstall.sh (uninstall all macports stuff)
>> little change in macports-install.sh to change the OS version (I've LION)
>> sudo macports-install.sh (to install macports, update it and install all
>> dependencies of digikam)
>>
>> It's OK.
>>
>> Then I follow the README.MACOSX
>> (https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/changes/README.MACOSX)
>>
>> *Note you have to change 3.x by dk in the following command found in the
>> README.MACOSX*
>>
>> git clone git://anongit.kde.org/digikam-software-compilation dk
>> cd dk
>> ./download-repos
>>
>> it's OK.
>>
>> Then
>>
>> ./bootstrap.macports
>>
>> It's not OK...
>>
>> I have a problem with PGF library
>>
>> CMake Error at core/cmake/modules/MacroUtils.cmake:45 (MESSAGE):
>>     libpgf is needs. You need to install the libpgf (version >= 6.12.24)
>> library development package.
>>
>> But I can't find libpgf in Macports :
>>
>> g at gayeveur:~$ port search "*pgf*"
>> octave-printpgf @1.0 (math, science)
>>      Print PGF plots from octave
>>
>> pgf @3.0.0 (tex, textproc)
>>      PGF and TikZ -- Graphic systems for TeX
>>
>> pgf-devel @2010-09-28 (tex, textproc)
>>      PGF and TikZ -- Graphic systems for TeX (development version)
>>
>> Found 3 ports.
>>
>> No libpgf...
>>
>> An idea for me ?
>> Need to install libpgf out of MacPorts ecosystem ?
>>
>> Other problem, smaller, I have these 2 annoying lines :
>>
>> --  VideoSlideshow will be compiled.......... NO  (optional - Look README
>> file for more details about dependencies)
>> --  Wallpaper will be compiled............... NO  (optional - Look README
>> file for more details about dependencies)
>>
>>   I've read the README and haven't found any info on which dependencies is
>> necessary for the VideoSlideshow, one of the improvement I would want...
>>
>> Thank you for any help.
>>
>> G.
>>
>>
>> --
>> --
>> G
>> Yet another no work time e-identity
>> mailto:g.is at free.fr
>> web : http://g.is.free.fr
>>
>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users


-- 
--
G
Yet another no work time e-identity
mailto:g.is at free.fr
web : http://g.is.free.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20141013/184077f3/attachment.html>


More information about the Digikam-users mailing list