Solved

I can not install Wine,please help me.

Posted on 1998-06-27
5
283 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How code a 301 redirect for folder files -> 1 file 2 58
AWS EC2 HTTP & HTTPS 2 45
Connect to CentOS (in a local VMWare VM) using Putty 7 66
expand ext4 on centos 6 5 37
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

832 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