Re: [dev] build on Snow Leopard

2009-12-09 Thread Caolán McNamara
On Tue, 2009-12-08 at 01:57 -0800, Maximilian Odendahl wrote: > ./configure --enable-dbgutil --disable-binfilter --disable-odk > --disable-pasf --disable-gtk --disable-headless --disable-build-mozilla > --disable-fontconfig --without-nas --with-use-shell=bash > --with-stlport=no --disable-mediaw

Re: [dev] build on Snow Leopard

2009-12-09 Thread Maximilian Odendahl
Ok, with the patch and installed SDK 10.4 I get a lot further, now the next issue is in packimages: Entering /Software/notes11/packimages/pack mkout -- version: 1.8 mkdir ../unxmacxi/res/img /usr/bin/perl /Software/notes11/solenv/bin/image-sort.pl image-sort.lst /Software/notes11/solver/300/unx

Re: [dev] build on Snow Leopard

2009-12-08 Thread Stephan Bergmann
On 12/08/09 14:19, Maximilian Odendahl wrote: > explicitly checks for it)? Otherwise, the -isysroot setting could > explain your problems. changing isysmaker in solenv/inc/unxmacx.mk as well as configuring with ./configure ... CC=gcc-4.0 CXX=g++-4.0 gets the build going :-) Not sure i

Re: [dev] build on Snow Leopard

2009-12-08 Thread Maximilian Odendahl
Hi, > explicitly checks for it)? Otherwise, the -isysroot setting could > explain your problems. changing isysmaker in solenv/inc/unxmacx.mk as well as configuring with ./configure ... CC=gcc-4.0 CXX=g++-4.0 gets the build going :-) Not sure if my system is messed up or there are bug

Re: [dev] build on Snow Leopard

2009-12-08 Thread Maximilian Odendahl
Hi Stephan, getting closer, thanks again for your support. > explicitly checks for it)? Otherwise, the -isysroot setting could > explain your problems. yes, deleting -isysroot /Developer/SDKs/MacOSX10.4u.sdk manually compiles the file > Do you have the optional Xcode 10.4 SDK support >

Re: [dev] build on Snow Leopard

2009-12-08 Thread Stephan Bergmann
On 12/08/09 10:57, Maximilian Odendahl wrote: Hi, For your specific problem, I would suggest building with VERBOSE=1 so that you see the actual compiler command line. this is it: gcc -fsigned-char -fmessage-length=0 -malign-natural -c -O2 -fno-strict-aliasing -DENABLE_LAYOUT=0 -DENABLE_LA

Re: [dev] build on Snow Leopard

2009-12-08 Thread true801
> What works for me is to pass CC and CXX not as environment variables to > configure, but as additional arguments, > > ./configure ... CC=gcc-4.0 CXX=g++-4.0 > > That way, they are correctly set in the sourced-in enironment. > > -Stephan The GNU Coding Standards advise to specify variables as arg

Re: [dev] build on Snow Leopard

2009-12-08 Thread Maximilian Odendahl
Hi, For your specific problem, I would suggest building with VERBOSE=1 so that you see the actual compiler command line. this is it: gcc -fsigned-char -fmessage-length=0 -malign-natural -c -O2 -fno-strict-aliasing -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -I. -I../unxmacxi/inc/mak

Re: [dev] build on Snow Leopard

2009-12-08 Thread Stephan Bergmann
On 12/08/09 09:46, Maximilian Odendahl wrote: Hi Stephan, >> What is weird that it is found during configure, but not anymore when >> building it. I believe you are building under Snow Leopard as well? > > What works for me is to pass CC and CXX not as environment variables >to > configure,

Re: [dev] build on Snow Leopard

2009-12-08 Thread Maximilian Odendahl
Hi Stephan, >> What is weird that it is found during configure, but not anymore when >> building it. I believe you are building under Snow Leopard as well? > > What works for me is to pass CC and CXX not as environment variables >to > configure, but as additional arguments, > ./configure ... CC=

Re: [dev] build on Snow Leopard

2009-12-08 Thread Stephan Bergmann
On 12/07/09 23:44, Maximilian Odendahl wrote: Be sure your build is using the 4.0 versions of gcc and g++ yes, this is the case. What is weird that it is found during configure, but not anymore when building it. I believe you are building under Snow Leopard as well? What works for me is to

Re: [dev] build on Snow Leopard

2009-12-07 Thread Maximilian Odendahl
Hi, http://www.openoffice.org/issues/show_bug.cgi?id=106059 thanks for your reply, but this is not the issue here. Be sure your build is using the 4.0 versions of gcc and g++ yes, this is the case. What is weird that it is found during configure, but not anymore when building it. I belie

Re: [dev] build on Snow Leopard

2009-12-06 Thread Michael Sicotte
Hi, Not sure about your specific problem, but after applying the patch attached to the issue below I can build fine. http://www.openoffice.org/issues/show_bug.cgi?id=106059 Be sure your build is using the 4.0 versions of gcc and g++ Mike On Dec 5, 2009, at 5:02 PM, Maximilian Odendahl wrote:

[dev] build on Snow Leopard

2009-12-05 Thread Maximilian Odendahl
Hi, after updating to snow leopard, I can't build OOo anymore, breaks in soltools: Compiling: soltools/mkdepend/cppsetup.c In file included from cppsetup.c:29: def.h:39:19: error: stdio.h: No such file or directory def.h:40:20: error: stdlib.h: No such file or directory def.h:41:20: error: str