Re: Configure Line for OOo SRC680 for MacOSX

James McKenzie <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
Eric Hoch wrote:

>Hi James, 
>Am Tue, 07 Jun 2005 20:00:56 -0700, schrieb James McKenzie:
>  
>
>>All:
>>
>>I'm not even getting past running configure to get a build done 
>>on MacOSX 10.4 for SRC 680.  What configure line are you folks 
>>using to build it?
>>
>>The point I'm getting an error at is the mozilla configuration:
>>
>>Setting platform independent values... Setting Mac OS X/Darwin 
>>specific values... done
>>    
>>
>
>Same here. Mozilla unterwent some changes a while ago. This is only 
>a warning for you to be aware of these changes and that from now on 
>you have to take care to either have prebuild Mozilla libs for your 
>plattform or you build Mozilla whithin OOo. 
> 
>  
>
>>Checking for prebuilt Mozilla libraries ... not found!
>>If you don't not use the system mozilla and also not build the needed
>>mozilla libraries yourself you have to provide the needed files
>>MACOSXGCCP{inc,lib,runtime}.zip in moz/zipped/ .
>>These files can be found here: <FIXME! Put URL here>.
>>Died at ./set_soenv line 721.
>>
>>What is up with this?
>>    
>>
>
>Nothing. The warning says all that you need to know. Read it again 
>line by line and you know what to do. 
>
>You did not specify to build Mozilla within the OOo build process 
>therefore the configure script now assumes you have precompiled 
>Mozilla libraries and that they are lying in /moz/zipped within 
>your source directory. 
>
>If you want Mozilla to be build within OOo you have to explicit 
>tell OOo to do so by using --enable-build-mozilla as an option to 
>your configure script. 
>Sometimes you also need to add --enable-mozab so that mozilla is 
>not only build but also used to provide the libs it is used for. 
>Since I couldnÄt figure out a schema when the enable-mozab is 
>needed and when not I have both files added to my regular configure 
>script.
>
>I don't know which script other Devs use but for m107 I used one 
>similiar to Eric Bachards. It looked like this:
>
>./configure --with-x --with-lang="de fr en-US" 
>--with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Home/ 
>--with-ant-home=/Volumes/Daten/OpenOffice/apache-ant-1.6.2/ 
>--with-epm=internal --enable-mozab --with-gnu-cp=/opt/local/bin/gcp 
>--enable-pasf --enable-build-mozilla --with-gtk2  
>
>You may not add fr as a language so only german and english are 
>build. 
>
>I promised to update build instructions but the current ones aren't 
>that wrong when it comes to Mozilla. 
>  
>
Eric Hoch:

I agree, I read further down the page and found the Mozilla libraries.  
I downloaded them and started the build again.  I ran into problems with 
the pkg-config build process.  I added the following to the ./configure 
line:

--with-pkg-config=/path/to/pkg-config

I'm not using gtk2 as I had problems with Fink retrieving one of the 36 
dependencies.

As I write, the build is running (again.)

James McKenzie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.