Installing v. 5.7.159 under Debian

Post Reply
ted
Site Admin
Posts: 6289
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Installing v. 5.7.159 under Debian

Post by ted »

On 5/19/2005 Quan.Zou@iaf.cnrs-gif.fr wrote:
> I just compiled the lastest neuron under debian 2.4.xx kernel
> --with-iv supported.
>
> But, when I try to "configure --without-iv or --without-x, and make"
> produce errors. It complains that some header files such as
> tformsetter.h, window.h and action.h can't be found under
> nrn-xx/src/ivos/InterViews. However those files are found under
> iv-17/include/InterViews/.
>
> It seems that the option "--without-iv" is broken under debian for
> some reason. But it works fine under suse 8.1.
>
> I was wondering if you have any idea about this bug? does anybody
> else have the same problem as mine?

Michael Hines <michael.hines@yale.edu> replied:
> although the fact that it succeeded on one linux type but not on
> another is disturbing to my hypothesis, I still go with the guess
> that I have left out a #if HAVE_IV ... #endif around some include
> files or code that makes use of the InterViews GUI. I can tell for
> sure if the person would send me the actual gcc commands that
> generate the message. That will tell me the name of the cpp file that
> is missing the #if.
Last edited by ted on Fri May 20, 2005 10:11 am, edited 1 time in total.
ted
Site Admin
Posts: 6289
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Installing v. 5.7.159 under Debian

Post by ted »

On 5/20/2005 Michael Hines <michael.hines@yale.edu> wrote:
> The problem of building NEURON from the sources with a configuration
> option --with-iv has been fixed. You can get the new tar.gz file from
> http://www.neuron.yale.edu/ftp/neuron/v ... 8.7.tar.gz
> Don't worry about the version change from 5.7 to 5.8. The experimental
> changes are taking place in a separate branch and only minor bug fixes
> have been incorporated into the main branch so far.
quan_zou
Posts: 1
Joined: Mon May 23, 2005 9:05 am
Contact:

Post by quan_zou »

Thank you for all your replys concerning my question.

I have downloaded the alpha version from:
http://www.neuron.yale.edu/ftp/neuron/v ... 8.7.tar.gz.
the option --without-iv DOES work fine!

I also send an attached file of the gcc commands that actually produce
the errors messages on nrn-5.7.159 package. (Thanks Ted, I saw your
post at NEURON forum)

As for what Mr. Thomas suggested, I can NOT do it, because I am the
wrong person who could play with debian, and the machine running a
hacked debian is not mainly proposed for numercially simulation either.

My work-around is, installing nrn-5.7.159 by using --with-iv option(of
course, with iv-17 first), but loading the NEURON without GUI, or simply
installing the Alpha version by using "--without-iv" option.

Thanks again for all your help in your busy!

Regards,

Quan

>
> Hi,
>
> You could use this alpha version to compile Neuron without
> iv on debian. All you need to do is copy the directory "debian"
> from the unpacked debian source to the top level source directory
> of nrn-5.8.7.tar.gz. Then edit the debian/rules files to
> specify all configure options you want on the line that starts
> with $(MAKE) . Thereafter compile as usual.
> These changes will get reflected in the next stable release of
> neuron for debian. I am also thinking of having two binary
> pakages one for neuron with iv and another without. Neuron
> packages should also enter the official debian source repository
> 4-5 weeks after the release of sarge.
>
> I'll be happy to help if you need me to do any thing else
> in particular.
>
> sincerely
> B Thomas
>
> On Fri, May 20, 2005 at 08:57:59AM -0400, Michael Hines wrote:
> > The problem of building NEURON from the sources with a configuration
> > option --with-iv has been fixed. You can get the new tar.gz file from
> > http://www.neuron.yale.edu/ftp/neuron/v ... 8.7.tar.gz
> > Don't worry about the version change from 5.7 to 5.8. The experimental
> > changes are taking place in a separate branch and only minor bug fixes
> > have been incorporated into the main branch so far.
>
Post Reply