[Bug 12038] New: ./configure error on 64-bit Linux: winex11.drv make fails.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 14 13:12:39 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12038

           Summary: ./configure error on 64-bit Linux: winex11.drv make
                    fails.
           Product: Wine
           Version: 0.9.56.
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: winex11.drv
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: jim.conyngham at amd.com


Created an attachment (id=11384)
 --> (http://bugs.winehq.org/attachment.cgi?id=11384)
Make log

Trying to make wine 0.9.56 from the source package
on a 64-bit SuSE (SLES 10 SP1) Linux system, the build for
dlls/winex11.drv/winex1.drv.so fails.

The problem is that the list of directories on the winegcc command line has
/usr/X11R6/lib64 instead of /usr/X11R6/lib.

Near the top of Makefile,
EXTRALIBS = -L/usr/X11R6/lib64 -lXext -lX11

"lib64" has the 64-bit binaries, which won't link with the 32-bit object
modules.

I'm new to WINE, so I don't totally understand the build process, but it
appears that the Makefile is built on the fly from Makefile.in, which has
the definition:
EXTRALIBS = @X_LIBS@ @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@

Apparently,  @X_LIBS@ comes from the "config.log" file, which contains:
X_LIBS=' -L/usr/X11R6/lib64'

Apparently, this was written by "./configure".  When I re-ran "./configure",
the output contained:
"checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include"

So apparently, the configure utility doesn't handle 64-bit X properly.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list