Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 21:36:48 +0100
From:      "Axel Keuchel" <AKeuchel@t-online.de>
To:        freebsd-openoffice@freebsd.org
Subject:   OO.org-1.1.1rc doesn't find java
Message-ID:  <opr4y17mnee732gy@mailto.t-online.de>

next in thread | raw e-mail | index | archive | help
------------aOIawzHqcEeYeaFeGPOqCA
Content-Type: text/plain; format=flowed; charset=iso-8859-15
Content-Transfer-Encoding: 8bit

Hi out there!

I tried to install OO.org-1.1.1rc (/usr/ports/german/de-openoffice) on 
FreeBSD 5.2.1 with portupgrade after a cvsup had shown me that it could be 
updated. But I ran into the following problem:

portupgrade -arR stopped with the following message

"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@FreeBSD.org [maintainer] and attach
the
"/usr/ports/german/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/german/openoffice-1.1.
*** Error code 1

Stop in /usr/ports/german/openoffice-1.1.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade58269.14 ma
ke
** Fix the problem and try again."

But I have jdk-1.4.2 installed on my system:

"etranger@sakura ~# pkg_info | grep jdk
jdk-1.4.2p6_4       Java Development Kit 1.4.2
linux-sun-jdk-1.4.2.04 Sun Java Development Kit 1.4 for Linux"

I have attached the config.log. It's maybe a help.

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
------------aOIawzHqcEeYeaFeGPOqCA
Content-Disposition: attachment; filename=OO_java_config.log
Content-Type: application/octet-stream; name=OO_java_config.log
Content-Transfer-Encoding: 8bit

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

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

hostname = sakura
uname -m = i386
uname -r = 5.2.1-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 5.2.1-RELEASE #0: Sat Feb 28 13:06:03 CET 2004     etranger@sakura:/usr/obj/usr/src/sys/KERNEL_5_2 

/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/etranger/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=502010
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=pentiumpro   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=pentiumpro   conftest.c  >&5
configure:2432: $? = 0
configure:2454: result: 
configure:2460: checking for suffix of object files
configure:2484: gcc32 -c -O -pipe -march=pentiumpro  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=pentiumpro  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=pentiumpro  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=pentiumpro   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=pentiumpro  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=pentiumpro  conftest.cc >&5
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4061: g++32 -c -O -pipe -march=pentiumpro  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=pentiumpro  conftest.cc >&5
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4061: g++32 -c -O -pipe -march=pentiumpro  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=pentiumpro   conftest.cc  >&5
/var/tmp//cc6G1RGd.o: In function `main':
/var/tmp//cc6G1RGd.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=pentiumpro'
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=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++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

------------aOIawzHqcEeYeaFeGPOqCA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr4y17mnee732gy>