From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 12:07:40 2007 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 2B14E16A417 for ; Wed, 5 Dec 2007 12:07:40 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id B5D8113C46B for ; Wed, 5 Dec 2007 12:07:39 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lB5C7UsY041918; Wed, 5 Dec 2007 06:07:30 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071205055820.02532008@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 05 Dec 2007 06:07:14 -0600 To: scubacuda@gmail.com, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <2b7af7c40712042305r1f95638ao3817dc1af9f94333@mail.gmail.co m> References: <2b7af7c40712042305r1f95638ao3817dc1af9f94333@mail.gmail.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: ./configure question for AIX 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: Wed, 05 Dec 2007 12:07:40 -0000 At 01:05 AM 12/5/2007, Rogelio wrote: >I have a question on compiling Nagios' NRPE on AIX (which I'm assuming >would be similar to FreeBSDl, as I'm trying to use Autotools on ksh). > >I'm used to always running "tar -zxfv file.tar.gz", but this time I >had to run (I think) like "tar z" and then "tar xfv" to get it >unzipped. > >In that directory, I then ran "./configure" and then "make all", and >I'm hoping someone here might help point me in the right direction. > >./configure --prefix=/opt/nagios --enable-command-args --without-ssl >make install > >When I do this, I get an error about "Boutell's GD library is required >to compile the statusmap, trends and histogram CGIs. Get it from >http://www.boutell.com/gd/, compile >it, and use the --with-gd-lib and --with-gd-inc arguments to specify >the locations of the GD library and include files." > >Ok, that's cool. But am I on the right track about how to install >this on AIX? Once I installed this GD library and "./configure" with >the right parameters, will this work in AIX? > >(Sorry if this isn't the best place to ask this question, as I tend to >be spoiled by Linux packages. If not, I can take it elseware) It has been a while since I have done this on AIX, but you just need to check the directory structure is going to be correct. Typically I will run configure and check to see what variables are set for the install directories, and possibly set those differently if configure did not find the correct directories or if I need them set differently. Often this may mean moving the install directories to or from the /usr/local area. You may do well to look for pre-compiled binaries for AIX. Also let me remind you that you could gunzip the .gz file first, then just untar the tarball in two steps, rather than doing it in one step. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.