This forum has been archived. Please start a new discussion on GitHub.

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 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
[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/ package does not exist
[javac] import;
[javac] ^
[javac] 1 error

/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


  • mes
    mes California
    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?

  • 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 —

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

    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:
      %define formsversion 1.2.1
      %define looksversion 2.3.0