From owner-freebsd-questions Mon Aug 7 17:28:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-1.sjc.telocity.net (mail-1.sjc.telocity.net [216.227.56.41]) by hub.freebsd.org (Postfix) with ESMTP id BFD5C37B690 for ; Mon, 7 Aug 2000 17:28:28 -0700 (PDT) (envelope-from larry147@telocity.com) Received: from LarryAdams (dsl-64-34-99-193.telocity.com [64.34.99.193]) by mail-1.sjc.telocity.net (8.9.3/8.9.3) with SMTP id FAA27734 for ; Mon, 7 Aug 2000 05:12:23 -0700 (PDT) From: "Larry Adams" To: Subject: FW: pkg_add + mysql : specifying where it's installed ? Date: Mon, 7 Aug 2000 08:12:01 -0400 Message-ID: <002801c00068$b1596b00$c1632240@LarryAdams> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of rshea@opendoor.co.nz Sent: Sunday, August 06, 2000 8:35 PM To: questions@FreeBSD.ORG Subject: pkg_add + mysql : specifying where it's installed ? 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message