Hi, building ngspice with the following USEflags additionally enabled:
>=sci-electronics/ngspice-27-r1 shared doc examples fftw tcl lead to the following error in the configuration phase: checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking whether to enable maintainer-specific portions of Makefiles... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking for tclConfig.sh... /usr/lib/tclConfig.sh checking tcl.h usability... yes checking tcl.h presence... yes checking for tcl.h... yes checking blt.h usability... yes checking blt.h presence... yes checking for blt.h... yes checking for TCL module BLT... configure: error: Couldn't find BLT !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-electronics/ngspice-27-r1/work/ngspice-27-tcl/config.log * ERROR: sci-electronics/ngspice-27-r1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 1530: Called multibuild_foreach_variant 'ngspice_configure' * environment, line 1248: Called _multibuild_run 'ngspice_configure' * environment, line 1246: Called ngspice_configure * environment, line 1472: Called econf '--disable-debug' '--disable-ftedebug' '--disable-cpdebug' '--disable-sensdebug' '--disable-asdebug' '--disable-stepdebug' '--disable-pzdebug' '--disable-blktmsdebug' '--disable-smltmsdebug' '--enable-xspice' '--enable-cider' '--disable-xgraph' '--disable-dependency-tracking' '--disable-rpath' '--enable-openmp' '--with-fftw3' '--with-readline' '--with-tcl' * phase-helpers.sh, line 681: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" But: [I] dev-tcltk/blt Available versions: 2.4z-r13 {X jpeg static-libs} Installed versions: 2.4z-r13(08:04:02 PM 09/11/2019)(X jpeg -static-libs) Homepage: http://blt.sourceforge.net/ http://jos.decoster.googlepages.com/bltfortk8.5.2 Description: Extension to Tk, adding new widgets, geometry managers, and misc commands If more information are wanted, I will be happy to pollute the mailinglist with the contents of all logfiles available... ;) :) How can I avoid the problem shown above without removing the "tcl" and "shared" USEFLAG? Cheers! mcc