Re: [dev] Mac OS X problem with instsetoo_native

"eric.bachard" <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
Hi,

I think this is not the good list, and I invite you to continue on 
[email protected] , better list for Mac OSX port  ;-)


Gérald Fenoy a écrit :
> 
> Hi all,
> I try to build the 680_m104s1 cvs version of openoffice on my mac but I  
> have experimented some problems :
> 

[... cut ... ]

> cn    connectivity\source\drivers\mozab        nmake    -    all    
> cn_mozab  cn_mozab_mozillasrc cn_dbtools NULL
> And modify the scp2 "file_library_ooo.scp" file (I use this patch as  
> source :  http://eric.bachard.free.fr/mac/patches/SRC680/m64/patches/ 
> connectivity/buildfix-disable-mozab.diff).


Uff ...m64 ?  This patch is really out of date, please don't use it for 
m104.


>     2) When I came to testtools I have this error :
> [Java framework] The JRE specified by the bootstrap variable  
> UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be  
> recognized. Check the values and make sure that you use a plug-in  
> library that can recognize that JRE.register component  
> 'file:///Volumes/UNTITLED/680_m104s1/sources/testtools/source/ 
> bridgetest/../../unxmacxp.pro/class/testComponent.jar' in registry  
> '../../unxmacxp.pro/lib/uno_services.rdb' failed!


javaldx failed  : are you using Panther, Tiger ?  and which j2sdk 
version is installed ?

Strange, looks like you have j2sdk1.3.1 installed... and OOo *won't 
build with 1.3.1* iven if it is written in the specs.


> ERROR: Error 65280 occurred while making  
> /Volumes/UNTITLED/680_m104s1/sources/testtools/source/bridgetest
> dmake:  Error code 1, while making 'build_all'
> '---* tg_merge.mk *---'
> 
> So I remove this lines from the makefile.mk :
>     $(REGCOMP) -register  -br $(MISC)$/$(TARGET)$/bootstrap.rdb -r $@  -c \
>         $(subst,$/,/  
> $(FILEURLPREFIX)$(PWD)$/$(CLASSDIR)$/testComponent.jar) \
>         -classpath $(CLASSPATH)
> then it compile.

No, please, don't remove this line : if the build breaks, there's 
another *good* reason, you can believe me.



> 
> But now it stop building on instsetoo_native, the first error was  
> because of the well known problem with the msi installer, which is not  
> realy needed when we compile oo on MacOSX I think, so I replace the cp  
> -ua by a manual cp -r which seems to work as Ii want it to.

Yes, you have to install fink cp and usr --with-gnu-copy=/bin/cp for 
configure

> [Java framework] The JRE specified by the bootstrap variable  
> UNO_JAVA_JFW_JREHOME  or  UNO_JAVA_JFW_ENV_JREHOME  could not be  
> recognized. Check the values and make sure that you use a plug-in  
> library that can recognize that JRE.javaldx failed!

Your hack is only a hack :-)

The solution consists simply to find "why" the build breaks.


> I give you the complete log file generated by this error. Hope that  help.

Can you give us more information about your configuration, please ?

- Mac OSX version
- j2sdk version
- gcc
- fink or darwinport ?

And, important : copy the content of  config_office/config.parms file
Everything  on [email protected] list ;-)


Regards,
eric bachard

-- 
<[email protected]>
Francophone OpenOffice.org Commmunity developer (Linux PPC /  Mac OS X / 
X11)
See : <http://fr.openoffice.org>
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.