I am installing  GPL Ghostscript-9.00 on a LFS-6.8 system.
I am following the instructions of BLFS - Version svn-20110728, using the 
system graphic libraries.
So I installed expat-2.0.1, FreeType-2.4.4, JasPer-1.900.1 libjpeg-8b, 
libpng-1.2.44, LibTIFF-3.9.4, and little cms-1.19 beforehand.
(it should be mentioned clearer in the instructions that they are all 
'required' instead of 'recommended' when using the 'system' option?)

I also had to remove the 'x11' parameter from the configuration line, because 
X11 is not (yet) installed on my system
(this should be mentioned in the instructions?)

The build fails with:

if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
DEVICE_DEVS_EXTRA= \
/bin/sh <./obj/ldt.tr
./obj/fapi_ft.o: In function `release_char_data':
fapi_ft.c:(.text+0xa54): undefined reference to `FT_Done_Glyph'
fapi_ft.c:(.text+0xa5c): undefined reference to `FT_Done_Glyph'
./obj/fapi_ft.o: In function `gs_freetype_destroy':
fapi_ft.c:(.text+0xaa4): undefined reference to `FT_Done_Glyph'
fapi_ft.c:(.text+0xaac): undefined reference to `FT_Done_Glyph'
fapi_ft.c:(.text+0xab4): undefined reference to `FT_Done_Library'
./obj/fapi_ft.o: In function `check_cmap_for_GID':
fapi_ft.c:(.text+0xb30): undefined reference to `FT_Get_Char_Index'
./obj/fapi_ft.o: In function `release_typeface':
fapi_ft.c:(.text+0xb80): undefined reference to `FT_Done_Face'
./obj/fapi_ft.o: In function `get_char_outline':
fapi_ft.c:(.text+0xc54): undefined reference to `FT_Outline_Decompose'
./obj/fapi_ft.o: In function `load_glyph':
fapi_ft.c:(.text+0xd84): undefined reference to `FT_Load_Glyph'
fapi_ft.c:(.text+0xdec): undefined reference to `FT_Get_Char_Index'
fapi_ft.c:(.text+0xe64): undefined reference to `FT_Load_Glyph'
fapi_ft.c:(.text+0xed0): undefined reference to `FT_Load_Glyph'
fapi_ft.c:(.text+0x1128): undefined reference to `FT_Get_Glyph'
fapi_ft.c:(.text+0x118c): undefined reference to `FT_Load_Glyph'
fapi_ft.c:(.text+0x121c): undefined reference to `ft_glyphslot_free_bitmap'
./obj/fapi_ft.o: In function `can_retrieve_char_by_name':
fapi_ft.c:(.text+0x142c): undefined reference to `FT_Get_Name_Index'
./obj/fapi_ft.o: In function `get_scaled_font':
fapi_ft.c:(.text+0x1724): undefined reference to `FT_Matrix_Multiply'
fapi_ft.c:(.text+0x1778): undefined reference to `FT_Set_Char_Size'
fapi_ft.c:(.text+0x1958): undefined reference to `FT_Set_Transform'
fapi_ft.c:(.text+0x19c8): undefined reference to `FT_New_Face'
fapi_ft.c:(.text+0x19f0): undefined reference to `FT_Select_Charmap'
fapi_ft.c:(.text+0x1c2c): undefined reference to `FT_Open_Face'
fapi_ft.c:(.text+0x1c60): undefined reference to `FT_Done_Face'
./obj/fapi_ft.o: In function `ensure_open':
fapi_ft.c:(.text+0x1de4): undefined reference to `FT_New_Library'
fapi_ft.c:(.text+0x1e24): undefined reference to `FT_Add_Default_Modules'
collect2: ld gaf exit-status 1 terug
make: *** [bin/gs] Fout 1

So, where is this FT_stuff defined?

My platform: pol [ ~ ]$ cat /proc/cpuinfo
processor       : 0
cpu             : 604e
clock           : 200.000000MHz
revision        : 2.4 (pvr 0009 0204)
bogomips        : 25.00
timebase        : 12500550
platform        : PowerMac
model           : Power Macintosh
machine         : Power Macintosh
motherboard     : AAPL,7500 MacRISC
detected as     : 16 (PowerMac 7500)
pmac flags      : 00000000
L2 cache        : 256K unified
pmac-generation : OldWorld
Memory          : 208 MB

My kernel: pol [ ~ ]$ uname -a
Linux ppc7600 2.6.37.6 #4 Thu Aug 4 18:36:07 CEST 2011 ppc GNU/Linux

My compiler: pol [ ~ ]$ gcc -v       
Ingebouwde specs worden gebruikt.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.5.2/lto-wrapper
Target: powerpc-unknown-linux-gnu
Configured with: ../gcc-4.5.2/configure --prefix=/usr --libexecdir=/usr/lib 
--enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-clocale=gnu --enable-languages=c,c++ --disable-multilib 
--disable-bootstrap --with-system-zlib
Thread model: posix
gcc versie 4.5.2 (GCC)    

pvg

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to