Link 1: http://www.neuron.yale.edu/neuron/download/getdevel
Link 2: http://www.neuron.yale.edu/neuron/downl ... pile_mswin
(I should point out that this is the first time I am attempting to compile Neuron and also not too conversant with Linux/cygwin)
I get the following message during the compile stage (step 2 of link 2)
I suppose there should be some file called 'makefile' in the directory before I execute the make command. But apparently they do no exist.Shailesh@Centurion-PC ~/neuron/iv
$ make
make: *** No targets specified and no makefile found. Stop.
Shailesh@Centurion-PC ~/neuron/iv
$ make install
make: Nothing to be done for 'install'.
I can see that the config files have been created (step 2 of link 1) as there are files named 'config.*' in both the directories (iv and nrn). While compiling, the command
Code: Select all
./configure --prefix=`pwd`
So that had to be replaced with the equivalent of pwd:configure: error: expected an absolute directory name for --prefix: pwd
Code: Select all
$ ./configure --prefix='$HOME/neuron/iv'
Is the above output ok?checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
CYGWIN=yes
MINGW=no
./configure: line 2630: AC_DISABLE_STATIC: command not found
./configure: line 2631: AC_ENABLE_SHARED: command not found
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
./configure: line 3296: AC_PROG_LIBTOOL: command not found
./configure: line 3298: AC_CHECK_LIBM: command not found
./configure: line 3310: AC_CXX_NAMESPACES: command not found
./configure: line 3311: AC_CXX_HAVE_SSTREAM: command not found
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stream.h usability... no
checking stream.h presence... no
checking for stream.h... no
in ivstream.h, the obuf.open(name, output) does not work with #undef HAVE_STREAM_H
trying the NO_OUTPUT_OPENMODE definition
in ivstream.h, obuf.open(name, std::ios_base::out) does not work with #undef HAVE_STREAM_H
Fix iv-14/src/include/ivstream.h in such a way that configure does not stop here.
To summarize, here is what I have done till now:
1> Installed Mercurial (TortoiseHg with Windows Explorer "shell" integration) from http://mercurial.selenic.com/wiki/Download and setup the proxy settings
2> Installed cygwin (1.7.29(0.272/5/3)) from http://www.cygwin.com/install.html
3> Opened terminal window (cmd) and got a copy of the development code (step 1 of link 1)
4> Opened cygwin and followed the instructions for creating the 'configure' files (step 2 of link 1) followed by steps for compiling the code (step 2 of link 2) and got stuck at the 'make' commands.
My System details: 64 bit, Windows 7
Also, if pertinent, my internet connection is through a proxy server (the reason why I preferred installing Mercurial with TortoiseHg as it allowed me to set the proxy settings for cloning more easily).
One last thing, I read that:
On my PC, I can find the file named "cygIVhines-3.dll" but there is no file named "cygnrniv.dll". But there is a file named "nrniv.dll". Are they the same?Under MSWin, almost all differences from one version of NEURON to the next are expressed in binary code (machine language instructions) that is contained in two dll files called cygIVhines-3.dll and cygnrniv.dll.