HI there.

I am trying to emerge openoffice but it refuses to find the selected
installed jdk version:

aristarco root # java-config  -S sun-jdk-1.4.2.07
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
aristarco root # /usr/sbin/env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
aristarco root # java-config -f
sun-jdk-1.4.2.07
aristarco root # echo $JAVAC $JAVA_HOME $JDK_HOME
/opt/sun-jdk-1.4.2.07/bin/javac /opt/sun-jdk-1.4.2.07 /opt/sun-jdk-1.4.2.07
aristarco root # emerge openoffice
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/openoffice-1.1.4 to /
>>> md5 src_uri ;-) OOo_1.1.4_source.tar.gz
>>> md5 src_uri ;-) STLport-4.6.2.tar.gz
*
*  It is important to note that OpenOffice.org is a very fragile
*  build when it comes to CFLAGS.  A number of flags have already
*  been filtered out.  If you experience difficulty merging this
*  package and use agressive CFLAGS, lower the CFLAGS and try to
*  merge again.
*
*  Please note that this package now uses the LINGUAS environment
*  variable to provide localization. The old LANGUAGE=ENUS|PORT...
*  system does NOT work anymore.
*
* Installing OpenOffice.org for US English (default) environment.
>>> Unpacking source...
>>> Unpacking OOo_1.1.4_source.tar.gz to /var/tmp/portage/openoffice-1.1.4/work
>>> Unpacking STLport-4.6.2.tar.gz to /var/tmp/portage/openoffice-1.1.4/work
* Applying newstlportfix.patch ...                                     [ ok ]
* Applying gcc-instlib.patch ...                                     [ ok ]
* Applying javafix.patch ...                                     [ ok ]
* Applying freetype-217.patch ...                                     [ ok ]
* Applying openoffice-java.patch ...                                     [ ok ]
>>> Source unpacked.
********************************************************************
*                                                                  *
*   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... gawk
checking for gawk... /bin/gawk
checking for sed... /bin/sed
checking the operating system... checked (Linux)
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... /usr/lib/ccache/bin/gcc
checking the GNU gcc compiler version... checked (gcc 3.3.5)
checking the GNU make version... checked (make 3.80)
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking pam_appl.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ 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 the installed JDK... configure: error: JDK is too old, you
need at least 1.3

Any hints?

-- 
Antonio Souto
UNISINOS - Universidade do Vale do Rio dos Sinos
Fones (0xx51) 590-3333 | 591-1100 | 591-1122 ramal 1658
São Leopoldo - RS - BRAZIL

"A recent study has found that concentrating on difficult off-screen
objects, such as the faces of loved ones, causes eye strain in computer
scientists.  Researchers into the phenomenon cite the added concentration
needed to "make sense" of such unnatural three dimensional objects."

--
gentoo-user@gentoo.org mailing list

Reply via email to