<span>On 8/8/07, Bryan DeGrendel &lt;<a href="mailto:sirnuke@gmail.com">sirnuke@gmail.com</a>&gt; wrote:<br>&gt; On 8/8/07, Walter Graf &lt;<a href="mailto:grafw@umich.edu">grafw@umich.edu</a>&gt; wrote:<br>&gt; &gt; On 8/8/07, Bryan DeGrendel &lt;
<a href="mailto:sirnuke@gmail.com">sirnuke@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; On 8/7/07, Walter Graf &lt;<a href="mailto:grafw@umich.edu">grafw@umich.edu</a>&gt; wrote:<br>&gt; &gt; &gt; &gt; Hello, all,<br>&gt; &gt; &gt; &gt; I&#39;m trying to get Wine running on some Red Hat boxes at my University
<br>&gt; &gt; (don&#39;t<br>&gt; &gt; &gt; &gt; worry, I have permission!) ... But, I don&#39;t have any root access to the<br>&gt; &gt; &gt; &gt; boxes, and I&#39;m limited to installing on my shared (AFS) space. In any<br>
&gt; &gt; case,<br>&gt; &gt; &gt; &gt; I&#39;d probably want it to run from my user space anyways, so that its<br>&gt; &gt; &gt; &gt; accessible from all boxes on the network.<br>&gt; &gt; &gt; &gt; Some required information, probably:
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; dc3nep68% cat /proc/version<br>&gt; &gt; &gt; &gt; Linux version 2.6.9-42.0.10.ELsmp<br>&gt; &gt; &gt; &gt; (<a href="mailto:brewbuilder@ls20-bc1-14.build.redhat.com">brewbuilder@ls20-bc1-14.build.redhat.com
</a>) (gcc version<br>&gt; &gt; &gt; &gt; 3.4.6 20060404 (Red Hat 3.4.6-3 )) #1 SMP Fri Feb 16 17:13:42 EST 2007<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; When I log in, it greets me with:<br>&gt; &gt; &gt; &gt; CAEN Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I know, these boxes are pretty old. There&#39;s not much I can do about<br>&gt; &gt; that.<br>&gt; &gt; &gt; &gt; I tried to do an RPM install using --prefix=[somewhere in my AFS user
<br>&gt; &gt; &gt; &gt; space], but it tells me &quot;wine is not relocatable.&quot; (I very well may have<br>&gt; &gt; &gt; &gt; done something wrong, as I&#39;m not a RH guy. If anyone has suggestions on<br>&gt; &gt; this
<br>&gt; &gt; &gt; &gt; front, I&#39;d gladly accept them, too!) So, I figured I&#39;d have a go at<br>&gt; &gt; &gt; &gt; compiling. So,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; ./configure --prefix=[a folder in my AFS space] --without-opengl
<br>&gt; &gt; &gt; &gt; goes fine<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; make depend<br>&gt; &gt; &gt; &gt; no problems<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; make<br>&gt; &gt; &gt; &gt; goes ok for a bit, then (starting form the topmost error I can find):
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; gcc -m32 -c -I. -I. -I../../include -I../../include<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; -DINCLUDEDIR=&quot;\&quot;/afs/engin.umich.edu/u/g/r/grafw/Private/wine/include/wine\&quot;&quot;
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; -DDLLDIR=&quot;\&quot;/afs/engin.umich.edu/u/g/r/grafw/Private/wine/lib/wine\&quot;&quot;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; -DLIBDIR=&quot;\&quot;/afs/engin.umich.edu/u/g/r/grafw/Private/wine/lib\&quot;&quot;
<br>&gt; &gt; &gt; &gt; -DDLLFLAGS=&quot;\&quot;-D_REENTRANT -fPIC\&quot;&quot; -DLDDLLFLAGS=&quot;\&quot;-shared<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; -Wl,-Bsymbolic,-z,defs,-init,__wine_spec_init,-fini,__wine_spec_fini\&quot;&quot;
<br>&gt; &gt; &gt; &gt; -DAS=&quot;\&quot;as --32\&quot;&quot; -DCC=&quot;\&quot;gcc -m32\&quot;&quot; -DCPP=&quot;\&quot;cpp\&quot;&quot; -DCXX=&quot;\&quot;g++\&quot;&quot;<br>&gt; &gt; &gt; &gt; -DLD=&quot;\&quot;ld -m elf_i386\&quot;&quot;
<br>&gt; &gt; -DPRELINK=&quot;\&quot;/usr/sbin/prelink\&quot;&quot;<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement<br>&gt; &gt; &gt; &gt; -Wwrite-strings -Wpointer-arith&nbsp;&nbsp;-g -O2&nbsp;&nbsp;-o 
winegcc.o winegcc.c<br>&gt; &gt; &gt; &gt; cc1: error: invalid option `32&quot;&#39;<br>&gt; &gt; &gt; &gt; cc1: error: missing argument to &quot;-m&quot;<br>&gt; &gt; &gt; &gt; cc1: error: unrecognized command line option &quot;-f32&quot;&quot;
<br>&gt; &gt; &gt; &gt; make[2]: *** [ winegcc.o] Error 1<br>&gt; &gt; &gt; &gt; make[2]: Leaving directory<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; `/afs/engin.umich.edu/u/g/r/grafw/Private/wine-0.9.42/tools/winegcc&#39;<br>&gt; &gt; &gt; &gt; make[1]: *** [winegcc] Error 2
<br>&gt; &gt; &gt; &gt; make[1]: Leaving directory<br>&gt; &gt; &gt; &gt; `/afs/engin.umich.edu/u/g/r/grafw/Private/wine-0.9.42<br>&gt; &gt; &gt; &gt; /tools&#39;<br>&gt; &gt; &gt; &gt; make: *** [tools] Error 2<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; I&#39;ve tried compiling with several versions of Wine (the exact error<br>&gt; &gt; above is<br>&gt; &gt; &gt; &gt; from 0.9.42, but I also got the same thing with 0.9.41 an 0.9.12)...<br>&gt; &gt; &gt; &gt; That&#39;s about it. Does anybody know what&#39;s going on here? Do I need to
<br>&gt; &gt; give<br>&gt; &gt; &gt; &gt; any other information?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thanks :D<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Walter<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; &gt; wine-users mailing list<br>&gt; &gt; &gt; &gt; <a href="mailto:wine-users@winehq.org">wine-users@winehq.org</a><br>&gt; &gt; &gt; &gt; <a href="http://www.winehq.org/mailman/listinfo/wine-users">http://www.winehq.org/mailman/listinfo/wine-users
</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hello.&nbsp;&nbsp;I spend some time get a half-decent music player to compile on<br>&gt; &gt; &gt; my AFS space a few months ago.&nbsp;&nbsp;A few notes:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; 1. I believe all CAEN computers are 64-bit.&nbsp;&nbsp;-m32 flag means compile a
<br>&gt; &gt; &gt; 32-bit program for a 64-bit OS, if I understand correctly.&nbsp;&nbsp;It looks<br>&gt; &gt;&nbsp;&nbsp;&gt; like you need the glibc-devel 32-bit package for that to work [1].<br>&gt; &gt; &gt; 2. There weren&#39;t many dev libraries installed on the box I was on.&nbsp;&nbsp;I
<br>&gt; &gt; &gt; guess if ./configure ran okay there aren&#39;t any show stopping problems,<br>&gt; &gt; &gt; but you might want to try the --verbose flag to see what you are<br>&gt; &gt; &gt; missing.<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; I don&#39;t have any experience with WINE on 64-bit but you might want to<br>&gt; &gt; &gt; read this [2] page.<br>&gt; &gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;&gt; Good luck,<br>&gt; &gt; &gt; Bryan DeGrendel<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; [1]<br>&gt; &gt; <a href="http://www.redhat.com/archives/fedora-devel-list/2005-January/msg00831.html">http://www.redhat.com/archives/fedora-devel-list/2005-January/msg00831.html</a><br>&gt; &gt; &gt; [2] 
<a href="http://wiki.winehq.org/WineOn64bit">http://wiki.winehq.org/WineOn64bit</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Thanks for the reply..!<br>&gt; &gt; I certainly hadn&#39;t considered that these machines were 64 bit.. When
<br>&gt; &gt; compiling your music player, did you also end up using glibc-devel? How did<br>&gt; &gt; you get this working (that is, without root access)? I haven&#39;t had any luck<br>&gt; &gt; so far.<br>&gt; <br>&gt; My music player didn&#39;t require to be compiled under 32-bit.&nbsp;&nbsp;I did
<br>&gt; have to install a few libraries to my own home directory to get it to<br>&gt; work (the program&#39;s configure script allowed me to set the location<br>&gt; for each individual library and headers).&nbsp;&nbsp;It was quite a bit of work,
<br>&gt; and I only managed to get the ncurses UI to work.&nbsp;&nbsp;The music player<br>&gt; (Zinf, for the record) is a very simple piece of software.<br>&gt; <br>&gt; ./configure --help give this:<br>&gt; &nbsp;&nbsp;--enable-win64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;build a Win64 emulator on AMD64 (won&#39;t run
<br>&gt; Win32 binaries)<br>&gt; <br>&gt; Which should hopefully get around the lack of 32-bit libraries, at the<br>&gt; price only being able to run 64-bit windows software.<br>&gt; <br>&gt; You could potentially install the glibc-devel-i386 package to your
<br>&gt; home directory.&nbsp;&nbsp;However, this probably isn&#39;t a fairly simple case of<br>&gt; setting the include path.<br>&gt; <br>&gt; Another option is to manually extract the RPM [3].<br>&gt; <br>&gt; &gt; And, good call on the ./compile --verbose ... it looks like I&#39;ll be missing
<br>&gt; &gt; quite a few things, but nothing that I really need, I think. I&#39;m currently<br>&gt; &gt; only planning on using one program through Wine.<br>&gt; &gt;<br>&gt; &gt; Thanks again,<br>&gt; &gt;<br>&gt; &gt; Walter
<br>&gt; &gt;<br>&gt; <br>&gt; Sincerely,<br>&gt; Bryan DeGrendel<br>&gt; <br>&gt; [3] <a href="http://www.ideaspace.net/users/wkearney/archives/entries/000568.html">http://www.ideaspace.net/users/wkearney/archives/entries/000568.html
</a><br>&gt; <br><br>Again, thanks for the reply..!<br><br>Manually extracting the RPM sounded like the best idea to me. The extracting part went without problem, however, when I try to run wine, it shouts:<br><br>usr/bin/wine: error while loading shared libraries: 
libwine.so.1: cannot open shared object file: No such file or directory<br><br>Fine, I think. I&#39;ve got this file in ~/Private/wine/usr/lib/ .. so I&#39;ll run<br></span>strace -o ~/error.log usr/bin/wine <br>to see where its trying to pull this file, and symlink it..!. Almost needless to say, it tries a bunch of different places, mostly around /usr/lib/ .. but they&#39;re all places where I&#39;d need root access to stick a symlink. I&#39;ve hit a wall on this front.
<br><br><br>So, lets try compiling. Installing <span>glibc-devel-i386 to my home doesn&#39;t sound like something I can really accomplish, so, l</span>ike you suggested, this time I ran ./configure --enable-win64 .. and this went fine. Again, make depend also went fine. But, make gave me the following (different) error which I&#39;ve not been able to trace down.
<br><br><span>gcc -c -I. -I. -I../../include -I../../include&nbsp; -D__WINESRC__ -DWINE_UNICODE_API=&quot;&quot; -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith&nbsp; -g -O2 -D__x86_64__&nbsp; -o 
casemap.o casemap.c<br>In file included from ../../include/windef.h:234,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../include/wine/unicode.h:26,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from casemap.c:4:<br>../../include/winnt.h:619: error: width of `NextEntry&#39; exceeds its type
<br>../../include/winnt.h:622: error: width of `Reserved&#39; exceeds its type<br>../../include/winnt.h:627: error: width of `Sequence&#39; exceeds its type<br>../../include/winnt.h:631: error: width of `NextEntry&#39; exceeds its type
<br>In file included from ../../include/windef.h:234,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../include/wine/unicode.h:26,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from casemap.c:4:<br>../../include/winnt.h:831:1: warning: &quot;CONTEXT_CONTROL&quot; redefined
<br>../../include/winnt.h:786:1: warning: this is the location of the previous definition<br>../../include/winnt.h:832:1: warning: &quot;CONTEXT_INTEGER&quot; redefined<br>../../include/winnt.h:787:1: warning: this is the location of the previous definition
<br>../../include/winnt.h:833:1: warning: &quot;CONTEXT_SEGMENTS&quot; redefined<br>../../include/winnt.h:788:1: warning: this is the location of the previous definition<br>../../include/winnt.h:834:1: warning: &quot;CONTEXT_FLOATING_POINT&quot; redefined
<br>../../include/winnt.h:789:1: warning: this is the location of the previous definition<br>../../include/winnt.h:835:1: warning: &quot;CONTEXT_DEBUG_REGISTERS&quot; redefined<br>../../include/winnt.h:790:1: warning: this is the location of the previous definition
<br>../../include/winnt.h:836:1: warning: &quot;CONTEXT_FULL&quot; redefined<br>../../include/winnt.h:791:1: warning: this is the location of the previous definition<br>../../include/winnt.h:952: error: conflicting types for &#39;CONTEXT&#39;
<br>../../include/winnt.h:793: error: previous declaration of &#39;CONTEXT&#39; was here<br>make[2]: *** [casemap.o] Error 1<br>make[2]: Leaving directory `/afs/engin.umich.edu/u/g/r/grafw/Private/wine-0.9.42/libs/wine&#39;
<br>make[1]: *** [wine] Error 2<br>make[1]: Leaving directory `/afs/engin.umich.edu/u/g/r/grafw/Private/wine-0.9.42/libs&#39;<br>make: *** [libs] Error 2<br><br><br>Looks kindof creepy to me, I&#39;m not enough of a haxxor to know what anx of it means. :P
<br>Any more help (on either problem) would be very appreciated. <br><br>Thanks again.<br><br>Walter<br></span>