LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-02-2005, 08:25 AM   #16
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30

Well, it wasn't the reason you couldn't compile it. Freetype-1.3.1 should compile just fine.
But according to it's initial error message it's missing Xlib.h, Xutil.h and cursorfont.h.

You'll have to urpmf those files and find out which devel to install. (I think they're in the same rpm.)

- Peder
 
Old 02-02-2005, 02:52 PM   #17
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Fontconfig wasnt in Mandrake Control Center under Software Install, so I downloaded and installed freetype, then I downloaded fontconfig untarred it, and when I did ./configure, here's what I got:
Code:
[simon@localhost fontconfig-2.2.3]$ ./configure
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 whether to enable maintainer-specific portions of Makefiles... 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 a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-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 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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ 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 whether make sets $(MAKE)... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for geteuid... yes
checking for getuid... yes
checking for link... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strtol... yes
checking for getopt... yes
checking for getopt_long... yes
checking for freetype-config... /usr/local/bin/freetype-config
checking for FT_Get_First_Char... yes
checking for FT_Get_Next_Char... yes
checking for FT_Get_BDF_Property... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking xmlparse.h usability... no
checking xmlparse.h presence... no
checking for xmlparse.h... no
configure: error: cannot find expat library
[simon@localhost fontconfig-2.2.3]$
 
Old 02-02-2005, 04:15 PM   #18
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I just tried urpmi expat, everything already installed. It's almost like when Mandrake installs it installs to the wrong places.
 
Old 02-02-2005, 04:38 PM   #19
Micro420
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: Reputation: 45
Quote:
Originally posted by simeandrews
I just tried urpmi expat, everything already installed. It's almost like when Mandrake installs it installs to the wrong places.
Boy, this is turning into a nightmare for you, isn't it?
Perhaps try downloading expat from source and ./configure it.
Then go back and try freetype and see if that works.

I don't know why you're running into so many problems.
 
Old 02-02-2005, 07:25 PM   #20
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
My computer has something against me lol! But seriously, over the last month even windows has gone all bad. Windoze was slow before, but NOW...
 
Old 02-02-2005, 07:48 PM   #21
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
We have now gotten somewhere!

Fontconfig has been installed! My only problem is that my computer doesn't know that, I still have the same pango error. Maybe some paths have to be exported.
 
Old 02-02-2005, 08:18 PM   #22
Micro420
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: Reputation: 45
Quote:
Originally posted by simeandrews
We have now gotten somewhere!

Fontconfig has been installed! My only problem is that my computer doesn't know that, I still have the same pango error. Maybe some paths have to be exported.
Well, that's some progress! I don't know much about exporting paths and telling your computer where files are, but try running AS ROOT

Code:
ldconfig
It does something with updating libraries on your computer. See if that solves the problem.
 
Old 02-03-2005, 01:51 AM   #23
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Either you're not describing what you're doing accurately, or you haven't understood my previous posts.

If a compilation can't find something you need to install the -devel package.
Instead of compiling fontconfig you could have run 'urpmi libfontconfig1-devel'
(or possibly just 'urpmi fontconfig-devel')

So when it couldn't find the expat package you should've installed the expat-devel
(it might possibly be called libexpat-devel or something similar).

If you have compiled and installed something successfully into /usr you shouldn't have to
do anything, the system should find the files.
If you're compiling to /usr/local you have to make sure you have "/usr/local/lib" in /etc/ld.so.conf.d/local.conf

As for it not finding pango : make sure there is a /usr/lib/pkgconfig/pango.pc file. If not you probably
forgot to add --prefix=usr when you configured pango, and if so you need to run
'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig' and fix /etc/ld.so.conf.d/local.conf as described.

- Peder
 
Old 02-03-2005, 05:36 AM   #24
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Thanks bunnadik, but I tried all of those and it said either everything already installed or package not found. I'll try the other things later, I have to go out right now.
 
Old 02-03-2005, 06:33 AM   #25
Tormented
Member
 
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92

Rep: Reputation: 15
All the devel packages you need are available with urpmi, so maybe your urpmi sources aren't properly configured.

Go to Easy Urpmi and check the box that says "show specific sources too" then click on the "proceed to step 2" button. Then choose a source contrib, source main, and source updates and click on the "proceed to step 3" button and copy and paste the commands it shows into a terminal as root.

Once you've got the sources configured you can open the package installer and search for "devel" and you will be able to find everything you need.
 
Old 02-03-2005, 01:24 PM   #26
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
AHH! My cd and dvd drive have disappeared! Do I have to mount them, and if I do, how? This happened when I restarted my computer with my SD card in my drive which is installed in my system. When Linux turned on and found the card, it must have gotten confused, and now I have no CD and DVD in Linux, meaning I can't do urpmi.

BTW, ldconfig didnt work, should I have installed fontconfig to /usr?

Last edited by simeandrews; 02-03-2005 at 01:27 PM.
 
Old 02-03-2005, 03:01 PM   #27
Micro420
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: Reputation: 45
Quote:
Originally posted by simeandrews
AHH! My cd and dvd drive have disappeared! Do I have to mount them, and if I do, how? This happened when I restarted my computer with my SD card in my drive which is installed in my system. When Linux turned on and found the card, it must have gotten confused, and now I have no CD and DVD in Linux, meaning I can't do urpmi.

BTW, ldconfig didnt work, should I have installed fontconfig to /usr?
For URPMI, you don't need your CD & DVD drives anymore because they grab all the packages off the URPMI internet sources. That way, it will be up-to-date (soft of) rather than a fixed CD. So there may be new packages.

So when you say that your CD & DVD drive is gone, do you mean in general? If that's the case, then copy/paste your /etc/lilo.conf file for us.

Things just seem to get more messier and messier!
 
Old 02-03-2005, 03:51 PM   #28
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Ok, wait for it, you arent going to beleive it...








IT WORKED!!! PANGO IS INSTALLED AFTER AT LEAST 1-2 WEEKS OF HARD WORK AND EXAMS IN THE MIDDLE! IT WORKED!!! After I did easyurpmi, I tried urpmi libfontconfig1-devel, and I'd like to say sorry to peder because he had the answer the whole time, I just didnt know how to follow it because urpmi didnt install it at first.

EDIT: I'm getting a few errors in GTK install, like Tiff loader not found (i fixed it) PNG loader (fixing it) I'll get back to you, this may not be over.

Last edited by simeandrews; 02-03-2005 at 04:02 PM.
 
Old 02-03-2005, 04:10 PM   #29
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Here's my new error:

Code:
[simon@localhost gtk+-2.6.1]$ ./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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -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 g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ 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 special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.6.0    atk >= 1.0.1    pango >= 1.7.0... yes
checking BASE_DEPENDENCIES_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
checking BASE_DEPENDENCIES_LIBS... -Wl,--export-dynamic -latk-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking Whether to write dependencies into .pc files... no
checking for perl5... /usr/bin/perl5
checking for indent... no
checking for lstat... yes
checking for mkstemp... yes
checking for flockfile... yes
checking for sigsetjmp... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  af am ar az az_IR be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu ia id is it ja ko li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@ije sr@Latn sv ta th tk tr uk uz uz@Latn vi wa yi zh_CN zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.6.0... yes (version 2.6.1)
checking for bind_textdomain_codeset... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mallinfo... yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking for uxtheme.h... no
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking pixbuf loaders to build...
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... (cached) void
checking for x86 platform... yes
checking compiler support for MMX... yes
checking for freetype-config... /usr/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... yes
configure: error: Xft Pango backend is required for x11 target
[simon@localhost gtk+-2.6.1]$
This is getting so annoying, but Im getting so close!
 
Old 02-03-2005, 07:39 PM   #30
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I figured out that the CD and DVD drives just disappeared off the desktop, they do actually work even in Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GTK+ 2.4.0 installation problems wizzardx Linux - Software 4 05-22-2005 05:25 PM
GTK+ 2.6.0 installation problems Micro420 Linux - Software 13 01-14-2005 06:37 AM
Problems with gtk installation Paddington Linux - Software 1 12-22-2004 11:54 AM
Installation problems with GTK+-2.2 melange Linux - Newbie 3 03-08-2004 11:02 AM
GTK+-2.2 installation problems m1-rail Linux - Newbie 2 01-05-2003 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration