[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling xcircuit

"Sridhar M.A." <mas@uomphysics.net> writes:

> I am trying to compile the latest version of xcircuit as the version in
> the unstable is also a bit dated.

Yeah, sorry.  :-/  (I'm having some issues with the autoconfiscation,
which aren't hard to work around, I just haven't had the time.  I
should stop taking classes.)

> I have detailed below the steps I took for the compilation:
> 1. ./configure --with-tcl=/usr/lib/tcl8.4 --with-tk=/usr/lib/tk8.4

The Debian build of xcircuit doesn't use the Tcl wrapper, but it does
use the Python wrapper.  If neither of these mean anything to you, you
probably don't need either.

> 2. make
>       Compilation is fine, but got into problems at the linking stage.
>       The error I get is this:
> mas@brahman:~/software/tmp/xcircuit-3.1.10$ make
> gcc  -g -O2  -o xcircuit  elements.o events.o filelist.o files.o fontfile.o formats.o functions.o help.o keybindings.o libraries.o menucalls.o netlist.o parameter.o python.o rcfile.o render.o schema.o selection.o text.o tclxcircuit.o tkSimple.o tkPixmap.o xcircuit.o  -L/usr/X11R6/lib -lXt  -lSM -lICE -lm  -lXpm -ltcl8.4 -ltk8.4
> /usr/lib/gcc-lib/i386-linux/3.2.3/../../../crt1.o(.text+0x18): In function `_start':
> : undefined reference to `main'
> events.o(.text+0x255a): In function `keyhandler':
> /home/mas/software/tmp/xcircuit-3.1.10/events.c:1642: undefined reference to `xcinterp'

It looks like this falls out of the Tcl wrappers.  Digging through the
Makefile.am, you might want to run 'make tcl' before running the main

Good luck...(and do let me know if you find the Tcl wrapper useful...)

David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell

Reply to: