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

Re: [bcundal@cundal.net: Autoconfig 2.13 failing to detect tcl/tk]



There are two possibilities. The first is that, as suggested in another
reply, you can use --with-tclinclude/--with-tkinclude if they're supported
(or other extra-header paths if not). The second is that upstream configure
should be patched to actually make use of the information provided by
tclConfig.sh (most importantly in this case, TCL_LIB_SPEC [linker arguments]
and TCL_SRC_DIR [path for headers]).

BTW, it's Mike :). (Don't worry, with a name like this I get that a lot.)

On Wed, Jul 04, 2001 at 05:31:28PM +0200, Marco Kuhlmann <marco.kuhlmann@gmx.net> spake forth:
>     Hi Mark!
> 
> I am trying to build a package that uses tcl/tk and get the
> same problem as Brett in the attached email. What do you think?
> Should the upstream people fix configure, or what?
> 
>     Cheers,
>     Marco
> 
> ----- Forwarded message from Brett Cundal <bcundal@cundal.net> -----
> 
> Date: Sat, 30 Jun 2001 21:13:31 -0700
> To: debian-mentors@lists.debian.org
> Subject: Autoconfig 2.13 failing to detect tcl/tk
> From: Brett Cundal <bcundal@cundal.net>
> 
> Hiya,
> 
> I'm trying to put together a package that uses tk, but the config script
> that comes with the upstream package doesn't detect tcl or tk properly...
> The tests are just completely wrong... I guess the Debian packages for
> tcl/tk put things in non-standard locations?
> 
> Anyhow, I imagine there are lots of packages that rely on tcl/tk in Debian,
> so is there a common or "correct" fix for this?
> 
> Some details for those interested:
> 
> ./configure looks for the files /usr/lib/tclConfig.sh and
> /usr/lib/tclConfig.sh, but on Debian they are in
> /usr/lib/tcl<version>/tclConfig.sh and /usr/lib/tk<version>/tkConfig.sh.
> I got around this problem by specifying --with-tcl=/usr/lib/tcl8.3 and
> --with-tk=/usr/lib/tk8.3, so it found the configuration scripts, but it
> doesn't do any good because ./configure looks in /usr/include for the tcl.h
> and tk.h files rather than /usr/include/tcl8.3 and /usr/include/tk8.3...
> 
> There's no handy ./configure option to specify these paths, so I think I'm
> left with the option of patching the script to use these paths (which I
> don't think is a good solution) or getting a more recent version of the
> configure script that handles tcl correctly on Debian...
> 
> Any recommendations?
> 
> -- Brett
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> ----- End forwarded message -----
> 
> -- 
> Marco Kuhlmann                             marco.kuhlmann@gmx.net

-- 
Mike Markley <mike@markley.org>
GPG: 0x3B047084 7FC7 0DC0 EF31 DF83 7313  FE2B 77A8 F36A 3B04 7084

It is a human characteristic to love little animals, especially if
they're attractive in some way.
- McCoy, "The Trouble with Tribbles", stardate 4525.6



Reply to: