Open sanj0212 opened 7 years ago
I hope I'm not asking something trivial, but I got the following after running make config
:
(I didn't modify Makefile as I though it was fine)
make[1]: Entering directory '/home/andresmmera/git/xictools' make[2]: Entering directory '/home/andresmmera/git/xictools/xt_base' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/xt_base' make[2]: Entering directory '/home/andresmmera/git/xictools/mozy' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/mozy' make[2]: Entering directory '/home/andresmmera/git/xictools/adms' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/adms' make[2]: Entering directory '/home/andresmmera/git/xictools/KLU' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/KLU' make[2]: Entering directory '/home/andresmmera/git/xictools/vl' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/vl' make[2]: Entering directory '/home/andresmmera/git/xictools/wrspice' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/wrspice' make[2]: Entering directory '/home/andresmmera/git/xictools/mrouter' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/mrouter' make[2]: Entering directory '/home/andresmmera/git/xictools/xic' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/xic' make[2]: Entering directory '/home/andresmmera/git/xictools/fastcap' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/fastcap' make[2]: Entering directory '/home/andresmmera/git/xictools/fasthenry' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/fasthenry' Makefile:142: recipe for target 'depend' failed
Obviously some part of the setup didn't work. If you aren't comfortable debugging this, there are precompiled packages available on wrcad.com.
On Tue, Nov 13, 2018 at 11:04:23AM -0800, Andrés Martínez-Mera wrote:
I hope I'm not asking something trivial, but I got the following after running
make config
: (I didn't modify Makefile as I though it was fine)make[1]: Entering directory '/home/andresmmera/git/xictools' make[2]: Entering directory '/home/andresmmera/git/xictools/xt_base' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/xt_base' make[2]: Entering directory '/home/andresmmera/git/xictools/mozy' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/mozy' make[2]: Entering directory '/home/andresmmera/git/xictools/adms' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/adms' make[2]: Entering directory '/home/andresmmera/git/xictools/KLU' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/KLU' make[2]: Entering directory '/home/andresmmera/git/xictools/vl' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/vl' make[2]: Entering directory '/home/andresmmera/git/xictools/wrspice' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/wrspice' make[2]: Entering directory '/home/andresmmera/git/xictools/mrouter' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/mrouter' make[2]: Entering directory '/home/andresmmera/git/xictools/xic' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/xic' make[2]: Entering directory '/home/andresmmera/git/xictools/fastcap' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/fastcap' make[2]: Entering directory '/home/andresmmera/git/xictools/fasthenry' make[2]: No rule to make target 'depend'. Stop. make[2]: Leaving directory '/home/andresmmera/git/xictools/fasthenry' Makefile:142: recipe for target 'depend' failed
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/wrcad/xictools/issues/2#issuecomment-438396340
I am adding this comment just in case someone like me checks the issues for, in my case, a mental lapse.
What bit me was I just skimmed the README
and Makefile.sample
and missed the spot in the Makefile.sample (below) where it says:
# This variable must be set, there is no default. Most of the time it
# can be set to something like "--enable-gtk2=yes",
If you don't uncomment and set one of these, autoconf
will end with something like
could not find gtk2
If you miss this hint when you run make config the first time, you don't see it again unless you run make reconfig
. Once make config
runs once, it does not run again. (The Makefile keeps a state file .configured
in the top level directory and does not rerun autoconf
again. )
When I ran make reconfig
, I saw the missing graphics package.
Then I installed, in my instance:
yum install gtk2-devel
Then it compiled like a champ!
From the Makefile.sample
:
# Graphics package. The programs can build with GTK-2, GTK-3, QT-5,
# and QT-6. GTK-2 is the production graphics system and is strongly
# recommended for actual work. GTK-3 has numerous issues: primarily
# the Cairo graphics is not suitable for a program like Xic (or any
# EDA tool with performance requirements) thus has to be worked
# around, which is a challenge. Presently, only X-Windows is
# supported in GTK-3, using direct X calls. Native Windows is not
# supported, and if support is ever provided under GTK-3 for Windows
# it will require an X server, same for Apple. It is unlikely that
# further effort will be directed toward GTK. QT support is just
# getting started but will eventually replace GTK. Most of the
# dialogs have not been implemented but much of the core functionality
# is available. Help implementing the dialogs would be greatly
# appreciated!
#
# This variable must be set, there is no default. Most of the time it
# can be set to something like "--enable-gtk2=yes", which should
# always be true for GTK if the pkg-config utility is working. If can
# be set to the directory containing pkg-config for GTK. Otherwise,
# the value can be the installation location for QT-5/6. If the qmake
# program is in your search path "yes" should work here as well.
#
#GFXLOC = --enable-gtk2=/mingw64/bin
#GFXLOC = --enable-qt5=/opt/local/libexec/qt5
#GFXLOC = --enable-qt5=/usr/lib64/qt5
#GFXLOC = --enable-qt5=yes
#GFXLOC = --enable-gtk2=yes
thanks for bringing this tool on ubuntu.. :)