can not compile mod files on Unix

NMODL and the Channel Builder.
Post Reply
ttpuff

can not compile mod files on Unix

Post by ttpuff »

Hello, I'm a quite new user here. I have used NEURON on my personal Windows and Macbook, but never Unix. Since I want to run NEURON in our cluster. After our computer guys install NEURON, I found that I can't compile mod files on our departmental UNIX. See below:

****Error*********************************
gcc ..... -lncurses -ldl -lm -Wl,-soname -Wl,libnrnmech.so.0 -o .libs/libnrnmech.so.0.0.0 /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [libnrnmech.la] Error 1
****Error*********************************

Based on this information, I check your message which said:

------------------------
For example Padraig Gleeson just reported that a default installation of SUSE v10.0 was unable to compile mod files untill gcc, ncurses, and ncurses-devel were added. Fortunately, SUSE's yast made it easy to get the necessary packages.
------------------------

I guess in our dept.'s cluster, we don't have ncurses or ncurses-devel installed as you mentioned. So I should talk with our computer guys to mention this bug? Just to say what you said in your messge? just, it there anything I should mention to run NEURON in the cluster? Thank you very much. -Jian
ted
Site Admin
Posts: 6398
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

A standard software development environment must be installed, and you
must have privileges that allow you to use it. But different distributions of
UNIX and Linux seem to have different ideas about what features should be
included in a "software development environment." If you send the error
messages to your IT support people, they should be able to identify what
needs to be installed. In this particular case, it looks very much like the
problem that Padraig Gleeson had, and the fix will probably be very similar,
if not identical.
ttpuff

Post by ttpuff »

yes, the same problem. Now it works. Thanks.
ted wrote:A standard software development environment must be installed, and you
must have privileges that allow you to use it. But different distributions of
UNIX and Linux seem to have different ideas about what features should be
included in a "software development environment." If you send the error
messages to your IT support people, they should be able to identify what
needs to be installed. In this particular case, it looks very much like the
problem that Padraig Gleeson had, and the fix will probably be very similar,
if not identical.
Post Reply