Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
Christian,

Sorry for all the noise, I don't have a 10.4u SDK. So, in fact, my 50%
accuracy in reading the issue (got the right patch, missed the
autogen) wouldn't have helped me so much. I'll go see how to get the
10.4u SDK added into the picture.

--benson

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
On Fri, Sep 17, 2010 at 6:05 PM, Benson Margulies  wrote:
>> This won't work. As stated in the issue: compiling using the 10.4 SDK
>> requires the use of gcc 4.0 compiler, not 4.2
>> you applied incomplete patch/not all patches and/or forgot to run
>> autoconf to regenerate configure after patching configure.in
>> configure should complain when using gcc 4.2.x
>
> I reran with CC=/usr/bin/gcc-4.0 to no effect on the result. All the
> pathnames changed to the gcc 4.0.x pathnames, but the error was the
> same.
>
> The issue had two patch files attached I thought the second obviated
> the first, it wasn't clear, I'll try applying both.

No. Take your time and actually read what is written. Both in the
issue as well as here.

the second patch indeed obsoletes the first one. but

*/ don't forget to run autoconf /*

Both the build output as well as configure's output show that neither
of the patches is in effect.

And wrt checking for the SDK: Check whether
/Developer/SDKs/MacOSX10.4u.sdk actually exists and is non-empty

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
> maybe a dumb question: But did you actually install the 10.4u SDK when
> installing XCode?

Maybe not a dumb question. I don't have any other reason to reach back
that far. Can you tell me how to tell?

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
> This won't work. As stated in the issue: compiling using the 10.4 SDK
> requires the use of gcc 4.0 compiler, not 4.2
> you applied incomplete patch/not all patches and/or forgot to run
> autoconf to regenerate configure after patching configure.in
> configure should complain when using gcc 4.2.x

I reran with CC=/usr/bin/gcc-4.0 to no effect on the result. All the
pathnames changed to the gcc 4.0.x pathnames, but the error was the
same.

The issue had two patch files attached I thought the second obviated
the first, it wasn't clear, I'll try applying both.



>
> ciao
> Christian
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
> For additional commands, e-mail: dev-h...@openoffice.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
On Fri, Sep 17, 2010 at 6:03 PM, Benson Margulies  wrote:
>
> Reunpacking the 3.2.1 core tarball, I still get the compile error in
> mkdepend failing to find things like stdio.h.

maybe a dumb question: But did you actually install the 10.4u SDK when
installing XCode?

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi again,

On Fri, Sep 17, 2010 at 5:55 PM, Benson Margulies  wrote:
> Configure's output : http://pastebin.com/xwvpXj3K.
>
>
> Making: ../unxmacxi.pro/obj/cppsetup.obj
> gcc -fsigned-char -fmessage-length=0 -malign-natural -c  -g -O0
> [...]
> -isysroot /Developer/SDKs/MacOSX10.4u.sdk -
> -DGXX_INCLUDE_PATH=/usr/include/c++/4.2.1

This won't work. As stated in the issue: compiling using the 10.4 SDK
requires the use of gcc 4.0 compiler, not 4.2
you applied incomplete patch/not all patches and/or forgot to run
autoconf to regenerate configure after patching configure.in
configure should complain when using gcc 4.2.x

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
Hi Christian, *,

Reunpacking the 3.2.1 core tarball, I still get the compile error in
mkdepend failing to find things like stdio.h.

I tried it with both gcc 4.2 (as per what I pastebuffed) and 4.0.

--benson

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
Configure's output : http://pastebin.com/xwvpXj3K.

I made a bit of progress, but ...

I had stuff lying about from a Linux build. WHen I cleaned that out
and tried again, I have a different failure pattern:

Making: ../unxmacxi.pro/obj/cppsetup.obj
gcc -fsigned-char -fmessage-length=0 -malign-natural -c  -g -O0
-DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0   -I.
-I../unxmacxi.pro/inc/make_makedepend -I../inc -I../inc/pch -I../inc
-I../aqua/inc -I../unx/inc -I../unxmacxi.pro/inc -I.
-I/Users/benson/x/OOO320_m19/solver/320/unxmacxi.pro/incdont_use_stl
-I/Users/benson/x/OOO320_m19/solver/320/unxmacxi.pro/inc/external
-I/Users/benson/x/OOO320_m19/solver/320/unxmacxi.pro/inc
-I/Users/benson/x/OOO320_m19/solenv/unxmacxi/inc
-I/Users/benson/x/OOO320_m19/solenv/inc
-I/Users/benson/x/OOO320_m19/res
-I/Users/benson/x/OOO320_m19/solver/320/unxmacxi.pro/incdont_use_stl
-I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers
-I/System/Library/Frameworks/JavaVM.framework/Headers
-I/Users/benson/x/OOO320_m19/solver/320/unxmacxi.pro/inc/offuh -I.
-I../res -I. -pipe -fsigned-char -malign-natural  -g -Wall
-Wendif-labels -fPIC -fno-common -DMACOSX -DUNX -DVCL -DGCC -DC341
-DINTEL -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DX86
-DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1 -DQUARTZ -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/include/c++/4.2.1 -DSUPD=320 -DDEBUG -DPRODUCT
-DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA
-DNO_X11 -DXP_PC -DHW_THREADS-o ../unxmacxi.pro/obj/cppsetup.o
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: string.h: No such file or directory
def.h:42:20: error: unistd.h: No such file or directory
def.h:44:19: error: ctype.h: No such file or directory
def.h:50:23: error: sys/types.h: No such file or directory
def.h:51:19: error: fcntl.h: No such file or directory
def.h:52:22: error: sys/stat.h: No such file or directory
cppsetup.c: In function '_my_if_errors':
cppsetup.c:146: error: 'NULL' undeclared (first use in this function)
cppsetup.c:146: error: (Each undeclared identifier is reported only once
cppsetup.c:146: error: for each function it appears in.)
cppsetup.c:147: warning: control reaches end of non-void function
cppsetup.c: In function '_lookup_variable':
cppsetup.c:164: warning: implicit declaration of function 'strncpy'
cppsetup.c:164: warning: incompatible implicit declaration of built-in
function 'strncpy'
cppsetup.c:159: warning: unused variable 'pd'
cppsetup.c: In function '_my_eval_variable':
cppsetup.c:197: warning: implicit declaration of function 'isalpha'
cppsetup.c:199: warning: implicit declaration of function 'strlen'
cppsetup.c:199: warning: incompatible implicit declaration of built-in
function 'strlen'
cppsetup.c:202: warning: implicit declaration of function 'atoi'
dmake:  Error code 1, while making '../unxmacxi.pro/obj/cppsetup.obj'

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi Benson, *,

On Fri, Sep 17, 2010 at 5:06 PM, Benson Margulies  wrote:
>
> Well, I seem to be short a perl module somehow.

Hard to believe, as that is part of the OOo sources. Do you have a
complete sourcetree?

> dmake copied to /Users/benson/x/OOO320_m19/solenv/unxmacxi/bin/dmake
> Can't locate SourceConfig.pm in @INC (@INC contains:

SourceConfig.pm is in solenv/bin/modules/SourceConfig.pm

What is configure's output?
Make sure to run configure from a clean shell, without any previous
build-environment set.

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
Hello Christian, *,

Well, I seem to be short a perl module somehow.

/Users/benson/x/OOO320_m19 make
. ./*Env.Set.sh && \
./bootstrap && \
cd instsetoo_native && ../solenv/bin/build.pl --all

dmake present in /Users/benson/x/OOO320_m19/solenv/unxmacxi/bin/dmake

dmake copied to /Users/benson/x/OOO320_m19/solenv/unxmacxi/bin/dmake
Can't locate SourceConfig.pm in @INC (@INC contains:
/home/benson/hostx/x/OOO320_m19/solenv/bin/modules
/Library/Perl/Updates/5.10.0
/System/Library/Perl/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/5.10.0
/Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0
/Network/Library/Perl/5.10.0/darwin-thread-multi-2level
/Network/Library/Perl/5.10.0 /Network/Library/Perl
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.10.0 .) at ../solenv/bin/build.pl line
43.
BEGIN failed--compilation aborted at ../solenv/bin/build.pl line 43.
make: *** [all] Error 2
/Users/benson/x/OOO320_m19


On Fri, Sep 17, 2010 at 10:54 AM, Christian Lohmaier
 wrote:
> Hi Benson, *;
>
> On Fri, Sep 17, 2010 at 4:48 PM, Benson Margulies  
> wrote:
>> Christian,
>>
>> Another, even older, page, discusses svn.gnome.org and calls for a
>> slew of 'macports' stuff. Is any of that relevant?
>
> No - macports (or fink) or stuff from direct sources is only necessary
> to build mozilla/seamonkey from source, you don't need it when using
> --disable-mozilla (or using prebuilt zips)
> you can get prebuilt mozilla zips from:
> http://tools.openoffice.org/moz_prebuild/OOo3.2/index.html
> (copy to moz/zipped and use --disable-build-mozilla instead --disable-mozilla)
>
> ciao
> Christian
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
> For additional commands, e-mail: dev-h...@openoffice.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi Benson, *;

On Fri, Sep 17, 2010 at 4:48 PM, Benson Margulies  wrote:
> Christian,
>
> Another, even older, page, discusses svn.gnome.org and calls for a
> slew of 'macports' stuff. Is any of that relevant?

No - macports (or fink) or stuff from direct sources is only necessary
to build mozilla/seamonkey from source, you don't need it when using
--disable-mozilla (or using prebuilt zips)
you can get prebuilt mozilla zips from:
http://tools.openoffice.org/moz_prebuild/OOo3.2/index.html
(copy to moz/zipped and use --disable-build-mozilla instead --disable-mozilla)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
Christian,

Another, even older, page, discusses svn.gnome.org and calls for a
slew of 'macports' stuff. Is any of that relevant?

--benson


On Fri, Sep 17, 2010 at 10:45 AM, Christian Lohmaier
 wrote:
> Hi *,
>
> On Fri, Sep 17, 2010 at 4:22 PM, Benson Margulies  
> wrote:
>> Will http://wiki.services.openoffice.org/wiki/AquaBuild work for the
>> 3.2.1 tarball?
>
> I never liked those instructions and they were outdated very early due
> to the way things are described. And it always lists way too many
> unnecessary configure flags.
> Looking at the page makes things overly complicated. It might have had
> some reason to exist during the transition phase from X11 to aqua
> based OOo, but now there actually is no reason to look at it anymore.
>
> Building on Mac actually is one of the easiest tasks compared to
> building on other systems.
>
> When you got XCode installed, you're ready to go (when using prebuilt
> mozilla or disable mozilla).
> Only when building mozilla from source you need additional packages installed.
>
> When building on 10.4 or 10.5, there should be no problem at all.
> regarding 10.6: the patches to build out-of the box have not been
> integrated in 3.2.1 codebase yet. Apply the corresponding patches from
> http://qa.openoffice.org/issues/show_bug.cgi?id=106059 / the corresponding 
> cws.
>
> ./configure --disable-mozilla --disable-binfilter --disable-odk should
> get you going (the last two only to speed-up the build, since you want
> to debug java extensions and not document filters for old binary
> formats and don't intend to write new extensions on the Mac you don't
> need the SDK either, so you can disable that as well)
>
> ciao
> Christian
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
> For additional commands, e-mail: dev-h...@openoffice.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Benson Margulies
I'm certainly on 10.6. I'll patch and see what I get. Thanks.



On Fri, Sep 17, 2010 at 10:45 AM, Christian Lohmaier
 wrote:
> Hi *,
>
> On Fri, Sep 17, 2010 at 4:22 PM, Benson Margulies  
> wrote:
>> Will http://wiki.services.openoffice.org/wiki/AquaBuild work for the
>> 3.2.1 tarball?
>
> I never liked those instructions and they were outdated very early due
> to the way things are described. And it always lists way too many
> unnecessary configure flags.
> Looking at the page makes things overly complicated. It might have had
> some reason to exist during the transition phase from X11 to aqua
> based OOo, but now there actually is no reason to look at it anymore.
>
> Building on Mac actually is one of the easiest tasks compared to
> building on other systems.
>
> When you got XCode installed, you're ready to go (when using prebuilt
> mozilla or disable mozilla).
> Only when building mozilla from source you need additional packages installed.
>
> When building on 10.4 or 10.5, there should be no problem at all.
> regarding 10.6: the patches to build out-of the box have not been
> integrated in 3.2.1 codebase yet. Apply the corresponding patches from
> http://qa.openoffice.org/issues/show_bug.cgi?id=106059 / the corresponding 
> cws.
>
> ./configure --disable-mozilla --disable-binfilter --disable-odk should
> get you going (the last two only to speed-up the build, since you want
> to debug java extensions and not document filters for old binary
> formats and don't intend to write new extensions on the Mac you don't
> need the SDK either, so you can disable that as well)
>
> ciao
> Christian
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
> For additional commands, e-mail: dev-h...@openoffice.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] MacOSX build of 3.2.1

2010-09-17 Thread Christian Lohmaier
Hi *,

On Fri, Sep 17, 2010 at 4:22 PM, Benson Margulies  wrote:
> Will http://wiki.services.openoffice.org/wiki/AquaBuild work for the
> 3.2.1 tarball?

I never liked those instructions and they were outdated very early due
to the way things are described. And it always lists way too many
unnecessary configure flags.
Looking at the page makes things overly complicated. It might have had
some reason to exist during the transition phase from X11 to aqua
based OOo, but now there actually is no reason to look at it anymore.

Building on Mac actually is one of the easiest tasks compared to
building on other systems.

When you got XCode installed, you're ready to go (when using prebuilt
mozilla or disable mozilla).
Only when building mozilla from source you need additional packages installed.

When building on 10.4 or 10.5, there should be no problem at all.
regarding 10.6: the patches to build out-of the box have not been
integrated in 3.2.1 codebase yet. Apply the corresponding patches from
http://qa.openoffice.org/issues/show_bug.cgi?id=106059 / the corresponding cws.

./configure --disable-mozilla --disable-binfilter --disable-odk should
get you going (the last two only to speed-up the build, since you want
to debug java extensions and not document filters for old binary
formats and don't intend to write new extensions on the Mac you don't
need the SDK either, so you can disable that as well)

ciao
Christian

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org