>Neil Bothwick:
>> On Wed, 16 Dec 2020 18:30:47 +0100 (CET), k...@aspodata.se wrote:
>> 
>> > What can I do to make ./configure below use the suggested option ?
>> > 
>> > sci-electronics/ngspice-27-r1's build log contains:
>> >
>> >  checking for tclConfig.sh... 
>> >  can't find Tcl configuration script "tclConfig.sh"
>> >  Should you add --with-tcl=/usr/lib64 to ./configure
>> > arguments?
>> 
>> Try EXTRA_ECONF="--with-tcl=/usr/lib64" emerge -1a ngspice
>
> According to:
>https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout
>eselect news read 34
>
> gentoo now uses /usr/lib64. Tcl installs the program in /usr/lib64:
># grep /usr/lib64/tclConfig.sh  /var/db/pkg/dev-lang/tcl-8.6.8/CONTENTS
>obj /usr/lib64/tclConfig.sh 854158d4603ecea0e98975dac780e04f 1581626600
>
> so if ngspice doesn't find tclConfig.sh, shouldn't that be considered 
> a bug ?

Don't know. Is there a reason why ngspice-27-r1 in particular is required?

I added
 =sci-visualization/xgraph-12.1-r4 xgraph
to package.license
 sci-electronics/ngspice ~amd64
 sci-visualization/xgraph ~amd64
to package.accept_keywords
and
 sci-electronics/ngspice tcl
to package.use

And
emerge -1 ngspice
built without any complaints. (And included lots of tcl stuff.)
It runs, but I have no data to test it with, nor inclination to try to
learn to use it.

DaveF

>
>Regards,
>/Karl Hammar
>
>

Reply via email to