Error when compiling openoffice.org-3

rocwhite168 rocwhite168 at 163.com
Fri Feb 26 06:51:59 UTC 2010


Hi,

I can't compile it using the ports, it said JDK in my computer should
be newer than 1.5, while actually the version installed was 1.6. Could
you have a look at the output?

Thanks,
Roc

----------------------------------------------------------------------------
$ pkg_info|grep jdk
diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02
----------------------------------------------------------------------------
$ make install clean
===>  Vulnerability check disabled, database not found
OPTIONS:

You can compile OOo with debug symbols/supports with
make -DWITH_DEBUG

You can compile OOo without Mozilla connectivity with
make -DWITHOUT_MOZILLA

You can compile OOo without gnome VFS support with
make -DWITHOUT_GNOME

You can compile OOo with devel/icu from ports with
make -DWITH_SYSTEM_ICU

You can compile OOo without CUPS support with
make -DWITHOUT_CUPS

You can compile OOo to use Qt/KDE vclplug with
make -DWITH_KDE

You can compile OOo with gpc instead of libart by
make -DWITH_GPC

You can compile OOo with evolution2 support by
make -DWITH_EVOLUTION2

You can compile OOo with full localized language support by
make LOCALIZED_LANG=alllangs

You can select the language for OOo by making it with:
make LOCALIZED_LANG=xx
while xx can be one of the following
af ar as-IN be-BY bg br bn bn-BD bn-IN bs ca cs cy da
de dz el en-GB en-US en-ZA eo es et eu fa fi fr ga gl
gu-IN he hi-IN hr hu it ja ka km kn ko ku lo lt lv mk
ms ml-IN mr-IN ne nb nl nn nr ns oc or-IN pa-IN pl pt
pt-BR ru rw sk sl sh sr ss st sv sw sw-TZ te-IN ti-ER
ta-IN th tn tr ts tg ur-IN uk uz ve vi xh zh-CN zh-TW
zu
Current setting: en-US

NOTICE:

To build OOo, you should have a lot
of free diskspace (~ 11GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
===>  Extracting for openoffice.org-3.1.1_1
=> MD5 Checksum OK for openoffice.org3/OOo_OOO310_m19_source.tar.bz2.
=> SHA256 Checksum OK for openoffice.org3/OOo_OOO310_m19_source.tar.bz2.
=> MD5 Checksum OK for openoffice.org3/unowinreg.dll.
=> SHA256 Checksum OK for openoffice.org3/unowinreg.dll.
=> MD5 Checksum OK for openoffice.org3/mozilla-source-1.7.5.tar.gz.
=> SHA256 Checksum OK for openoffice.org3/mozilla-source-1.7.5.tar.gz.
===>   openoffice.org-3.1.1_1 depends on file: /usr/local/bin/perl5.8.9 - found
for i in curl/curl*patch neon/neon*patch jfreereport/patches/*.patch;
do  cd /usr/ports/editors/openoffice.org-3/work/OOO310_m19 ;
/usr/bin/sed##g' $i ;  done
===>  Patching for openoffice.org-3.1.1_1
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/bin/perl5.8.9 - found
===>  Applying FreeBSD patches for openoffice.org-3.1.1_1
===>   openoffice.org-3.1.1_1 depends on executable: zip - found
===>   openoffice.org-3.1.1_1 depends on executable: unzip - found
===>   openoffice.org-3.1.1_1 depends on executable: gcp - found
===>   openoffice.org-3.1.1_1 depends on executable: gpatch - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/Archive/Zip.pm - found
===>   openoffice.org-3.1.1_1 depends on executable: bash - found
===>   openoffice.org-3.1.1_1 depends on executable: imake - found
===>   openoffice.org-3.1.1_1 depends on file: /usr/local/bin/gperf -
found
===>   openoffice.org-3.1.1_1 depends on executable: ant - found
===>   openoffice.org-3.1.1_1 depends on executable: gmake - found
===>   openoffice.org-3.1.1_1 depends on executable: bison - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/x11.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/ice.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xaw7.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xau.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xext.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xrender.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xrandr.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xi.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xt.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xcursor.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xdamage.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xcomposite.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/xfixes.pc - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/diablo-jdk1.6.0/bin/java - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/bin/perl5.8.9 - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/bin/intltool-extract - found
===>   openoffice.org-3.1.1_1 depends on file:
/usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===>   openoffice.org-3.1.1_1 depends on executable: pkg-config -
found
===>   openoffice.org-3.1.1_1 depends on executable:
update-desktop-database - found
===>   openoffice.org-3.1.1_1 depends on shared library: art_lgpl_2 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: cups.2 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: freetype.9 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: atk-1.0.0 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: gconf-2.4 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: glib-2.0.0 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: gnomevfs-2.0
- found
===>   openoffice.org-3.1.1_1 depends on shared library: gtk-x11-2.0.0
- found
===>   openoffice.org-3.1.1_1 depends on shared library: IDL-2.0 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: xml2.5 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: ORBit-2.0 -
found
===>   openoffice.org-3.1.1_1 depends on shared library: pango-1.0.0 -
found
===>  Configuring for openoffice.org-3.1.1_1
********************************************************************
*                                                                  *
*   OpenOffice.org build configuration.                            *
*                                                                  *
*   The configure process checks your platform to see whether      *
*   you can build OpenOffice.org on it.                            *
*   This process 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 unsuccessful build of OpenOffice.org                        *
*                                                                  *
********************************************************************

********************************************************************
*                                                                  *
*   Checking the platform pre-requisites.                          *
*                                                                  *
********************************************************************

checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 for solenv environment... default
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking target system type... i386-portbld-freebsd8.0
checking the FreeBSD operating system release... found OSVERSION=800107
checking which thread library to use... -pthread
checking whether to enable crashdump feature... yes
checking whether to turn warnings to errors... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full
product build
checking whether to include symbols into final build... yes, small
ones
checking whether to strip the solver or not.... checking whether to
enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats
(StarOffice 5.2)... yes
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... yes
checking which shell to use... tcsh
checking for tcsh... /bin/tcsh
checking gcc home... /usr
checking for gcc... cc
checking for C compiler default output file name... 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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for cc... /usr/bin/cc
checking the GNU gcc compiler version... checked (gcc 4.2.1)
checking whether to enable pch feature... no
checking for GNU make... gmake
checking the GNU make version... gmake 3.81
checking for --hash-style=both linker support ... not found
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... all modules found
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking how to run the C preprocessor... cc -E
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long... yes
checking size of long... 4
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether to disable vba feature... no
checking how to package the vba compatibility api... defaulting to
build into installset
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking whether to enable pam support... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking whether to link to libpam... no, dynamically open it
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking the GNU C++ compiler version... checked (g++ 4.2.1)
checking for g++ include path... /usr/include/c++/4.2
checking what the default STL should be... stlport
checking for STL providing headers... using internal stlport.
checking whether cc supports -fvisibility=hidden... yes
checking which memory allocator to use... internal
checking whether to add custom build version... no
checking whether to build with Java support... yes
checking the installed JDK... configure: error: JDK is too old, you
need at least 1.5
===>  Script "configure" failed unexpectedly.
Please report the problem to openoffice at FreeBSD.org [maintainer] and
attach
the "/usr/ports/editors/openoffice.org-3/work/OOO310_m19/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.org-3.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 27390 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-openoffice/attachments/20100226/23314489/config.obj


More information about the freebsd-openoffice mailing list