View Single Post

   
  #1 (permalink)  
Old 02-19-2008, 04:53 PM
Rich Grise
 
Posts: n/a
Default tclspice or spicewish runtime error ???

[crossposted to:
alt.os.linux.slackware,alt.binaries.schematics.ele ctronic
please manage followups intelligently, thanks]

There was a discussion about simulation, and I believe it
was Watson A Name who mentioned using spice on dos or
something, and I was going to ask, "isn't there a spice
for linux?" but thought I'd check.

There is, and I've downloaded it and installed it and as far
as I know, I've done the install per instructions, at least
configure and make and checkinstall didn't give any errors. ;-)

But the first time I try to run it, which I admit the
documentation for is a bit sparse, as in "how to operate
tclspice" - anyway, I'm at a point where I think I'm supposed
type

package require spice
spice_init_gui example.cir

according to the tutorial on the web site.

Well, I get this:
-------------------------
rich@entheos:~/Downloads/tclspice/tests
$ package require spice
-bash: package: command not found
rich@entheos:~/Downloads/tclspice/tests
$ package require spice
-bash: package: command not found
rich@entheos:~/Downloads/tclspice/tests
$ spice_init_gui fourbitadder.cir
-bash: spice_init_gui: command not found
rich@entheos:~/Downloads/tclspice/tests
$ su -
Password:
root@entheos:~
# package require spice
-su: package: command not found
root@entheos:~
# spice_init_gui fourbitadder.cir
-su: spice_init_gui: command not found
root@entheos:~
----------------------

But, I don't remember where I read it, I heard about
spicewish, so can type

$ spicewish $FILE,
but I get:
----------------------
$ spicewish fourbitadder.cir
Error in startup script: couldn't load file "/usr/lib/libspice.so": /usr/lib/libspice.so: undefined symbol: where_history
while executing
"load $library spice"
(procedure "Loadspice" line 13)
invoked from within
"Loadspice 0.2.17 /usr/lib"
("package ifneeded" script)
invoked from within
"package require spice"
(in namespace eval "::spicewish" script line 4)
invoked from within
"namespace eval spicewish {

# load tclspice
package require spice

proc usage { } {
puts "usage: spicewish \[options ...\] \[inputfile ...\]"
..."
(file "/usr/local/bin/spicewish" line 8)
rich@entheos:~/Downloads/tclspice/tests
$
-----------------------------------
and don't know where to look next.

Any Ideas?

Thanks,
Rich


Reply With Quote