openoffice build failure

Michael Butler imb at protected-networks.net
Sat Sep 16 14:18:10 PDT 2006


NAKATA Maho wrote:
> Michael Butler <imb at protected-networks.net> wrote:
> 
>> checking for javac... javac
>> checking if javac works... configure: error: The Java compiler javac 
>> failed (see config.log, check the CLASSPATH?)
>> dmake:  Error code 1, while making 
>> './unxfbsdi.pro/misc/build/so_configured_so_berkeleydb'
>> '---* tg_merge.mk *---'
> 
> Same error ...
> 
>> WITHOUT_MOZILLA=yes
>> WITH_GNUGCJ=yes
>> WITH_CUPS=yes
>> WITH_KDE=yes
>>
>>   .. what am I missing?
> 
> I don't know...I investigated this error yesterday but no clue at the moment.

This appears to be an issue with configure .. the following extract from
 /usr/ports/editors/openoffice.org-2.0/work/OOD680_m3/berkeleydb/unxfbsdi.pro/misc/build/db-4.2.52.NC/out/config.log

shows ..

configure:14625: $? = 0
configure:14636: result: yes
configure:14660: checking if f77 supports -c -o file.o
configure:14688: f77 -c -g -O2 -o out/conftest2.o conftest.f >&5
configure:14692: $? = 0
configure:14709: result: yes
configure:14735: checking whether the f77 linker (/usr/bin/ld) supports
shared libraries
configure:15507: result: yes
configure:15578: checking how to hardcode library paths into programs
configure:15603: result: immediate
configure:15617: checking whether stripping libraries is possible
configure:15622: result: yes
configure:15644: checking dynamic linker characteristics
configure:16155: result: freebsd6.2 ld.so
configure:20053: checking SOSUFFIX from libtool
configure:20075: result: .so
configure:20080: checking MODSUFFIX from libtool
configure:20102: result: .so
configure:20107: checking JMODSUFFIX from libtool
configure:20133: result: .so
configure:20220: checking for javac
configure:20236: found /usr/local/lib/jvm/java-gcj41/bin/javac
configure:20246: result: javac
configure:20303: checking if javac works
configure:20317: javac  Test.java
----------
1. ERROR in Test.java
 (at line 1)
        /* #line 20312 "configure" */
        ^
The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
----------
1 problem (1 error)configure:20320: $? = 255
configure:20324: error: The Java compiler javac failed (see config.log,
check the CLASSPATH?)

 [ .. snip .. ]

I have no clue how to fix this .. :-(

	Michael



More information about the freebsd-openoffice mailing list