Error on building m104 on OS X

Adam Schlag <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
I'm not sure if anyone else is getting this error, but I figured I'd post anyway
since I can't seem to find anyone else who has solved this:

The build goes very well until components start getting registered.  Here is the
last output I'm getting:

=============
Building project testtools
=============
/sources/680_m104/build/testtools/source/bridgetest/idl
-------------
/sources/680_m104/build/testtools/com/sun/star/comp/bridge
mkdir -p ../../../../../unxmacxp.pro/class/com_sun_star_comp_bridge/META-INF/ >&
/dev/null
rm -f
../../../../../unxmacxp.pro/class/com_sun_star_comp_bridge/META-INF/MANIFEST.MF
>& /dev/null
echo Manifest-Version: 1.0 >
../../../../../unxmacxp.pro/class/com_sun_star_comp_bridge/META-INF/MANIFEST.MF
echo "Solar-Version: 680m104(Build:8913)" >>
../../../../../unxmacxp.pro/class/com_sun_star_comp_bridge/META-INF/MANIFEST.MF
cat ../../../../../unxmacxp.pro/misc/com_sun_star_comp_bridge_manifest >>
../../../../../unxmacxp.pro/class/com_sun_star_comp_bridge/META-INF/MANIFEST.MF
cd ../../../../../unxmacxp.pro/class/com_sun_star_comp_bridge && zip -u -rX
../testComponent.jar  META-INF/MANIFEST.MF || if ("$status" != "12") exit
$status && echo "Nothing to update for zip"
updating: META-INF/MANIFEST.MF (deflated 11%)
cd ../../../../../unxmacxp.pro/class && zip -u -rX testComponent.jar
com/sun/star/comp/bridge || if ("$status" != "12") exit $status && echo "Nothing
to update for zip"
-------------
/sources/680_m104/build/testtools/source/bridgetest
-------------
mkdir ../../unxmacxp.pro/lib/
mkdir: ../../unxmacxp.pro/lib/: File exists
cd ../../unxmacxp.pro/lib && regcomp -register -br uno_types.rdb -r
uno_services.rdb\
        -c acceptor.uno.dylib \
        -c bridgefac.uno.dylib \
        -c connector.uno.dylib \
        -c remotebridge.uno.dylib \
        -c uuresolver.uno.dylib \
        -c bridgetest.uno.dylib \
        -c cppobj.uno.dylib
[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!
register component 'acceptor.uno.dylib' in registry 'uno_services.rdb' succesful!
register component 'bridgefac.uno.dylib' in registry 'uno_services.rdb' succesful!
register component 'connector.uno.dylib' in registry 'uno_services.rdb' succesful!
register component 'remotebridge.uno.dylib' in registry 'uno_services.rdb'
succesful!
register component 'uuresolver.uno.dylib' in registry 'uno_services.rdb' succesful!
register component 'bridgetest.uno.dylib' in registry 'uno_services.rdb' succesful!
register component 'cppobj.uno.dylib' in registry 'uno_services.rdb' succesful!
regcomp -register -br ../../unxmacxp.pro/lib/uno_types.rdb -r
../../unxmacxp.pro/lib/uno_services.rdb \
        -c javaloader.uno.dylib -c javavm.uno.dylib
[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!
register component 'javaloader.uno.dylib' in registry
'../../unxmacxp.pro/lib/uno_services.rdb' succesful!
register component 'javavm.uno.dylib' in registry
'../../unxmacxp.pro/lib/uno_services.rdb' succesful!
regcomp -register  -br ../../unxmacxp.pro/misc/bridgetest/bootstrap.rdb -r
../../unxmacxp.pro/lib/uno_services.rdb -c \

file:///sources/680_m104/build/testtools/source/bridgetest/../../unxmacxp.pro/class/testComponent.jar
\
        -classpath
.:../../unxmacxp.pro/class:/System/Library/Frameworks/JavaVM.framework/Home/jre/lib/rt.jar:.:/sources/680_m104/build/solver/680/unxmacxp.pro/bin/java_uno.jar:/sources/680_m104/build/solver/680/unxmacxp.pro/bin/jurt.jar:/sources/680_m104/build/solver/680/unxmacxp.pro/bin/ridl.jar
[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!
using loader com.sun.star.loader.Java2
[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:///sources/680_m104/build/testtools/source/bridgetest/../../unxmacxp.pro/class/testComponent.jar'
in registry '../../unxmacxp.pro/lib/uno_services.rdb' failed!
error (RuntimeException): [JavaVirtualMachine]:An unexpected error occurred
while starting Java!
dmake:  Error code 1, while making '../../unxmacxp.pro/lib/uno_services.rdb'
dmake:  '../../unxmacxp.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/sources/680_m104/build/testtools/source/bridgetest
dmake:  Error code 1, while making 'build_all'
'---* tg_merge.mk *---'


I'm on OS X 10.3.9, gcc version 3.3 20030304 (Apple Computer, Inc. build 1671),
and Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode) (java -version).  Is
there something I'm doing wrong here, or is there just something possibly wrong
with my setup?  Is there any way I could disable building testtools?

Thanks for any help.

Adam
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.