[opensuse-packaging] BuildRequires for 32-bit Java?
All, I'm trying to package a app that says it needs 32-bit Java. How do I say that in the spec file. Thanks Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 01/28/2012 12:57 AM, Greg Freemyer wrote:
All,
I'm trying to package a app that says it needs 32-bit Java.
How do I say that in the spec file.
Thanks Greg
Try BuildRequires: java-[versionnumber}-openjdk hope this helps, --kdl -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, Jan 28, 2012 at 8:10 AM, Kim Leyendecker <leyendecker@opensuse.org> wrote:
On 01/28/2012 12:57 AM, Greg Freemyer wrote:
All,
I'm trying to package a app that says it needs 32-bit Java.
How do I say that in the spec file.
Thanks Greg
Try BuildRequires: java-[versionnumber}-openjdk
hope this helps,
Kim, I'm trying to force a 32bit java on a 64-bit build. I don't think your command does that. btw: I reached out to the dev that posted the beta I was trying to package and it doesn't yet support linux, so I don't really need this yet. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sun, Jan 29, 2012 at 03:35:57PM -0500, Greg Freemyer wrote:
On Sat, Jan 28, 2012 at 8:10 AM, Kim Leyendecker <leyendecker@opensuse.org> wrote:
On 01/28/2012 12:57 AM, Greg Freemyer wrote:
All,
I'm trying to package a app that says it needs 32-bit Java.
How do I say that in the spec file.
Thanks Greg
Try BuildRequires: java-[versionnumber}-openjdk
hope this helps,
Kim,
I'm trying to force a 32bit java on a 64-bit build. I don't think your command does that.
btw: I reached out to the dev that posted the beta I was trying to package and it doesn't yet support linux, so I don't really need this yet.
This will be kind of hard to do... Is it really necessary to use 32bit java? WHat is the specific requirement on it? Is it necessary to have this package built in 64bit mode at all, and will it work, or can only the 32bit version used? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sun, 29 Jan 2012, Marcus Meissner wrote:
On Sun, Jan 29, 2012 at 03:35:57PM -0500, Greg Freemyer wrote:
On Sat, Jan 28, 2012 at 8:10 AM, Kim Leyendecker <leyendecker@opensuse.org> wrote:
On 01/28/2012 12:57 AM, Greg Freemyer wrote:
All,
I'm trying to package a app that says it needs 32-bit Java.
How do I say that in the spec file.
Thanks Greg
Try BuildRequires: java-[versionnumber}-openjdk
hope this helps,
Kim,
I'm trying to force a 32bit java on a 64-bit build. I don't think your command does that.
btw: I reached out to the dev that posted the beta I was trying to package and it doesn't yet support linux, so I don't really need this yet.
This will be kind of hard to do...
Is it really necessary to use 32bit java? WHat is the specific requirement on it?
Is it necessary to have this package built in 64bit mode at all, and will it work, or can only the 32bit version used?
Furthermore there is no such thing as "32bit Java" (or "64bit Java"). Java bytecode is machine independent. Thus, a BuildRequires on 32bit-java makes no sense. Richard. -- Richard Guenther <rguenther@suse.de> SUSE / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Richard Guenther wrote:
[...] Furthermore there is no such thing as "32bit Java" (or "64bit Java"). Java bytecode is machine independent. Thus, a BuildRequires on 32bit-java makes no sense.
It's possible for some proprietary stuff to have native parts though. The sun java wireless toolkit for example has some and therefore requires a 32bit VM. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Jan 27, 2012 at 06:57:58PM -0500, Greg Freemyer wrote:
All,
I'm trying to package a app that says it needs 32-bit Java.
How do I say that in the spec file.
Hi, We don't produce -32bit packages for openjdk. In such case just build your application with ExclusiveArch: %{ix86} and disable x86_64 build in package config. Then just add i586 repository and zypper will pick up i586 openjdk for you. What would not be possible is having both x86_64 and i586 version of openjdk installed in parallel. Does it work for you? Michal Vyskocil -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (6)
-
Greg Freemyer
-
Kim Leyendecker
-
Ludwig Nussel
-
Marcus Meissner
-
Michal Vyskocil
-
Richard Guenther