On 09/06/2009 07:12 PM, Peng Yu wrote:
> 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.

@ Gene: see the "Where to download the source code of libcupsys2-dev"
thread.

Peng Yu has been provide instructions for installing to a home
folder/directory already.

@ Peng Yu: if you continue to wish to 'build' OOo from source vs
installing OOo, see these:
http://download.openoffice.org/source/index.html
<http://wiki.services.openoffice.org/wiki/Development/OpenOffice.org_Building_Guide>
<http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux>

This is a user list for assisting OOo users and is not well suited to
offering advise for building OOo from source. Perhaps you'd be better
served by asking these questions on the dev lists.
d...@openoffice.org





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

Reply via email to