Date: Sun, 24 Oct 2004 10:19:56 -0400 From: "Bill Schmitt (SW)" <software@schmittnet.com> To: "Donald J. O'Neill" <donaldj1066@fastmail.fm> Cc: freebsd-questions@freebsd.org Subject: Re: Portinstall question Message-ID: <417BBA0C.8070807@schmittnet.com> In-Reply-To: <200410240727.16654.donaldj1066@fastmail.fm> References: <417B8791.20705@schmittnet.com> <200410240727.16654.donaldj1066@fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
Donald J. O'Neill wrote: On Sunday 24 October 2004 05:44 am, Bill Schmitt (SW) wrote: I think I'm missing something basic, so if someone could point me to where that is, I would appreciate it. I been installing software using portinstall, but I think I'm missing something basic because there seems to be more guesswork involved that I expected there to be. How do you know what name to use for the portinstall to work? For example, I wanted to install MySQL 41. The folders under /usr/ports/databases include several variations on my-sql. Among others are mysql323-server, mysql40-server, mysql41-server, and mysql50-server. In the Makefile for mysql41 it states PORTNAME?= mysql. But trying "portinstall mysql" or "portinstall mysql41" or "portinstall mysql41-server" all result in a message that the port doesn't exist. The command that works is "portinstall mysql-server", which I found with a basic google search, but I don't find that in the descriptions or Makefiles. Looking just at what is in the ports tree (or anywhere else on a 4.9 system), where would I properly find that name? _______________________________________________ Hi Bill, I was just wondering why you would want to use portinstall to install new software, rather than (using your example port): cd /usr/ports/databases/mysql-server41 make install Is using portinstall magical in some way? If you use the make install method, there isn't any guesswork as to what name to use. Don I've been using portupgrade/portinstall whenever possible because of the built-in dependency checking.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417BBA0C.8070807>