LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-05-2012, 02:37 AM   #1
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
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.
 
Old 11-05-2012, 02:57 AM   #2
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 291

Rep: Reputation: 166Reputation: 166
Hello,

Quote:
Originally Posted by Old_Fogie View Post
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 11-05-2012, 03:49 AM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Original Poster
Rep: Reputation: 62
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.

Last edited by Old_Fogie; 11-05-2012 at 03:50 AM. Reason: paste fail
 
Old 11-05-2012, 04:24 AM   #4
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 291

Rep: Reputation: 166Reputation: 166
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

Last edited by phenixia2003; 11-05-2012 at 04:48 AM.
 
Old 11-05-2012, 05:27 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,257

Rep: Reputation: Disabled
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 11-05-2012, 02:44 PM   #6
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Original Poster
Rep: Reputation: 62
Thank you both for your replies, I truly appreciate it.

Will mark this message solved then.

Cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble installing 32bit package on 64bit install mikeoradba Linux - Software 1 05-15-2010 07:51 PM
[SOLVED] Problems to install Slack 13 64bit (GPT and fdisk) DecioSP Slackware 11 12-30-2009 12:46 AM
acroreader slack 13 x86_64 package ? bennethos Slackware 4 10-06-2009 06:38 AM
Yast wants to install ppc package on X86_64 tweezerhead Suse/Novell 5 08-21-2007 01:15 PM
Making a Java Package for Slack 12 mattydee Slackware 3 08-09-2007 10:10 AM


All times are GMT -5. The time now is 07:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration