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.
|
|
|
02-02-2005, 09:25 AM
|
#16
|
Member
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450
Rep:
|
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
|
|
|
02-02-2005, 03:52 PM
|
#17
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
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]$
|
|
|
02-02-2005, 05:15 PM
|
#18
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
I just tried urpmi expat, everything already installed. It's almost like when Mandrake installs it installs to the wrong places.
|
|
|
02-02-2005, 05:38 PM
|
#19
|
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 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.
|
|
|
02-02-2005, 08:25 PM
|
#20
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
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...
|
|
|
02-02-2005, 08:48 PM
|
#21
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
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.
|
|
|
02-02-2005, 09:18 PM
|
#22
|
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 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
It does something with updating libraries on your computer. See if that solves the problem.
|
|
|
02-03-2005, 02:51 AM
|
#23
|
Member
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450
Rep:
|
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
|
|
|
02-03-2005, 06:36 AM
|
#24
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
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.
|
|
|
02-03-2005, 07:33 AM
|
#25
|
Member
Registered: Feb 2003
Location: ???
Distribution: Mandriva 2006
Posts: 92
Rep:
|
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.
|
|
|
02-03-2005, 02:24 PM
|
#26
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
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 02:27 PM.
|
|
|
02-03-2005, 04:01 PM
|
#27
|
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 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!
|
|
|
02-03-2005, 04:51 PM
|
#28
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
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 05:02 PM.
|
|
|
02-03-2005, 05:10 PM
|
#29
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
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!
|
|
|
02-03-2005, 08:39 PM
|
#30
|
Member
Registered: May 2004
Distribution: Debian
Posts: 341
Original Poster
Rep:
|
I figured out that the CD and DVD drives just disappeared off the desktop, they do actually work even in Linux.
|
|
|
All times are GMT -5. The time now is 04:45 AM.
|
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
|
|