From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 14:25:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 413E916A423 for ; Thu, 29 Dec 2005 14:25:58 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 892DC43D78 for ; Thu, 29 Dec 2005 14:25:43 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 26094 invoked from network); 29 Dec 2005 14:25:36 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 29 Dec 2005 14:25:36 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 4149E28423; Thu, 29 Dec 2005 09:25:35 -0500 (EST) Sender: lowell@be-well.ilk.org To: "Mike Esquardez" References: From: Lowell Gilbert Date: 29 Dec 2005 09:25:35 -0500 In-Reply-To: Message-ID: <44y824q8tc.fsf@be-well.ilk.org> Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Gnokii SMSD and Ports Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 14:25:58 -0000 "Mike Esquardez" writes: > Hello everybody. I am trying to work out how to install SMSD from > ports and not having much luck. I'm jut learning FreeBSD, so my > knowledge of ports is not very good. When I make, make install, it > only installs Gnokii. After looking around I found the file > /usr/ports/comms/gnokii/files/patch-smsd-Makefile and also README > under /work/smsd. I am totally lost and confused. Google has proved > not so good for this issue. > > ========================================== > COMPILATION > > SMSD is not compiled by default with gnokii 'make' command. You must > compile it > manually by typing 'make' in smsd directory. But before SMSD compilation > you must right configure gnokii (autoconf, configure). > > For example: > (in gnokii directory) > gettextize # only for CVS copies > autoconf # only for CVS copies > autoheader # only for CVS copies > ./configure > [ If you use latest Red Hat with new (0.11) gettext version ] > [ run autogen.sh with configure options instead of the ] > [ above commands. It will do all needed things. ] > cd smsd > vi Makefile (edit paths in "DB Modules" section) > make > make libpq.la OR make libmysql.la OR make libfile.la > make install > > Note that you can build all of the modules (libpq, libmysql and libfile) but > you should use just one. > ========================================== > > I have installed RPM and Debs before, but I've never had to do > anything other than make, make install. Can anyone be so kind enough > to explain what the above instructions mean? And what the > "/usr/ports/comms/gnokii/files/patch-smsd-Makefile" file is for and > how to use it? You don't need to look that deep into it; just check out the /usr/ports/comms/gnokii/Makefile and you'll see that what you need is to build with "WITH_SMSD". So just do the following: $ cd /usr/ports/comms/gnokii $ make clean && make -DWITH_SMSD install and you will end up with /usr/local/sbin/smsd -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/