Fail to compile last git on MacOSX

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

Fail to compile last git on MacOSX

Gerard Milhaud
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 <a class="moz-txt-link-freetext" href="git://anongit.kde.org/digikam-software-compilation">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@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
[hidden email]
web : http://g.is.free.fr

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

Re: Fail to compile last git on MacOSX

Gilles Caulier-4
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

Et voilà. libpgf is installed and digiKam can be compiled.

Gilles Caulier

2014-10-13 16:02 GMT+02:00 G <[hidden email]>:

> 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@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:[hidden email]
> web : http://g.is.free.fr
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Fail to compile last git on MacOSX

Gerard Milhaud
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 [hidden email]:
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 <a class="moz-txt-link-freetext" href="git://anongit.kde.org/digikam-software-compilation">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@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
[hidden email]
web : http://g.is.free.fr


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

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


-- 
--
G
Yet another no work time e-identity
[hidden email]
web : http://g.is.free.fr

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

Re: Fail to compile last git on MacOSX

Gilles Caulier-4
2014-10-13 17:10 GMT+02:00 G <[hidden email]>:

> 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 ?

You cannot. It miss QtGstreamer library which do not exist into Macports.

Gilles Caulier

>
> Thank you,
>
> G.
>
>
>
> Et voilà. libpgf is installed and digiKam can be compiled.
>
> Gilles Caulier
>
> 2014-10-13 16:02 GMT+02:00 G <[hidden email]>:
>
> 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@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:[hidden email]
> web : http://g.is.free.fr
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
> --
> --
> G
> Yet another no work time e-identity
> mailto:[hidden email]
> web : http://g.is.free.fr
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Fail to compile last git on MacOSX

Gerard Milhaud
Thank you.

The 4.5 Beta is up and running.
Install nearly out of the box... Great improvement since 2 years !!!

Would be Digikam on Mac no longer "sysadmin reserved for" :-) ?? Great news.

See you,

G.


Le 13/10/14 17:12, Gilles Caulier a écrit :
2014-10-13 17:10 GMT+02:00 G [hidden email]:
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

-- 
--
G
Yet another no work time e-identity
[hidden email]
web : http://g.is.free.fr

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