LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2004, 09:38 PM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Freetype Compiliation Problems


Heyas,

I want to install the Enlightenment Window Manager on my Slackware 10.0 system. First, however, I need the freetype library installed. I tried installing this using swaret and it looked as if it had installed properly, however when I went to load Enlightenment it told me it could not find shared library libttf.so.2, which came from the freetype package.

I then decided I would install the freetype package from source. So I went, downloaded it (only version 1.3.1) because that looked to be the stable one and it was also the requirement for the version of Enlightenment I downloaded. The ./configure script ran fine, however when I ran make I got the following errors:

gcc -c -I. -I/home/tathlyn/Downloads/freetype-1.3.1/test/arch/unix/../.. -I.. -I/home/tathlyn/Downloads/freetype-1.3.1/test/arch/unix/../../../lib -I/home/tathlyn/Downloads/freetype-1.3.1/test/arch/unix/../../../lib/extend -g -O2 -Wall -pedantic -ansi -DX11 -DLOCALEDIR='"/usr/local/share/locale"' ftdump.c
ftdump.c:172:29: pasting "." and "glyph_object" does not give a valid preprocessing token
ftdump.c:182:31: pasting "." and "first_instance" does not give a valid preprocessing token
ftdump.c:191:32: pasting "." and "second_instance" does not give a valid preprocessing token
ftdump.c:201:62: pasting "." and "face_object" does not give a valid preprocessing token
ftdump.c:202:62: pasting "." and "glyph_object" does not give a valid preprocessing token
ftdump.c:203:62: pasting "." and "second_instance" does not give a valid preprocessing token
ftdump.c:863:33: pasting "." and "initial_overhead" does not give a valid preprocessing token
ftdump.c:882:28: pasting "." and "face_object" does not give a valid preprocessing token
make[1]: *** [ftdump.o] Error 1
make[1]: Leaving directory `/home/tathlyn/Downloads/freetype-1.3.1/test'
make: *** [tttest] Error 2

I was on as root and I remembered to remove the package I had installed via swaret prior to trying to compile this from source. I do not know what those errors mean, I suppose syntax errors in the code, but that doesn't really make sense considering this is an older version of freetype and it was in the stable section. So, I would really thinkit should compile. The only other thing I can think of is that I am missing some other library, but I do not know hw to go about figuring that out and I didn't get errors elsewhere. Swaret didn't try to download any dependencies either.

Does anyone else know of anything that could help?

Thanks,
Chris
 
Old 08-25-2004, 10:05 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
those are compile errors....
unless there actually IS a programming error, them these errors are just echo's of an earlyer error... keep looking up from that point...
i usually find its a missing header file... or gcc is lookinf for a header in the wrong place... either install a dependency, or fix with a symbolic link and try again.
 
  


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
Problems installing Freetype-1.3.1 cantrooper Linux - Software 0 08-20-2003 08:18 AM
can't use some functions in php - freetype problems? andrew001 Linux - Software 0 06-25-2003 11:51 PM
Wine and FreeType problems LinEx Linux - Software 0 05-16-2003 09:52 AM
Freetype-devel for freetype-2.1.4-1 (redhat 9) Goog Linux - Distributions 0 05-05-2003 06:55 PM
freetype no1d Linux - Software 0 02-28-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 PM.

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