LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wine: x development files not found... (https://www.linuxquestions.org/questions/linux-software-2/wine-x-development-files-not-found-297819/)

guy24x 03-04-2005 11:18 PM

wine: x development files not found...
 
hi,

i just tried installing wine-20050211 from the source files (not rpm), and i get this message when i run the wineinstall script:

*** warning: X development files not found. Wine will be built without X support, which currently does not work, and would probably not be what you want anyway. You will need to install devel packages of Xlib/Xfree86 at the very least.
Configure finished. Do 'make depend && make' to compile Wine. Install the X development headers and try again.
************************************************************

I use mandrake 10.1 official, and as per the distro notes, i have Xorg 6.7.0.

I read somewhere that i will need to install the libxorg-x11-devel package. Is this correct? And do I have to install the same version as i currently have (6.7.0), or can i install the latest version found on the Xorg site (www.x.org)?

I can install Wine via the rpm, but i want to learn how to compile from source, so all this experimentation ;)

btw, in my /usr/X11R6 directory, i do have the bin, include, lib and man directories...does that mean i have the x11 sources?

I'm not sure what files i need to install in this scenario, and i would appreciate some help here :-)

when i use the rpmdrake tool and search for libxorg', i get no entries, so it looks like the package is not on my installation cds either (i have only cd 1,2 and 3, downloaded from the web)

regards,
guy24x

__J 03-05-2005 04:54 AM

Re: wine: x development files not found...
 
Quote:

Originally posted by guy24x
hi,


I read somewhere that i will need to install the libxorg-x11-devel package. Is this correct? And do I have to install the same version as i currently have (6.7.0), or can i install the latest version found on the Xorg site (www.x.org)?

I can install Wine via the rpm, but i want to learn how to compile from source, so all this experimentation ;)

btw, in my /usr/X11R6 directory, i do have the bin, include, lib and man directories...does that mean i have the x11 sources?

that is the package you need. You have to get the same version you have ( the 6.7.0), otherwise, anything changed in the includes might cause you problems.

Now on the xorg site, are you talking about the source itself? for what you need to do, this will not help you. The source is for compiling Xorg.

From the tone of your post, it sounds like you do not understand exactly why you are getting this error. Rpm based distro's ( and some others, like debian) choose to split thier packages ( mostly libraries, but some others too) into two parts. The first part is the actual component itself, like the gtk+ libraries needed to run programs. The second part is the development section of the package, like the gtk+ headers and any scripts or pkg-config files needed to compile against gtk+. So for example, if wine wants to link against libpng, you will need libpng-xxx-devel to compile against it. Compiling from source on an rpm distro can be a nightmare if you are new to it, so keep those installation cd's handy cause I'm sure you will be searching for a few things very soon.....


The includes you need will be installed to /usr/X11R6/include/X11 after you install the Xorg-devel package.

jiml8 03-05-2005 04:59 AM

As a further comment, you would do well to install all devel packages. That will save you from having the problem going forward.


All times are GMT -5. The time now is 04:06 AM.