Jump to content
  • 0

FreeBSD 7.1 x86 cant install Mysql?



Hey guys i try to install Mysql on my FreeBSD 7.1 server and i got this error:


freebsd71# cd /usr/ports/databases/mysql51-server/
freebsd71# make install WITH_XCHARSET=all clean
Unknown modifier 't'
"/usr/ports/Mk/bsd.port.mk", line 1767: Malformed conditional (defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES")
Unknown modifier 't'
Unknown modifier 't'
Unknown modifier 't'
"/usr/ports/Mk/bsd.sites.mk", line 957: Malformed conditional (!empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan")
Unknown modifier 't'
"/usr/ports/Mk/bsd.port.mk", line 2929: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 2929: Unexpected end of file in for loop.
"/usr/ports/Mk/bsd.port.mk", line 6708: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 6708: Unexpected end of file in for loop.
make: fatal errors encountered -- cannot continue
would  u pls help me?
Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

FreeBSD 7.x family and MySQL 5.0.x family EOL (not supporting).

FreeBSD update:

# freebsd-update upgrade -r 9.2-RELEASE
# freebsd-update install
​# reboot

MySQL Installation:

# cd /usr/ports/databases/mysql56-client ; make install clean
# cd /usr/ports/databases/mysql56-server ; make install clean
# echo 'mysql_enable="YES"' >> /etc/rc.conf
# /usr/local/etc/rc.d/mysql-server onestart
# mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO 'mt2'@'localhost' IDENTIFIED BY '[email protected]#' WITH GRANT OPTION;
mysql> flush privileges;
mysql> quit
# /usr/local/etc/rc.d/mysql-server onerestart
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.