Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188146 - gnustep-libs/pdfkit-0.9_pre062906 fails (missing freetype-* headers?)
Summary: gnustep-libs/pdfkit-0.9_pre062906 fails (missing freetype-* headers?)
Status: RESOLVED DUPLICATE of bug 131690
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 18:46 UTC by Federico Ferri (RETIRED)
Modified: 2007-08-08 18:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Ferri (RETIRED) gentoo-dev 2007-08-08 18:46:29 UTC
I get this error compiling pdfkit.

it seems it relies on unexistent <freetype/internal/ftobjs.h> header, and also uses a practice disliked by gcc (SplashFTFont.cc:17:10: error: #include expects "FILENAME" or <FILENAME>).

sorry but I wasn't able to find any solution for this.


...
cd splash; make
make[4]: Entering directory `/var/tmp/portage/gnustep-libs/pdfkit-0.9_pre062906/work/PDFKit-062906/xpdf/xpdf-3.01/splash'
g++ -O2 -pipe -march=athlon-xp -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/include/freetype2 -c Splash.cc
g++ -O2 -pipe -march=athlon-xp -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/include/freetype2 -c SplashBitmap.cc
g++ -O2 -pipe -march=athlon-xp -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/usr/include/freetype2 -c SplashClip.cc
g++ -O2 -pipe -march=athlon-xp -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*)'
SplashFTFont.cc:219: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)'
SplashFTFont.cc:224: error: 'FT_Glyph' was not declared in this scope
SplashFTFont.cc:224: error: expected `;' before 'glyph'
SplashFTFont.cc:238: error: 'glyph' was not declared in this scope
SplashFTFont.cc:238: error: 'FT_Get_Glyph' was not declared in this scope
SplashFTFont.cc:243: error: 'FT_OutlineGlyph' was not declared in this scope
SplashFTFont.cc:243: error: expected `)' before 'glyph'
SplashFTFont.cc:248: error: 'glyph' was not declared in this scope
SplashFTFont.cc:248: error: 'FT_Done_Glyph' was not declared in this scope
make[4]: *** [SplashFTFont.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnustep-libs/pdfkit-0.9_pre062906/work/PDFKit-062906/xpdf/xpdf-3.01/splash'
make[3]: *** [pdfkit] Error 2
make[3]: Leaving directory `/var/tmp/portage/gnustep-libs/pdfkit-0.9_pre062906/work/PDFKit-062906/xpdf/xpdf-3.01'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnustep-libs/pdfkit-0.9_pre062906/work/PDFKit-062906/xpdf/xpdf-3.01'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gnustep-libs/pdfkit-0.9_pre062906/work/PDFKit-062906/xpdf'
make: *** [PDFKit.all.framework.variables] Error 2

!!! ERROR: gnustep-libs/pdfkit-0.9_pre062906 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  pdfkit-0.9_pre062906.ebuild, line 32:   Called egnustep_make
  gnustep-funcs.eclass, line 170:   Called die

!!! package make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/gnustep-libs/pdfkit-0.9_pre062906/temp/build.log'.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-08 18:55:54 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity

*** This bug has been marked as a duplicate of bug 131690 ***