Juan Fernandez wrote:
> Hi !!
>
> I am trying to install mysql without the server on fedora:
>
> when I issue the command :
>
> [root@snort_jr_dmz snort-2.2.0]# cd ../mysql-3.23.52
> [root@snort_jr_dmz mysql-3.23.52]# ./configure --without-server
> --prefix=/usr/local/mysql
>
> everything is fine but after I issue the command "make I receive the
> following:
>
> [root@snort_jr_dmz mysql-3.23.52]# make
> message trounced
>
>
>
> mysql.o(.text+0x1849): In function `com_source(String*, char*)':
> : undefined reference to `errno'
> collect2: ld returned 1 exit status
> make[2]: *** [mysql] Error 1
> make[2]: Leaving directory `/snortinstall/mysql-3.23.52/client'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/snortinstall/mysql-3.23.52'
> make: *** [all-recursive-am] Error 2
>
>
>
> and if i issue the command " make install" I receive:
>
> [root@snort_jr_dmz mysql-3.23.52]# make install
> Making install in include
>
>
>
> Message trounced
>
>
>
> mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a
> -lncurses ../libmysql/.libs/libmysqlclient.so -lz -lcrypt -lnsl -lm -lz
> -lcrypt -lnsl -lm -Wl,--rpath -Wl,/usr/local/mysql/lib/mysql
> mysql.o(.text+0x1849): In function `com_source(String*, char*)':
> : undefined reference to `errno'
> collect2: ld returned 1 exit status
> make[1]: *** [mysql] Error 1
> make[1]: Leaving directory `/snortinstall/mysql-3.23.52/client'
> make: *** [install-recursive] Error 1
>
>
> can someone Please help ?
>
> I just need the client to use it with Snort IDS !!!
>
> thanks !!
Just install the Fedora MySQL RPM (i.e. not mysql-server, etc) from the
distribution CD.
-- Alex