Code: Select all
yum install libXt-devel libXext-devel readline-devel
The below error messages are included here to help find this message.
Without the above when you build iv error messages will appear:
unable to find the X headers in iv configure:
Code: Select all
./configure --prefix=`pwd` command:
...
checking for X... no
configure: error: cannot find X11
$
Code: Select all
/usr/bin/ld: cannot find -lXext
Code: Select all
$ make
make all-recursive
make[1]: Entering directory `/home/morse/neuron/nrn'
Making all in src
make[2]: Entering directory `/home/morse/neuron/nrn/src'
Making all in readline
make[3]: Entering directory `/home/morse/neuron/nrn/src/readline'
if /bin/sh ../../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src/oc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -g -O2 -MT readline.lo -MD -MP -MF ".deps/readline.Tpo" -c -o readline.lo readline.c; \
then mv -f ".deps/readline.Tpo" ".deps/readline.Plo"; else rm -f ".deps/readline.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src/oc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -g -O2 -MT readline.lo -MD -MP -MF .deps/readline.Tpo -c readline.c -fPIC -DPIC -o .libs/readline.o
readline.c: In function 'rl_read_key':
readline.c:819: error: invalid storage class for function 'next_macro_key'
readline.c: In function 'rl_dispatch':
readline.c:951: error: invalid storage class for function 'with_macro_input'
readline.c: At top level:
readline.c:1006: error: static declaration of 'with_macro_input' follows non-static declaration
readline.c:954: error: previous implicit declaration of 'with_macro_input' was here
readline.c:1017: error: static declaration of 'next_macro_key' follows non-static declaration
readline.c:822: error: previous implicit declaration of 'next_macro_key' was here
readline.c: In function 'rl_parse_and_bind':
readline.c:5710: error: invalid storage class for function 'substring_member_of_array'
readline.c: At top level:
readline.c:5949: error: static declaration of 'substring_member_of_array' follows non-static declaration
readline.c:5839: error: previous implicit declaration of 'substring_member_of_array' was here
make[3]: *** [readline.lo] Error 1
...