Solved

I can not install Wine,please help me.

Posted on 1998-06-27
5
270 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

762 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

9 Experts available now in Live!

Get 1:1 Help Now