[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    Re: [Cooker] Re: issues building openoffice-2.0.2 and  j2sdk-ant
From:       Giuseppe_Ghibň <ghibo () mandriva ! com>
Date:       2006-06-28 19:22:36
Message-ID: 44A2D6FC.3010308 () mandriva ! com
[Download RAW message or body]

Zé wrote:

>>
>>Under 2006 you might try to compile it, but it needs a newer dbus (> 0.60,
>>while 2006 has 0.23), as well as the other contrib's java-1.4.2-compat
>>packages which might not be ready in 2006.
> 
> I am trying to build openoffice for 2006 in wich i also have latest dbus-0.62 
> and also i have installed the packages:

I mean: "under 2006 you might try to compile OpenOffice.org-2.0.3-0.m6.2mdv2007.0.src.rpm
not 2.0.2-6mdk".

> 
> j2sdk-ant-1.6.5-3.mdk2006.0.mde
> j2sdk-1.4.2-12mdk
> j2re-1.4.2-12mdk
> 
> As you see there is the package j2sdk-ant-1.6.5-3.mdk2006.0.mde that i have 
> build and for that i needed to fix it since requires j2sdk src.rpm and this 
> src.rpm package isnt available anywhere.
> 
> The fix i put in j2sdk-ant spec is this:
> 
> %ifarch x86_64
> BuildRequires:	j2sdk >= 1.4.2
> %else
> BuildRequires:	j2sdk >= 1.4.2_05
> %endif
> 
> and as you know this exists in openoffice spec (since was you who have done 
> it, at least the latest changes)
> 
> So or you put the j2sdk src.rpm available or fix the j2sdk-ant so i can be 
> build with the existing j2sdk package.
> 
> So trying to build openoffice with the  j2sdk-ant i build i get this error:
> 
> checking for python extension module directory... 
> ${exec_prefix}/lib64/python2.4/site-packages
> checking which db to use... external
> checking for db.h... yes
> checking whether db is at least 4.1... OK
> checking for main in -ldb... yes
> checking for /usr/share/java/db.jar... no
> checking for /usr/share/java/db-4.2.jar... no
> checking for /usr/share/java/libdb4.2-java.jar... no

this is due to the configuration of 64bit in 2.0.2
enforces to use the system wide db 4.2. You might try to get the right
package deps adding "--with systemdb" in the rpm
building command line. This would also tell to install the package
lib64dbjava4.2.

Bye
Giuseppe.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic