Solved

I can not install Wine,please help me.

Posted on 1998-06-27
5
278 Views
Last Modified: 2013-12-06
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
Comment
Question by:atu
  • 2
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
aecooper earned 100 total points
ID: 1637444
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
 

Author Comment

by:atu
ID: 1637445
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
 
LVL 1

Expert Comment

by:aecooper
ID: 1637446
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
 

Expert Comment

by:openGL
ID: 1637447
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
 

Author Comment

by:atu
ID: 1637448
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now