Closed GoogleCodeExporter closed 8 years ago
I second this; got in svn with lion and latest xcode.
Original comment by ChaosCha...@gmail.com
on 2 Nov 2011 at 2:46
Problem here too
Lion 10.7.2 and latest xCode
Original comment by i...@stefanelstner.de
on 15 Nov 2011 at 3:59
Ok, so I had this problem and got it to work. First run ./osxbuild.sh and let
it fail once, this will extract gettext so that you can patch it.
go to ~/wine/build/gettext/gettext-0.18.1.1
and apply the patch (attached):
patch -p0 lionpatch.patch
Then, rebuild using the following
./osxbuild.sh --no-clean-source
This allowed gettext to compile, the rest of it is still going, so far so good!
Original comment by mmisiew...@gmail.com
on 16 Nov 2011 at 5:09
Attachments:
I also have this problem - got the latest versions of OS X, X11, XQuartz and
Xcode. Trying the above patch now.
Original comment by m...@matthewhill.name
on 17 Nov 2011 at 7:09
Works perfect for me! Thx!
Original comment by robotron...@googlemail.com
on 19 Nov 2011 at 12:20
Issue 27 has been merged into this issue.
Original comment by rwoodsm...@gmail.com
on 30 Nov 2011 at 10:58
For me, the directory wasn´t working. I had to use
~/wine/build/gettext-0.18.1.1
Original comment by Mike.Pri...@gmail.com
on 1 Dec 2011 at 5:25
[deleted comment]
[deleted comment]
How long does the Patch take? I was waiting for over half an hour without that
anything sems to happen!
Is it normal that I found the files not at the same place that you reported in
your solution way?
Thx
Mike
Original comment by Mike.Pri...@gmail.com
on 1 Dec 2011 at 9:00
I think that I don´t have the same problem like described... it looks pretty
similar but I think that my installation failed on another point. Once again,
here is my error:
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -I../intl -I///usr/include/libxml2 -I./libcroco -I/Users/Michi/wine/wine-1.3.33/include -I/opt/X11/include -g -O2 -arch i386 -m32 -mmmx -msse -msse2 -msse3 -mfpmath=sse -I/Users/Michi/wine/wine-1.3.33/include -I/opt/X11/include -c -o tempname.lo tempname.c
stpncpy.c:34: error: expected declaration specifiers or ‘...’ before
numeric constant
stpncpy.c:34: error: expected ‘)’ before ‘!=’ token
stpncpy.c:34: error: expected ‘)’ before ‘?’ token
make[4]: *** [stpncpy.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
-DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1
-DDEPENDS_ON_LIBINTL=1 -I../intl -I///usr/include/libxml2 -I./libcroco
-I/Users/Michi/wine/wine-1.3.33/include -I/opt/X11/include -g -O2 -arch i386
-m32 -mmmx -msse -msse2 -msse3 -mfpmath=sse
-I/Users/Michi/wine/wine-1.3.33/include -I/opt/X11/include -c strstr.c
-fno-common -DPIC -o .libs/strstr.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
-DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1
-DDEPENDS_ON_LIBINTL=1 -I../intl -I///usr/include/libxml2 -I./libcroco
-I/Users/Michi/wine/wine-1.3.33/include -I/opt/X11/include -g -O2 -arch i386
-m32 -mmmx -msse -msse2 -msse3 -mfpmath=sse
-I/Users/Michi/wine/wine-1.3.33/include -I/opt/X11/include -c tempname.c
-fno-common -DPIC -o .libs/tempname.o
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
could not run 'make -j5' in /Users/Michi/wine/build/gettext-0.18.1.1 - exiting
Priost-Macbook:osxwinebuilder-read-only Michi$
Original comment by Mike.Pri...@gmail.com
on 1 Dec 2011 at 9:38
Same error as reported above:
stpncpy.c:34: error: expected declaration specifiers or '...' before numeric
constant
stpncpy.c:34: error: expected ')' before '!=' token
stpncpy.c:34: error: expected ')' before '?' token
make[4]: *** [stpncpy.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
could not run 'make -j3' in /Users/Fred/wine/build/gettext-0.18.1.1 - exiting
1. Lion 10.7.2
2. Xcode 4.2.1
3. Xquartz 2.7.1_rc1
- I tried the patch listed here but it never finished
- I tried rebooting suggested elsewhere but after 4 reboots no luck
- My wine directory looks like this now:
build wine-1.3.36.PRE-20111231063942
osxwinebuilder-read-only wine-1.3.36.PRE-20111231065200
source wine-1.3.36.PRE-20111231094236
wine-1.3.35 wine-1.3.36.PRE-20111231095605
wine-1.3.36 wine-1.3.36.PRE-20111231101620
wine-1.3.36.PRE-20111231061640
Any thoughts on what's going on?
Original comment by doXdr...@gmail.com
on 31 Dec 2011 at 9:33
Adding
#undef stpncpy
in that file just before the "#ifndef weak_alias" block works too, because the
problem is caused by strpncpy already being defined as a preprocessor macro.
Or use Linux/FreeBSD and avoid the whole problem.
Original comment by damjan....@gmail.com
on 2 Jan 2012 at 9:41
@ damjan...
Thanks for the suggestion.
As for "that file"... are you referring to stpncpy.c? If so, that doesn't work
for me.
I would have granted you that last remark if I were posting to Linux- or
FreeBSDwinebuilder. However, this is osxwinebuilder and the world just isn't
perfect so some of us have to use inferior OSs to run an even more inferior OS
:)
Original comment by doXdr...@gmail.com
on 3 Jan 2012 at 9:29
@damjan thanks that worked great.
Original comment by colinwo...@gmail.com
on 8 Mar 2012 at 5:34
gettext workarounds in place in SVN. Please rebuild and report any additional
problems. -r
Original comment by rwoodsm...@gmail.com
on 2 Jun 2012 at 6:25
The patch command syntax is incorrect. If you run patch -p0 <lionpatch.patch,
it works incorrectly. Without that patch expects the commands from the command
line.
Original comment by grammypu...@gmail.com
on 3 Jun 2012 at 3:10
The patch suggested works like a charm for gettext! I'm not even building wine,
but thank you very much!
Original comment by sschwanb...@sheetmusicplus.com
on 21 Jun 2012 at 6:17
Works for me too, thanks!
Original comment by ben.clew...@gmail.com
on 5 Jul 2012 at 9:41
Original issue reported on code.google.com by
ama...@gmail.com
on 10 Aug 2011 at 11:48