3.4.9 Server Installation RPM - using Sun JDK 1.6

8 views
Skip to first unread message

king...@gmail.com

unread,
Nov 24, 2009, 1:40:50 PM11/24/09
to ControlTier
We ran into an issue with the 3.4.9 RPM server installer while using
the Sun JDK (wiki uses open jdk as an example). The issue was the
installer wouldn't find the correct java dependencies even though a
correct version of java was installed.

[root@XXXX ~]# java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)


When following the wiki's installation command line we get an error:

[root@XXXX ~]# rpm -ivh ctier-client-3.4.9-1.noarch.rpm
error: Failed dependencies:
java >= 1.5 is needed by ctier-server-3.4.9-1.noarch
java-sdk >= 1.5 is needed by ctier-server-3.4.9-1.noarch


So to allow the installer to work, we had to add "--nodeps" to the
install command.

rpm -ivh --nodeps ctier-server-3.4.9-1.noarch.rpm

Moses Lei

unread,
Nov 24, 2009, 1:51:49 PM11/24/09
to contr...@googlegroups.com
I know we've got some RPM gurus on this list-- what's the best way to spec a dependency on *either* openjdk (provides: java, java-sdk) *or* Sun JDK RPM (provides: jdk)?

Moses

--
Moses Lei
[ Professional Services | DTO Solutions, Inc. ]
[ mobile: 703.901.5969 | e-mail: ml...@dtosolutions.com | aim/gtalk: ml...@controltier.com | yahoo: moseslei ]




--
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org

Alex-SF

unread,
Nov 24, 2009, 3:33:23 PM11/24/09
to ControlTier
Wes, would you mind logging a bug about this?
http://sourceforge.net/tracker/?group_id=151079&atid=779847

On Nov 24, 10:51 am, Moses Lei <m...@dtosolutions.com> wrote:
> I know we've got some RPM gurus on this list-- what's the best way to spec a
> dependency on *either* openjdk (provides: java, java-sdk) *or* Sun JDK RPM
> (provides: jdk)?
>
> Moses
>
> --
> Moses Lei
> [ Professional Services | DTO Solutions, Inc. ]
> [ mobile: 703.901.5969 | e-mail: m...@dtosolutions.com | aim/gtalk:
> m...@controltier.com | yahoo: moseslei ]
Reply all
Reply to author
Forward
0 new messages