• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

I can not install Wine,please help me.

I had problem when I tried to install wine 980614,While I was compiling it( make depend; make) the error occured:
../include/ts_xlib.h:12:X11/Xlib.h:No such file or directory
make [1]:***[buttin.o] Error1
make[1]:Leaving directory'/home/me/wine-980614/controls'
make:***[controls] error2
So I could not compile it successfully to install it.Could you give me some suggestion to solve that problem,please ?
0
atu
Asked:
atu
  • 2
  • 2
1 Solution
 
aecooperCommented:
The problem is the compiler does not know where the Xlib.h file is.

Do you have the /usr/X11/include/X11 or /usr/X11R6/include/X11 directories? (One is a symbolic link to the other). If so then make sure that the compilation command line (the one with cc on it) has something like -I/usr/X11/include/X11 which will tell the compiler where to look. Do you have X Windows installed?

Having said this I have just compiled and installed this version of Wine successfully myself with no problems.

If none of this gets you going could you give more details; like OS flavour (Slackware/RedHat) version etc.

      Hope this helps,

      Tony.
0
 
atuAuthor Commented:
I checked /usr/X11/include/X11 but that directory does not contain Xlib.h. I installed X windows and I'm using Red hat 5.0.I would like to know where can i get Xlib.h. I have Cd room of Red hat 5.0.Yeah, absolutely I do not have Xlib.h so I think It's the main the reason that I can not compile and install Wine.
0
 
aecooperCommented:
Odd! I am used to Slackware myself and I do have an Xlib.h. Worst comes to the worst I could always email it to you.

When installing XWindows did you get an option similar to `Install X11 developer libraries/files'? If so and you answered no then that's your problem. Header files and libraries are needed for compiling programs, whereas when you run a program all you need are the libraries.

Are there any header files in /usr/X11/include/X11?

You could try:

find / -name Xlib.h -print

which will search all the filesystems for Xlib.h.
0
 
openGLCommented:
Yes, use the glint tool under Red Hat (it's the control panel package manager) to install the development libraries for X11.  Just mount the cdrom, start the package manager and click "availible", then highlight the package you want to install (it should be under X11 somewhere) and click install.  If something goes wrong then check out ftp.xfree86.org and look for the header files there.

0
 
atuAuthor Commented:
I did the search at http://ftpsearch.ntnu.no/ and I downloaded Xlib.h but the same error was occurred, I also join mailing list of Slug(au) and some one has the same problem with me and they also could not install it so I think Wine has some bug ,should be fixed in the next released. I'll try Wabi.Perhaps, I would need to delete this question. Thanks all guys for helping but this is unknown problem so We could not resolve it.
Regards
Mark.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now