SCIENTIFIC-LINUX-USERS Archives

May 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David Gore <[log in to unmask]>
Reply To:
David Gore <[log in to unmask]>
Date:
Thu, 24 May 2007 16:28:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (231 lines)
Oooo... pulling out the deep magic.... :-)

[root@zim extensions]# rpm -qa --scripts | grep jawt
  # libjawt.so
  ln -sf /usr/lib/gcj-`gij --version | head -n 2 | tail -n 1 | awk '{ 
print $5 }'`/libjawt.so \
    /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/i386/libjawt.so
# jawt.h
  `gcj -print-file-name=include/jawt.h` \
  /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jawt.h
# jawt_md.h
  `gcj -print-file-name=include/jawt_md.h` \
  /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/linux/jawt_md.h


[root@zim extensions]# rpm -qa --triggers | grep jawt
  # libjawt.so
  ln -sf /usr/lib/gcj-`gij --version | head -n 2 | tail -n 1 | awk '{ 
print $5 }'`/libjawt.so \
    /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/i386/libjawt.so
  # jawt.h
    `gcj -print-file-name=include/jawt.h` \
    /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jawt.h
  # jawt_md.h
    `gcj -print-file-name=include/jawt_md.h` \
    /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/linux/jawt_md.h

-Dave


Troy Dawson wrote:

> This is getting stranger all the time, but let's try this out
>
>   rpm -qa --scripts | grep jawt
>   rpm -qa --triggers | grep jawt
>
> Do either of those commands return anything?
>
> Troy
>
> David Gore wrote:
>
>> Here you go:
>>
>> drwxr-xr-x  2 root root 4.0K May 12 04:02 bin
>> drwxr-xr-x  4 root root 1.0K May 23 15:11 boot
>> drwxr-xr-x 11 root root 4.1K May 23 15:15 dev
>> drwxr-xr-x 99 root root  12K May 24 15:05 etc
>> drwxr-xr-x  4 root root 4.0K May  8 17:52 home
>> lrwxrwxrwx  1 root root   50 May  8 17:35 jawt.h -> 
>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jawt.h
>> lrwxrwxrwx  1 root root   59 May  8 17:35 jawt_md.h -> 
>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/linux/jawt_md.h
>> lrwxrwxrwx  1 root root   49 May  8 17:35 jni.h -> 
>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jni.h
>> lrwxrwxrwx  1 root root   52 May  8 17:35 jni_md.h -> 
>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jni_md.h
>> drwxr-xr-x 14 root root 4.0K May 15 06:39 lib
>> drwx------  2 root root  16K May  8 17:20 lost+found
>> drwxr-xr-x  2 root root 4.0K May  8 17:49 media
>> drwxr-xr-x  2 root root    0 May 23 15:15 misc
>> drwxr-xr-x  2 root root 4.0K Mar 24 02:45 mnt
>> drwxr-xr-x  2 root root    0 May 23 15:15 net
>> drwxr-xr-x  6 root root 4.0K May 10 16:57 opt
>> dr-xr-xr-x 88 root root    0 May 23 15:14 proc
>> drwxr-x--- 12 root root 4.0K May 24 14:47 root
>> drwxr-xr-x  2 root root 4.0K May 23 04:10 sbin
>> drwxr-xr-x  2 root root 4.0K May  8 17:22 selinux
>> drwxr-xr-x  2 root root 4.0K Mar 24 02:45 srv
>> drwxr-xr-x 11 root root    0 May 23 15:14 sys
>> drwxrwxrwt  5 root root 4.0K May 24 15:01 tmp
>> drwxr-xr-x 15 root root 4.0K May  8 17:30 usr
>> drwxr-xr-x 24 root root 4.0K May  8 17:40 var
>>
>> Jon: I go with "evil magic," myself. :-)
>>
>> Troy Dawson wrote:
>>
>>> I'm running some checks with the list of rpm's that you sent me.
>>> While that is running, can you send the output of
>>>
>>>   ls -lh /
>>>
>>> I want to check the timestamp on the links versus the folders.
>>>
>>> Thanks
>>> Troy
>>>
>>> David Gore wrote:
>>>
>>>> [root@zim ~]# rpm -qa | grep java
>>>> gcc-java-4.1.1-52.el5.2.i386
>>>> libgconf-java-2.12.4-6.el5.i386
>>>> java-1.4.2-gcj-compat-1.4.2.0-40jpp.112.i386
>>>> xmlrpc-javadoc-2.0.1-3jpp.1.i386
>>>> java-1.4.2-gcj-compat-src-1.4.2.0-40jpp.112.i386
>>>> bsh-javadoc-1.3.0-9jpp.1.i386
>>>> graphviz-java-2.8-1.sl.i386
>>>> glib-java-0.2.6-3.fc6.i386
>>>> java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112.i386
>>>> java-1.5.0-sun-compat-1.5.0.11-1jpp.noarch
>>>> cairo-java-1.0.5-3.fc6.i386
>>>> libgtk-java-2.8.7-3.el5.i386
>>>>
>>>> [root@zim ~]# rpm -qa | grep gcj
>>>> java-1.4.2-gcj-compat-1.4.2.0-40jpp.112.i386
>>>> libgcj-src-4.1.1-52.el5.2.i386
>>>> java-1.4.2-gcj-compat-src-1.4.2.0-40jpp.112.i386
>>>> java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112.i386
>>>> libgcj-devel-4.1.1-52.el5.2.i386
>>>> libgcj-4.1.1-52.el5.2.i386
>>>>
>>>> [root@zim ~]# rpm -qa | grep jdk
>>>> jdk-1.5.0_11-fcs.i586
>>>>
>>>> [root@zim ~]# rpm -qf /jawt.h
>>>> error: file /jawt.h: No such file or directory
>>>>
>>>> Hmmm... that last one is interesting, but it is a *broken* link...
>>>>
>>>> -Dave
>>>>
>>>> P.S.  I see this on both of my installations (machines "zim" and 
>>>> "kodos").  Both were done from CD. Neither were done from a 
>>>> kickstart file.
>>>>
>>>> Troy Dawson wrote:
>>>>
>>>>> Can you send the following
>>>>>
>>>>>   rpm -qa | grep java
>>>>>   rpm -qa | grep gcj
>>>>>   rpm -qa | grep jdk
>>>>>   rpm -qf /jawt.h
>>>>>
>>>>>
>>>>> Thanks
>>>>> Troy
>>>>> David Gore wrote:
>>>>>
>>>>>> I do mean the top of the tree:  "/"
>>>>>>
>>>>>> Fresh install.
>>>>>>
>>>>>> -Dave
>>>>>>
>>>>>> Troy Dawson wrote:
>>>>>>
>>>>>>> When you say the "root" directory, do you mean / or do you mean 
>>>>>>> /root/ ?
>>>>>>>
>>>>>>> I don't think I've seen any of these broken links.  Is this an 
>>>>>>> upgrade or a fresh install?
>>>>>>>
>>>>>>> Troy
>>>>>>>
>>>>>>> David Gore wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> After a fresh install of SL5.0 I find I have the following 
>>>>>>>> broken links i
>>>>>>>> n
>>>>>>>> the root directory:
>>>>>>>>
>>>>>>>> =========================
>>>>>>>> =========================
>>>>>>>> ============
>>>>>>>> lrwxrwxrwx  1 root root    50 May  8 17:35 jawt.h ->
>>>>>>>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jawt.h
>>>>>>>> lrwxrwxrwx  1 root root    59 May  8 17:35 jawt_md.h ->
>>>>>>>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/linux/jawt_md.h
>>>>>>>> lrwxrwxrwx  1 root root    49 May  8 17:35 jni.h ->
>>>>>>>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jni.h
>>>>>>>> lrwxrwxrwx  1 root root    52 May  8 17:35 jni_md.h ->
>>>>>>>> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/include/jni_md.h
>>>>>>>> =========================
>>>>>>>> =========================
>>>>>>>> ============
>>>>>>>>
>>>>>>>> These header files exist:
>>>>>>>>
>>>>>>>> =========================
>>>>>>>> =========================
>>>>>>>> ============
>>>>>>>> [root@zim /]# locate jawt.h
>>>>>>>> /jawt.h
>>>>>>>> /usr/java/jdk1.5.0_11/include/jawt.h
>>>>>>>> /usr/lib/gcc/i386-redhat-linux/4.1.1/include/jawt.h
>>>>>>>>
>>>>>>>> [root@zim /]# locate jawt_md.h
>>>>>>>> /jawt_md.h
>>>>>>>> /usr/java/jdk1.5.0_11/include/linux/jawt_md.h
>>>>>>>> /usr/lib/gcc/i386-redhat-linux/4.1.1/include/jawt_md.h
>>>>>>>>
>>>>>>>> [root@zim /]# locate jni.h
>>>>>>>> /jni.h
>>>>>>>> /usr/java/jdk1.5.0_11/include/jni.h
>>>>>>>> /usr/lib/gcc/i386-redhat-linux/4.1.1/include/jni.h
>>>>>>>>
>>>>>>>> [root@zim /]# locate jni_md.h
>>>>>>>> /jni_md.h
>>>>>>>> /usr/java/jdk1.5.0_11/include/linux/jni_md.h
>>>>>>>> /usr/lib/gcc/i386-redhat-linux/4.1.1/include/jni_md.h
>>>>>>>> =========================
>>>>>>>> =========================
>>>>>>>> ============
>>>>>>>>
>>>>>>>> So I was wondering where these links were supposed to be placed 
>>>>>>>> in the
>>>>>>>> directory tree and which one of the actual header files should 
>>>>>>>> be the
>>>>>>>> referent of the link.
>>>>>>>>
>>>>>>>> Much thanks,
>>>>>>>>
>>>>>>>> -Dave
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>
>>>
>
>

ATOM RSS1 RSS2