Linux and spice

Hi to all, I'm looking for a version of spice which runs under Linux. I tried to use gEDA with ngspice but it doesn't work. I've tried to use it a lot of time. Thanks to all Franco

Reply to
framin
Loading thread data ...

Go and ask the gEDA user-group/mailing-list what you are doing wrong. They are a smart and helpful bunch.

Just searching the mailing list might be enough to crack the problem.

-- Bill Sloman, Nijmegen

Reply to
bill.sloman

LTSpice runs fine under wine.

Ian

Reply to
Ian Bell

Ngspice works fine under Suse 10.

Reply to
miso

SwitcherCAD (LT Spice) works under Wine. The developer specifically tests this scenario, I believe.

--

John Devereux
Reply to
John Devereux

framin" >I tried to use gEDA with ngspice but it doesn't work.

Like Sloman said, ask the guys that use it / develop it.

formatting link
SwitcherCAD (LT Spice) works under Wine.

Yup.

Yup--since Mike first got it working (4 years ago).

formatting link

Reply to
JeffM

How do you search a mailing list?

Thanks, Rich

Reply to
Rich Grise

Where's the "Wind for dummies" page?

Thanks, Rich

Reply to
Rich Grise

Rich Grise wrote:

formatting link
formatting link

Reply to
JeffM

formatting link

Reply to
JeffM

ltspice running under wine.

works good.

Bye. Jasen

Reply to
jasen

^^^^ Wine, of course.

Thanks, Rich

Reply to
Rich Grise

Just install wine, on this debian system I did "apt-get install wine" and it downloaded and installed wine.

download ltspice, the url is

formatting link

then do "wine swcadiii.exe" this will install ltspice

then do " wine 'c:\Program Files\LTC\SwCADIII\scad3.exe' " when you want to run it - it's probably convenient to create a script or launcher that does that to save typing.

Bye. Jasen

Reply to
jasen

I downloaded the latest and greatest source, so I have:

$ wine --version wine: glibc >= 2.3 without NPTL or TLS is not a supported combination. It will most likely crash. Please upgrade to a glibc with NPTL support. wine-0.9.34 $

Hmm - this is the first time I've tried wine --version; I don't understand that glibc thing: I'm running Slackware 11.0; $ uname -a Linux heartwood 2.4.33.3 #1 Fri Sep 1 01:48:52 CDT 2006 i686 athlon-4 i386 GNU/Linux

and when I do $ wine /G/Software/swcadiii.exe it does this: $ wine /G/Software/swcadiii.exe wine: glibc >= 2.3 without NPTL or TLS is not a supported combination. It will most likely crash. Please upgrade to a glibc with NPTL support. wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60cf2103 (thread 0009), starting debugger... wine: glibc >= 2.3 without NPTL or TLS is not a supported combination. It will most likely crash. Please upgrade to a glibc with NPTL support. Unhandled exception: page fault on write access to 0x003ffd80 in 32-bit code (0x60cf2103). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:1007 GS:0000 EIP:60cf2103 ESP:0033e718 EBP:0033ea80 EFLAGS:00210212( - 00 - RIA1) EAX:0033ebb0 EBX:60cf9ff4 ECX:60cf12e0 EDX:00000001 ESI:003ffbe0 EDI:60017020 Stack dump:

0x0033e718: 0033e758 60cf885c 0033e758 0033e754 0x0033e728: 00000000 00000000 0000eb58 00000005 0x0033e738: 00001000 00000001 0000ee5c 60017020 0x0033e748: 60cfa1b4 60cfa1b8 0033e9d8 0000001e 0x0033e758: 46203123 53206972 31207065 3a313020 0x0033e768: 353a3834 44432032 30322054 60003630 0200: sel=1007 base=7ffdc000 limit=00001fff 32-bit rw- Backtrace: =>1 0x60cf2103 pthread_initialize+0x293() in libpthread.so.0 (0x0033ea80) 2 0x60cf87d5 __do_global_ctors_aux+0x25() in libpthread.so.0 (0x0033ea90) 3 0x60cedaa2 _init+0x12() in libpthread.so.0 (0x0033ea98) 4 0x6000c3af _dl_init+0x25f() in ld-linux.so.2 (0x0033eae8) ... and on and on for about 3 pages.

Now what?

Thanks, Rich

Reply to
Rich Grise

No need to compile it. Go to

formatting link
where you will find a Slack pack for wine for slackware. This link should get you straight there.

formatting link

Ian

Reply to
Ian Bell

OK, so I've done that, and I get: ### $ wine /G/Software/swcadiii.exe wine: glibc >= 2.3 without NPTL or TLS is not a supported combination. It will most likely crash. Please upgrade to a glibc with NPTL support. wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60cf1103 (thread 0009), starting debugger... wine: glibc >= 2.3 without NPTL or TLS is not a supported combination. It will most likely crash. Please upgrade to a glibc with NPTL support. wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60936103 (thread 000b), starting debugger... wine: glibc >= 2.3 without NPTL or TLS is not a supported combination. It will most likely crash. Please upgrade to a glibc with NPTL support. err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000c04b

$ wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60936103 (thread 000d), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000c04b err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000c04b

$ wine --version wine: glibc >= 2.3 without NPTL or TLS is not a supported combination. It will most likely crash. Please upgrade to a glibc with NPTL support. wine-0.9.33 ###

So do I need a different library or something?

Thanks, Rich

Reply to
Rich Grise

Very interesting. I installed switcherCAD using an earlier version of wine and have only just upgraded to the version I told you about. I don't normally run it from the command line but I just tried it and I get the same initial glibc message you did but then it runs OK. Clearly the installer will not run at all now from your own tests. I need to look into this further.

Ian

Reply to
Ian Bell

Right, checking on linuxpackages.net reveals that this version of wine is meant for 2.6 kernels and the error occurs if you run with a 2.4 kernel. So you could upgrade to a 2.6 kernel or roll back wine far enough to be 2.4 kernel compatible. I run 2.4 kernel so I have to make this decision too.Not sure which way to go yet.

Ian

Reply to
Ian Bell

If you want to keep a 2.4 kernel try the 9.2.0 version of wine from linuxpackages.net. This does work but has a bug with some dialog boxes - leaves them blank. The workaround is to minimise then maximise them and the content is restored.

Ian

Reply to
Ian Bell

looks like a slackware problem. try rebuilding glibc with those options turned on.

Bye. Jasen

Reply to
jasen

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.