compile error Open office -> javac not found

maarten fbsd at gmx.net
Tue Nov 18 11:21:01 PST 2003


Hello,

I have this problem with building Open Office from the ports.

configure:4736: error: /usr/local/jdk1.4.1/bin/javac not found set 
with_jdk_home

The config.log and what ports are installed are attached. I search on 
google, i saw that more people are having problems but no working 
answers are given. Jdk1.4 was not installed when i started the compiling 
for Openoffice. I also tried installing the jdk before Openoffice but 
then the build halts when it arrives on the jdk.

Grtz,

Maarten Midden


-------------- next part --------------
total 4702
drwxr-xr-x  2 root  wheel      512 Nov 15 19:45 ORBit-0.5.17_1
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-4.3.0,1
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-FontServer-4.3.0_2
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-Server-4.3.0_12
drwxr-xr-x  2 root  wheel      512 Nov 17 19:52 XFree86-VirtualFramebufferServer-4.3.0_3
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-clients-4.3.0_5
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-documents-4.3.0
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-font100dpi-4.3.0
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-font75dpi-4.3.0
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-fontCyrillic-4.3.0
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-fontDefaultBitmaps-4.3.0
drwxr-xr-x  2 root  wheel      512 Nov 15 16:45 XFree86-fontEncodings-4.3.0
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 XFree86-fontScalable-4.3.0
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 XFree86-libraries-4.3.0_6
drwxr-xr-x  2 root  wheel      512 Nov 15 16:39 Xft-2.1.2
drwxr-xr-x  2 root  wheel      512 Nov 17 19:43 apache-ant-1.5.4_1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:00 aspell-0.50.4.1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:00 atk-1.4.1_1
drwxr-xr-x  2 root  wheel      512 Nov 15 18:36 autoconf-2.13.000227_5
drwxr-xr-x  2 root  wheel      512 Nov 17 19:52 autoconf-2.53_1
drwxr-xr-x  2 root  wheel      512 Nov 17 02:19 automake-1.4.5_9
drwxr-xr-x  2 root  wheel      512 Nov 15 18:25 bbpager-0.3.1
drwxr-xr-x  2 root  wheel      512 Nov 17 10:47 bison-1.75_1
drwxr-xr-x  2 root  wheel      512 Nov 15 17:23 boxtools-0.65.0
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 dri-4.3.0,1
drwxr-xr-x  2 root  wheel      512 Nov 15 18:47 ethereal-0.9.14
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 expat-1.95.6_1
drwxr-xr-x  2 root  wheel      512 Nov 15 17:23 fluxbox-0.1.14_2
drwxr-xr-x  2 root  wheel      512 Nov 16 23:10 fluxconf-0.9.4
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 fontconfig-2.2.90_3
drwxr-xr-x  2 root  wheel      512 Nov 17 00:01 freetype-1.3.1_2
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 freetype2-2.1.5_1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:05 gaim-0.72
drwxr-xr-x  2 root  wheel      512 Nov 17 11:39 gcc-3.3.3_20031103
drwxr-xr-x  2 root  wheel      512 Nov 15 16:17 gettext-0.12.1
drwxr-xr-x  2 root  wheel      512 Nov 15 18:30 glib-1.2.10_10
drwxr-xr-x  2 root  wheel      512 Nov 15 20:50 glib-2.2.3
drwxr-xr-x  2 root  wheel      512 Nov 15 16:17 gmake-3.80_1
drwxr-xr-x  2 root  wheel      512 Nov 15 20:41 gnomehier-1.0_10
drwxr-xr-x  2 root  wheel      512 Nov 15 18:31 gtk-1.2.10_10
drwxr-xr-x  2 root  wheel      512 Nov 15 21:00 gtk-2.2.4_1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:05 gtkspell2-2.0.4
drwxr-xr-x  2 root  wheel      512 Nov 17 19:52 help2man-1.29
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 imake-4.3.0_1
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 javavmwrapper-1.4
drwxr-xr-x  2 root  wheel      512 Nov 18 19:38 jdk-1.4.2p5
drwxr-xr-x  2 root  wheel      512 Nov 15 18:53 jpeg-6b_1
drwxr-xr-x  2 root  wheel      512 Nov 15 18:53 lcms-1.09,1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:05 libao-0.8.4_1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:05 libaudiofile-0.2.4
drwxr-xr-x  2 root  wheel      512 Nov 15 16:17 libiconv-1.9.1_3
drwxr-xr-x  2 root  wheel      512 Nov 16 23:20 libmikmod-3.1.10_1
drwxr-xr-x  2 root  wheel      512 Nov 15 19:45 libmng-1.0.5_1
drwxr-xr-x  2 root  wheel      512 Nov 16 23:18 libogg-1.0_1,3
drwxr-xr-x  2 root  wheel      512 Nov 15 16:12 libtool-1.3.5_1
drwxr-xr-x  2 root  wheel      512 Nov 15 18:32 libtool-1.4.3_2
drwxr-xr-x  2 root  wheel      512 Nov 16 23:20 libvorbis-1.0_1,3
drwxr-xr-x  2 root  wheel      512 Nov 16 23:20 libxml-1.8.17_1
drwxr-xr-x  2 root  wheel      512 Nov 17 02:25 linux-sun-jdk-1.4.2.02
drwxr-xr-x  2 root  wheel      512 Nov 17 02:25 linux_base-7.1_5
drwxr-xr-x  2 root  wheel      512 Nov 15 18:36 m4-1.4_1
drwxr-xr-x  2 root  wheel      512 Nov 15 19:45 mozilla-1.5_1,2
drwxr-xr-x  2 root  wheel      512 Nov 15 18:47 net-snmp-5.0.9_1
drwxr-xr-x  2 root  wheel      512 Nov 15 18:32 nmap-3.48_1
drwxr-xr-x  2 root  wheel      512 Nov 17 02:00 nspr-4.3_2
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 open-motif-2.2.2_1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:00 pango-1.2.5
drwxr-xr-x  2 root  wheel      512 Nov 15 18:32 pcre-4.4
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 pkgconfig-0.15.0
-rw-r--r--  1 root  wheel  4617216 Nov 17 22:57 pkgdb.db
drwxr-xr-x  2 root  wheel      512 Nov 15 16:39 png-1.2.5_2
drwxr-xr-x  2 root  wheel      512 Nov 17 02:21 popt-1.6.4_1
drwxr-xr-x  2 root  wheel      512 Nov 15 15:29 portupgrade-20030723
drwxr-xr-x  2 root  wheel      512 Nov 15 18:42 rc_subr-1.16
drwxr-xr-x  2 root  wheel      512 Nov 17 02:21 rpm-3.0.6_8
drwxr-xr-x  2 root  wheel      512 Nov 15 15:29 ruby-1.6.8.2003.10.15
drwxr-xr-x  2 root  wheel      512 Nov 15 15:29 ruby-bdb1-0.2.1
drwxr-xr-x  2 root  wheel      512 Nov 15 15:29 ruby-rdoc-0.9.0
drwxr-xr-x  2 root  wheel      512 Nov 15 15:29 ruby-shim-ruby18-1.8.1.p2
drwxr-xr-x  2 root  wheel      512 Nov 15 21:05 startup-notification-0.5_1
drwxr-xr-x  2 root  wheel      512 Nov 15 21:00 tiff-3.6.0
drwxr-xr-x  2 root  wheel      512 Nov 17 00:01 ttmkfdir-0.0_1
drwxr-xr-x  2 root  wheel      512 Nov 15 18:52 unzip-5.50_2
drwxr-xr-x  2 root  wheel      512 Nov 18 16:35 urwfonts-1.0
drwxr-xr-x  2 root  wheel      512 Nov 15 17:17 wrapper-1.0_3
drwxr-xr-x  2 root  wheel      512 Nov 15 18:31 xchat-1.8.11_1
drwxr-xr-x  2 root  wheel      512 Nov 16 23:20 xmms-1.2.8_2
drwxr-xr-x  2 root  wheel      512 Nov 15 18:52 zip-2.3_1
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --with-lang=DTCH,ENUS --with-jdk-home=/usr/local/jdk1.4.1 --prefix=/usr/local i386-portbld-freebsd4.9

## --------- ##
## Platform. ##
## --------- ##

hostname = flaptop.madserver.org
uname -m = i386
uname -r = 4.9-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 4.9-RELEASE #0: Mon Nov 17 01:15:30 GMT 2003     maarten at flaptop.madserver.org:/usr/src/sys/compile/NEWFLAPTOP 

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1581: checking for gawk
configure:1610: result: no
configure:1581: checking for mawk
configure:1610: result: no
configure:1581: checking for nawk
configure:1597: found /usr/bin/nawk
configure:1607: result: nawk
configure:1619: checking for nawk
configure:1637: found /usr/bin/nawk
configure:1649: result: /usr/bin/nawk
configure:1666: checking for sed
configure:1684: found /usr/bin/sed
configure:1696: result: /usr/bin/sed
configure:1712: checking the operating system
configure:1744: checking the FreeBSD operating system release
configure:1751: result: found OSVERSION=490000
configure:1784: result: checked (FreeBSD)
configure:1930: checking for i386-portbld-freebsd4.9-gcc
configure:1956: result: gcc33
configure:2238: checking for C compiler version
configure:2241: gcc33 --version </dev/null >&5
gcc33 (GCC) 3.3.3 20031103 (prerelease) [FreeBSD]
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2244: $? = 0
configure:2246: gcc33 -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/specs
Configured with: ./..//gcc-3.3-20031103/configure --disable-nls --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/include/c++/ --with-system-zlib --disable-shared --prefix=/usr/local i386-portbld-freebsd4.9
Thread model: posix
gcc version 3.3.3 20031103 (prerelease) [FreeBSD]
configure:2249: $? = 0
configure:2251: gcc33 -V </dev/null >&5
gcc33: `-V' option must have argument
configure:2254: $? = 1
configure:2280: checking for C compiler default output
configure:2283: gcc33 -O2 -pipe -march=pentiumpro   conftest.c  >&5
configure:2286: $? = 0
configure:2319: result: a.out
configure:2324: checking whether the C compiler works
configure:2330: ./a.out
configure:2333: $? = 0
configure:2348: result: yes
configure:2355: checking whether we are cross compiling
configure:2357: result: no
configure:2360: checking for suffix of executables
configure:2362: gcc33 -o conftest -O2 -pipe -march=pentiumpro   conftest.c  >&5
configure:2365: $? = 0
configure:2387: result: 
configure:2393: checking for suffix of object files
configure:2417: gcc33 -c -O2 -pipe -march=pentiumpro  conftest.c >&5
configure:2420: $? = 0
configure:2439: result: o
configure:2443: checking whether we are using the GNU C compiler
configure:2470: gcc33 -c -O2 -pipe -march=pentiumpro  conftest.c >&5
configure:2473: $? = 0
configure:2476: test -s conftest.o
configure:2479: $? = 0
configure:2491: result: yes
configure:2497: checking whether gcc33 accepts -g
configure:2521: gcc33 -c -g  conftest.c >&5
configure:2524: $? = 0
configure:2527: test -s conftest.o
configure:2530: $? = 0
configure:2540: result: yes
configure:2567: gcc33 -c -O2 -pipe -march=pentiumpro  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2570: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2687: checking for gcc33
configure:2705: found /usr/local/bin/gcc33
configure:2717: result: /usr/local/bin/gcc33
configure:2731: checking the GNU gcc compiler version
configure:2761: result: checked (gcc 3.3.3)
configure:2766: checking the GNU make version
configure:2790: result: checked (gmake 3.80)
configure:3354: checking how to run the C preprocessor
configure:3380: gcc33 -E  conftest.c
configure:3386: $? = 0
configure:3413: gcc33 -E  conftest.c
configure:3410:28: ac_nonexistent.h: No such file or directory
configure:3419: $? = 1
configure: failed program was:
#line 3409 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3456: result: gcc33 -E
configure:3471: gcc33 -E  conftest.c
configure:3477: $? = 0
configure:3504: gcc33 -E  conftest.c
configure:3501:28: ac_nonexistent.h: No such file or directory
configure:3510: $? = 1
configure: failed program was:
#line 3500 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3550: checking for ANSI C header files
configure:3564: gcc33 -E  conftest.c
configure:3570: $? = 0
configure:3657: gcc33 -o conftest -O2 -pipe -march=pentiumpro   conftest.c  >&5
configure:3660: $? = 0
configure:3662: ./conftest
configure:3665: $? = 0
configure:3679: result: yes
configure:3691: checking pam_appl.h
configure:3694: result: yes
configure:3726: checking for i386-portbld-freebsd4.9-g++
configure:3752: result: g++33
configure:3810: checking for C++ compiler version
configure:3813: g++33 --version </dev/null >&5
g++33 (GCC) 3.3.3 20031103 (prerelease) [FreeBSD]
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3816: $? = 0
configure:3818: g++33 -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/specs
Configured with: ./..//gcc-3.3-20031103/configure --disable-nls --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/include/c++/ --with-system-zlib --disable-shared --prefix=/usr/local i386-portbld-freebsd4.9
Thread model: posix
gcc version 3.3.3 20031103 (prerelease) [FreeBSD]
configure:3821: $? = 0
configure:3823: g++33 -V </dev/null >&5
g++33: `-V' option must have argument
configure:3826: $? = 1
configure:3829: checking whether we are using the GNU C++ compiler
configure:3856: g++33 -c  -O2 -pipe -march=pentiumpro -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:3859: $? = 0
configure:3862: test -s conftest.o
configure:3865: $? = 0
configure:3877: result: yes
configure:3883: checking whether g++33 accepts -g
configure:3907: g++33 -c -g  conftest.cc >&5
configure:3910: $? = 0
configure:3913: test -s conftest.o
configure:3916: $? = 0
configure:3926: result: yes
configure:3972: g++33 -c  -O2 -pipe -march=pentiumpro -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:3975: $? = 0
configure:3978: test -s conftest.o
configure:3981: $? = 0
configure:4009: g++33 -c  -O2 -pipe -march=pentiumpro -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure: In function `int main()':
configure:4002: error: `exit' undeclared (first use this function)
configure:4002: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
configure:4012: $? = 1
configure: failed program was:
#line 3991 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:3972: g++33 -c  -O2 -pipe -march=pentiumpro -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:3975: $? = 0
configure:3978: test -s conftest.o
configure:3981: $? = 0
configure:4009: g++33 -c  -O2 -pipe -march=pentiumpro -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:4012: $? = 0
configure:4015: test -s conftest.o
configure:4018: $? = 0
configure:4113: checking try to compile exception code
configure:4150: g++33 -o conftest  -O2 -pipe -march=pentiumpro -fmemoize-lookups -fsave-memoized   conftest.cc  >&5
/var/tmp//ccMLZaOG.o: In function `main':
/var/tmp//ccMLZaOG.o(.text+0xa): undefined reference to `__sjthrow'
collect2: ld returned 1 exit status
configure:4153: $? = 1
configure: failed program was:
#line 4128 "configure"
#include "confdefs.h"
#include <iostream>

extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));


#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
__sjthrow()
  ;
  return 0;
}
configure:4172: result: Exceptions type: dwarf2
configure:4534: checking for STLport4 headers
configure:4628: result: using internal stlport.
configure:4638: checking whether to build with Java support
configure:4641: result: yes
configure:4736: error: /usr/local/jdk1.4.1/bin/javac not found set with_jdk_home

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CXXFLAGS_value=' -O2 -pipe -march=pentiumpro -fmemoize-lookups -fsave-memoized'
ac_cv_path_COMPATH=/usr/local/bin/gcc33
ac_cv_prog_cc_g=yes
ac_cv_env_CXXCPP_set=
ac_cv_env_LDFLAGS_set=
ac_cv_c_compiler_gnu=yes
ac_cv_exeext=
ac_cv_env_CFLAGS_set=set
ac_cv_prog_CXX=g++33
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CXX_set=set
ac_cv_path_SED=/usr/bin/sed
ac_cv_env_host_alias_set=set
ac_cv_prog_CC=gcc33
ac_cv_env_build_alias_set=set
ac_cv_env_CXXCPP_value=
ac_cv_env_LDFLAGS_value=
ac_cv_env_target_alias_set=set
ac_cv_path_AWK=/usr/bin/nawk
ac_cv_env_CFLAGS_value='-O2 -pipe -march=pentiumpro'
ac_cv_env_CC_set=set
ac_cv_header_stdc=yes
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXX_value=g++33
ac_cv_env_host_alias_value=i386-portbld-freebsd4.9
ac_cv_prog_cxx_g=yes
ac_cv_prog_CPP='gcc33 -E'
ac_cv_prog_AWK=nawk
ac_cv_env_build_alias_value=i386-portbld-freebsd4.9
ac_cv_env_target_alias_value=i386-portbld-freebsd4.9
ac_cv_env_CC_value=gcc33
ac_cv_env_CPP_set=
ac_cv_objext=o

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define STDC_HEADERS 1
#ifdef __cplusplus
#include <stdlib.h>
#endif

configure: exit 1


More information about the freebsd-openoffice mailing list