LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   gcc-java-4.7.1_multilib-x86_64-1alien package install on slack 14 64bit (http://www.linuxquestions.org/questions/slackware-14/gcc-java-4-7-1_multilib-x86_64-1alien-package-install-on-slack-14-64bit-4175435678/)

Old_Fogie 11-05-2012 02:37 AM

gcc-java-4.7.1_multilib-x86_64-1alien package install on slack 14 64bit
 
Hello,

Tonight I took the plunge of adding multlib to my Slack 64bit 14.0 from alien bob's (terrific repo I might add).

While installing one of the packages, I had the following:

+==============================================================================
| Upgrading gcc-java-4.7.1-x86_64-1 package using ./gcc-java-4.7.1_multilib-x86_64-1alien.txz
+==============================================================================

Pre-installing package gcc-java-4.7.1_multilib-x86_64-1alien...

Removing package /var/log/packages/gcc-java-4.7.1-x86_64-1-upgraded-2012-11-05,02:26:39...
--> Deleting /usr/lib64/gcj-4.7.1-13/libgtkpeer.la
--> Deleting /usr/lib64/gcj-4.7.1-13/libgtkpeer.so
--> Deleting /usr/lib64/gcj-4.7.1-13/libjawt.la
--> Deleting /usr/lib64/gcj-4.7.1-13/libjawt.so

Verifying package gcc-java-4.7.1_multilib-x86_64-1alien.txz.
Installing package gcc-java-4.7.1_multilib-x86_64-1alien.txz:
PACKAGE DESCRIPTION:
# gcc-java (Java support for GCC)
#
# Java support for the GNU Compiler Collection.
#
# This package contains those parts of the compiler collection needed to
# compile programs written in the Java programming language. The base
# gcc package is also required.
#
Executing install script for gcc-java-4.7.1_multilib-x86_64-1alien.txz.
Package gcc-java-4.7.1_multilib-x86_64-1alien.txz installed.

Package gcc-java-4.7.1-x86_64-1 upgraded with new package ./gcc-java-4.7.1_multilib-x86_64-1alien.txz.

After reboot, an additional ldconfig, and an updatedb and also a grep in /var/log/packages these files are no where to be found.

Just wondering, is that normal? I cannot seem to locate any info about this issue.

Thank you in advance.

phenixia2003 11-05-2012 02:57 AM

Hello,

Quote:

Originally Posted by Old_Fogie (Post 4822353)
After reboot, an additional ldconfig, and an updatedb and also a grep in /var/log/packages these files are no where to be found.

Have you tried to reinstall the gcc-java multilib package ?

Can you post the output of :
Code:

ls /var/log/packages/*multilib*
--
SeB

Old_Fogie 11-05-2012 03:49 AM

the following multilib pack's are installed:

ls |grep multilib
gcc-4.7.1_multilib-x86_64-1alien
gcc-g++-4.7.1_multilib-x86_64-1alien
gcc-gfortran-4.7.1_multilib-x86_64-1alien
gcc-gnat-4.7.1_multilib-x86_64-1alien
gcc-go-4.7.1_multilib-x86_64-1alien
gcc-java-4.7.1_multilib-x86_64-1alien
gcc-objc-4.7.1_multilib-x86_64-1alien
glibc-2.15_multilib-x86_64-7alien
glibc-i18n-2.15_multilib-x86_64-7alien
glibc-profile-2.15_multilib-x86_64-7alien
glibc-solibs-2.15_multilib-x86_64-7alien
glibc-zoneinfo-2012f_2012f_multilib-noarch-7alien



The files I reference are not included in Eric's packages, so no, I did not reinstall the package. With the exception of the one file, /usr/lib64/jvm/jre/lib/amd64/libjawt.so that he does include,but not in the 'original' location.

phenixia2003 11-05-2012 04:24 AM

Well, I looked at the original gcc SlackBuild and at Eric gcc SlackBuild, and it *seems* that the libgtkpeer and
libjawt files are not there because Eric builds gcc-java without the option "--enable-java-awt=gtk" :

Code:

@@ -432,23 +455,29 @@
      --with-jvm-jar-dir=/usr/lib$LIBDIRSUFFIX/jvm/jvm-exports \
      --with-arch-directory=$LIB_ARCH \
      --with-antlr-jar=$ANTLJAR \
-    --enable-java-awt=gtk \
-    --disable-gtktest \
      $GCC_ARCHOPTS \
      --target=${TARGET} \
      --build=${TARGET} \
      --host=${TARGET} || exit 1
+    #--enable-java-awt=gtk \
+    #--disable-gtktest \

PS:I checked gcc-java from 13.37 and the files libjawt and libgtkpeer are not there, in both version (pure 64-bit and multilib). So, I looked at 13.37 gcc slackbuild and the option --enable-java-awt=gtk is not used. So, this option have been introduced into the 14.0 gcc slackbuild, but, Eric has disabled it in the multilib version.

--
SeB

Alien Bob 11-05-2012 05:27 AM

I had to remove the 'enable-java-awt=gtk' or else java and gnat would fail to compile in multilib configuration. You won't miss it.

Eric

Old_Fogie 11-05-2012 02:44 PM

Thank you both for your replies, I truly appreciate it.

Will mark this message solved then.

Cheers!


All times are GMT -5. The time now is 08:31 PM.