Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
18
rated 0 times [  18] [ 0]  / answers: 1 / hits: 56873  / 1 Year ago, fri, december 2, 2022, 6:17:08

I downloaded the wine-1.4-rc5.tar.bz2. I ran the tools/wineinstall in terminal. After some time I get this error.



checking for X... no configure: error: X development files not found.
Wine will be built without X support, which probably isn't what you
want. You will need to install development packages of Xlib/Xfree86 at
the very least. Use the --without-x option if you really want this.

Configure failed, aborting install.


The installation won't finish. Can I fix this and make Wine install ?


More From » wine

 Answers
2

Most people should either install Wine through Ubuntu's official repositories, or using the Wine project's official Wine PPA.



However, if you want to build and install Wine from source, you should be able to do so.




  • This may make sense if you want to install a later version of Wine than is provided for your Ubuntu release. However, as BuZZ-dEE has pointed out, although there is no wine1.4 package for Ubuntu 10.04 in the official PPA, the wine1.3 package actually provides version 1.4. (This is indicated by the complete version number--1.4-0ubuntu1~ppa1~lucid1--and can be verified by looking in the file called VERSION in the wine1.3_1.4.orig.tar.gz file linked here.)



    Therefore, Buzz-dEE's answer is god advice; I recommend you just use that package, unless you have specific needs that require your to compile from source. (Or you want to use the unstable 1.5 version, which is not provided for Lucid.)



    However, if for any reason you wish to build from source, please read on.




You will need the development packages that provide header files for the libraries it uses. That's the cause of the error message you're getting.



To resolve this particular error, you'll need the package called libx11-dev.



-dev packages provide header files. libx11-dev is not the only such package you'll need, to compile Wine from source. I recommend taking a look at the build dependencies for the development version of Wine in Ubuntu. (Scroll down to where it says "Build dependencies.") That should give you a good idea of which -dev packages you'll need to install, for Wine to be able to compile.



If you use 64bit version of Ubuntu, this error message may appear if you're trying to compile 32bit wine, so you'll need some 32bit libraries to do it: libx11-dev:i386 and libfreetype6-dev:i386


[#35520] Saturday, December 3, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ticeate

Total Points: 497
Total Questions: 128
Total Answers: 112

Location: Samoa
Member since Fri, Nov 27, 2020
4 Years ago
;