LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Freetype Compiliation Problems (https://www.linuxquestions.org/questions/linux-software-2/freetype-compiliation-problems-222472/)

Chryzmo 08-25-2004 09:38 PM

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

qwijibow 08-25-2004 10:05 PM

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.


All times are GMT -5. The time now is 08:43 AM.