Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little patch for finding tcl/tk 8.2 and 8.3 on debian/woody systems. #2738

Closed
vicuna opened this issue Apr 3, 2001 · 3 comments
Closed

little patch for finding tcl/tk 8.2 and 8.3 on debian/woody systems. #2738

vicuna opened this issue Apr 3, 2001 · 3 comments

Comments

@vicuna
Copy link

vicuna commented Apr 3, 2001

Original bug ID: 331
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)

Bug description

Hello, ...

here is a little patch to find tcl/tk 8.3 and 8.2 libraries on debian woody
and later systems.

Rationale, on debian woody, /usr/include/tcl.h is isntalled in
/usr/include/tcl8.2/tcl.h or /usr/include/tcl8.3/tcl.h

Friendly,

Sven Luther


--- configure.orig Tue Apr 3 12:52:51 2001
+++ configure Tue Apr 3 13:08:48 2001
@@ -921,6 +921,14 @@
tk_defs=-I/usr/local/include
tcl_version=sh ./runtest $tk_defs tclversion.c 2> /dev/null
fi

  • if test -z "$tcl_version"; then
  • tk_defs="-I/usr/include/tcl8.2 -I/usr/include/tk8.2"
  • tcl_version=sh ./runtest $tk_defs tclversion.c 2> /dev/null
  • fi
  • if test -z "$tcl_version"; then
  • tk_defs="-I/usr/include/tcl8.3 -I/usr/include/tk8.3"
  • tcl_version=sh ./runtest $tk_defs tclversion.c 2> /dev/null
  • fi
    if test -n "$tcl_version"; then
    echo "tcl.h version $tcl_version found."
    case $tcl_version in


@vicuna
Copy link
Author

vicuna commented Apr 6, 2001

Comment author: administrator

here is a little patch to find tcl/tk 8.3 and 8.2 libraries on debian woody
and later systems.

Rationale, on debian woody, /usr/include/tcl.h is isntalled in
/usr/include/tcl8.2/tcl.h or /usr/include/tcl8.3/tcl.h

Merged in. (Jacques, is this OK with you?) I nonetheless wish that
every Linux distribution and Debian in particular would stop putting
include files in semi-random locations instead of the normal
/usr/include. What next? <stdio.h> in /usr/include/posix? :-)

Thanks for the patch,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Apr 6, 2001

Comment author: administrator

Patch applied 2001-04-06 by XL.

@vicuna
Copy link
Author

vicuna commented Apr 6, 2001

Comment author: administrator

On Fri, Apr 06, 2001 at 03:34:57PM +0200, Xavier Leroy wrote:

here is a little patch to find tcl/tk 8.3 and 8.2 libraries on debian woody
and later systems.

Rationale, on debian woody, /usr/include/tcl.h is isntalled in
/usr/include/tcl8.2/tcl.h or /usr/include/tcl8.3/tcl.h

Merged in. (Jacques, is this OK with you?) I nonetheless wish that
every Linux distribution and Debian in particular would stop putting
include files in semi-random locations instead of the normal
/usr/include. What next? <stdio.h> in /usr/include/posix? :-)

Well, it's the only way you can have multiple instances of the tcl/tk includes
files installed. If everybody supported only the latest tcl/tk verison,
everything would be fine, but since a lot of stuff still support only tcl/tk
8.0, you need to have it installed, together with 8.2 or 8.3.

(Notice, if you trully find this is buggy behavior, i could discuss this with
the tcl/tk maintainer, and see what he has to say about this.)

Friendly,

Sven Luther

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant