Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-29-2005, 07:15 PM
|
#1
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Rep:
|
Many GTK Installation problems
Ok, I have glib and ATK set up, I know I already posted this, but this will be much cleaner and easier to understand. The issue I have with GTK installation is the installation of Pango. Here's the message I got when I tried to install it on Mandrake 10.1 Official:
Code:
[simon@localhost pango-1.8.0]$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for native Win32... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for perl5... perl5
checking for X... no
configure: WARNING: X development libraries not found
checking for pkg-config... /usr/bin/pkg-config
checking for fontconfig >= 1.0.1... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
configure: error: *** Didn't find any of FreeType, X11, or Win32.
*** Must have at least one backend to build Pango.
So, fontconfig said I needed freetype, which also wasnt on urpmi (everything installed)
Here's what I got
Code:
[simon@localhost freetype-1.3.1]$ make
cd lib; make -f arch/unix/Makefile all
make[1]: Entering directory `/home/simon/freetype-1.3.1/lib'
rm -f memory.c file.c mutex.c
ln -s /home/simon/freetype-1.3.1/lib/arch/unix/../../ttmemory.c memory.c
ln -s /home/simon/freetype-1.3.1/lib/arch/unix/../../arch/unix/ttmmap.c file.c
ln -s /home/simon/freetype-1.3.1/lib/arch/unix/../../ttmutex.c mutex.c
make -f arch/unix/Makefile LIB_FILES="freetype.lo ftxkern.lo ftxgasp.lo ftxpost.lo ftxcmap.lo ftxsbit.lo ftxwidth.lo ftxerr18.lo ftxgsub.lo ftxgpos.lo ftxgdef.lo ftxopen.lo" libttf.la
make[2]: Entering directory `/home/simon/freetype-1.3.1/lib'
make[2]: `libttf.la' is up to date.
make[2]: Leaving directory `/home/simon/freetype-1.3.1/lib'
make[1]: Leaving directory `/home/simon/freetype-1.3.1/lib'
cd test; make -f arch/unix/Makefile all
make[1]: Entering directory `/home/simon/freetype-1.3.1/test'
gcc -c -I. -I/home/simon/freetype-1.3.1/test/arch/unix/../.. -I.. -I/home/simon/freetype-1.3.1/test/arch/unix/../../../lib -I/home/simon/freetype-1.3.1/test/arch/unix/../../../lib/extend -g -O2 -Wall -pedantic -ansi -DX11 -DLOCALEDIR='"/usr/local/share/locale"' /home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:22:22: X11/Xlib.h: No such file or directory
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:23:23: X11/Xutil.h: No such file or directory
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:24:28: X11/cursorfont.h: No such file or directory
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:76: error: syntax error before "win"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:76: warning: type defaults to `int' in declaration of `win'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:76: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:77: error: syntax error before "gcblack"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:77: warning: type defaults to `int' in declaration of `gcblack'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:77: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:78: error: syntax error before "color"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:78: warning: type defaults to `int' in declaration of `color'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:78: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:80: error: syntax error before '*' token
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:80: warning: type defaults to `int' in declaration of `display'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:80: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:83: error: syntax error before '*' token
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:83: warning: type defaults to `int' in declaration of `image'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:83: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:85: error: syntax error before '*' token
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:85: warning: type defaults to `int' in declaration of `visual'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:85: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:86: error: syntax error before "colormap"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:86: warning: type defaults to `int' in declaration of `colormap'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:86: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:88: error: syntax error before "gray"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:88: warning: type defaults to `int' in declaration of `gray'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:88: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:90: error: syntax error before "idle"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:90: warning: type defaults to `int' in declaration of `idle'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:90: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:91: error: syntax error before "busy"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:91: warning: type defaults to `int' in declaration of `busy'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:91: error: ISO C forbids data definition with no type or storage class
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c: In function `Driver_Restore_Mode':
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:105: warning: implicit declaration of function `XUnmapWindow'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:106: warning: implicit declaration of function `XCloseDisplay'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c: In function `x11init':
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:117: error: `XTextProperty' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:117: error: (Each undeclared identifier is reported only once
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:117: error: for each function it appears in.)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:117: error: syntax error before "xtp"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:118: error: `XSizeHints' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:119: error: `XSetWindowAttributes' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:128: warning: implicit declaration of function `XrmInitialize'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:130: warning: implicit declaration of function `XOpenDisplay'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:130: warning: assignment makes pointer from integer without a cast
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:133: warning: implicit declaration of function `DefaultScreen'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:134: warning: implicit declaration of function `DefaultColormap'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:135: warning: implicit declaration of function `DefaultDepth'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:136: warning: implicit declaration of function `DefaultVisual'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:136: warning: assignment makes pointer from integer without a cast
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:138: warning: implicit declaration of function `XCreateFontCursor'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:138: error: `XC_left_ptr' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:139: error: `XC_watch' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:144: error: `XPixmapFormatValues' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:144: error: `formats' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:147: warning: implicit declaration of function `XListPixmapFormats'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:171: warning: implicit declaration of function `XFree'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:179: error: `xswa' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:179: warning: implicit declaration of function `BlackPixel'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:180: warning: implicit declaration of function `WhitePixel'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:183: error: `KeyPressMask' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:183: error: `ExposureMask' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:185: warning: implicit declaration of function `XCreateWindow'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:186: warning: implicit declaration of function `RootWindow'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:193: error: `InputOutput' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:195: error: `CWBackPixel' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:195: error: `CWBorderPixel' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:195: error: `CWEventMask' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:195: error: `CWCursor' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:198: warning: implicit declaration of function `XMapWindow'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:200: warning: implicit declaration of function `XCreateGC'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:202: warning: implicit declaration of function `XSetForeground'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:203: warning: implicit declaration of function `XSetBackground'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:212: error: request for member `red' in something not a structure or union
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:213: error: request for member `green' in something not a structure or union
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:214: error: request for member `blue' in something not a structure or union
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:216: warning: implicit declaration of function `XAllocColor'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:220: warning: implicit declaration of function `XCreateImage'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:223: error: `ZPixmap' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:223: error: `XYBitmap' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:229: warning: assignment makes pointer from integer without a cast
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:235: error: request for member `byte_order' in something not a structure or union
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:235: error: `MSBFirst' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:236: error: request for member `bitmap_bit_order' in something not a structure or union
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:240: error: `xtp' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:245: error: `xsh' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:250: error: `PPosition' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:250: error: `PSize' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:253: warning: implicit declaration of function `XSetWMProperties'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c: In function `Put_Image':
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:293: warning: implicit declaration of function `XPutImage'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c: In function `Driver_Display_Bitmap':
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:303: warning: implicit declaration of function `XClearWindow'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:306: warning: implicit declaration of function `XStoreName'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:357: warning: implicit declaration of function `XPutPixel'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:357: error: request for member `pixel' in something not a structure or union
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c: In function `Get_Event':
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:380: warning: ISO C forbids nested functions
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:380: error: syntax error before "x_event"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:381: error: `KeySym' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:386: error: `XComposeStatus' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:386: error: syntax error before "compose"
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:391: warning: implicit declaration of function `XDefineCursor'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:395: warning: implicit declaration of function `XNextEvent'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:395: error: `x_event' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:399: error: `KeyPress' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:400: warning: implicit declaration of function `XLookupString'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:403: error: `key' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:404: error: `compose' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:411: error: `MappingNotify' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:412: warning: implicit declaration of function `XRefreshKeyboardMapping'
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:415: error: `Expose' undeclared (first use in this function)
/home/simon/freetype-1.3.1/test/arch/unix/../../arch/unix/gwin_x11.c:432: warning: implicit declaration of function `XFlush'
make[1]: *** [gwin_x11.o] Error 1
make[1]: Leaving directory `/home/simon/freetype-1.3.1/test'
make: *** [tttest] Error 2
[simon@localhost freetype-1.3.1]$
I am very frustrated, can someone help?
|
|
|
01-30-2005, 07:33 AM
|
#2
|
Member
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450
Rep:
|
Why are you trying to install pango by compiling? The easiest way is to install the RPM that is in the distribution and
you've already (probably) got most of it installed already.
I guess you're really trying to install something else that requires pango and that software's configure told you it couldn't
find pango. What you're missing are the -devel packages.
So to be able to compile anything that requires pango you need to 'urpmi pango-devel' (or possibly 'urpmi libpango1.0_0-devel').
As an example on how to find out what package that needs to be installed:
In your pango-compilating example, it whines about not finding "fontconfig.pc"
An 'urpmf fontconfig.pc' tells you it's in the "libfontconfig1-devel" package, so an 'urpmi libfontconfig1-devel' is what's needed.
- Peder
|
|
|
01-30-2005, 07:45 AM
|
#3
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
I guess I needed the stuff I thought was pointless in the other post, search GTK binary and it will come up, it'll tell you my problem, my whole day at the computer trying to fix it.
libfuntconfig1-devel etc didn't exidt and urpmi pango said everything already installed. Basically what I'm trying to do is update, and I like compiling more because it let's you have more control over it.
|
|
|
01-30-2005, 11:46 AM
|
#4
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
|
Quote:
Originally posted by bunnadik
Why are you trying to install pango by compiling? The easiest way is to install the RPM that is in the distribution and
you've already (probably) got most of it installed already.
I guess you're really trying to install something else that requires pango and that software's configure told you it couldn't
find pango. What you're missing are the -devel packages.
So to be able to compile anything that requires pango you need to 'urpmi pango-devel' (or possibly 'urpmi libpango1.0_0-devel').
As an example on how to find out what package that needs to be installed:
In your pango-compilating example, it whines about not finding "fontconfig.pc"
An 'urpmf fontconfig.pc' tells you it's in the "libfontconfig1-devel" package, so an 'urpmi libfontconfig1-devel' is what's needed.
- Peder
|
His problem is a little complex as I have been following his previous post.
He wants to install GIMP 2.2.1, which requires the new GTK 2.6, which Mandrake (URPMI) doesn't have. Therefore, he has to compile from source. GTK requires 3 dependencies - ATK, Pango, and GLIB that must be recent v ersions, I believe, which Mandrake (URPMI) is also behind on. otherwise, he could have just URPMI GTK and avoided this whole problem!
|
|
|
01-30-2005, 01:19 PM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You may need to install the devel packages of the dependencies that are said to be missing after running ./configure. No need to reinstall freetype etc coz it's already on your system, just use urpmi or rpmdrake to install the devel packages that the pango ./configure says are missing.
|
|
|
01-30-2005, 01:24 PM
|
#6
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
We've figured out that it would be easier to just reinstall Mandrake because it is so messy right now.
|
|
|
01-31-2005, 02:08 AM
|
#7
|
Member
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450
Rep:
|
To avoid future mess I'd not recommend installing you new stuff in /usr (as in ./configure --prefix=/usr)
I always prefix to /opt/<package> (in your case --prefix=/opt/pango-1.8.0 , --prefix=/opt/gimp-2.2.1 et.al.)
Then I use 'stow' (a perl script from your favorite GNU mirror) to make symbolic links in /usr/local
( stow -d /opt -t /usr/local pango-1.8.0 ).
I also have to point PKG_CONFIG_PATH to /usr/local/lib/pkgconfig and add a "/usr/local/lib" in
/etc/ld.so.conf.d/local.conf (the new place in 10.1)
This way I'm not messing anything up in my normal filesystem and every package is neatly separated
from each other and thus easily removable ( stow -D -d /opt -t /usr/local pango-1.8.0 && rm -rf /opt/pango-1.8.0 ).
- Peder
|
|
|
01-31-2005, 02:27 AM
|
#8
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
If you install gtk, pango, atk and glib in a different prefix to the old one (the one installed by rpm), the system may still point to the old versions. If you are installing stuff in /usr, you just have to be extra careful and know what you are doing coz mistakes can break your system.
|
|
|
01-31-2005, 11:35 AM
|
#9
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
|
I have installed my GTK, including ATK, PANGO, and GLIB, in my /usr and so far, I have had no problems with my system. I was given this advice by another forum user in the LInux - Software thread and it has saved me a lot of trouble. I'm just passing along what I learned, what works for me, and what was the easiest.
|
|
|
01-31-2005, 04:40 PM
|
#10
|
Member
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92
Rep:
|
I use GIMP 2.2.3 compiled from source and it works just fine with Mandrake's version of GTK.
All you need to do is install the proper devel packages using urpmi.
|
|
|
02-01-2005, 05:50 PM
|
#11
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
Ok, Mandrake has been reinstalled, ATK installed, Glib installed, but I'm still where I was before with Pango. Help! This is getting really annoying!
Would it help me if I installed Pango from the command line instead of from within X?
|
|
|
02-01-2005, 06:27 PM
|
#12
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
No, that didn't work outside of X
|
|
|
02-02-2005, 01:39 AM
|
#13
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
|
Weird! Maybe install Fontconfig via Mandrake Control. Try this:
Open up your Mandrake Control Center --> software --> INSTALL --> search for fontconfig.
Install all things related to fontconfig. After installing fontconfig, try making Pango again.
|
|
|
02-02-2005, 01:55 AM
|
#14
|
Member
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450
Rep:
|
If this is the error you still get:
Quote:
"Checking for fontconfig >= 1.0.1... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found"
|
you need to install the fontconfig devel package.
If you see an error like this and don't know which package holds the fontconfig.pc file, the easiest
way is to run 'urpmf fontconfig.pc' . That'll answer : "libfontconfig1-devel:/usr/lib/pkgconfig/fontconfig.pc"
So what you have to do is run 'urpmi libfontconfig1-devel'
Then you'll have to get freetype2. In your first post you compiled freetype-1.3.1 and according to the
GIMP INSTALL file you need freetype2.
- Peder
|
|
|
02-02-2005, 05:52 AM
|
#15
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
That might've been my problem thee whole time! 1.3.1 was at the top of the download list. I'll do that later though, i gotta go to school. I'll check in later and check if anythings changed
|
|
|
All times are GMT -5. The time now is 03:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|