On Sun, Sep 6, 2009 at 8:43 PM, Gene Heskett<gene.hesk...@gmail.com> wrote:
> On Sunday 06 September 2009, Peng Yu wrote:
>>On Sun, Sep 6, 2009 at 8:20 PM, Gene Heskett<gene.hesk...@gmail.com> wrote:
>>> On Sunday 06 September 2009, Peng Yu wrote:
>>>>Hi,
>>>>
>>>>I am trying to install open office from source
>>>> (OOo_3.1.0_src_core.tar.bz2)
>>>>
>>>>But 'configure' gives me the following error.
>>>>
>>>>checking whether to build with Java support... yes
>>>>checking for java... no
>>>>checking the installed JDK... configure: error: JAVA not found. You
>>>>need at least jdk-1.5, or gcj-4
>>>>
>>>>However, I have gcj installed.
>>>>$ gcj --version
>>>>gcj (GCC) 4.3.4
>>>>Copyright (C) 2008 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.
>>>>
>>>>Can somebody let me know how to fix the problem?
>>>>
>>>>Regards,
>>>>Peng
>>>
>>> Probably you need to install the -devel versions, Peng, the headers are
>>> likely  missing.
>>
>>You mean the -devel version of openoffice, or the -devel version of GCC?
>>
> Likely gcj-devel for starters, but I have a feeling that this may be the
> first of many errors of this general type.  That gcj error was probably just
> the first show stopper.  When you install that one, so it gets past the gcj
> check, there are many more checks that may fall over in a similar manner. :(
>
> You didn't state your distribution, or I missed it.  Some distro's (*buntu's)
> have a build-essentials package that pulls in all that stuff.

Here is my OS info

$ cat  /etc/redhat-release
CentOS release 5 (Final)
$ uname -a
Linux selenium.cluster 2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:02:30
EST 2008 x86_64 GNU/Linux
$ dmesg | grep gcc
Linux version 2.6.18-53.1.13.el5 (mockbu...@builder6.centos.org) (gcc
version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue Feb 12 13:02:30
EST 2008


I compile GCC 4.3.4 from the source code.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.org
For additional commands, e-mail: users-h...@openoffice.org

Reply via email to