hi,,
im just new in linux environment,,, im installing linux slackware v12,, in my PC,, my PC has now a 2 OS,, slackware n XP.. but its ok...
my problem was,, when im installing patches for making it a server,, i am installing the SQL part,
*********
Go to
http://www.mysql.com/ and download the mysql package
- to install this directly on the command line type:
- cd /usr/local
- wget
http://mirror.trouble-free.net/mysql...-4.0.27.tar.gz
- gunzip mysql-4.0.27.tar.gz
- tar xvf mysql-4.0.27.tar
- cd mysql-4.0.27
- groupadd mysql
- useradd -g mysql mysql
- "./configure --prefix=/usr/local/mysql --enable-large-files --enable-shared=yes --with-readline"
**** If only MySQL client is needed for DBD::mysql then use this:
- "./configure --prefix=/usr/local/mysql --without-server --enable-shared=yes --with-readline"
**** If using version 5 tree MySQL client then use this:
- "./configure --prefix=/usr/local/mysql --without-server --enable-shared=yes --with-readline --enable-thread-safe-client"
- make
- make install
- scripts/mysql_install_db
- chown -R root /usr/local/mysql
- chown -R mysql /usr/local/mysql/var
- chgrp -R mysql /usr/local/mysql
- cp support-files/my-medium.cnf /etc/my.cnf
- /usr/local/mysql/bin/mysqld_safe --user=mysql &
- ln -s /tmp/mysql.sock /var/run/mysql/mysql.sock
**** For some systems you may need to add the mysql/bin directory to your PATH:
- PATH=$PATH:$HOME/bin:/usr/local/mysql/bin/
- export PATH
**** you may also want to add those two lines to your /root/.bash_profile file
**** For Mysql 5 tree only, you also may need to copy the libmysqlclient.so file to libs
- cp /usr/local/mysql-5.0.27/libmysql/.libs/libmysqlclient.so /usr/lib/
- cp /usr/local/mysql-5.0.27/libmysql/.libs/libmysqlclient.so.15 /usr/lib/
- you are done
********************
in the make area.. (-make)& (-make install), when i install in this part it says..bash -make is not found,, help GUYS,, pls see wats wrong..
choy,,
tnx