[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990603: McIDAS-X 7.504 install questions (cont.)



>From: Michael Voss <address@hidden>
>Organization: SJSU
>Keywords: 199906022211.QAA29943 McIDAS-X 7.504 mcwish

Mike,

>I tried to remake tcl/tk and mcwish, but I have the same problem finding the t
> cl librararies:
>-----
>vortex:~/mcidas7.5/src>ldd mcwish
>       libtk8.0.so =>   (not found)
>       libtcl8.0.so =>  (not found)
>       libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
>       libdl.so.1 =>    /usr/lib/libdl.so.1
>       libsocket.so.1 =>        /usr/lib/libsocket.so.1
>       libnsl.so.1 =>   /usr/lib/libnsl.so.1
>       libm.so.1 =>     /opt/SUNWspro/lib/libm.so.1
>       libF77.so.3 =>   /opt/SUNWspro/lib/libF77.so.3
>       libsunmath.so.1 =>       /opt/SUNWspro/lib/libsunmath.so.1
>       libc.so.1 =>     /usr/lib/libc.so.1
>       libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
>       libw.so.1 =>     /usr/lib/libw.so.1
>       libintl.so.1 =>  /usr/lib/libintl.so.1
>       libmp.so.1 =>    /usr/lib/libmp.so.1
>--------
>this is what I find in the tcl/lib directory:
>-------
>vortex:~/tcl/lib>ls -al
>total 3384
>drwxr-xr-x   4 mcidas   data         512 Jun  3 10:48 ./
>drwxrwxr-x   6 mcidas   data         512 Jun  3 10:48 ../
>-r-xr-xr-x   1 mcidas   data      708456 Jun  3 10:47 libtcl8.0.so*
>-r-xr-xr-x   1 mcidas   data      990544 Jun  3 10:48 libtk8.0.so*
>drwxr-xr-x   5 mcidas   data         512 Jun  3 10:48 tcl8.0/
>-rw-r--r--   1 mcidas   data        4992 Jun  3 10:48 tclConfig.sh
>drwxr-xr-x   4 mcidas   data        1024 Jun  3 10:48 tk8.0/
>-rw-r--r--   1 mcidas   data        2716 Jun  3 10:48 tkConfig.sh
>
>Is that what should be there?

Yes, this is what should be there.

>Any ideas how I might proceed from here? thanks for your help!

In looking through the source files I maintain for my distribution,
I see that _I_ inadvertantly hardcoded something in tclcomp.sh that
should be a dynamic setting.  To correct the situation, please do the
following:

<login as 'mcidas'>
cd mcidas7.5/src
edit tclcomp.sh and

change:

#
# <<<<< UPC mod 19990423 >>>>>
# Set RUNTIME_PATH variable for SunOS based on compiler used
#
RUNTIME_PATH=
case \`uname -sr\` in
"SunOS 5."*)
    if [ -z "\$VENDOR" ]; then
        RUNTIME_PATH="-Wl,-R,/home/mcidas/solarisx86/tcl/lib"
    else
        RUNTIME_PATH="-R /home/mcidas/solarisx86/tcl/lib"
    fi
    ;;

to:

#
# <<<<< UPC mod 19990423 >>>>>
# Set RUNTIME_PATH variable for SunOS based on compiler used
#
RUNTIME_PATH=
case \`uname -sr\` in
"SunOS 5."*)
    if [ -z "\$VENDOR" ]; then
        RUNTIME_PATH="-Wl,-R,$TCL_PREFIX/lib"
    else
        RUNTIME_PATH="-R $TCL_PREFIX/lib"
    fi
    ;;

After making this change, you will need to redo the Tcl/Tk stuff and
remake 'mcwish' again:

cd ~/mcidas7.5/tcl/unix
make distclean
cd ~/mcidas7.5/tk/unix
make distclean
cd ~/mcidas7.5/src
rm tclcomp
make mcwish

Sorry for the screwup.  Let me know if this doesn't fix the problem.

Tom