Re: Pango Installation Problems




JTyrrell wrote:
> 
> I'm having problems trying to run make with Pango-1.12.4 on Red Hat
> Enterprise Linux 4
> Its giving me the error... 
> 
> /home/jamest/php-gtk/lib/: file not recognized: Is a directory
> (I've put the error in more detail at bottom of post)
> 
> I've tried this with various versions of pango and still get the same
> error.
> 
> Ive already installed Zlib, Glib, Libpng, Fontconfig, and Cairo without a
> problem. They've all been installed into the directory home/jamest/php-gtk
> with LD_LIBRARAY_PATH=home/jamest/php-gtk/lib and
> PKG_CONFIG_PATH=home/jamest/php-gtk/lib/pkgconfig and I have up-to-date
> versions of each.
> 
> Does anyone have any idea why its doing this?
> 
> 
> 
> 
> ERROR:
> 
> make[4]: Entering directory `/home/jamest/pango-1.12.4/pango/opentype'
> /bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall   -o ottest  ottest.o
> disasm.o libmini-harfbuzz.la /home/jamest/php-gtk/lib/ -lfreetype -lz
> gcc -g -O2 -Wall -o ottest ottest.o disasm.o /home/jamest/php-gtk/lib/ 
> ./.libs/libmini-harfbuzz.a -L/home/jamest/php-gtk/lib
> /home/jamest/php-gtk/lib/libgobject-2.0.so
> /home/jamest/php-gtk/lib/libgmodule-2.0.so -ldl
> /home/jamest/php-gtk/lib/libglib-2.0.so -lm /usr/lib/libfreetype.so -lz
> -Wl,--rpath -Wl,/home/jamest/php-gtk/lib -Wl,--rpath
> -Wl,/home/jamest/php-gtk/lib
> /home/jamest/php-gtk/lib/: file not recognized: Is a directory
> collect2: ld returned 1 exit status
> make[4]: *** [ottest] Error 1
> make[4]: Leaving directory `/home/jamest/pango-1.12.4/pango/opentype'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/jamest/pango-1.12.4/pango'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/jamest/pango-1.12.4/pango'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jamest/pango-1.12.4'
> make: *** [all] Error 2
> 
> 
> 


Problem solved... the FONTCONFIG_LIBS was set to =/home/... instead of
=-L/home/...

I'm now getting a handfull of errors about undefined references.



creating pango-view
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -L/home/jamest/php-gtk/lib
-o pangoft2-view  renderdemo.o viewer-main.o viewer-pangoft2.o
pangoft2-view.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la
-L/home/jamest/php-gtk/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
-L/home/jamest/php-gtk/lib/ -lfreetype -lz
gcc -g -O2 -Wall -o .libs/pangoft2-view renderdemo.o viewer-main.o
viewer-pangoft2.o pangoft2-view.o  -L/home/jamest/php-gtk/lib
../pango/.libs/libpango-1.0.so ../pango/.libs/libpangoft2-1.0.so
/home/jamest/pango-1.12.4/pango/.libs/libpango-1.0.so
-L/home/jamest/php-gtk/lib/ -lm /home/jamest/php-gtk/lib/libgobject-2.0.so
/home/jamest/php-gtk/lib/libgmodule-2.0.so -ldl
/home/jamest/php-gtk/lib/libglib-2.0.so /usr/lib/libfreetype.so -lz
-Wl,--rpath -Wl,/home/jamest/php-gtk/lib
viewer-pangoft2.o(.text+0x22): In function `substitute_func':
/home/jamest/pango-1.12.4/examples/viewer-pangoft2.c:39: undefined reference
to `FcPatternDel'
viewer-pangoft2.o(.text+0x3d):/home/jamest/pango-1.12.4/examples/viewer-pangoft2.c:40:
undefined reference to `FcPatternAddBool'
viewer-pangoft2.o(.text+0x4a):/home/jamest/pango-1.12.4/examples/viewer-pangoft2.c:42:
undefined reference to `FcPatternDel'
viewer-pangoft2.o(.text+0x65):/home/jamest/pango-1.12.4/examples/viewer-pangoft2.c:43:
undefined reference to `FcPatternAddBool'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcObjectSetBuild'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcPatternGetBool'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcObjectSetDestroy'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternDuplicate'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcFontSetSortDestroy'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcCharSetHasChar'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcFontList'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternGetDouble'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternGetString'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternGetInteger'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcFontSort'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternReference'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcPatternHash'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternGetCharSet'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcPatternCreate'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternAddString'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcFontRenderPrepare'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcPatternGet'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternAddMatrix'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternAddDouble'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcConfigSubstitute'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcObjectSetCreate'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcPatternDestroy'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcCharSetNextPage'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcObjectSetAdd'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcPatternEqual'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcFreeTypeCharIndex'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcPatternBuild'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcPatternGetMatrix'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcFontMatch'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcCharSetFirstPage'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FcFontSetDestroy'
../pango/.libs/libpangoft2-1.0.so: undefined reference to
`FcDefaultSubstitute'
collect2: ld returned 1 exit status
make[3]: *** [pangoft2-view] Error 1
make[3]: Leaving directory `/home/jamest/pango-1.12.4/examples'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jamest/pango-1.12.4/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jamest/pango-1.12.4'
make: *** [all] Error 2




-- 
View this message in context: http://www.nabble.com/Pango-Installation-Problems-tf3149008.html#a8730873
Sent from the Gtk+ - General mailing list archive at Nabble.com.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]