LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2005, 12:05 PM   #1
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Rep: Reputation: 15
kde3.4 kdegraphic compling error!


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
 
Old 03-17-2005, 12:22 PM   #2
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
I don't know about all that but patrick should have it in slack current in the next couple of days.
 
Old 03-17-2005, 12:35 PM   #3
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 03-17-2005, 12:50 PM   #4
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
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.
 
Old 03-17-2005, 12:52 PM   #5
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Are one other possibility is installing the X11-devel package in xap directory. This is the source code required to build X aps.

Do a ls /var/log/x11* and see if you have it. If not installing should also fix your problem.
 
Old 03-17-2005, 01:46 PM   #6
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 03-17-2005, 01:48 PM   #7
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Damn - KDE3.4 and now back to KDE3.2 with old settings shazam75 Mandriva 1 05-21-2005 12:22 AM
After removing kde3.2, and installing kde3.3...fonts look bad. RoaCh Of DisCor Linux - Software 3 10-23-2004 08:27 PM
gcc-3.3.3 compling(configure-target-libiberty error 1) windus Linux - Software 0 04-18-2004 12:38 PM
/dev/dsp insufficient permission error after installing kde3.1 quakz99 Linux - Hardware 1 03-19-2003 06:56 AM
KDE3.02 Communication DCOP Error iihay Linux - Software 2 07-07-2002 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration