I apologize, but it seems only half the mail was sent! Anyway, Here is what I wrote:<br>
<br>
Hi!<br>

<br>

I've installed Ubuntu 5.10 (Breezy Badger) on an amd64 machine. I
wanted to install wine and noticed that it is not packaged for amd64,
but I did see the comments on the bottom of this page
<a href="http://winehq.org/site/download-deb" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://winehq.org/site/download-deb</a>, which explain how to build wine
from source. I tried this, but ran into a lot of problems.<br>

<br>

I got as far as running 'sudo apt-get --build source wine', and it spits out:<br>

<br>

checking for C compiler default output file name... configure: error: C
compiler cannot create executables See `config.log' for more details.
make: *** [config.status] Error 77 Build command 'cd wine-0.9.1-winehq
&amp;&amp; dpkg-buildpackage -b -uc' failed. E: Child process failed<br>

<br>

I solved this by installing the ia32-libs, ia32-libs-dev and ia32-libs-gtk packages.<br>

<br>

However the compilation failed again with:<br>

<br>

/usr/bin/ld: skipping incompatible /usr/lib/libXext.a when searching
for -lXext /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit
status winegcc: gcc failed. make[3]: *** [<a href="http://ddraw.dll.so/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ddraw.dll.so</a>] Error 2
make[3]: Leaving directory `/home/drimbar/wine-0.9.1-winehq/dlls/ddraw'
make[2]: *** [ddraw] Error 2 make[2]: Leaving directory
`/home/drimbar/wine-0.9.1-winehq/dlls' make[1]: *** [dlls] Error 2
make[1]: Leaving directory `/home/drimbar/wine-0.9.1-winehq' make: ***
[build-stamp] Error 2 Build command 'cd wine-0.9.1-winehq &amp;&amp;
dpkg-buildpackage -b -uc' failed. E: Child process failed<br><br>
I realized that the ia32-libs did not include the required 32-bit X
libraries. I downloaded the libXext package and manually extracted
libXext.so.6.4.1 to /usr/lib32, and created a symlink at
/usr/lib32/libXext.so. I did the same for libXxf86dga, libXxf86vm,
libdrm and libX11.<br>
<br>
I also encountered another quirk, and needed to install libxt-dev,
because the header file /usr/include/X11/Intrinsic.h was missing. The
Wine package should probably depend on libxt-dev.<br>
<br>
Then, the compilation failed with:<br>
<br>
../../tools/winegcc/winegcc -B../../tools/winebuild -shared
./gdi32.spec dispdib.spec.o gdi.exe.spec.o wing.spec.o bidi16.o
dispdib.o env.o gdi16.o wing.o bidi.o bitblt.o bitmap.o brush.o
clipping.o dc.o dib.o driver.o enhmetafile.o enhmfdrv/bitblt.o
enhmfdrv/dc.o enhmfdrv/graphics.o enhmfdrv/init.o enhmfdrv/mapping.o
enhmfdrv/objects.o font.o freetype.o gdi_main.o gdiobj.o icm.o
mapping.o metafile.o mfdrv/bitblt.o mfdrv/dc.o mfdrv/graphics.o
mfdrv/init.o mfdrv/mapping.o mfdrv/objects.o mfdrv/text.o painting.o
palette.o path.o pen.o printdrv.o region.o version.res -o <a href="http://gdi32.dll.so">gdi32.dll.so</a>
-L../../dlls -L../../dlls/advapi32 -L../../dlls/kernel32
-L../../dlls/ntdll -ladvapi32 -lkernel32 -lntdll -L../../libs/wine
-lwine -L../../libs/unicode -lwine_unicode /usr/lib/libsicuuc.a
/usr/lib/libsicudata.a -lstdc++ -lgcc_s -L../../libs/port -lwine_port<br>
ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib/libsicuuc.a(<a href="http://ubidi.ao">ubidi.ao</a>)) to format elf32-i386 (gdi32.Q3Qz7R.o)
is not supported winebuild: ld -m elf_i386 -r failed with status 256<br>
winegcc: ../../tools/winebuild/winebuild failed.<br>
make[2]: *** [<a href="http://gdi32.dll.so">gdi32.dll.so</a>] Error 2<br>
make[2]: Leaving directory `/home/drimbar/wine-0.9.1-winehq/dlls/gdi'<br>
make[1]: *** [gdi] Error 2<br>
make[1]: Leaving directory `/home/drimbar/wine-0.9.1-winehq/dlls'<br>
make: *** [dlls] Error 2    Compilation failed, aborting install.<br>
<br>
Has anyone encountered this problem? Better yet, has anyone succesfully built Wine on Ubuntu amd64?<br>
<br>
In any case, I think there should be some mention of this stuff on the
&quot;Wine for Debian based distributions&quot; page:
<a href="http://winehq.org/site/download-deb">http://winehq.org/site/download-deb</a><br>
<br>
Thanks.<br>
<br><div><span class="gmail_quote">On 11/28/05, <b class="gmail_sendername">Dustin Navea</b> &lt;<a href="mailto:speeddymon@gmail.com">speeddymon@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi.&nbsp;&nbsp;You need to find out which X server you are using (Xorg or<br>XFree86), and the devel package for it.&nbsp;&nbsp;Best bet is to find your Ubuntu<br>CD(s) and look thru there for XFree* or Xorg*, install anything<br>mentioning devel that starts with either of those..
<br><br>Dustin<br><br>James Trotter wrote:<br>&gt; Hi!<br>&gt;<br>&gt; I've installed Ubuntu 5.10 (Breezy Badger) on an amd64 machine. I wanted<br>&gt; to install wine and noticed that it is not packaged for amd64, but I did
<br>&gt; see the comments on the bottom of this page<br>&gt; <a href="http://winehq.org/site/download-deb">http://winehq.org/site/download-deb</a>, which explain how to build wine<br>&gt; from source. I tried this, but ran into alot of problems.
<br>&gt;<br>&gt; I got as far as running 'sudo apt-get --build source wine', and it spits<br>&gt; out:<br>&gt;<br>&gt; checking for C compiler default output file name... configure: error: C<br>&gt; compiler cannot create executables See `config.log' for more details.
<br>&gt; make: *** [config.status] Error 77 Build command 'cd wine-0.9.1-winehq<br>&gt; &amp;&amp; dpkg-buildpackage -b -uc' failed. E: Child process failed<br>&gt;<br>&gt; I solved this by installing the ia32-libs, ia32-libs-dev and
<br>&gt; ia32-libs-gtk packages.<br>&gt;<br>&gt; However the compilation failed again with:<br>&gt;<br>&gt; /usr/bin/ld: skipping incompatible /usr/lib/libXext.a when searching for<br>&gt; -lXext /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit
<br>&gt; status winegcc: gcc failed. make[3]: *** [<a href="http://ddraw.dll.so">ddraw.dll.so</a><br>&gt; &lt;<a href="http://ddraw.dll.so">http://ddraw.dll.so</a>&gt;] Error 2 make[3]: Leaving directory<br>&gt; `/home/drimbar/wine-
0.9.1-winehq/dlls/ddraw' make[2]: *** [ddraw] Error<br>&gt; 2 make[2]: Leaving directory `/home/drimbar/wine-0.9.1-winehq/dlls'<br>&gt; make[1]: *** [dlls] Error 2 make[1]: Leaving directory<br>&gt; `/home/drimbar/wine-0.9.1-winehq
' make: *** [build-stamp] Error 2 Build<br>&gt; command 'cd wine-0.9.1-winehq &amp;&amp; dpkg-buildpackage -b -uc' failed. E:<br>&gt; Child process failed<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt;<br></blockquote></div><br>