Page 7 of 7 FirstFirst ... 567
Results 61 to 70 of 70

Thread: HOWTO: Compile wine in amd64

  1. #61
    Join Date
    Nov 2005
    Location
    Melbourne, Australia
    Beans
    28
    Distro
    Edgy Eft Testing

    Re: HOWTO: Compile wine in amd64

    Quote Originally Posted by TerryB
    I get up to this step "make depend && make" and I get this error everytime:

    tdll -L../../libs -lwine -L../../libs/unicode -lwine_unicode /usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s -L../../libs/port -lwine_port -L/lib32/
    ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.4ajp1s.o) is not supported
    winebuild: ld -m elf_i386 -r failed with status 256
    winegcc: ../../tools/winebuild/winebuild failed.
    make[2]: *** [gdi32.dll.so] Error 2
    make[2]: Leaving directory `/home/brillt/tmp/wine-0.9.12~winehq1.orig/dlls/gdi'
    make[1]: *** [gdi] Error 2
    make[1]: Leaving directory `/home/brillt/tmp/wine-0.9.12~winehq1.orig/dlls'
    make: *** [dlls] Error 2

    I've tried a number of configure commands listed in this thread and I still get the same result.
    You need to install the 32-bit version of libicu, like you did with the other 32-bit libraries. But if you are using Breezy, this error is insoluble.

  2. #62
    Join Date
    Aug 2006
    Beans
    7

    Smile Re: HOWTO: Compile wine in amd64

    É isso ai...Pra mim valeu, funfo legal.

    Ubuntu rulez.... 64Bit's

    It's good, very easy.

  3. #63
    Join Date
    Oct 2005
    Location
    Wellington, NZ
    Beans
    272
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Compile wine in amd64

    I've found that adding

    ln -s libfreetype.so.6 libfreetype.so
    ln -s libz.so.1 libz.so

    to the symlinks in /usr/lib32 will compile freetype support.



  4. #64
    Join Date
    Oct 2005
    Location
    Wellington, NZ
    Beans
    272
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Compile wine in amd64

    Quote Originally Posted by dawp View Post
    i did a fresh install now i'm getting
    Code:
                                   :/home/dan/tmp/wine/dlls/opengl32/wgl.c:1063: undefined reference to `gluTessEndPolygon'
    :/home/dan/tmp/wine/dlls/opengl32/wgl.c:1072: undefined reference to `gluDeleteTess'
    :/home/dan/tmp/wine/dlls/opengl32/wgl.c:1029: undefined reference to `gluTessVertex'
    :/home/dan/tmp/wine/dlls/opengl32/wgl.c:1058: undefined reference to `gluTessEndContour'
    collect2: ld returned 1 exit status
    winegcc: gcc-3.4 failed.
    how do i get the pakage for libxrender ?

    i tried
    sudo apt-get install build-essential libxrender-i386
    I've fixed this issue as well. The problem does not involve xrender, which is in fact installed correctly. The issue is an omission in the opengl32.dll makefile. It can be fixed by the following:
    1. Link libGLU
    Code:
    cd /usr/lib32
    sudo ln -s libGLU.so.1 libGLU.so
    2. Edit the Makefile
    Code:
    cd /<wine source dir>/dlls/opengl32
    nano Makefile
    Append the following (exactly!) to EXTRALIBS:
    Code:
    -lGLU
    Ctrl X and Y to save the Makefile.
    This compiles libGLU.so into opengl32.dll and ensures the availablilty of the OpenGL utilities.

    Have a look at this bug for details.

    Now I can run WoW on my own Wine cross-compile!

    At some stage it would be nice if all this information was rolled up into an ia32-libs-wine-dev package or somesuch so that all we'd need to do is install the build deps and run the compile.



  5. #65
    Join Date
    Nov 2004
    Location
    Brisbane, Australia
    Beans
    48

    Re: HOWTO: Compile wine in amd64

    I solved the libsicuuc.a no compile bug thanks to this post here:
    http://groups.google.com/group/comp....e0967ed0e138ad

    This re-creates / compiles the icu libs. So I followed the instructions there and after some trial and error I to managed to create the libsicuuc.a and put it in lib32.

    I then compiled wine using a mixture of psychosushi and Wine's suggested command

    LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" CC="gcc-3.4 -m32" ./configure

    Hope this helps those with invalid libsicuuc.a files as per error above.

  6. #66
    Join Date
    Oct 2005
    Location
    Wellington, NZ
    Beans
    272
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Compile wine in amd64

    Quote Originally Posted by mdr View Post
    I solved the libsicuuc.a no compile bug thanks to this post here:
    http://groups.google.com/group/comp....e0967ed0e138ad

    This re-creates / compiles the icu libs. So I followed the instructions there and after some trial and error I to managed to create the libsicuuc.a and put it in lib32.

    I then compiled wine using a mixture of psychosushi and Wine's suggested command

    LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" CC="gcc-3.4 -m32" ./configure

    Hope this helps those with invalid libsicuuc.a files as per error above.
    Well spotted. I had been getting round this by removing my 64 bit libicu34-dev and symlinking the /usr/lib32 dependencies to /usr/lib, but this is a much neater way.

    I think if you're installing the 32 bit dependencies the way that psychosushi recommends, then you don't need to build your own libsicu, just change the gdi Makefile as the guide recommends.

    I've also found that if you have libc-i386-dev installed, and all the 32 bit libs in the right place, that a simple ./configure is all thats required.
    Last edited by tokyovigilante; September 15th, 2006 at 06:21 AM.



  7. #67
    Join Date
    Oct 2005
    Location
    Wellington, NZ
    Beans
    272
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Compile wine in amd64

    I've got Wine 0.9.21 and hopefully 22 to compile with gcc 4 by using the -fno-stack-protector CFLAG - ie

    CFLAGS="-fno-stack-protector" ./configure

    This avoids the segmentation faults when Wine is build with gcc 4.
    Last edited by tokyovigilante; September 30th, 2006 at 12:22 PM.



  8. #68
    Join Date
    Sep 2006
    Beans
    6
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Compile wine in amd64

    My version of wine is Wine 0.9.22
    Now when i try to run the following ,I get a message like this.




    nandu@nandu-desktop:~$ wine --version
    Wine 0.9.22
    nandu@nandu-desktop:~$
    nandu@nandu-desktop:~$ cd Windows\ media\ player\ 10/
    nandu@nandu-desktop:~/Windows media player 10$ wine Setup\ 10.exe
    Warning: Language 'en_IN' was not recognized, defaulting to 'en_US'.
    Warning: Language 'en_IN' was not recognized, defaulting to 'en_US'.
    Warning: Language 'en_IN' was not recognized, defaulting to 'en_US'.
    X Error of failed request: BadAlloc (insufficient resources for operation)
    Major opcode of failed request: 142 (GLX)
    Minor opcode of failed request: 3 (X_GLXCreateContext)
    Serial number of failed request: 14
    Current serial number in output stream: 15


    Iam a newbie and what should I do?

  9. #69
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: HOWTO: Compile wine in amd64

    Nice How-to



    This thread has been added to the UDSF wiki.



    bodhi.zazen
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  10. #70
    Join Date
    Apr 2007
    Location
    Boston, MA
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Compile wine in amd64

    I have been trying to compile wine all day. I'm using a downloaded source folder for the simple fact that the .deb doesn't work. Neither does the source. When I configure it tells me that there is "No openGL library found on this system", and "FreeType development files not found."

    The config.log shows multiple files with this format: "/usr/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11"

    Also, when running wine after a make and install regardless of the errors, I get this message: "The X11 driver is missing. Check your build!"

    Can someone please give me some insight. I am about to give up, as not one single fix I've tried so far has put a dent in any of these problems. Thanks for any assistance you can give!

Page 7 of 7 FirstFirst ... 567

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •