oo-1.1.1RC1 unexpected configure error

Ian D. Leroux ian_leroux at fastmail.fm
Thu Mar 18 04:44:42 PST 2004


The build of openoffice-1.1 fails systematically at the configure stage,
with a complaint that I don't have a jdk installed. I do in fact have a
working (~2 week old update) of jdk14, and make has already checked
this. As requested, I'm attaching the build log, the config.log, and the
output of `ls /var/db/pkg`.

Ian Leroux
-------------- 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-gnu-cp=/usr/local/bin/gcp --enable-mozilla=no --prefix=/usr/local i386-portbld-freebsd5.2.1

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

hostname = schtroumpf.dyndns.org
uname -m = i386
uname -r = 5.2.1-RC2
uname -s = FreeBSD
uname -v = FreeBSD 5.2.1-RC2 #1: Wed Feb 18 07:25:22 EST 2004     root at schtroumpf.dyndns.org:/usr/obj/usr/src/sys/SCHTRMPF_ONE 

/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: /home/ian/bin
PATH: /home/ian/bin
PATH: /root/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin/
PATH: /usr/sbin
PATH: /sbin
PATH: /bin
PATH: /home/ian/bin
PATH: /root/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin/
PATH: /usr/sbin
PATH: /sbin
PATH: /bin
PATH: /home/ian/bin
PATH: /root/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin/
PATH: /usr/sbin
PATH: /sbin
PATH: /bin


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

configure:1627: checking for gawk
configure:1656: result: no
configure:1627: checking for mawk
configure:1656: result: no
configure:1627: checking for nawk
configure:1643: found /usr/bin/nawk
configure:1653: result: nawk
configure:1665: checking for nawk
configure:1683: found /usr/bin/nawk
configure:1695: result: /usr/bin/nawk
configure:1712: checking for sed
configure:1730: found /usr/bin/sed
configure:1742: result: /usr/bin/sed
configure:1758: checking the operating system
configure:1790: checking the FreeBSD operating system release
configure:1797: result: found OSVERSION=502000
configure:1835: result: checked (FreeBSD)
configure:1997: checking for i386-portbld-freebsd5.2.1-gcc
configure:2023: result: gcc32
configure:2305: checking for C compiler version
configure:2308: gcc32 --version </dev/null >&5
gcc32 (GCC) 3.2.3
Copyright (C) 2002 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:2311: $? = 0
configure:2313: gcc32 -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/specs
Configured with: ./..//gcc-3.2.3/configure --disable-nls --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/g++-v3 --with-system-zlib --includedir=/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/Java --disable-shared --prefix=/usr/local i386-portbld-freebsd5.2.1
Thread model: posix
gcc version 3.2.3
configure:2316: $? = 0
configure:2318: gcc32 -V </dev/null >&5
gcc32: argument to `-V' is missing
configure:2321: $? = 1
configure:2347: checking for C compiler default output
configure:2350: gcc32 -O -pipe -march=pentium3   conftest.c  >&5
configure:2353: $? = 0
configure:2386: result: a.out
configure:2391: checking whether the C compiler works
configure:2397: ./a.out
configure:2400: $? = 0
configure:2415: result: yes
configure:2422: checking whether we are cross compiling
configure:2424: result: no
configure:2427: checking for suffix of executables
configure:2429: gcc32 -o conftest -O -pipe -march=pentium3   conftest.c  >&5
configure:2432: $? = 0
configure:2454: result: 
configure:2460: checking for suffix of object files
configure:2484: gcc32 -c -O -pipe -march=pentium3  conftest.c >&5
configure:2487: $? = 0
configure:2506: result: o
configure:2510: checking whether we are using the GNU C compiler
configure:2537: gcc32 -c -O -pipe -march=pentium3  conftest.c >&5
configure:2540: $? = 0
configure:2543: test -s conftest.o
configure:2546: $? = 0
configure:2558: result: yes
configure:2564: checking whether gcc32 accepts -g
configure:2588: gcc32 -c -g  conftest.c >&5
configure:2591: $? = 0
configure:2594: test -s conftest.o
configure:2597: $? = 0
configure:2607: result: yes
configure:2634: gcc32 -c -O -pipe -march=pentium3  conftest.c >&5
conftest.c:2: syntax error before "me"
configure:2637: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2755: checking for gcc32
configure:2773: found /usr/local/bin/gcc32
configure:2785: result: /usr/local/bin/gcc32
configure:2799: checking the GNU gcc compiler version
configure:2819: result: checked (gcc 3.2.3)
configure:2824: checking the GNU make version
configure:2842: result: checked (gmake 3.80)
configure:3405: checking how to run the C preprocessor
configure:3431: gcc32 -E  conftest.c
configure:3437: $? = 0
configure:3464: gcc32 -E  conftest.c
configure:3461:28: ac_nonexistent.h: No such file or directory
configure:3470: $? = 1
configure: failed program was:
#line 3460 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3507: result: gcc32 -E
configure:3522: gcc32 -E  conftest.c
configure:3528: $? = 0
configure:3555: gcc32 -E  conftest.c
configure:3552:28: ac_nonexistent.h: No such file or directory
configure:3561: $? = 1
configure: failed program was:
#line 3551 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3601: checking for ANSI C header files
configure:3615: gcc32 -E  conftest.c
configure:3621: $? = 0
configure:3708: gcc32 -o conftest -O -pipe -march=pentium3   conftest.c  >&5
configure:3711: $? = 0
configure:3713: ./conftest
configure:3716: $? = 0
configure:3730: result: yes
configure:3743: checking pam_appl.h
configure:3746: result: yes
configure:3778: checking for i386-portbld-freebsd5.2.1-g++
configure:3804: result: g++32
configure:3862: checking for C++ compiler version
configure:3865: g++32 --version </dev/null >&5
g++32 (GCC) 3.2.3
Copyright (C) 2002 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:3868: $? = 0
configure:3870: g++32 -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/specs
Configured with: ./..//gcc-3.2.3/configure --disable-nls --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/g++-v3 --with-system-zlib --includedir=/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2.1/3.2.3/include/Java --disable-shared --prefix=/usr/local i386-portbld-freebsd5.2.1
Thread model: posix
gcc version 3.2.3
configure:3873: $? = 0
configure:3875: g++32 -V </dev/null >&5
g++32: argument to `-V' missing

configure:3878: $? = 1
configure:3881: checking whether we are using the GNU C++ compiler
configure:3908: g++32 -c -O -pipe -march=pentium3 -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:3911: $? = 0
configure:3914: test -s conftest.o
configure:3917: $? = 0
configure:3929: result: yes
configure:3935: checking whether g++32 accepts -g
configure:3959: g++32 -c -g  conftest.cc >&5
configure:3962: $? = 0
configure:3965: test -s conftest.o
configure:3968: $? = 0
configure:3978: result: yes
configure:4024: g++32 -c -O -pipe -march=pentium3 -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4061: g++32 -c -O -pipe -march=pentium3 -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure: In function `int main()':
configure:4054: `exit' undeclared (first use this function)
configure:4054: (Each undeclared identifier is reported only once for each 
   function it appears in.)
configure:4064: $? = 1
configure: failed program was:
#line 4043 "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:4024: g++32 -c -O -pipe -march=pentium3 -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4061: g++32 -c -O -pipe -march=pentium3 -fmemoize-lookups -fsave-memoized  conftest.cc >&5
configure:4064: $? = 0
configure:4067: test -s conftest.o
configure:4070: $? = 0
configure:4165: checking try to compile exception code
configure:4202: g++32 -o conftest -O -pipe -march=pentium3 -fmemoize-lookups -fsave-memoized   conftest.cc  >&5
/var/tmp//ccURLyi0.o: In function `main':
/var/tmp//ccURLyi0.o(.text+0xa): undefined reference to `__sjthrow'
collect2: ld returned 1 exit status
configure:4205: $? = 1
configure: failed program was:
#line 4180 "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:4224: result: Exceptions type: dwarf2
configure:4586: checking for STLport4 headers
configure:4680: result: using internal stlport.
configure:4690: checking whether to build with Java support
configure:4693: result: yes
configure:4708: checking for javac
configure:4741: result: no
configure:4747: checking for java
configure:4780: result: no
configure:4803: checking the installed JDK
configure:4844: error: JAVA not found. You need at least jdk-1.3

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

ac_cv_env_CXXFLAGS_value='-O -pipe -march=pentium3 -fmemoize-lookups -fsave-memoized'
ac_cv_path_COMPATH=/usr/local/bin/gcc32
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++32
lt_cv_sys_max_cmd_len=65536
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=gcc32
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='-O -pipe -march=pentium3'
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++32
ac_cv_env_host_alias_value=i386-portbld-freebsd5.2.1
ac_cv_prog_cxx_g=yes
ac_cv_prog_CPP='gcc32 -E'
ac_cv_prog_AWK=nawk
ac_cv_env_build_alias_value=i386-portbld-freebsd5.2.1
ac_cv_env_target_alias_value=i386-portbld-freebsd5.2.1
ac_cv_env_CC_value=gcc32
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
-------------- next part --------------
===>   openoffice-1.1.1.RC1 depends on executable: gcc32 - found
===>   openoffice-1.1.1.RC1 depends on file: /usr/local/jdk1.4.2/bin/java - found
===>   openoffice-1.1.1.RC1 depends on executable: zip - found
===>   openoffice-1.1.1.RC1 depends on executable: unzip - found
===>   openoffice-1.1.1.RC1 depends on executable: gcp - found
===>   openoffice-1.1.1.RC1 depends on file: /usr/local/bin/ant - found
===>   openoffice-1.1.1.RC1 depends on file: /usr/X11R6/lib/libgdk-x11-2.0.so - found
===>   openoffice-1.1.1.RC1 depends on file: /usr/X11R6/lib/libX11.so - found
===>   openoffice-1.1.1.RC1 depends on file: /usr/X11R6/lib/libXft.so - found
===>   openoffice-1.1.1.RC1 depends on executable: gmake - found
===>   openoffice-1.1.1.RC1 depends on file: /usr/local/bin/autoconf - found
===>   openoffice-1.1.1.RC1 depends on executable: bison - found
===>   openoffice-1.1.1.RC1 depends on file: /usr/local/bin/perl5.6.1 - found
===>   openoffice-1.1.1.RC1 depends on executable: pkg-config - found
===>   openoffice-1.1.1.RC1 depends on shared library: jpeg.9 - found
===>   openoffice-1.1.1.RC1 depends on shared library: png.5 - found
===>   openoffice-1.1.1.RC1 depends on shared library: mng.1 - found
===>   openoffice-1.1.1.RC1 depends on shared library: freetype.9 - found
===>   openoffice-1.1.1.RC1 depends on shared library: glib12.3 - found
===>   openoffice-1.1.1.RC1 depends on shared library: gtk12.2 - found
===>   openoffice-1.1.1.RC1 depends on shared library: ORBit.2 - found
===>  Configuring for openoffice-1.1.1.RC1
configure: WARNING: you should use --build, --host, --target
********************************************************************
*                                                                  *
*   OpenOffice.org build configuration.                            *
*                                                                  *
*   The configure proces checks your platform to see whether       *
*   you can build OpenOffice.org on it.                            *
*   This proces checks all pre-requisites and generates a file     *
*   containing the necessary environment variables.                *
*   Source this file after configure has ended successfully.       *
*                                                                  *
*   Any warning that is generated during the configure process     *
*   must be taken into account, since it can be a reason for       *
*   an unsuccessfull build of OpenOffice.org                       *
*                                                                  *
********************************************************************
********************************************************************
*                                                                  *
*   Checking the platform pre-requisites.                          *
*                                                                  *
********************************************************************
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for nawk... /usr/bin/nawk
checking for sed... /usr/bin/sed
checking the operating system... checking the FreeBSD operating system release... found OSVERSION=502000
checked (FreeBSD)
checking for i386-portbld-freebsd5.2.1-gcc... gcc32
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc32 accepts -g... yes
checking for gcc32... /usr/local/bin/gcc32
checking the GNU gcc compiler version... checked (gcc 3.2.3)
checking the GNU make version... checked (gmake 3.80)
checking how to run the C preprocessor... gcc32 -E
checking for ANSI C header files... yes
checking pam_appl.h... yes
checking for i386-portbld-freebsd5.2.1-g++... g++32
checking whether we are using the GNU C++ compiler... yes
checking whether g++32 accepts -g... yes
checking try to compile exception code... Exceptions type: dwarf2
checking for STLport4 headers... using internal stlport.
checking whether to build with Java support... yes
checking for javac... no
checking for java... no
checking the installed JDK... configure: error: JAVA not found. You need at least jdk-1.3
===>  Script "configure" failed unexpectedly.
Please report the problem to openoffice at FreeBSD.org [maintainer] and attach
the
"/usr/ports/editors/openoffice-1.1/work/oo_1.1.1_src/config_office/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/editors/openoffice-1.1.
-------------- next part --------------
ImageMagick-5.5.7.16
ORBit-0.5.17_2
XFree86-4.3.0,1
XFree86-FontServer-4.3.0_3
XFree86-Server-4.3.0_14
XFree86-clients-4.3.0_6
XFree86-documents-4.3.0
XFree86-font100dpi-4.3.0
XFree86-font75dpi-4.3.0
XFree86-fontCyrillic-4.3.0
XFree86-fontDefaultBitmaps-4.3.0
XFree86-fontEncodings-4.3.0
XFree86-fontScalable-4.3.0
XFree86-libraries-4.3.0_6
Xaw3d-1.5
Xft-2.1.2_1
apache-ant-1.6.1
aspell-0.50.5
atk-1.4.1_2
autoconf-2.13.000227_5
autoconf-2.53_1
automake-1.4.5_9
biggles-1.6.3
bison-1.75_2
boehm-gc-6.2
boxtools-0.65.0
coreutils-5.2.0
curl-7.11.0
cvsup-without-gui-16.1h
detex-2.7
dri-4.3.0,1
enscript-letter-1.6.1_2
expat-1.95.7
flac-1.1.0_3
flashplugin-mozilla-0.4.10_5
fluxbox-devel-0.9.8_1
foiltex-2.1.4a
fontconfig-2.2.90_5
freetype2-2.1.5_2
gcc-3.2.3_1
gdk-pixbuf-0.22.0_1
gettext-0.13.1_1
ghostscript-afpl-8.14,1
glib-1.2.10_10
glib-2.2.3_1
gmake-3.80_2
gnuplot-3.7.3_2
gtk-1.2.10_11
gtk-2.2.4_2
gv-3.5.8_3
hdf-4.1r5
id3ed-1.10.4
id3lib-3.8.3_1
id3ren-0.97a
id3v2-0.1.9_2
imake-4.3.0_2
imcom-1.32
intltool-0.30_1
ipcheck-0.207,1
jasper-1.700.5
javavmwrapper-1.4
jbigkit-1.5
jdk-1.4.2p6_4
jpeg-6b_1
lame-3.95.1_2
lcms-1.09_1,1
libEMF-1.0
libIDL-0.8.3_1
libao-0.8.4_1
libflash-0.4.10
libfpx-1.2.0.9
libiconv-1.9.1_3
libid3tag-0.15.0b_1
libmad-0.15.0b
libmng-1.0.6
libmpeg2-0.3.1_1
libogg-1.1,3
libtool-1.3.5_2
libtool-1.5.2_1
libungif-4.1.0b1_1
libvorbis-1.0.1,3
libwmf-0.2.8.2
libwww-5.4.0_1
libxml2-2.6.7
lrzsz-0.12.20_1
m4-1.4_1
mad-0.15.0b
madplay-0.15.0b_2
magicfilter-1.2_1
ming-0.2a_1
mkisofs-2.0.3_1
mozilla-1.6_3,2
mpage-2.5.3_1
mpg321-0.2.10_4
mutt-1.4.2.1
nasm-0.98.38_1,1
netpbm-10.20_2
nspr-4.4.1_1
ocaml-doc-3.07
ocaml-notk-3.07.2
open-motif-2.2.2_2
openoffice-1.1.0_2
p5-XML-Parser-2.34_1
pango-1.2.5_1
pdflib-5.0.3_1
pekwm-0.1.3_2
perl-5.6.1_15
pkgconfig-0.15.0_1
pkgdb.db
plotutils-2.4.1
png-1.2.5_3
portupgrade-20040208
postfix-2.0.18,1
pstoedit-3.33_2
psutils-letter-1.17_1
py23-numeric-23.1
python-2.3.3_4
ruby-1.8.1_2
ruby18-bdb1-0.2.2
screen-4.0.2
speex-1.0.3_1,1
sudo-1.6.7.5
t1lib-5.0.1
teTeX-2.0.2_3
terminus-font-4.00_1
tiff-3.6.1_1
transfig-3.2.4_1
unzip-5.50_2
urlview-0.9_1
urwfonts-1.0
vim-6.2.263
vorbis-tools-1.0.1_1,3
w3m-img-0.4.2_2
wget-1.8.2_6
wrapper-1.0_3
xfig-3.2.4_1
xpdf-3.00
xtail-2.1
zip-2.3_1
zsh-4.0.9


More information about the freebsd-openoffice mailing list