stream.h: present but cannot be compiled

Post Reply
Robodave
Posts: 1
Joined: Wed Dec 15, 2010 8:57 pm
Location: Calgary, Canada

stream.h: present but cannot be compiled

Post 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.
ted
Site Admin
Posts: 6299
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: stream.h: present but cannot be compiled

Post 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.
Post Reply