Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196055 - net-analyzer/nam-1.11-r1 does not find tk
Summary: net-analyzer/nam-1.11-r1 does not find tk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Anant Narayanan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 15:07 UTC by Thomas Frenzel
Modified: 2007-12-11 17:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/net-analyzer/nam-1.11-r1/work/nam-1.11/config.log (config.log,25.26 KB, text/plain)
2007-10-16 15:09 UTC, Thomas Frenzel
Details
Patch to call --with-tcl-ver and --with-tk-ver with correct version (nam-tk.tcl.patch,1.03 KB, patch)
2007-11-28 23:30 UTC, Paul Tobias
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Frenzel 2007-10-16 15:07:41 UTC
Trying to emerge net-analyzer/nam-1.11-r1 results in the configure-script complaining about not beeing able to detekt tk.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-analyzer/nam-1.11-r1

Actual Results:  
Trying to emerge nam-1.11-r1 results in the following output:

checking for tk.tcl... no
configure: error: Installation of tk seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tk is
using the argument --with-tk=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tk=no.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/net-analyzer/nam-1.11-r1/work/nam-1.11/config.log

!!! ERROR: net-analyzer/nam-1.11-r1 failed.


Expected Results:  
The nam ebuild should detect the existing tk installation.

installed tcl/tk version:
dev-lang/tcl-8.4.15
dev-lang/tk-8.4.15-r1
Comment 1 Thomas Frenzel 2007-10-16 15:09:26 UTC
Created attachment 133628 [details]
/var/tmp/portage/net-analyzer/nam-1.11-r1/work/nam-1.11/config.log
Comment 2 Paul Tobias 2007-11-28 23:30:38 UTC
Created attachment 137284 [details, diff]
Patch to call --with-tcl-ver and --with-tk-ver with correct version

The problem is the ebuild calls ./configure with --with-tk-ver=8.4.15-r1 and the configure script cant handle the -r1 part.
I made a patch which works for me with the help of gentoofan23 and zlin from #gentoo-dev-help, please keep in mind this is my first patch ever.
Comment 3 Anant Narayanan (RETIRED) gentoo-dev 2007-12-11 17:32:17 UTC
Thanks Paul, fix committed.