Page 1 of 1

stream.h: present but cannot be compiled

Posted: Thu Feb 17, 2011 7:53 pm
by Robodave
I'm trying to install Neuron on a Linux cluster. Configure completes successfully, but reports this:

Code: Select all

./configure --prefix=/home/robodave/apps/neuron --bindir=/home/robodave/bin --with-paranrn --with-mpi --without-x

Code: Select all

(snip)
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking stream.h usability... no
checking stream.h presence... yes
configure: WARNING: stream.h: present but cannot be compiled
configure: WARNING: stream.h:     check for missing prerequisite headers?
configure: WARNING: stream.h: see the Autoconf documentation
configure: WARNING: stream.h:     section "Present But Cannot Be Compiled"
configure: WARNING: stream.h: proceeding with the preprocessor's result
configure: WARNING: stream.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to the nrn lists.  ##
configure: WARNING:     ## ------------------------------ ##
checking for stream.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for int32_t... yes
(snip)
Make fails for unrelated reasons (the ncurses shared libraries aren't installed properly), so I can't tell if this will cause problems. It did ask me to report it, though.

Re: stream.h: present but cannot be compiled

Posted: Fri Feb 18, 2011 12:24 am
by ted

Code: Select all

checking stream.h usability... no
checking stream.h presence... yes
configure: WARNING: stream.h: present but cannot be compiled
configure: WARNING: stream.h:     check for missing prerequisite headers?
Have you checked?
It did ask me to report it, though.
Duly noted. I'm not sure what will happen either.

By the way it is not necessary to include both switches --with-paranrn --with-mpi. Keep the --with-paranrn part and drop the --with-mpi.