Hello Jm,

I'm trying to install Xcircuit for learning basic DC electronics, from
AllAboutCircuits forum, great site !!!!

So I need Spice and Xcircuit, and /i stuck about Tk and libtk8.5.so/

Os: Opensuse 11.3

Tcl8.5.8 and Tk8.5.8 are located in: /usr/lib64/tcl8.5.8/unix or

/usr/lib64/tk8.5.8/unix


*Tcl installation*

1: ./compile, make and make config: everything's fine for tcl8.5.8.
compiled with : --with-tcl= /usr/lib64/tcl8.5.8/unix

*Tk installation*

2a: ./ compile for tk8.5.8 : works fine.
 compiled with : --with-tcl= /usr/lib64/tcl8.5.8/unix

2b: make for tk8.5.8 : bad result:
/usr/local/lib/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
cannot find -ltclstub8.5
collect2 : error 1
make:***[libtk8.5.so] Error 1

I'm confused by your statements.  Why is there a "Tcl installation" and
a "Tk installation", and why is there a "compile" and a "make"?

You should be doing something like:

        ./configure

If this complains that Tcl and/or Tk were not found, then you should
do:
        ./configure --with-tcl=/usr/lib64/tcl8.5.8/unix \
                    --with-tk=/usr/lib64/tk8.5.8/unix

then do

        make

and if that works, do

        make install

----------------------------------------

If what you said in your email is correct, except that you used "compile"
where you really meant to say "configure", then the problem may be that
you always used "--with-tcl=" but not "--with-tk=".  But I'm not sure
about that.  The actual error does not say that it cannot find
libtk8.5.so, but that it cannot find the library file tclstub8.5, but
this is odd, because xcircuit is not supposed to link to tclstub8.5.

If you can send me the complete output of the "configure" and "make"
commands, maybe I can figure out what is going wrong.

                                                Regards,
                                                Tim

+--------------------------------+-------------------------------------+
| R. Timothy Edwards (Tim)       | email: t...@opencircuitdesign.com    |
| Open Circuit Design            | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-5030               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev@opencircuitdesign.com
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to