Hi, Fellows
I'm moving from CentOS to FreeBSD now.
Now I'm trying to reproduce the Apache/Nginx/Mysql/Postgresql/PHP on FreeBSD-8.2-release.
Here is my step.
1. Install FreeBSD (minimal)
2. portsnap fetch/extract/update
3. cd /usr/ports/database/mysql55-server
4. make install clean
5. cd /usr/local/bin
6. mysql_install_db
Now I get error
but my_print_defaults does exist at /usr/local/bin/, then I edited basedir="" in mysql_install_db to basedir="/usr/local/bin". Then I get error
No idea how to move on...
Question is:
1. How do I know this is not a make script issue, where to find make procedure file?
http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/mysql55-server/
2. Where are these files? Can you tell me where is configuration/binary stored on FreeBSD after an application is installed?
Thanks and have a good day.
I'm moving from CentOS to FreeBSD now.
Now I'm trying to reproduce the Apache/Nginx/Mysql/Postgresql/PHP on FreeBSD-8.2-release.
Here is my step.
1. Install FreeBSD (minimal)
2. portsnap fetch/extract/update
3. cd /usr/ports/database/mysql55-server
4. make install clean
5. cd /usr/local/bin
6. mysql_install_db
Now I get error
Code:
FATAL ERROR: Could not find ./bin/my_print_defaults
but my_print_defaults does exist at /usr/local/bin/, then I edited basedir="" in mysql_install_db to basedir="/usr/local/bin". Then I get error
Code:
FATAL ERROR: Could not find my_print_defaults
The following directories were searched:
/usr/local/bin/bin
/usr/local/bin/extra
No idea how to move on...
Question is:
1. How do I know this is not a make script issue, where to find make procedure file?
http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/mysql55-server/
2. Where are these files? Can you tell me where is configuration/binary stored on FreeBSD after an application is installed?
Thanks and have a good day.