[Radiant] setup_database error

Bodhi bodhi at theplant.jp
Thu Oct 5 21:15:07 CDT 2006


On Oct 6, 2006, at 4:10 AM, jlopez at hpcf.upr.edu wrote:

> I tried gem install mysql -- --with-mysql-include=/usr/include/mysql
> --with-mysql-lib=/usr/lib/mysql
>
> Whis is supposed to work on Fedora 3.
>
> Select which gem to install for your platform (i686-linux)
>  1. mysql 2.7.1 (mswin32)
>  2. mysql 2.7 (ruby)
>  3. mysql 2.6 (ruby)
>  4. mysql 2.5.1 (ruby)
>  5. Cancel installation

If you are on Fedora, try number 2 (1 is for Microsoft Windows).

to find out the MySQL directories, you could try (this might not work  
on 4.1, I only tested on 5):

     bodhi at turbine-01$ mysql_config --include --libs
     -I/usr/local/include/mysql
     -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lm

after -I is the path for --with-mysql-include
after -L is for --with-mysql-lib (ignore the -lmysqlclient etc)

Bodhi



More information about the Radiant mailing list