Hello Romano,
sudo apt-get install build-essential tcl-dev tk-dev libX11-dev libxpm-dev
./configure --with-tcl --with-tk
make clean
make
To test without installing
export XCIRCUIT_LIB_DIR=./lib
export XCIRCUIT_SRC_DIR=./lib/tcl
./lib/tcl/xcircuit.sh
To install
sudo make install
FYI, the "--with-tcl" and "--with-tk" really dates back to version 3.2
or so when Tcl/Tk was not auto-detected and was disabled by default;
it should suffice to just do "./configure".
Likewise, "libxpm-dev" was deprecated some time ago when I decided it
was easier just to convert the XPM pixmaps to GIF and use Tcl/Tk's photo
image format instead of trying to maintain a Tcl/Tk image extension just
to read a few XPM files.
Version 3.9 has been a joy for me ever since Erik van der Wal incorporated
Cairo 2D graphics into the code. For that, you would want to add Cairo to
your prerequisite list:
sudo apt-get install libcairo2-dev
or
sudo yum install cairo-devel
I highly recommend it. Since I started using XCircuit with Cairo, I've
stopped using PostScript previewers completely, since the view in XCircuit
is exactly the same, all rendered fonts and antialiased lines and
everything.
and no, you won't find a better schematic-drawing program (at least not so
fast to use).
And thanks for the kind testimonial. :) Of course I use XCircuit myself,
nearly every day. Hard to believe I started coding it 23 years ago
(I would say "where did the time go?" but I'm acutely aware that much
of that time was spent debugging. . .).
---Tim
+--------------------------------+-------------------------------------+
| R. Timothy Edwards (Tim) | email: t...@opencircuitdesign.com |
| Open Circuit Design | web: http://opencircuitdesign.com |
| 19412 Cissel Manor Drive | phone: (301) 528-5030 |
| Poolesville, MD 20837 | cell: (408) 828-8212 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev@opencircuitdesign.com
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev