[GRASS-user] ./configure oddities

Jarek Jasiewicz jarekj at amu.edu.pl
Wed Aug 30 00:46:13 EDT 2006


Zenon Panoussis napisał(a):
> 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
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>   
I can add, that in in ./configure are some other hmmm... mistakes...
for example: cxx is default=no so if you want to compile r.terraflow you 
must change for yes - new users not alwayes do so.




More information about the grass-user mailing list