Results 1 to 4 of 4

Thread: Compiling ICE on RHEL 5.6 x86_64

  1. #1
    ryan is offline Registered User
    Name: Ryan Nelson
    Organization: ASANI Solutions LLC.
    Project: NASA Ames Research Center
    Join Date
    Jun 2011
    Posts
    2

    Compiling ICE on RHEL 5.6 x86_64

    So I'm working on trying to get the source RPM to compile install on a system:

    [root@fishnchips SRPMS]# uname -a ; cat /etc/redhat-release
    Linux fishnchips.ndc.nasa.gov 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    Red Hat Enterprise Linux Client release 5.6 (Tikanga)
    I've installed db48, proguard, mcpp, and jgoodies
    [root@fishnchips SRPMS]# ls -l ../RPMS/x86_64/
    total 6148
    -rw-r--r-- 1 root root 1408034 Jun 7 12:54 db48-4.8.30-1ice.x86_64.rpm
    -rw-r--r-- 1 root root 51715 Jun 7 12:54 db48-devel-4.8.30-1ice.x86_64.rpm
    -rw-r--r-- 1 root root 1244418 Jun 7 12:54 db48-java-4.8.30-1ice.x86_64.rpm
    -rw-r--r-- 1 root root 120306 Jun 7 12:54 db48-utils-4.8.30-1ice.x86_64.rpm
    -rw-r--r-- 1 root root 97309 Jun 7 12:52 mcpp-devel-2.7.2-2ice.x86_64.rpm
    -rw-r--r-- 1 root root 2589550 Jun 8 09:50 proguard-4.4-5.x86_64.rpm
    -rw-r--r-- 1 root root 120612 Jun 8 09:50 proguard-gui-4.4-5.x86_64.rpm
    -rw-r--r-- 1 root root 617193 Jun 8 09:50 proguard-manual-4.4-5.x86_64.rpm
    [root@fishnchips SRPMS]# ls -l ../RPMS/noarch/
    total 1780
    -rw-r--r-- 1 root root 112192 Jun 7 16:27 jgoodies-forms-1.2.1-46.1.noarch.rpm
    -rw-r--r-- 1 root root 94809 Jun 7 16:27 jgoodies-forms-demo-1.2.1-46.1.noarch.rpm
    -rw-r--r-- 1 root root 226239 Jun 7 16:27 jgoodies-forms-javadoc-1.2.1-46.1.noarch.rpm
    -rw-r--r-- 1 root root 510203 Jun 7 16:27 jgoodies-forms-manual-1.2.1-46.1.noarch.rpm
    -rw-r--r-- 1 root root 642198 Jun 8 12:27 jgoodies-looks-2.3.1-1.noarch.rpm
    -rw-r--r-- 1 root root 200703 Jun 8 12:27 jgoodies-looks-javadoc-2.3.1-1.noarch.rpm

    However I get the following error when issue rpmbuild --rebuild ice-3.4.1-1.src.rpm

    icegridadmin-compile:
    [javac] Compiling 103 source files to /usr/src/redhat/BUILD/Ice-3.4.1/java/lib
    [javac] /usr/src/redhat/BUILD/Ice-3.4.1/java/src/IceGridGUI/ApplicationPane.java:32: package com.jgoodies.looks.windows does not exist
    [javac] import com.jgoodies.looks.windows.WindowsLookAndFeel;
    [javac] ^
    [javac] 1 error

    BUILD FAILED
    /usr/src/redhat/BUILD/Ice-3.4.1/java/build.xml:496: Compile failed; see the compiler error output for details.
    I know this isn't an ICE issue although I'm not familar with jgoodies at all and don't know where to start. It looks like this function isn't available in this version of jgoodies-looks, the ^ is ruight under the . after windows. What version should I be using? Or what else could be my problem

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi Ryan,

    Welcome to the forum.

    Did you review the RPM_README file? It explains how to build the Ice RPMs.

    Is there some reason you don't want to use the RHEL5 RPMs that we provide?

    Regards,
    Mark

  3. #3
    ryan is offline Registered User
    Name: Ryan Nelson
    Organization: ASANI Solutions LLC.
    Project: NASA Ames Research Center
    Join Date
    Jun 2011
    Posts
    2
    I just reviewed it again, the only thing that I can see I'm not following is I have jgoodies-looks-2.3.1 instead of version 2.3.0.

    So I searched the Internet to find this RPM as I can't figure out how to actually get the package from:

    Looks — Java.net

    We typically recompile the RPMs from source on our build system before adding them to our internal repo. No other reason.

  4. #4
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi,

    You've got a few options:
    • Download our third-party source archive and manually install the JGoodies JAR files.
    • Temporarily create a symbolic link so that the build finds the expected version of the JAR file.
    • Modify ice.spec to match the versions that are on your system. For example, you can tweak these settings:
      Code:
      %define formsversion 1.2.1
      %define looksversion 2.3.0
    Regards,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 04-27-2011, 12:30 PM
  2. RHEL 4 to RHEL 5 Problem
    By acbell in forum Help Center
    Replies: 1
    Last Post: 02-27-2008, 03:00 PM
  3. More things broken on Solaris 10 x86_64 with latest patches
    By Markus Bernhard in forum Bug Reports
    Replies: 3
    Last Post: 06-11-2007, 04:34 PM
  4. cannot find -ldb_cxx on RHEL
    By Paul Drummond in forum Help Center
    Replies: 4
    Last Post: 03-02-2006, 08:25 AM
  5. Freeze failure on x86_64
    By spongebob in forum Help Center
    Replies: 11
    Last Post: 08-17-2005, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •