On Wed, Jul 9, 2014 at 2:47 AM, zyx <z...@litepdf.cz> wrote:

> On Tue, 2014-07-08 at 16:06 -0500, Kunda Loves Scribus wrote:
> > On Tue, Jul 8, 2014 at 12:16 PM, plinnell <plinn...@scribus.net
> >
> > wrote:
> > > On Tue, 8 Jul 2014 07:48:14 -0500
> > > Kunda Loves Scribus u...@gmail.com>
>  wrote:
> > >
> > > > Hi all, thanks for the great work on getting this release out.
> > > >
> > > > So apparently the new release builds fine on ML and Mavericks but
> > > > fails on Lion. Here is a log file of an attempt to merge the new
> > > > release in to Homebrew repo but fails due to BrewTestBot not
> > > able to
> > > > compile on Lion:
> > > >
>
> > > http://bot.brew.sh/job/Homebrew%20Pull%20Requests/12783/version=lion/
> testReport/brew-test-bot/lion/install_podofo/
> > > >
> > > > Here is the snippet:
> > > >
> > > > [ 42%] Building CXX object
> > > > src/CMakeFiles/podofo_shared.dir/doc/PdfFontCache.cpp.o
> > > > cd /tmp/podofo-CQtG/podofo-0.9.3/build/src &&
> > > > /usr/local/Library/ENV/4.3/clang++   -Dpodofo_shared_EXPORTS
> > > -fPIC
> > > > -I/usr/local/include -I/usr/local/opt/libpng/include
> > > > -I/tmp/podofo-CQtG/podofo-0.9.3/build
> > > -I/tmp/podofo-CQtG/podofo-0.9.3
> > > > -I/tmp/podofo-CQtG/podofo-0.9.3/src -I/usr/X11/include/freetype2
> > > > -I/usr/X11/include -I/usr/local/opt/fontconfig/include
> > > > -DBUILDING_PODOFO -o
> > > > CMakeFiles/podofo_shared.dir/doc/PdfFontCache.cpp.o
> > > > -c /tmp/podofo-CQtG/podofo-0.9.3/src/doc/PdfFontCache.cpp
> > > /tmp/podofo-CQtG/podofo-0.9.3/src/doc/PdfFontCID.cpp:51:10:
> > > > fatal error: 'ft2build.h' file not found
> > > > #include <ft2build.h>
> > > >          ^
> > > > /usr/local/Cellar/cmake/3.0.0/bin/cmake -E cmake_progress_report
> > > > /tmp/podofo-CQtG/podofo-0.9.3/build/CMakeFiles
> > > > [ 42%] Building CXX object
> > > > src/CMakeFiles/podofo_shared.dir/doc/PdfFontConfigWrapper.cpp.o
> > > > cd /tmp/podofo-CQtG/podofo-0.9.3/build/src &&
> > > > /usr/local/Library/ENV/4.3/clang++   -Dpodofo_shared_EXPORTS
> > > -fPIC
> > > > -I/usr/local/include -I/usr/local/opt/libpng/include
> > > > -I/tmp/podofo-CQtG/podofo-0.9.3/build
> > > -I/tmp/podofo-CQtG/podofo-0.9.3
> > > > -I/tmp/podofo-CQtG/podofo-0.9.3/src -I/usr/X11/include/freetype2
> > > > -I/usr/X11/include -I/usr/local/opt/fontconfig/include
> > > > -DBUILDING_PODOFO -o
> > > > CMakeFiles/podofo_shared.dir/doc/PdfFontConfigWrapper.cpp.o
> > > > -c
> > > /tmp/podofo-CQtG/podofo-0.9.3/src/doc/PdfFontConfigWrapper.cpp 1
> > > > error generated. make[2]: ***
> > > > [src/CMakeFiles/podofo_shared.dir/doc/PdfFontCID.cpp.o] Error 1
> > > > make[2]: *** Waiting for unfinished
> > > > jobs....
> > > /tmp/podofo-CQtG/podofo-0.9.3/src/doc/PdfFontCache.cpp:68:10:
> > > > fatal error: 'ft2build.h' file not found #include <ft2build.h>
> > > >          ^
> > > > 1 error generated.
> > > > make[2]: ***
> > > [src/CMakeFiles/podofo_shared.dir/doc/PdfFontCache.cpp.o]
> > > > Error 1
> > > > make[1]: *** [src/CMakeFiles/podofo_shared.dir/all] Error 2
> > > > make: *** [all] Error 2
> > > >
> > > >
> > > > -------
> > > > Thanks in advance for anyone with the time and capability to
> > > help with
> > > > this.
> > > > Cheers,
> > > > /Kunda
> > >
> > >
> > > This means it cannot find the Freetype2 headers. That is where I
> > > would
> > > look first to fix the build.
> > >
> > > Thanks,
> > > Peter
> > Thanks Peter :)
> >
> > Good news:
> > With some assistance, Podofo v0.9.3 now can install on Lion,
> > Mountain Lion and Mavericks (via Homebrew) by adding 2 Cmake args
> > below. Disregard the interpolated strings, they just indicate where
> > the include directory is installed by Homebrew's packaged Freetype2.
> >
> >
> "-DFREETYPE_INCLUDE_DIR_FT2BUILD=#{Formula['freetype'].include}/freetype2",
> >
> "-DFREETYPE_INCLUDE_DIR_FTHEADER=#{Formula['freetype'].include}/freetype2/config/",
> >
>
>         Hi,
> that's odd. Arno's change from [1] (patch2) was supposed to address
> it. It didn't work for Linux, thus he provided an update which I
> committed as r1586 [2] - the part in cmake/modules/FindFREETYPE.cmake.
>
> I do not have Mac, thus I was not able to test it there.
>
> Could you provide a patch for cmake/modules/FindFREETYPE.cmake, which
> would keep backward (other systems) compatibility and work out of the
> box for Mac too?
>         Bye,
>         zyx
>
> [1] http://sourceforge.net/p/podofo/mailman/message/32039124/
> [2] http://sourceforge.net/p/podofo/code/1586


zyx,
Two issues:
1) I don't have Lion 10.7.x I have 10.8.5. It works out of the box for
10.8.x (and 10.9.x AFAICT)
2) Even if I did have Lion, I wouldn't know how to make a patch for it...yet

Cheers,
/Kunda
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to