greenhorn
08-08-2002, 04:26 PM
I've been working on an ICRadius machine using Red Hat 7.1 and I've come across a problem. First, I'm using Brad Rathbun's ICRadius readme found at http://radius.innercite.com/ICRADIUS.README and I am also in text only.
NOW FOR THE PROBLEM I'M HAVING.
I've managed to do everything, which isn't a lot, down to downloading the latest ver. of MySQL. However when I got to line 8 of the instructions I couldn't get the 'make' or the 'make install' to work, so being a greenhorn I am not sure of what to do now. :confused: so is there anyone that can help.:rolleyes: :D
I also couldn't get 'scripts' on 11. or 'Pico -w' on 12a. to work either. Do they have something to do with the one on number 8?:eek:
here's is the portion of the ICRadius I'm having problems with;
There are a lot of steps here and most of them are pretty critical, so please follow them carefully. Most of the problems I had when installing my own system came from problems with the MySQL installation. These steps may be overkill, but they work.
1. Download the latest MySQL distribution to /usr/local/src. You can get the latest distribution from http://www.mysql.com.
2. Expand the archive: tar –zxvf mysql-3.23.33
3. Optional step. Delete the archive to save space: rm –f mysql-3.23.33.tar.gz
4. Move to source directory: cd /usr/local/src/mysql-3.23.33
5. Add the group mysql: groupadd mysql
6. Add the user mysql: useradd –g mysql mysql
7. ./configure –prefix=/usr/local/mysql
.HERE IS WHERE MY TROUBLES BEGIN
8. make
9. NOTE: On my installation, there was an error on the next step, which was caused by make writing an error into the Makefile. You can fix this bug if you edit the Makefile: pico –w Makefile and do a search: ctrl-w for the offending line: install: all. This line has a comment that says something to the effect of #Modified by MySQL. Remove this comment and keep deleting until the next line is on the same line with the “install: all” so that it reads something like this: “install: all install_include uninstall_include install_documents uninstall_documents”. In other words, it should all be on one line with a space separating each of the commands.
10. make install
11. scripts/mysql-install-db Note: This will install the databases and at the end it will tell you to change the root password. The way suggested never works for me and I have a different method listed below. Your mileage may vary.
12. Make sure libraries are visible to other programs:
A. Pico –w /etc/ld.so.conf
B. Add a line to the file pointing to the libs: /usr/local/mysql/lib/mysql
C. Reload with update: ldconfig
D. Copy the server init file: cp support-files/mysql.server /etc/rc.d/init.d
NOW FOR THE PROBLEM I'M HAVING.
I've managed to do everything, which isn't a lot, down to downloading the latest ver. of MySQL. However when I got to line 8 of the instructions I couldn't get the 'make' or the 'make install' to work, so being a greenhorn I am not sure of what to do now. :confused: so is there anyone that can help.:rolleyes: :D
I also couldn't get 'scripts' on 11. or 'Pico -w' on 12a. to work either. Do they have something to do with the one on number 8?:eek:
here's is the portion of the ICRadius I'm having problems with;
There are a lot of steps here and most of them are pretty critical, so please follow them carefully. Most of the problems I had when installing my own system came from problems with the MySQL installation. These steps may be overkill, but they work.
1. Download the latest MySQL distribution to /usr/local/src. You can get the latest distribution from http://www.mysql.com.
2. Expand the archive: tar –zxvf mysql-3.23.33
3. Optional step. Delete the archive to save space: rm –f mysql-3.23.33.tar.gz
4. Move to source directory: cd /usr/local/src/mysql-3.23.33
5. Add the group mysql: groupadd mysql
6. Add the user mysql: useradd –g mysql mysql
7. ./configure –prefix=/usr/local/mysql
.HERE IS WHERE MY TROUBLES BEGIN
8. make
9. NOTE: On my installation, there was an error on the next step, which was caused by make writing an error into the Makefile. You can fix this bug if you edit the Makefile: pico –w Makefile and do a search: ctrl-w for the offending line: install: all. This line has a comment that says something to the effect of #Modified by MySQL. Remove this comment and keep deleting until the next line is on the same line with the “install: all” so that it reads something like this: “install: all install_include uninstall_include install_documents uninstall_documents”. In other words, it should all be on one line with a space separating each of the commands.
10. make install
11. scripts/mysql-install-db Note: This will install the databases and at the end it will tell you to change the root password. The way suggested never works for me and I have a different method listed below. Your mileage may vary.
12. Make sure libraries are visible to other programs:
A. Pico –w /etc/ld.so.conf
B. Add a line to the file pointing to the libs: /usr/local/mysql/lib/mysql
C. Reload with update: ldconfig
D. Copy the server init file: cp support-files/mysql.server /etc/rc.d/init.d