From owner-freebsd-questions Sun Aug 6 17:41:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from deborah.paradise.net.nz (deborah.paradise.net.nz [203.96.152.32]) by hub.freebsd.org (Postfix) with ESMTP id 71A8A37BCB8 for ; Sun, 6 Aug 2000 17:41:28 -0700 (PDT) (envelope-from rshea@opendoor.co.nz) Received: from sheasili (203-79-72-40.cable3.paradise.net.nz [203.79.72.40]) by deborah.paradise.net.nz (8.10.1/8.10.1) with SMTP id e770fNE30765 for ; Mon, 7 Aug 2000 12:41:24 +1200 (NZST) Message-Id: <200008070041.e770fNE30765@deborah.paradise.net.nz> From: rshea@opendoor.co.nz To: questions@FreeBSD.ORG Date: Mon, 7 Aug 2000 12:34:52 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: pkg_add + mysql : specifying where it's installed ? X-mailer: Pegasus Mail for Win32 (v3.01d) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi - I'm trying to install mysql. I'm on 3.4 and making use of mysql- server-3.22.27.tgz from the packages directory of one of the CD's. I mkdir'd /usr/local/mysql, cd'd into it, and ran pkg_add. This process seemed to go OK except that there were some messages such as No processes matching mysqld pkg_add : command 'usr/bin/killall mysqld' failed However my main problem is that nothing was put into /usr/local/mysql (literally the directory is empty at the end of the install process) but instead files get put into a range of areas more or less directly off /usr/local (eg mysqld is in /usr/local/libexec/). I've now re-run it, again from /usr/local/mysql but this time using the pkg_add -p option with a value of '/usr/local/mysql'. This seems to have achieved more of my aim, ie there is stuff at /usr/local/mysql and below (although there is clearly mysql stuff at,eg, /usr/local/lib). So my questions are ... am I doing something wrong (should I _have_ to use -p) ? ... or am i wanting the "wrong" thing (ie is trying to strictly partition packages not a good idea and this is reflected in pkg_add's default behaviour) ? (BTW I've read ... http://www.mysql.com/documentation/mysql/bychapter/manual_toc .html#Installation_layouts ... and this seems to suggest that what I'm trying to do is not totally unusual.) All thoughts welcome. Regards Richard Shea. ***************************************************** Open Door Ltd PO Box 119-46 Wellington PH 04 384 7639 FX 04 384 7672 ***************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message