Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu #2

Open
sanj0212 opened this issue Nov 9, 2017 · 3 comments
Open

ubuntu #2

sanj0212 opened this issue Nov 9, 2017 · 3 comments

Comments

@sanj0212
Copy link

sanj0212 commented Nov 9, 2017

thanks for bringing this tool on ubuntu.. :)

@andresmmera
Copy link

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

@wrcad
Copy link
Owner

wrcad commented Nov 14, 2018 via email

@ElderDelp
Copy link

Check the full output of the failed configure

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants