You are not logged in.

#1 2010-02-07 00:38:35

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Error when compiling wine

So, I have my 32bit chroot all set up, I installed all the dependencies, then went to install this wine:
http://aur.archlinux.org/packages.php?ID=27298

but after about 15-30 minutes of compiling I get this:

make[2]: Leaving directory `/home/phil/wine-wc/src/wine-1.1.38/programs/winedevice'
make[2]: Entering directory `/home/phil/wine-wc/src/wine-1.1.38/programs/winefile'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/phil/wine-wc/src/wine-1.1.38/programs/winefile'
make[2]: Entering directory `/home/phil/wine-wc/src/wine-1.1.38/programs/winemenubuilder'
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -mwindows winemenubuilder.o       -o winemenubuilder.exe.so  -luuid -lshell32 -lshlwapi -lole32 -luser32 -ladvapi32 -lkernel32  -lwine ../../libs/port/libwine_port.a -Wl,--hash-style=gnu -Wl,--as-needed  
winemenubuilder.o: In function `SaveIconResAsPNG':
winemenubuilder.c:(.text+0xa9d): undefined reference to `png_set_longjmp_fn'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [winemenubuilder.exe.so] Error 2
make[2]: Leaving directory `/home/phil/wine-wc/src/wine-1.1.38/programs/winemenubuilder'
make[1]: *** [winemenubuilder] Error 2
make[1]: Leaving directory `/home/phil/wine-wc/src/wine-1.1.38/programs'
make: *** [programs] Error 2
==> ERROR: Build Failed.
    Aborting...
[phil@fml wine-wc]$

Any ideas, or is the package just bad?

Last edited by Dethredic (2010-02-07 00:51:47)

Offline

#2 2010-02-07 01:08:02

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Error when compiling wine

now you find out why is not updated in our repos smile.

http://old.nabble.com/libpng-dependency … 28353.html

the thing is Luca Bennati said that is fixed by some patch sent but i never found it and i didn't had any motivation to subscribe and ask for clarifications.

Last edited by wonder (2010-02-07 01:08:46)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-02-07 02:10:31

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when compiling wine

wonder wrote:

now you find out why is not updated in our repos smile.

http://old.nabble.com/libpng-dependency … 28353.html

the thing is Luca Bennati said that is fixed by some patch sent but i never found it and i didn't had any motivation to subscribe and ask for clarifications.

Thanks, I sent him an e-mail. I see in your blog that there was recently an update to libpng, so maybe if I try installing an older version it will work?

Offline

#4 2010-02-07 02:46:16

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Error when compiling wine

actually i think it will work if you use libpng14.patch from wine trunk(our svn) but use only the part that modify winemenubuilder's Makefile.in. But on that thread it says that is not intended to link against any libpng so is kinda stupid to apply it. Better lets try it to do it in the right way.

Last edited by wonder (2010-02-07 04:22:06)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-02-07 21:43:59

sctincman
Member
From: CO (USA)
Registered: 2009-04-08
Posts: 85

Re: Error when compiling wine

I tried to do the same thing and ran into the same problem, compilation failing on building winemenubuilder

Did roughly what you said to do, wonder, and got wine to compile for me. Quick test with a game doesn't seem to throw any big errors either tongue

Offline

#6 2010-02-07 22:29:38

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when compiling wine

I actually just used the patch that Luca showed me:
http://source.winehq.org/patches/data/58208

That fixed it for me. I am gonna try the other method for fun while I wait for my game to download.

Offline

#7 2010-02-07 23:00:13

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Error when compiling wine

thanks @Dethredic for looking into this. i'm incorporate the patch right now


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2010-02-07 23:10:23

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Error when compiling wine

@Wonder Luca said something about AJ committing the patch on Monday. I am not 100%, but I assume that AJ is a wine dev and it will get added to the most recent release on Monday, could be wrong though.

Offline

#9 2010-02-07 23:16:10

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Error when compiling wine

Dethredic wrote:

@Wonder Luca said something about AJ committing the patch on Monday. I am not 100%, but I assume that AJ is a wine dev and it will get added to the most recent release on Monday, could be wrong though.

that explains why is not committed yet. http://source.winehq.org/git/wine.git/ .


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB