Click to See Complete Forum and Search --> : Weird Errors During WineX Install!!!
Fifthkiller
09-28-2002, 04:38 PM
../../include/wine_gl.h:31:20: GL/glu.h: No such file or directory
make[2]: *** [caps.o] Error 1
make[2]: Leaving directory'/home/wei/wine/dlls/d3dgl
make[1]: *** [d3dgl/libd3dgl.so] Error 2
make[1]: Leaving Directory 'home/wei/wine/dlls'
make: *** [dlls] Error 2
Could someone tell me what I should do? Thanks
By the way I am running mandrake 8.2
bwkaz
09-28-2002, 05:03 PM
What video card do you use? If an nVidia one, then copy /usr/share/doc/NVIDIA_GLX-1.0/glu.h to /usr/include/GL/glu.h (as root). This is the file it's looking for.
If you aren't using an nVidia card, then install Mesa-devel.
i'm geting this error also. i tried your thing bwkaz but there is no glu.h in /usr/share/doc/NVIDIA_GLX-1.0/
Fifthkiller
09-28-2002, 06:11 PM
where do I get mesa devel?
bwkaz
09-28-2002, 07:52 PM
Oops, my mistake. I was thinking glx.h, not glu.h. Anyway, it also isn't in /usr/share/doc/NVIDIA_GLX-1.0/, it's in include/GL under that same directory. But you're right, there's no glu.h.
And I seem to be batting about zero with this post... glu.h isn't owned by mesa-devel, it's owned by XFree86-devel. This is on my system, anyway (where -devel packages don't exist, but it's the same idea). Try installing XFree86-devel, it should be on your distro's CDs somewhere.
rick420
09-28-2002, 08:11 PM
You need to install GL libs and GLU libs. mesa-devel also I think. Just search your cds and install all the GLU and GL stuff you see and you should be ok
Fifthkiller
09-29-2002, 01:51 AM
Now whenever i am trying to run wine it is saying the libntdll.so is not found, but i edited the ldconf to a directory where it has the lib.... anyone? please.. :(
bwkaz
09-29-2002, 09:09 AM
Does an ldconfig (as root) help?
I'm getting some pretty funky compiler errors too. Being a newb, I don't really know what to make of them...
I grabbed the last line before the failure, and here it is:
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o comdlg32.spec.o comdlg32.spec.c
comdlg32.spec.c:8964: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[2]: *** [comdlg32.spec.o] Error 1
make[2]: Leaving directory `/root/wine/dlls/commdlg'
make[1]: *** [commdlg/libcomdlg32.so] Error 2
make[1]: Leaving directory `/root/wine/dlls'
make: *** [dlls] Error 2
Compilation failed, aborting install.
Thanks for any help you can provide.
bwkaz
09-29-2002, 03:34 PM
hmm... a segfault in the compiler, that's always good... :rolleyes:
Ignoring the fact that this is an entirely different problem, does the compilation process always stop on the same file? Does it always fail when trying to compile comdlg.spec.c?
I would suspect not, and if it stops in random places, then you probably are either overclocking your CPU to a point that it can't handle, or you are overclocking your memory to a point that it can't handle, or your memory is just either going bad or wasn't really designed for its specified clock speed (PC2400 being sold as PC2700 is not unheard-of).
If it always fails in the same place, then what does gcc -v tell you? I would guess that in that case, Mandrake has patched gcc in a way that makes it not compile software properly, so I'd need to see the patchlevel.
Damn that can't be good. I haven't overclocked anything, and I literally built this computer from pieces myself, so that (sort of) rules out hardware overclocking problems. As for the guys I bought the memory from... well... I don't know.
What is a segfault anyway? You can be technical, for the most part I can pick up on what people are saying.
Is it possible that I have screwed up the process by installing codeweaver's wine, then uninstalled it, then tried to compile this? I'm not sure how sophisticated mandrake's software removal function is, so I don't know if it properly cleaned up. Still, I highly doubt poor cleanup can prevent a compilation, but at this point I am ready to accept just about anything (especially the fact that I really don't know much about the nity-grity of compilation).
Anyway...
Haven't tried compiling again so I don't know what will happen.
...[goes off and tries compiling again]...
Well gee whiz. It worked... except for one thing...
Preparing to install default Wine registry entries...
sed: read error on {Unknown file pointer}: Is a directory
Installing default Wine registry entries...
programs/regapi/regapi: error while loading shared libraries: libntdll.so: canno
t open shared object file: No such file or directory
Registry install failed.
Thanks for your help anyway. I have a feeling this will be not too hard to fix.
Hmm... I must be the kind of person that the 'know what they are doing' people really hate. I screwed up. I compliled winex over codeweavers wine and I need to clean up. The wine server isn't even working anymore [geeze, they need more smilies]. Is cleaning up in linux as easy as I hope it is (deleting the files). I have had bad experiences in windows deleting the files, and then having to rummage through the registry to get rid of stuff (which wasn't incredibly hard, just annoying). Is there something similar to the windows registry that I need to clean up in Linux?
If cleaning up is really hard, I wouldn't mind a link to a general 'clean up FAQ' or step by step instructions :D
Gee whiz. I don't even know what files to delete. Time to go through the documentation :( .
bwkaz
09-29-2002, 07:11 PM
Nope, there is no registry. All configuration is human-readable text files, and Wine doesn't have any of those (except in your home directory, but they're all in one place).
If you specified a prefix other than /usr/local when you ran Wine's configure script, replace /usr/local with that in the following file.
Attached are the files that winex installed on my machine anyway... check through /usr/local/lib, /usr/local/include, and /usr/local/bin, and if there are other files there but you haven't installed anything else from source, then you can *probably* delete them.
Edit: you'll also want to rm -rf ~/.wine to get rid of the stuff in your home directory.
Edit again: you can also try to make uninstall in the Wine tree, which will delete the files it tries to install. There's also a segfault FAQ here:
http://www.bitwizard.nl/sig11/
Wow that's a big help. I can finally feel like I am getting a clean install - for one reason. After clearing out everything (I think make uninstall dealt with most of it) I now get a message that there is no configuration file. I'm fine with that, because I know that there is a sample one that I just need to copy from CVS download wine directory. I think I can take it from here. But, before I go manually changing configuration files, I think there may be a way to get wine to guide me step by step through the process and edit the file as needed - when I get the no configuration file error, a thing pops up in gmessage. I am using gmessage because Mandrake does't come with X message, and I just followed someone else's instructions on how to replace references to one with the other. However, the message tells me to click below to create a config file. I don't get anything to click on.
If there is a quick program that I can run to do most of the directory creation and config file tweaking for me that would be great, but it would be even better if I knew where it was :rolleyes: . I can't thank you enough, your help has been sooooo uh... helpful.
bwkaz
09-29-2002, 09:26 PM
You're welcome!
There's a script that handles configuring (but AFAIK only with standard options... could be wrong though) if it hasn't been done, compiling if that hasn't been done, installing if that hasn't been done, and setting up a config file for the user. From the root of the wine source tree, do a ./tools/wineinstall as the user that will end up running wine.