Re: Compiling 4.1.1 on MacOS X 10.6.8 (intel) - GCC version problem

2014-11-27 Thread Herbert Duerr

On 27.11.2014 01:09, Clive Bruton wrote:

I am trying to compile OpenOffice 4.1.1 to run on MacOS X 10.6.8.


For building older versions of OpenOffice on Mac please see [1]. It 
requires XCode 2 or XCode 3, both of which are not easy to get nowadays. 
They are also almost impossible to install on current systems. For these 
older versions the page also documents the requirement to compile with 
the 10.4 SDK.


For building AOO 4.1 or newer please see [2]. The build system has been 
reworked to allow current XCode versions (4.5 or newer) and works fine 
with newer SDKs (10.7 or newer). However OSX 10.7 or newer are a 
requirement for these newer builds.


[1] 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_MacOSX
[2] 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_MacOsX



When I
run the ./configure it runs for a few seconds then shows the following
error:

 checking the GNU gcc compiler version... configure: error:
 found version 1.0.2, use version 3+ of the gcc compiler

If I run:

 gcc -v

I get:

 gcc version 4.2.1 (Apple Inc. build 5659)

Any ideas on how to fix this?

Also, what's the specific reason 4.1.1 isn't built as a binary for
10.6.8, while 4.0.1 is?


Please see above. The build system was quite outdated, the build 
requirements were more than obsolete and targeted platforms that were no 
longer supported by Apple. Also many other vendors like Mozilla, Google, 
Microsoft, Adobe, etc. had already dropped support for these old platforms.


When we did the overdue refresh for newer platforms we also used the 
opportunity to switch to 64bit. It would have been possible to get it 
work on OSX10.6 too, but it was already unsupported by Apple then and 
nobody was interested to put work into backporting the stuff [3].


[3] http://markmail.org/message/qfqarbaoesonibur

Herbert

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



Re: Compiling 4.1.1 on MacOS X 10.6.8 (intel) - GCC version problem

2014-11-27 Thread Clive Bruton


On 27 Nov 2014, at 08:35, Herbert Duerr wrote:


For building older versions of OpenOffice on Mac please see [1].


I think what you are saying is that there are dependencies in the  
code that require 10.7. If this is the case then the error reported  
should be that the system is not supported (and why), rather than the  
gcc version is incorrect.


It requires XCode 2 or XCode 3, both of which are not easy to get  
nowadays. They are also almost impossible to install on current  
systems. For these older versions the page also documents the  
requirement to compile with the 10.4 SDK.


Actually, these versions of Xcode are easy enough to get (I  
downloaded 3.2.6 just a few days ago), and at least with 3.x the  
option is there in the install to include support for 10.4. The old  
versions of Xcode are here (Xcode 2.3-6.1 for download, just search  
for Xcode):


https://developer.apple.com/downloads/index.action

Please see above. The build system was quite outdated, the build  
requirements were more than obsolete and targeted platforms that  
were no longer supported by Apple. Also many other vendors like  
Mozilla, Google, Microsoft, Adobe, etc. had already dropped support  
for these old platforms.


When we did the overdue refresh for newer platforms we also used  
the opportunity to switch to 64bit. It would have been possible to  
get it work on OSX10.6 too, but it was already unsupported by Apple  
then and nobody was interested to put work into backporting the  
stuff [3].


Thanks for the note. I think the issue is that all the companies you  
name have a commercial interest in obsolescence, I'm not sure what  
the incentive for the Apache foundation would be in supporting that  
business model. From my own perspective, and I am probably in a small  
minority, my interest in supporting older systems (ie up to 10.6) is  
because they are able to run PPC and classic apps, which 10.7 is  
unable to do. I'm pretty sure I have Apache and MySQL running on such  
systems.



-- Clive

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



Re: Compiling 4.1.1 on MacOS X 10.6.8 (intel) - GCC version problem

2014-11-27 Thread Herbert Duerr

On 27.11.2014 12:31, Clive Bruton wrote:

On 27 Nov 2014, at 08:35, Herbert Duerr wrote:


For building older versions of OpenOffice on Mac please see [1].


I think what you are saying is that there are dependencies in the code
that require 10.7. If this is the case then the error reported should be
that the system is not supported (and why), rather than the gcc version
is incorrect.


Agreed. This and other messages should be updated to pinpoint the exact 
root cause. Also the configure options that don't make sense on a 
platform should be removed altogether. While reworking the configure 
step IMHO also the advanced options should have to be enabled extra. 
There is plenty of opportunity to make the configure step and the build 
system much smoother.



It requires XCode 2 or XCode 3, both of which are not easy to get
nowadays. They are also almost impossible to install on current
systems. For these older versions the page also documents the
requirement to compile with the 10.4 SDK.


Actually, these versions of Xcode are easy enough to get (I downloaded
3.2.6 just a few days ago), and at least with 3.x the option is there in
the install to include support for 10.4. The old versions of Xcode are
here (Xcode 2.3-6.1 for download, just search for Xcode):

 https://developer.apple.com/downloads/index.action


Installing and running these old XCodes on recent systems (e.g. 
Yosemite) is the really tricky thing. And finding and downloading their 
blobs is also not as easy as installing them from the app store.



Please see above. The build system was quite outdated, the build
requirements were more than obsolete and targeted platforms that were
no longer supported by Apple. Also many other vendors like Mozilla,
Google, Microsoft, Adobe, etc. had already dropped support for these
old platforms.

When we did the overdue refresh for newer platforms we also used the
opportunity to switch to 64bit. It would have been possible to get it
work on OSX10.6 too, but it was already unsupported by Apple then and
nobody was interested to put work into backporting the stuff [3].


Thanks for the note. I think the issue is that all the companies you
name have a commercial interest in obsolescence, I'm not sure what the
incentive for the Apache foundation would be in supporting that business
model.


I'm not sure that e.g. Google or Mozilla are interested in planned 
obsolescence. They are probably just not interested in putting extra 
effort into providing upgrade paths for users that seem to be averse to 
upgrading. The law of diminishing returns applies in this situation.



From my own perspective, and I am probably in a small minority,
my interest in supporting older systems (ie up to 10.6) is because they
are able to run PPC and classic apps, which 10.7 is unable to do. I'm
pretty sure I have Apache and MySQL running on such systems.


The two Apache projects you mentioned probably just require plain POSIX 
compliance for their development platforms. AFAIK this aspect of the Mac 
development environment has remained stable, so not extra effort was 
required, whereas in our GUI heavy requirements plenty of stuff has been 
deprecated. We cannot ignore these deprecations forever, they'll be 
removed sooner or later.


Anyway, in your case I suggest to build the latest AOO 4.0.1 source [1] 
on XCode3 with the Mac 10.4 SDK using the build instructions at [2].


[1] http://svn.apache.org/repos/asf/openoffice/tags/AOO401/
[2] 
https://wiki.openoffice.org/wiki/Documentation/Building_Guide/Building_on_MacOSX


Herbert


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



Compiling 4.1.1 on MacOS X 10.6.8 (intel) - GCC version problem

2014-11-26 Thread Clive Bruton
I am trying to compile OpenOffice 4.1.1 to run on MacOS X 10.6.8.  
When I run the ./configure it runs for a few seconds then shows the  
following error:


checking the GNU gcc compiler version... configure: error:
found version 1.0.2, use version 3+ of the gcc compiler

If I run:

gcc -v

I get:

gcc version 4.2.1 (Apple Inc. build 5659)

Any ideas on how to fix this?

Also, what's the specific reason 4.1.1 isn't built as a binary for  
10.6.8, while 4.0.1 is?


Thanks


-- Clive

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