Hi Riccardo,
Yes, I get a whole slew of errors like that -- around 100 lines all
to do with "SplashFTFont" and starting with the line:
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/
include/freetype2 -c SplashFTFont.cc
and terminating with:
.
.
.
make[4]: *** [SplashFTFont.o] Error 1
make[3]: *** [pdfkit] Error 2
make[2]; *** [compile] Error 2
make[1]; *** [internal-all] Error 2
make: *** [PDFKit.all.framework.variables] Error 2
but the first-cause error seems to be the failure to find the file I
mentioned, namely:
In the file included from SplashFTFont.cc:15:
/usr/local/include/ft2build.h:56:38: error: freetype/config/
ftheader.h: No such file or directory
which occurs immediately after the start line above, changing
directory to "splash" and starting to execute "make" in that
directory, which comes immediately after the start line noted above
-- even though the "missing" file actually exists in the path(s)
provided to "configure".
I will see if I can resolve the problem, or if anyone else has a
solution. Is there another list I should post to? I will do a
follow-up post if I find out anything useful.
Thanks for the input. I'll can also, as you suggest, see how I get
on without PDFKit, but my impression from the Gworkspace web page was
that Gworkspace *requires* it, rather than just suggesting it as an
option.
All good wishes.
david
-----------
On Jul 5, 2009, at 2:58 PM, Riccardo Mottola wrote:
Hi David,
you are correct, PDFKit doesn't compile against freetype 2.3.9 for
me either.
I get very different errors though.
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/
include/freetype2 -c SplashFTFont.cc
SplashFTFont.cc:17:10: error: #include expects "FILENAME" or
<FILENAME>
SplashFTFont.cc: In constructor 'SplashFTFont::SplashFTFont
(SplashFTFontFile*, SplashCoord*)':
SplashFTFont.cc:46: error: 'FT_New_Size' was not declared in this
scope
SplashFTFont.cc: In member function 'virtual SplashPath*
SplashFTFont::getGlyphPath(int)':
SplashFTFont.cc:219: error: invalid conversion from 'int (*)
(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
SplashFTFont.cc:219: error: invalid conversion from 'int (*)
(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
SplashFTFont.cc:219: error: invalid conversion from 'int (*)
(FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*,
const FT_Vector*, void*)'
<...>
However, note that PDFkit is an optional component and not a
required dependency, it is needed only to enable the contents
inspector to show a preview of PDF files. So if you don't need that
feature, you can do without.
To view pdf's, if you have GhostScript installed, you can use the
newly released GSPdf 0.3.
Riccardo
David Hill wrote:
Hi Riccardo,
I am trying to install gworkspace-0.8.7 which says it needs PDFKit
and the link provided takes me to PDFKit-062609 which requires
freetype, and it is freetype-2.3.9 that is the most recent version
(March 12 2009).
The error I keep getting when attempting PDFKit installation,
despite trying variations (e.g. including different flavours of
the --with-<variousthings>=<various-existing-directories> option
to PDFKit "configure") is:
In the file included from SplashFTFont.cc:15:
/usr/local/include/ft2build.h:56:38: error: freetype/config/
ftheader.h: No such file or directory
The file "ftheader.h" actually exists and is in /usr/local/
include/freetype2/freetype/config/
The remainder of the freetype2 installation files/directories all
appear to be intact and in the "correct" locations.
I attempted the installation after su-ing to root. I had also
previously installed freetype2 as su root successfully with the
prefix /usr/local.
Thanks for any pointers that might help me solve the problem.
david
-------
On Jul 4, 2009, at 4:47 AM, Riccardo Mottola wrote:
which version of GWorkspace are you trying to compile? I can
configure and install the one in the SVN repository just fine.
I can't find PDFkit in it though, is it in a separate repository?
I have freetype 2.3.9 on my system.
Riccardo
David Hill wrote:
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev