Hallo,

> What bugs me, though, is that this package requirement should be
> enforced in the executable script.  In my /usr/local/bin/xcircuit, I
> have:
> 
>    XCIRCUIT_WISH=/usr/local/bin/wish8.5
>    export XCIRCUIT_WISH
> 
> this value is derived from the Makefile line
> 
>    WISH_EXE = /usr/local/bin/wish8.5
> 
> which should match the Makefile line
> 
>    LIB_SPECS = -L/usr/local/lib -ltk8.5 -ltcl8.5
> 
> and
> 
>    INC_SPECS =  -I/usr/local/include
> 
> The "configure" script is supposed to have matched the WISH_EXE
> version to the version that xcircuit was compiled against.  It
> sounds like your WISH_EXE points to 8.4 while your LIB_SPECS points
> to 8.5 (can you confirm this?).
> 

The behaviour I saw, which was off course due to an admin fault on my side, 
confirms what configure.in asks for:

---------------------------------------
# Find the version of "wish" that corresponds to TCL_EXEC_PREFIX
# We really ought to run "ldd" to confirm that the linked libraries match.

  AC_MSG_CHECKING([for wish executable])
  for dir in \
   ${TK_EXEC_PREFIX}/bin \
   ${TK_EXEC_PREFIX}
  do
    for wishexe in \
      wish \
      wish${TK_VERSION} \
      wish.exe \
      wish${TK_VERSION}.exe
    do
      if test -r "$dir/$wishexe" ; then
        WISH_EXE=$dir/$wishexe
        break
      fi
    done  
    if test "x${WISH_EXE}" != "x" ; then
      break  
    fi
  done
---------------------------------------------
it takes "wish" as the lowest common denominator, which debian then expands
to the current version, either wish8.4 or wish8.5 on my system, depending where
/etc/alternatives/wish points to.
-------------------------------------------
j...@debianlenny:/usr/bin$ ls -l wish*
lrwxrwxrwx 1 root root   22 2008-08-16 15:29 wish -> /etc/alternatives/wish
-rwxr-xr-x 1 root root 4032 2008-07-15 19:12 wish8.4
-rwxr-xr-x 1 root root 4184 2008-11-08 18:49 wish8.5
j...@debianlenny:/usr/bin$
--------------------------------------------

Hope this helps

Regards,

Jan de Kruyf.



                                          
_________________________________________________________________
Haal meer uit je leven met Windows Live
http://www.microsoft.com/netherlands/windowslive/Views/index.aspx
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to