From: Paolo N. <pne...@gm...> - 2008-09-11 08:00:34
|
Hi Holger, I have found the problem (more elusive than Higgs's Boson, though cheaper to find). I have a logitech Webcam and its associated software. Googling around I found this message: http://www.rtems.com/ml/rtems-users/2008/march/msg00088.html I followed the procedure and now I am able to compile. Tnanks, Paolo Holger Vogt wrote: > Paolo, > > meanwhile I have set up a fresh mingw which runs and currently builds > ngspice! > > I have been following exactly (step by step, an ugly procedure of you > are used to Windows installers) the advice given in > http://www.mingw.org/wiki/msys . > > First I have installed the compiler to c:/mingw using MinGW-5.1.4.exe > downloaded from the link "MingW" given in the first bullet of chapter > "Installing MSYS". Next was to install MSYS downloaded with link "MSYS > 1.0.10", then MSYS DTK and MSYS Core. I added the "Recommended Updates" > (bash, Coreutils, m4). > > Next I removed the file entries for autoconf, automake from C:/msys/1.0/bin. > > To add new autotools, I downloaded autoconf-2.63, automake-1.10.1, and > libtool-2.2.6a from the links presented in chapter "Using MSYS with > MinGW" and followed the procedure described in the next lines of the > wiki for each package individually. Finally I added the path > informationas described to C:\msys\1.0\etc\profile. > > Because I prefer not to use rxvt, but the Windows cmd box, I have > changed rxvt.exe in C:/msys/1.0/bin to rxvt.exe_. > > Double click on the MSYS icon on the desktop will open the cmd box. In > ng-spice-rework I ran > autogen.sh > autogen.log 2>&1 > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug > make > make.log 2>&1 > make install > > and I find a new ngspice.exe in C:/Spice/bin. Source code is from CVS, > 01.09.09. > > Still compilation is done twice per *.c file as I have already reported. > > To allow compilation with tcl, I installed into C:/mingw > blt24z-for-tcl84.exe from > http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370 > > and tcltk-8.4.1-1.exe from > https://sourceforge.net/project/showfiles.php?group_id=2435. > > You then need to edit C:/mingw/lib/tclConfig.sh, line 17 to > TCL_VERSION='84' > > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug --with-tcl > will then create all makefiles. > make clean > make > make.log 2>&1 > now starts compiling. The error I had reported not finding a rule to > make libfte.la is gone! Still it seems to be compiiling twice. > > Compilation finally failed with the error message: > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include > -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows > -I/mingw/include -DTCLSPICE_version="\"17.1\"" -MT tclspice.lo -MD -MP > -MF .deps/tclspice.Tpo -c -o tclspice.o tclspice.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include > -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields > -march=i686 -O2 -Wall -mwindows -I/mingw/include > -DTCLSPICE_version=\"17.1\" -MT tclspice.lo -MD -MP -MF > .deps/tclspice.Tpo -c tclspice.c -o tclspice.o > In file included from c:/mingw/include/windef.h:253, > from tclspice.c:57: > c:/mingw/include/winnt.h:185: error: syntax error before ',' token > tclspice.c:92: error: syntax error before "jbuf" > > But this is another story to be dealt with another day. > > Regards > > Holger > > > > Paolo Nenzi schrieb: >> Thanks Holger, >> >> I am quite scared by usign windows for development :) You are heroes :) >> >> Paolo >> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |
From: Dietmar W. <die...@ar...> - 2008-09-11 17:54:37
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Paolo,<br> <br> some years ago I found an paper about using hardware models in circuit simulators by plugin the device in special interface board to the computer.<br> Why not coupling your webcam to ngspice<span class="moz-smiley-s4"><span> :-P </span></span>.<br> <br> Dietmar<br> <br> Paolo Nenzi schrieb: <blockquote cite="mid:48C...@gm..." type="cite"> <pre wrap="">Hi Holger, I have found the problem (more elusive than Higgs's Boson, though cheaper to find). I have a logitech Webcam and its associated software. Googling around I found this message: <a class="moz-txt-link-freetext" href="http://www.rtems.com/ml/rtems-users/2008/march/msg00088.html">http://www.rtems.com/ml/rtems-users/2008/march/msg00088.html</a> I followed the procedure and now I am able to compile. Tnanks, Paolo Holger Vogt wrote: </pre> <blockquote type="cite"> <pre wrap="">Paolo, meanwhile I have set up a fresh mingw which runs and currently builds ngspice! I have been following exactly (step by step, an ugly procedure of you are used to Windows installers) the advice given in <a class="moz-txt-link-freetext" href="http://www.mingw.org/wiki/msys">http://www.mingw.org/wiki/msys</a> . First I have installed the compiler to c:/mingw using MinGW-5.1.4.exe downloaded from the link "MingW" given in the first bullet of chapter "Installing MSYS". Next was to install MSYS downloaded with link "MSYS 1.0.10", then MSYS DTK and MSYS Core. I added the "Recommended Updates" (bash, Coreutils, m4). Next I removed the file entries for autoconf, automake from C:/msys/1.0/bin. To add new autotools, I downloaded autoconf-2.63, automake-1.10.1, and libtool-2.2.6a from the links presented in chapter "Using MSYS with MinGW" and followed the procedure described in the next lines of the wiki for each package individually. Finally I added the path informationas described to C:\msys\1.0\etc\profile. Because I prefer not to use rxvt, but the Windows cmd box, I have changed rxvt.exe in C:/msys/1.0/bin to rxvt.exe_. Double click on the MSYS icon on the desktop will open the cmd box. In ng-spice-rework I ran autogen.sh > autogen.log 2>&1 ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug make > make.log 2>&1 make install and I find a new ngspice.exe in C:/Spice/bin. Source code is from CVS, 01.09.09. Still compilation is done twice per *.c file as I have already reported. To allow compilation with tcl, I installed into C:/mingw blt24z-for-tcl84.exe from <a class="moz-txt-link-freetext" href="http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370">http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370</a> and tcltk-8.4.1-1.exe from <a class="moz-txt-link-freetext" href="https://sourceforge.net/project/showfiles.php?group_id=2435">https://sourceforge.net/project/showfiles.php?group_id=2435</a>. You then need to edit C:/mingw/lib/tclConfig.sh, line 17 to TCL_VERSION='84' ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug --with-tcl will then create all makefiles. make clean make > make.log 2>&1 now starts compiling. The error I had reported not finding a rule to make libfte.la is gone! Still it seems to be compiiling twice. Compilation finally failed with the error message: /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows -I/mingw/include -DTCLSPICE_version="\"17.1\"" -MT tclspice.lo -MD -MP -MF .deps/tclspice.Tpo -c -o tclspice.o tclspice.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows -I/mingw/include -DTCLSPICE_version=\"17.1\" -MT tclspice.lo -MD -MP -MF .deps/tclspice.Tpo -c tclspice.c -o tclspice.o In file included from c:/mingw/include/windef.h:253, from tclspice.c:57: c:/mingw/include/winnt.h:185: error: syntax error before ',' token tclspice.c:92: error: syntax error before "jbuf" But this is another story to be dealt with another day. Regards Holger Paolo Nenzi schrieb: </pre> <blockquote type="cite"> <pre wrap="">Thanks Holger, I am quite scared by usign windows for development :) You are heroes :) Paolo </pre> </blockquote> <pre wrap=""> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a> _______________________________________________ Ngspice-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ngs...@li...">Ngs...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ngspice-devel">https://lists.sourceforge.net/lists/listinfo/ngspice-devel</a> </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a> _______________________________________________ Ngspice-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ngs...@li...">Ngs...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ngspice-devel">https://lists.sourceforge.net/lists/listinfo/ngspice-devel</a> </pre> </blockquote> <br> </body> </html> |
From: Paolo N. <pne...@gm...> - 2008-09-13 09:37:54
|
Dietmar Warning wrote: > Paolo, > > some years ago I found an paper about using hardware models in circuit > simulators by plugin the device in special interface board to the computer. > Why not coupling your webcam to ngspice :-P . Nice idea, we can use it to generate an optical source generator to add to the cricuit :-P Ciao, Paolo |
From: Holger V. <hol...@un...> - 2008-09-13 10:32:41
|
Hi all, with an update to my mingw installation and some tiny changes to configure.in and tclspice.c I am now able to compile ngspice using ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug --with-tcl make make install A huge library libspice.a is created at C:\Spice\lib. The install procedure then fails with /bin/sh /d/Spice_General/ng-spice-rework/install-sh -d C:/Spice/lib/spice /bin/install -c -m 644 pkgIndex.tcl C:/Spice/lib/spice /bin/install: cannot stat `pkgIndex.tcl': No such file or directory make[1]: *** [install-tclspice] Error 1 make[1]: Leaving directory `/d/Spice_General/ng-spice-rework/src' make: *** [install-recursive] Error 1 At least a small step forward. To ask as an ignorant: This huge overhaul adding tcl-spice: What is it good for? What does tcl offer to the user? How should the result of the build procedure look like, what executables, dlls, and ... are to be expected? Regards Holger > > |
From: SAINTE C. L. <lio...@gm...> - 2008-09-13 17:09:10
|
Try to respect the following paragraph of the autobook: (§25.4.3) > libtool provides a macro, ‘AC_LIBTOOL_WIN32_DLL’, which must be added to a package’s ‘configure.in’ to communicate to the libtool machinery that the package supports dlls. Without this macro, libtool will never try to build a dll on Windows. Add this macro to ‘configure.in’ before the ‘AM_PROG_LIBTOOL’ macro, and try again In src/Makefile.am please add -no-undefined flag to libspice LDFLAGS. This flag, necessary for a dll, will fail with xspice for the moment. Please use the configure flag --disable-xspice too. Then you should be able to make the dll. If you are successfull, Youhou! On sam, 2008-09-13 at 12:33 +0200, Holger Vogt wrote: > Hi all, > > with an update to my mingw installation and some tiny changes to > configure.in and tclspice.c I am now able to compile ngspice using > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug --with-tcl > make > make install > > A huge library libspice.a is created at C:\Spice\lib. The install > procedure then fails with > > /bin/sh /d/Spice_General/ng-spice-rework/install-sh -d C:/Spice/lib/spice > /bin/install -c -m 644 pkgIndex.tcl C:/Spice/lib/spice > /bin/install: cannot stat `pkgIndex.tcl': No such file or directory > make[1]: *** [install-tclspice] Error 1 > make[1]: Leaving directory `/d/Spice_General/ng-spice-rework/src' > make: *** [install-recursive] Error 1 > > At least a small step forward. > > To ask as an ignorant: This huge overhaul adding tcl-spice: What is it > good for? What does tcl offer to the user? > > How should the result of the build procedure look like, what > executables, dlls, and ... are to be expected? > > Regards > > Holger > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |
From: Holger V. <hol...@un...> - 2008-09-13 21:18:23
|
Hi Lionel, not yet successful, getting this error message: /bin/sh ../libtool --tag=CC --mode=link gcc -g -O0 -Wall -I/mingw/include -mwindows -shared -Wl,--version-script=tclspice.map -no-undefined -o libspice.la -rpath C:/Spice/lib ngspice.lo conf.lo spice.lo frontend/libfte.la frontend/wdisp/libwindisp.la frontend/plotting/libplotting.la ... maths/sparse/libsparse.la misc/libmisc.la tclspice.lo -lm -liberty -lpsapi -lm -liberty -lpsapi libtool: link: can not build a shared library libtool: link: See the libtool documentation for more information. libtool: link: Fatal configuration error. A static library will build. Regards Holger SAINTE CLUQUE Lionel schrieb: > Try to respect the following paragraph of the autobook: > (§25.4.3) > > >> libtool provides a macro, ‘AC_LIBTOOL_WIN32_DLL’, which must be >> > added to a package’s ‘configure.in’ to communicate to the libtool > machinery that the package supports dlls. Without this macro, libtool > will never try to build a dll on Windows. Add this macro to > ‘configure.in’ before the ‘AM_PROG_LIBTOOL’ macro, and try again > > In src/Makefile.am please add -no-undefined flag to libspice LDFLAGS. > This flag, necessary for a dll, will fail with xspice for the moment. > Please use the configure flag --disable-xspice too. > > Then you should be able to make the dll. > > If you are successfull, Youhou! > > |
From: SAINTE C. L. <lio...@gm...> - 2008-09-24 06:00:44
|
Hi holger, First I would like to thank you, because at that time I'm 100% loaded by work (and I start to be late). Then I can not progress on tclspice. So I greatly appreciate your help on that topic. tclspice for windows is in my hot-tasks list. Do you succeed in building a dll? Are you sure xspice will be able to link with the dll? I don't know the topic well, but in a dll all dependencies have to be resolved at link time. A dll can not load dynamic objects (as far as I undestand). For the moment if I use the -z,defs link option xspice fails. thanks On mer, 2008-09-24 at 00:44 +0200, Holger Vogt wrote: > Hi all, > > the installation instruction given in my last email was not complete. > > After a > make maintainer-clean > autogen.sh > $ ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug > > xspice (especially cmpp.exe) was not made due to a lack of flex and yacc. > > flex and yacc have been installed into msys/1.0/bin from > http://sourceforge.net/project/showfiles.php?group_id=23617 > > However: ifs_lex.c has been created, but only as an empty file! > #define yyin ifs_yyin should be defined there, so an error message > occured.. yacc seems to be not working. > > Removed yacc.exe by > yacc.exe renamed to yacc.exe_ > > added bison.exe (plus dlls) and yacc from > http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=22822&release_id=372163 > http://downloads.sourceforge.net/gnuwin32/bison-2.1-bin.zip?modtime=1132421651&big_mirror=1 > > Now after a > make > make install > > everthing was created including xspice. > > Regards > > Holger > > > > Holger Vogt schrieb: > > > Paolo, > > > > > > meanwhile I have set up a fresh mingw which runs and currently builds > > > ngspice! > > > > > > I have been following exactly (step by step, an ugly procedure of you > > > are used to Windows installers) the advice given in > > > http://www.mingw.org/wiki/msys . > > > > > > > ... > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |
From: Holger V. <hol...@un...> - 2008-09-25 22:03:19
|
Lionel, for now I have given up making tclspice.dll with mingw. A specialist of autotools and libtool would be required to provide a proper setup for compilation and linking. Instead I have generated tclspice.dll with MC VC++ 2008. The dll is exporting a single function Spice_init. Only small changes to the actual CVS source code are required, which I would check in if the dll is working properly. However, due to my total lack of know-how with tcl-tk I would like to get some advice how to start ngspice using tclspice.dll. Just using $ wish84 % package require spice will result in the error message "can't fnd package spice". Probably firstly I have to create such a package. Please give some advice. Regards Holger SAINTE CLUQUE Lionel schrieb: > Hi holger, > > First I would like to thank you, because at that time I'm 100% loaded by > work (and I start to be late). Then I can not progress on tclspice. So I > greatly appreciate your help on that topic. tclspice for windows is in > my hot-tasks list. > > Do you succeed in building a dll? > > Are you sure xspice will be able to link with the dll? I don't know the > topic well, but in a dll all dependencies have to be resolved at link > time. A dll can not load dynamic objects (as far as I undestand). For > the moment if I use the -z,defs link option xspice fails. > > thanks > |
From: <th...@mi...> - 2008-09-13 20:51:45
|
Hello Holger, the main advantage of tclspice is that now every program can integrate a spice simulator. The API of tcl/tk/blt is very clean, so even you want only to write a C/C++-Program it is easy to use it from there. I have also tcl/tk/blt-bindings to freepascal, so you can use tclspice within a freepascal/lazarus-Program. I think this benefits are worth the additionals. Regards, Stephan |
From: <th...@mi...> - 2008-09-09 09:05:56
|
Hello Paolo, I have downloaded them from: https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879 and just deflated it to the mingw-directory. Regards, Stephan |
From: Lionel S. C. <lio...@gm...> - 2008-09-09 09:15:43
|
Hi everybody, To build tclspice on windows is not yet possible. To try it, you need a special configure.in I emailed in one of my previous mails (the latest I sent). Then you need to fix a bug of undefined symbols. tclspice fails to build with the -z,defs LDFLAGS Another bug I had to face is that on my msys/mingw Ar refuses to handle as many objects as ngspice and tclspice does. Holger does not seem to have such a problem. For more information feel free to ask me Sincerly yours Lionel 2008/9/9 <th...@mi...>: > Hello Paolo, > > I have downloaded them from: > > https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879 > > and just deflated it to the mingw-directory. > > Regards, > Stephan > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel > -- Lionel SAINTE CLUQUE |
From: Lionel S. C. <lio...@gm...> - 2008-09-09 09:37:18
|
I think you should not waist your time on windows now. Perhaps Holger and I can work on windows port, but for the others it's not worth wasting your time on a software that does not run yet. When it will be proved that tclspice compiles under windows, then I will be glad to help you install mingw/msys and compile it. If you want to help (really) please compile tclspice under linux with LDFLAGS=-z,defs Once this issue fixed it will be much easier to compile under windows. SY Lionel 2008/9/9 Paolo Nenzi <pne...@gm...>: > Hi again, > > It is normal to have stack dump running software under mingw/msys ? I > think I cannot run any configure script. > > Thanks again, > Paolo > > > > th...@mi... wrote: >> Hello Paolo, >> >> I have downloaded them from: >> >> https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879 >> >> and just deflated it to the mingw-directory. >> >> Regards, >> Stephan >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Ngspice-devel mailing list >> Ngs...@li... >> https://lists.sourceforge.net/lists/listinfo/ngspice-devel > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel > -- Lionel SAINTE CLUQUE |
From: Paolo N. <pne...@gm...> - 2008-09-09 09:38:42
|
I think you are right, damn windows :) Paolo Lionel Sainte Cluque wrote: > I think you should not waist your time on windows now. > > Perhaps Holger and I can work on windows port, but for the others it's > not worth wasting your time on a software that does not run yet. When > it will be proved that tclspice compiles under windows, then I will be > glad to help you install mingw/msys and compile it. > > If you want to help (really) please compile tclspice under linux with > LDFLAGS=-z,defs Once this issue fixed it will be much easier to > compile under windows. > > SY > > Lionel > > 2008/9/9 Paolo Nenzi <pne...@gm...>: >> Hi again, >> >> It is normal to have stack dump running software under mingw/msys ? I >> think I cannot run any configure script. >> >> Thanks again, >> Paolo >> >> >> >> th...@mi... wrote: >>> Hello Paolo, >>> >>> I have downloaded them from: >>> >>> https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879 >>> >>> and just deflated it to the mingw-directory. >>> >>> Regards, >>> Stephan >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Ngspice-devel mailing list >>> Ngs...@li... >>> https://lists.sourceforge.net/lists/listinfo/ngspice-devel >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Ngspice-devel mailing list >> Ngs...@li... >> https://lists.sourceforge.net/lists/listinfo/ngspice-devel >> > > > |
From: Paolo N. <pne...@gm...> - 2008-09-09 10:47:42
|
Ciao Lionel, What does the -z,defs flag ? Ciao, Paolo Lionel Sainte Cluque wrote: > I think you should not waist your time on windows now. > > Perhaps Holger and I can work on windows port, but for the others it's > not worth wasting your time on a software that does not run yet. When > it will be proved that tclspice compiles under windows, then I will be > glad to help you install mingw/msys and compile it. > > If you want to help (really) please compile tclspice under linux with > LDFLAGS=-z,defs Once this issue fixed it will be much easier to > compile under windows. > > SY > |
From: <th...@mi...> - 2008-09-09 09:42:02
|
Lionel, Paolo, but then you system is linux and not i686-mingw ... Personally I think the way you have to install the mingw-stuff is crap. Not windows like. There should be one windows-installer with (mingw, msys, ... ) What I do is that I don't use the general installer. I make it in a very bad manner. I install the latest 50MB mingw-all-in-one installer. Then the msys-executable just over mingw (in the same directory even if it is not recomendated). And then I take a few newer binaries and copy them over the allready installed stuff. I have tell this functions: I was able to compile wxwidgets by: configure --prefix=/usr/local --enable-monolithic; make; make install tcl+tk+blt: configure --prefix=/usr/local; make; make install and an older ngspice-version ... Regards, Stephan |
From: Lionel S. C. <lio...@gm...> - 2008-09-09 09:51:11
|
In fact under i686-mingw building a dll requires the sames flags as compiling under linux with -LDFLAGS ... But building under windows is very slow. I think I will fix it under linux first, then copy these sources to windows for a dll build. My purpose it to propose a tclspice.dll and/or a tcl-tk-blt-tclspice folder ready to use for windows users. Those who want to compile it by themselves of course can. Lionel 2008/9/9 <th...@mi...>: > Lionel, Paolo, > > but then you system is linux and not i686-mingw ... > > Personally I think the way you have to install the mingw-stuff is crap. > Not windows like. There should be one windows-installer with (mingw, msys, > ... ) > > What I do is that I don't use the general installer. I make it in a very bad > manner. > > I install the latest 50MB mingw-all-in-one installer. Then the > msys-executable just over mingw (in the same directory even if it is not > recomendated). And > then I take a few newer binaries and copy them over the allready installed > stuff. > > I have tell this functions: > > I was able to compile wxwidgets by: > configure --prefix=/usr/local --enable-monolithic; make; make install > > tcl+tk+blt: configure --prefix=/usr/local; make; make install > > and an older ngspice-version ... > > > Regards, > Stephan > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel > -- Lionel SAINTE CLUQUE |
From: Paolo N. <pne...@gm...> - 2008-09-09 09:18:15
|
Stefan, Thnaks, but are you sure in the mingw folder and not in the msys one ? I am quite confused :) Paolo th...@mi... wrote: > Hello Paolo, > > I have downloaded them from: > > https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879 > > and just deflated it to the mingw-directory. > > Regards, > Stephan > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |
From: <th...@mi...> - 2008-09-09 09:26:01
|
Hello Paolo, To be sure you could deflate it in your "home" directory and move it then to the /usr/. directory. I think it will function (not 100% sure). I by the way compile tcl/tk using mingw. This functions 100% like the unix way. Also with ... make install ... perhaps you should create a /usr/local- directory. Regards, Stephan |
From: Lionel S. C. <lio...@gm...> - 2008-09-09 09:26:31
|
I personally run autoconf and so on on linux, then I go configure and compile under linux. 2008/9/9 Paolo Nenzi <pne...@gm...>: > Stefan, > > Thnaks, but are you sure in the mingw folder and not in the msys one ? > > I am quite confused :) > > Paolo > > th...@mi... wrote: >> Hello Paolo, >> >> I have downloaded them from: >> >> https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879 >> >> and just deflated it to the mingw-directory. >> >> Regards, >> Stephan >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Ngspice-devel mailing list >> Ngs...@li... >> https://lists.sourceforge.net/lists/listinfo/ngspice-devel > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel > -- Lionel SAINTE CLUQUE |
From: Paolo N. <pne...@gm...> - 2008-09-09 09:26:43
|
Hi again, It is normal to have stack dump running software under mingw/msys ? I think I cannot run any configure script. Thanks again, Paolo th...@mi... wrote: > Hello Paolo, > > I have downloaded them from: > > https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=67879 > > and just deflated it to the mingw-directory. > > Regards, > Stephan > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |
From: Paolo N. <pne...@gm...> - 2008-09-09 10:49:54
|
th...@mi... wrote: > Lionel, Paolo, > > but then you system is linux and not i686-mingw ... Stefan, I am using windows. I would set up a windows environment for compiling ngspice to test code and to halp people here o use it without having to install an Ubununt over some fancy virtual machine software :) Anyway I will quit to dedicate time to correct bugs and finishing hanging tasks (docs and suite). Ciao, Paolo > Personally I think the way you have to install the mingw-stuff is crap. > Not windows like. There should be one windows-installer with (mingw, msys, > ... ) > > What I do is that I don't use the general installer. I make it in a very bad > manner. > > I install the latest 50MB mingw-all-in-one installer. Then the > msys-executable just over mingw (in the same directory even if it is not > recomendated). And > then I take a few newer binaries and copy them over the allready installed > stuff. > > I have tell this functions: > > I was able to compile wxwidgets by: > configure --prefix=/usr/local --enable-monolithic; make; make install > > tcl+tk+blt: configure --prefix=/usr/local; make; make install > > and an older ngspice-version ... > > > Regards, > Stephan > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |
From: Lionel S. C. <lio...@gm...> - 2008-09-09 11:24:22
|
-z defs Force a fatal error if any undefined symbols remain at the end of the link. This is the default when an executable is built. It is also useful when building a shared object to assure that the object is self-contained, that is, that all its symbolic references are resolved internally. 2008/9/9 Paolo Nenzi <pne...@gm...>: > th...@mi... wrote: >> Lionel, Paolo, >> >> but then you system is linux and not i686-mingw ... > > Stefan, I am using windows. I would set up a windows environment for > compiling ngspice to test code and to halp people here o use it without > having to install an Ubununt over some fancy virtual machine software :) > > Anyway I will quit to dedicate time to correct bugs and finishing > hanging tasks (docs and suite). > > Ciao, > Paolo > > >> Personally I think the way you have to install the mingw-stuff is crap. >> Not windows like. There should be one windows-installer with (mingw, msys, >> ... ) >> >> What I do is that I don't use the general installer. I make it in a very bad >> manner. >> >> I install the latest 50MB mingw-all-in-one installer. Then the >> msys-executable just over mingw (in the same directory even if it is not >> recomendated). And >> then I take a few newer binaries and copy them over the allready installed >> stuff. >> >> I have tell this functions: >> >> I was able to compile wxwidgets by: >> configure --prefix=/usr/local --enable-monolithic; make; make install >> >> tcl+tk+blt: configure --prefix=/usr/local; make; make install >> >> and an older ngspice-version ... >> >> >> Regards, >> Stephan >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Ngspice-devel mailing list >> Ngs...@li... >> https://lists.sourceforge.net/lists/listinfo/ngspice-devel > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel > -- Lionel SAINTE CLUQUE |
From: Gudjon I. G. <gu...@mc...> - 2008-09-10 04:29:28
|
Hi I am trying to add tclspice into my Debian package for ngspice (I do compile tclspice and ngspice separately). I hope the package will reach Debian very soon. Anyway, I do have a problem. The install path for Tclspice is /usr/lib/tcltk but when I am making a Debian package I need to install the files into $(CURDIR)/debian/tmp/usr/lib/tcltk. I am too silly to fix the configuration scripts myself, can anyone help me? Thanks Gudjon |
From: Lionel S. C. <lio...@gm...> - 2008-09-10 07:25:24
Attachments:
Makefile.am
|
Ok, the problem is that libspice (tcl library) is installed in an handwritten part of src/Makefile.am $(CURDIR) was missing before the real path $(libdir) Now it works. Any comments before I commit the changes? 2008/9/10 Gudjon I. Gudjonsson <gu...@mc...>: > Hi > I am trying to add tclspice into my Debian package for ngspice (I do > compile tclspice and ngspice separately). I hope the package will reach > Debian very soon. > Anyway, I do have a problem. The install path for Tclspice is > /usr/lib/tcltk but when I am making a Debian package I need to install > the files into $(CURDIR)/debian/tmp/usr/lib/tcltk. > I am too silly to fix the configuration scripts myself, can anyone help me? > > Thanks > Gudjon > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel > -- Lionel SAINTE CLUQUE |
From: Gudjon I. G. <gu...@mc...> - 2008-09-10 12:14:11
|
Thanks Lionel > the problem is that libspice (tcl library) is installed in an > handwritten part of src/Makefile.am > $(CURDIR) was missing before the real path $(libdir) > Now it works. > > Any comments before I commit the changes? No. This works perfectly :) Cheers Gudjon |