#13 aglib 2.0b1: configuring tcl wrapper on debian system fails

open
aglib (5)
5
2003-05-09
2003-05-07
Anonymous
No

On my debian system, ./configure on aglib 2.0b1 results in:

...
checking for tclsh... /usr/bin/tclsh
checking tcl.h usability... no
checking tcl.h presence... no
checking for tcl.h... no
...

/usr/bin/tclsh is a link to /etc/alternatives/tclsh,
which in turn is linked to /usr/bin/tclsh8.4

As I understand from configure.in, the header file
tcl.h is searched for in

`dirname \`dirname $TCLSH\``/include

i.e. in /usr/include???

Anyway, my tcl.h lives in /usr/include/tcl8.4 and is
therefor not found.

I am proposing to go back to the tclConfig.sh approach
as in the current CVS, and find the right include path
via TCL_INCLUDE_SPEC

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry, forgot to add my email address:

    thomae@ei.tum.de

    Regards.
    Matthias

     
  • Nobody/Anonymous

    Logged In: NO

    Sorry, forgot to add my email address:

    thomae@ei.tum.de

    Regards.
    Matthias

     
  • Haejoong Lee

    Haejoong Lee - 2003-05-09

    Logged In: YES
    user_id=135609

    Hey,

    Would you check if the following works:

    $ ./configure CPPFLAGS="-I/usr/include/tcl8.4 $CPPFLAGS"
    ....

    Thanks,
    Haejoong

     
  • Haejoong Lee

    Haejoong Lee - 2003-05-09
    • assigned_to: xma --> haepal