From owner-freebsd-questions@FreeBSD.ORG Fri May 13 04:58:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C53210656D9 for ; Fri, 13 May 2011 04:58:01 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6565F8FC18 for ; Fri, 13 May 2011 04:58:01 +0000 (UTC) Received: from pd7mr2no-ssvc.prod.shaw.ca ([10.0.153.129]) by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 12 May 2011 22:29:31 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=w09gmNw5jg2iFwdySb7hfFkoJxuBfJb3aZ8+GU0s9O4= c=1 sm=1 a=lNw6YIOA45UA:10 a=BLceEmwcHowA:10 a=u-vTxNyDnK960hSSaU8A:9 a=__6sWQ0HiW7SN2VZo9QA:7 a=CjuIK1q_8ugA:10 a=duA5cQ7fckHFwfxnXBIA:7 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO ms013no.no.cg.dcs.int.inet) ([10.0.153.22]) by pd7mr2no-svcs.prod.shaw.ca with ESMTP; 12 May 2011 22:29:31 -0600 Received: from shaw.ca ([unknown] [10.0.145.159]) by l-daemon (Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)) with ESMTP id <0LL4005DG9T7DF70@l-daemon> for freebsd-questions@freebsd.org; Thu, 12 May 2011 22:29:31 -0600 (MDT) Received: from [10.0.144.233] (Forwarded-For: [10.0.146.233]) by vms024.prod.shaw.ca (mshttpd); Thu, 12 May 2011 22:29:31 -0600 From: Dale Scott To: freebsd-questions@freebsd.org Message-id: Date: Thu, 12 May 2011 22:29:31 -0600 X-Mailer: Sun Java(tm) System Messenger Express 7.3-11.01 64bit (built Sep 1 2009) MIME-version: 1.0 Content-language: en X-Accept-Language: en Priority: normal Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How do you "install" utility built using gnu toolchain? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2011 04:58:01 -0000 It's pretty general question, but is it typically standard procedure for a utility building using the GNU tool chain to be able to install itself into /usr/local/bin? E.g. "# gmake install" ?? Is there anything a newb can check for without having to fully understand the complete build procedure (and not destroy my system in the process)? The mdbtools port is based on the last official release of the project - v0.5 in 2003. I've compiled the current head of the project from github in a personal directory and tests have passed (I'm using a php app with mdb-export to copy data from a Jet4 database to MySQL). Now I'd like to put the executables in /usr/local/bin for shared access (in place of the utilities installed by the mdbtools-0.5 port). The project builds using the GNU tool chain without any customizations (using config and gmake). I'd prefer to do this properly with a port, but until the project has had an official release and I've learned how to create a port, are there any shortcuts? I naively tried copying what I thought were the executables, and then discovered they were shell scripts that only ran from the build directory. Huh? Could it be as simple as "# gmake install" (and that not be a horribly stupid thing to try)? Thanks, Dale