SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guy I have getting this erro on kde3.4 konstruct install;
I try deleting the kdegraphic folder and compling it sepreadly but it doesn't seem to work;
Any idea?
Code:
f /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I./../fofi -I./../goo -I/usr/local/include/freetype2 -I/usr/local/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT SplashFTFont.lo -MD -MP -MF ".deps/SplashFTFont.Tpo" -c -o SplashFTFont.lo SplashFTFont.cc; \
then mv -f ".deps/SplashFTFont.Tpo" ".deps/SplashFTFont.Plo"; else rm -f ".deps/SplashFTFont.Tpo"; exit 1; fi
SplashFTFont.cc:15:30: freetype/ftoutln.h: No such file or directory
SplashFTFont.cc:16:69: freetype/internal/ftobjs.h: No such file or directory
In file included from SplashFTFontEngine.h:18,
from SplashFTFont.cc:21:
/usr/local/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory
In file included from SplashFTFont.cc:21:
SplashFTFontEngine.h:19:10: #include expects "FILENAME" or <FILENAME>
In file included from SplashFTFont.cc:21:
SplashFTFontEngine.h:49: error: type specifier omitted for parameter `
FT_Library'
SplashFTFontEngine.h:49: error: parse error before `)' token
SplashFTFontEngine.h:52: error: 'FT_Library' is used as a type, but is not
defined as a type.
In file included from SplashFTFont.cc:22:
SplashFTFontFile.h:19:10: #include expects "FILENAME" or <FILENAME>
In file included from SplashFTFont.cc:22:
SplashFTFontFile.h:57: error: type specifier omitted for parameter `FT_Face'
SplashFTFontFile.h:57: error: parse error before `,' token
SplashFTFontFile.h:61: error: 'FT_Face' is used as a type, but is not defined
as a type.
SplashFTFontFile.h:29: error: base `SplashFontFile' with only non-default
constructor in class without a constructor
In file included from SplashFTFont.cc:23:
SplashFTFont.h:18:31: freetype/freetype.h: No such file or directory
In file included from SplashFTFont.cc:23:
SplashFTFont.h:48: error: 'FT_Size' is used as a type, but is not defined as a
type.
SplashFTFont.h:49: error: 'FT_Matrix' is used as a type, but is not defined as
a type.
SplashFTFont.cc:27: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:27: error: `pt' was not declared in this scope
SplashFTFont.cc:27: error: parse error before `*' token
SplashFTFont.cc:28: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:28: error: `pt' was not declared in this scope
SplashFTFont.cc:28: error: parse error before `*' token
SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:29: error: `ctrl' was not declared in this scope
SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:29: error: `pt' was not declared in this scope
SplashFTFont.cc:29: error: parse error before `*' token
SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:30: error: `ctrl1' was not declared in this scope
SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:30: error: `ctrl2' was not declared in this scope
SplashFTFont.cc:31: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:31: error: `pt' was not declared in this scope
SplashFTFont.cc:31: error: parse error before `*' token
SplashFTFont.cc: In constructor `SplashFTFont::SplashFTFont(SplashFTFontFile*,
SplashCoord*)':
SplashFTFont.cc:40: error: `FT_Face' undeclared (first use this function)
SplashFTFont.cc:40: error: (Each undeclared identifier is reported only once
for each function it appears in.)
SplashFTFont.cc:40: error: parse error before `;' token
SplashFTFont.cc:44: error: `face' undeclared (first use this function)
SplashFTFont.cc:44: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:45: error: `sizeObj' undeclared (first use this function)
SplashFTFont.cc:45: error: `FT_New_Size' undeclared (first use this function)
SplashFTFont.cc:50: error: `FT_Set_Pixel_Sizes' undeclared (first use this
function)
SplashFTFont.cc:118: error: `matrix' undeclared (first use this function)
SplashFTFont.cc:118: error: `FT_Fixed' undeclared (first use this function)
SplashFTFont.cc: In member function `virtual GBool SplashFTFont::makeGlyph(int,
int, int, SplashGlyphBitmap*)':
SplashFTFont.cc:135: error: `FT_Vector' undeclared (first use this function)
SplashFTFont.cc:135: error: parse error before `;' token
SplashFTFont.cc:136: error: `FT_GlyphSlot' undeclared (first use this function)
SplashFTFont.cc:137: error: `FT_UInt' undeclared (first use this function)
SplashFTFont.cc:144: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:145: error: `offset' undeclared (first use this function)
SplashFTFont.cc:145: error: `FT_Pos' undeclared (first use this function)
SplashFTFont.cc:147: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:147: error: `FT_Set_Transform' undeclared (first use this
function)
SplashFTFont.cc:148: error: `slot' undeclared (first use this function)
SplashFTFont.cc:148: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:151: error: `gid' undeclared (first use this function)
SplashFTFont.cc:151: error: parse error before `->' token
SplashFTFont.cc:153: error: parse error before `;' token
SplashFTFont.cc:167: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:168: error: `FT_LOAD_NO_HINTING' undeclared (first use this
function)
SplashFTFont.cc:169: error: `FT_LOAD_NO_BITMAP' undeclared (first use this
function)
SplashFTFont.cc:169: error: `FT_LOAD_DEFAULT' undeclared (first use this
function)
SplashFTFont.cc:169: error: `FT_Load_Glyph' undeclared (first use this
function)
SplashFTFont.cc:174: error: `ft_render_mode_normal' undeclared (first use this
function)
SplashFTFont.cc:174: error: `ft_render_mode_mono' undeclared (first use this
function)
SplashFTFont.cc:174: error: `FT_Render_Glyph' undeclared (first use this
function)
SplashFTFont.cc:193: error: `memcpy' undeclared (first use this function)
SplashFTFont.cc: In member function `virtual SplashPath*
SplashFTFont::getGlyphPath(int)':
SplashFTFont.cc:200: error: ISO C++ forbids declaration of `FT_Outline_Funcs'
with no type
SplashFTFont.cc:200: error: parse error before `=' token
SplashFTFont.cc:200: warning: unused variable `int FT_Outline_Funcs'
SplashFTFont.cc:199: warning: unused parameter `int c'
SplashFTFont.cc: At global scope:
SplashFTFont.cc:209: error: 'FT_GlyphSlot' is used as a type, but is not
defined as a type.
SplashFTFont.cc:210: error: 'FT_UInt' is used as a type, but is not defined as
a type.
SplashFTFont.cc:211: error: 'FT_Glyph' is used as a type, but is not defined as
a type.
SplashFTFont.cc:213: error: ISO C++ forbids declaration of `ff' with no type
SplashFTFont.cc:213: error: conflicting types for `int ff'
SplashFTFont.cc:207: error: previous declaration as `SplashFTFontFile*ff'
SplashFTFont.cc:213: error: `fontFile' was not declared in this scope
SplashFTFont.cc:214: error: syntax error before `->' token
SplashFTFont.cc:215: error: base operand of `->' is not a pointer
SplashFTFont.cc:215: error: ISO C++ forbids declaration of `FT_Set_Transform'
with no type
SplashFTFont.cc:215: error: `int FT_Set_Transform' used prior to declaration
SplashFTFont.cc:215: error: initializer list being treated as compound
expression
SplashFTFont.cc:216: error: ISO C++ forbids declaration of `slot' with no type
SplashFTFont.cc:216: error: `int slot' used prior to declaration
SplashFTFont.cc:216: error: base operand of `->' is not a pointer
SplashFTFont.cc:217: error: parse error before `if'
SplashFTFont.cc:228: error: ISO C++ forbids declaration of `path' with no type
SplashFTFont.cc:228: error: conflicting types for `int path'
SplashFTFont.cc:208: error: previous declaration as `SplashPath*path'
SplashFTFont.cc:229: error: `FT_OutlineGlyph' was not declared in this scope
SplashFTFont.cc:229: error: parse error before `)' token
SplashFTFont.cc:230: error: `outlineFuncs' was not declared in this scope
SplashFTFont.cc:230: error: ISO C++ forbids declaration of `
FT_Outline_Decompose' with no type
SplashFTFont.cc:230: error: initializer list being treated as compound
expression
SplashFTFont.cc:231: error: parse error before `return'
SplashFTFont.cc:234: error: `pt' was not declared in this scope
SplashFTFont.cc:234: error: parse error before `*' token
SplashFTFont.cc: In function `int glyphPathMoveTo(...)':
SplashFTFont.cc:235: error: `pt' undeclared (first use this function)
SplashFTFont.cc: At global scope:
SplashFTFont.cc:239: error: parse error before `*' token
SplashFTFont.cc:244: error: `ctrl' was not declared in this scope
SplashFTFont.cc:244: error: parse error before `*' token
SplashFTFont.cc: In function `int glyphPathConicTo(...)':
SplashFTFont.cc:250: error: `ctrl' undeclared (first use this function)
SplashFTFont.cc: At global scope:
SplashFTFont.cc:280: error: `ctrl1' was not declared in this scope
SplashFTFont.cc:280: error: `ctrl2' was not declared in this scope
SplashFTFont.cc:281: error: parse error before `*' token
SplashFTFont.cc: In function `int glyphPathCubicTo(...)':
SplashFTFont.cc:282: error: `ctrl1' undeclared (first use this function)
SplashFTFont.cc:283: error: `ctrl2' undeclared (first use this function)
SplashFTFont.cc: At top level:
SplashFTFont.cc:234: warning: `int glyphPathMoveTo(...)' defined but not used
SplashFTFont.cc:239: warning: `int glyphPathLineTo(...)' defined but not used
SplashFTFont.cc:244: warning: `int glyphPathConicTo(...)' defined but not used
SplashFTFont.cc:281: warning: `int glyphPathCubicTo(...)' defined but not used
make[4]: *** [SplashFTFont.lo] Error 1
make[4]: Leaving directory `/home/arkar/kdeSource/konstruct/kde/kdegraphics/work/kdegraphics-3.4.0/kpdf/xpdf/splash'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/arkar/kdeSource/konstruct/kde/kdegraphics/work/kdegraphics-3.4.0/kpdf/xpdf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/arkar/kdeSource/konstruct/kde/kdegraphics/work/kdegraphics-3.4.0/kpdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arkar/kdeSource/konstruct/kde/kdegraphics/work/kdegraphics-3.4.0'
make: *** [all] Error 2
I don't have a couple of days because I am packing my computer on monday .I am moving back to my country and there is no internet connection for most of us .So I would be using this latest version of kde3.4 for 1 year.I just wanted everything to working well to my need.Printing , editing doc and etc (kdenetwork would be pretty useless )but I need kdegraphic and other various multimedia tool (k3b specially).So I am in kind of really rush right now.If any body know a way around this problem ,please help me.
The TFontEngine.h, TFontFile.h, and TFont.h headers are give the errors.
It also say before all those header file errors ....
freetype/ftoutln.h: No such file or directory
freetype/internal/ftobjs.h: No such file or directory
freetype/config/ftheader.h: No such file or directory
pretty much saying that is want the headers of freetype and it can't find them. I don't have any of those headers in my slack current install. You might try getting the source of freetype and passing the location to kde in the ./configure process.
Do a ./configure --help and see if that is one of the options. I really do they that will fix it.
Well the thing is I have all these fine in
/usr/include/freetype2/ftouthln.h
/usr/include/freetype2/internal/ftobjs.h
/usr/include/freetype2/ftobjs.h
/usr/include/freetype2/ftheader.h
And I am not using X11 files from slack-current CD;I upgrade it to x11-6.8.2 using dropline-gnome;
Just on march 2 ,I had compile and install kde3.4 RC1 and I didn't run into any problem.Wait,I think I did but I did a fresh install after showing up those some error .Now using the kde-core base file that I am using I am doing fresh install and if this didn't help ,I'll ln -s freetype2 folder to freetype in /usr/include .With my experence with slackware (which is not much),linking one folder aginst another help.Like ,frist time I did kde compling,it kept getting error that it couldn't find some x11 file .So I ln -s
links all the file from /usr/X11/bin to /usr/bin and it work out ok.May be I should link it?I got all the file.
Guys!
It work! I just make symbol link to /usr/include/freetype2/freetype to
/usr/include/freetype and it re-compiling from where it left out.
Thanks for all tips and help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.