Solved

I can not install Wine,please help me.

Posted on 1998-06-27
5
287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

687 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