I am trying to install wine-20050211 on my second system, which runs SuSE 9.2. After much faffing around I finally managed to download and install bison, which allowed ./config to complete. A warning at the end advised me to install xlib-devel or xfree86-devel. Googling around I found the RPM for XFree86-devel for SuSE 9.1 so I downloaded it and started to install it. Unfortunately, a missing dependency was detected. (fontconfig-devel) So I downloaded the RPM for fontconfig-devel and started to install it. Another missing dependency was detected - fontconfig. There was only a tarball for fontconfig so I downloaded and extracted it. Here's where it gets wierd. See below for the output. Does anyone know what is happening ? make output for fontconfig: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/include/freetype2 -g -O2 -cfc-lang.c In file included from ../fontconfig/fcfreetype.h:27, from ../src/fcint.h:39, from fc-lang.c:25: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make[2]: *** [fc-lang.o] Error 1 make[2]: Leaving directory `/home/andrew/Download/Software/fontconfig-2.2.0/fc-lang' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andrew/Download/Software/fontconfig-2.2.0' make: *** [all-recursive-am] Error 2 -- Andrew [hackcoughsniffle] Internal Virus Database corrupt
Andrew Neil Ramage wrote:> I am trying to install wine-20050211 on my second system, which runs > SuSE 9.2. After much faffing around I finally managed to download and > install bison, which allowed ./config to complete. A warning at the end > advised me to install xlib-devel or xfree86-devel.Unfortunately, SuSE 9.2 uses X.org by default, not xfree86. So xfree86-devel won't be of much use to you (not sure about xlib-devel). What you would likely want is xorg-devel (sorry, can't get into YAST atm to see what I've got). Googling around I> found the RPM for XFree86-devel for SuSE 9.1 so I downloaded it and > started to install it. Unfortunately, a missing dependency was > detected. (fontconfig-devel) > > So I downloaded the RPM for fontconfig-devel and started to install it. > Another missing dependency was detected - fontconfig. There was only a > tarball for fontconfig so I downloaded and extracted it. Here's where > it gets wierd. See below for the output. > > Does anyone know what is happening ?Why are you not using YAST to install these dependencies? You really aren't going to get good results by compiling a base package like fontconfig (which you probably have installed anyway) on an RPM distro like SuSE. HTH, Holly> > make output for fontconfig: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/include/freetype2 -g > -O2 -cfc-lang.c > In file included from ../fontconfig/fcfreetype.h:27, > from ../src/fcint.h:39, > from fc-lang.c:25: > /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' > hasn't been included yet!" > /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always > use macros to include FreeType header files." > /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" > /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include > <ft2build.h>" > /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include > FT_FREETYPE_H" > make[2]: *** [fc-lang.o] Error 1 > make[2]: Leaving directory > `/home/andrew/Download/Software/fontconfig-2.2.0/fc-lang' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/andrew/Download/Software/fontconfig-2.2.0' > make: *** [all-recursive-am] Error 2 >
--- Holly Bostick <motub@planet.nl> wrote:> Andrew Neil Ramage wrote: > > I am trying to install wine-20050211 on my second > system, which runs > > SuSE 9.2. After much faffing around I finally > managed to download and > > install bison, which allowed ./config to complete. > A warning at the end > > advised me to install xlib-devel or xfree86-devel. > > > Unfortunately, SuSE 9.2 uses X.org by default, not > xfree86. So > xfree86-devel won't be of much use to you (not sure > about xlib-devel). > What you would likely want is xorg-devel (sorry, > can't get into YAST atm > to see what I've got).I use Suse 9.2 Pro, and it comes with everything you need: bison, flex, x.org packages, etc. etc. There's no need to go around looking for stuff on the internet. Make sure you have all development packages installed (basically, anything that has the -devel in the name) -- this applies to the "xorg" packages too. Hiji __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs
Hi Andrew, I also use SuSE. Like others said, you don't want to go installing random RPMs for things like xlib-devel. Instead, you want the official packages with YaST, so that everything will match. Getting YaST set up to install more packages is very important for using SuSE - if you don't have that working, you can send me an e-mail off the list if you like. Once you have that, you will automatically have the correct versions and the dependencies will be taken care of for you. - Walter
Please remember to use "Reply To All" when responding to a post on this list, otherwise the reply goes only to the personal email of the sender, which is not really all that helpful to those who may search the list archives in the future. Andrew Neil Ramage wrote:> I can't afford the Pro release - I just downloaded the Personal CD and > installed that. Is there a site I can add to YAST that has the missing > RPMs ? > > AndrewIn this respect, Pro or Personal is irrelevant. YAST is the same under both, since it's an essential component of SuSE. The only difference is that your CD (which is likely your only listed installation source) doesn't have development packages, so you have to configure YAST to get the packages from the Internet-- but they're freely available on the SuSE mirrors. Head on over to the SuSE site and find a mirror reasonably close to you, such as ftp://ftp.mirrorservice.org/sites/ftp.suse.com/pub/ (which is listed on the SuSE mirror page at http://www.novell.com/products/linuxprofessional/downloads/ftp/int_mirrors.html as a mirror for the UK), and add the /suse/i386/current directory to YAST's installation sources. If you aren't sure how to add a repository to YAST's available installation sources, you can find instructions in this thread on LinuxQuestions.org: http://www.linuxquestions.org/questions/showthread.php?s=&threadid=213099&perpage=15&pagenumber=1 Hope this helps. Holly