cyphaw
2010-Mar-31 08:55 UTC
[Wine] compiling wine on ubuntu 9.10 64bit from the repo sources
Hello everybody, I've got a problem with wine and I couldn't find how to solve it (there are solution on similar problems on Internet but none worked for me): I need to install it but I must patch it before. Since I'm on ubuntu, I downloaded the sources from the ubuntu repo (v 1.1.31), I patched it (in fact I modified a line in the file dlls/dinput/mouse.c based on this: http://bugs2.winehq.org/attachment.cgi?id=11303) and tried to compile it. I installed everything needed, and have no warning while running ./configure So then I tried Code: dpkg-buildpackage -rfakeroot -uc -b but I had an error like this one http://forum.winehq.org/viewtopic.php?p=40735&sid=22366368ce7a60e95f7edb4310506b94 Following the thread I removed the --enable-maintainer-mode from configure.ac, but now I have this error: Code: /home/laurent/wine-sources/wine1.2-1.1.31/dlls/winemp3.acm/mpegl3.c:401: undefined reference to `mpg123_feedseek' collect2: ld returned 1 exit status winegcc: x86_64-linux-gnu-gcc failed make[3]: *** [winemp3.acm.so] Error 2 make[3]: Leaving directory `/home/laurent/wine-sources/wine1.2-1.1.31/dlls/winemp3.acm' make[2]: *** [winemp3.acm] Error 2 make[2]: Leaving directory `/home/laurent/wine-sources/wine1.2-1.1.31/dlls' make[1]: *** [dlls] Error 2 make[1]: Leaving directory `/home/laurent/wine-sources/wine1.2-1.1.31' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 and I can't figure out how to solve it. Since the sources are from the repository, it should compile, isn't it? So, if you have the slightest idea, feel free to share it. cyphaw
dimesio
2010-Mar-31 15:18 UTC
[Wine] Re: compiling wine on ubuntu 9.10 64bit from the repo sources
cyphaw wrote:> > Since I'm on ubuntu, I downloaded the sources from the ubuntu repo (v 1.1.31),Why are you trying to compile such an old version?> > > Code: > /home/laurent/wine-sources/wine1.2-1.1.31/dlls/winemp3.acm/mpegl3.c:401: undefined reference to `mpg123_feedseek' > > >Probably this bug: http://bugs.winehq.org/show_bug.cgi?id=20042