[GRASS-user] ./configure oddities

Zenon Panoussis oracle at provocation.net
Tue Aug 29 23:48:33 EDT 2006


Some configure errors:

checking whether to use MySQL... yes
checking for location of MySQL includes... /usr/include/mysql
checking for mysql.h... yes
checking for location of MySQL library... /usr/lib64/mysql
checking for mysql_query in -lmysqlclient... yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_server_init... no
configure: warning: libmysqld not found

On my CentOS 4.3 system with all mysql packages installed (base,
client, server, devel), there is no mysql_server_init and no
libmysqld. Why is it trying to find them? I assume they are not
really needed because it only gives a warning, not an error. If
I knew what it's utterly trying to check for, I could tell it
what to look for.

Likewise,

checking whether to use Readline... yes
checking for location of Readline includes...
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for location of Readline library...
checking for readline in -lreadline... no
configure: error: *** Unable to locate Readline library.

but

# rpm -ql readline-devel
/usr/include/readline
/usr/include/readline/chardefs.h
/usr/include/readline/history.h
/usr/include/readline/keymaps.h
/usr/include/readline/readline.h
/usr/include/readline/rlconf.h
/usr/include/readline/rlstdc.h
/usr/include/readline/rltypedefs.h
/usr/include/readline/tilde.h
/usr/lib64/libhistory.a
/usr/lib64/libhistory.so
/usr/lib64/libreadline.a
/usr/lib64/libreadline.so

It's libreadline it should be looking for instead of readline,
isn't it?

Z




More information about the grass-user mailing list