From owner-freebsd-questions@FreeBSD.ORG Thu Sep 30 00:09:15 2004 Return-Path: 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 DE2CE16A4CE for ; Thu, 30 Sep 2004 00:09:15 +0000 (GMT) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D12143D45 for ; Thu, 30 Sep 2004 00:09:15 +0000 (GMT) (envelope-from ringworm@inbox.lv) Received: from pool0256.cvx26-bradley.dialup.earthlink.net ([209.179.223.1] helo=ringworm.mechee.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1CCoVW-0003ZL-00 for freebsd-questions@freebsd.org; Wed, 29 Sep 2004 17:09:14 -0700 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 1E27710; Wed, 29 Sep 2004 17:08:54 -0700 (PDT) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Wed, 29 Sep 2004 17:08:54 -0700 User-Agent: KMail/1.7 References: <1096396806.4159b00629bd8@secure.quay.net> In-Reply-To: <1096396806.4159b00629bd8@secure.quay.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409291708.54544.ringworm@inbox.lv> Subject: Re: Can somebody explain how the autotools are configured in FreeBSD 4.10? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 00:09:16 -0000 On Tuesday 28 September 2004 11:40 am, Gabriel O'Brien wrote: > Hi All, > > I'm hoping somebody can explain to me how to use the autotools (automake, > autoconf, libtool, etc.) in FreeBSD 4.10 because plainly I'm doing > something quite wrong. > > I am trying to build turck-mmcache-2.4.6 with PHP 4.3.9 and with this (and > other PHP modules) I am continually getting aclocal and libtool related > errors, even after installing *all* of the various autoconf and automake > options. I see that they are all getting installed with names like > "autoconf259" and so on so I suspect that it has something to do with the > fact that "phpize" can't figure out what's going on. I've done quite a few > web searches looking for info on how to do this sort of thing properly but > I can't seem to find anything either on the FreeBSD site or elsewhere. If > anyone can point me in the right direction that would be great. > > Here are some examples of the behavior I'm seeing: > > --- > > sol# ./pear install APC > downloading APC-2.0.4.tgz ... > Starting to download APC-2.0.4.tgz (44,606 bytes) > ............done: 44,606 bytes > 35 source files, building > running: phpize > aclocal: not found > `phpize' failed > > --- > > sol# which aclocal > aclocal: Command not found. > sol# which aclocal18 > /usr/local/bin/aclocal18 > > --- > > I've tried creating a soft link to the various utilities involved but this > just results in unresolved m4 macros so I don't think this is a proper > solution, even if I could get it working. > > Any help would be apreciated! > > -Gabe > I ran into similar problems when trying to repackage a port. Basically I set up several soft links to solve the problem, here is my aclocal for example: ls -l /usr/local/bin/aclocal* lrwxr-xr-x 1 root wheel 24 Sep 26 16:23 /usr/local/bin/aclocal -> /usr/local/bin/aclocal18 -r-xr-xr-x 1 root wheel 11496 Sep 24 11:17 /usr/local/bin/aclocal14 -r-xr-xr-x 1 root wheel 12852 Sep 21 14:23 /usr/local/bin/aclocal15 -r-xr-xr-x 1 root wheel 19234 Sep 26 16:30 /usr/local/bin/aclocal18 -r-xr-xr-x 1 root wheel 20434 Sep 26 15:39 /usr/local/bin/aclocal19 and automake: ls -l /usr/local/bin/automake* lrwxr-xr-x 1 root wheel 25 Sep 26 16:20 /usr/local/bin/automake -> /usr/local/bin/automake18 -r-xr-xr-x 1 root wheel 199592 Sep 24 11:17 /usr/local/bin/automake14 -r-xr-xr-x 1 root wheel 216027 Sep 21 14:23 /usr/local/bin/automake15 -r-xr-xr-x 1 root wheel 211032 Sep 26 16:30 /usr/local/bin/automake18 -r-xr-xr-x 1 root wheel 220728 Sep 26 15:39 /usr/local/bin/automake19 Basically some scripts will only look for aclocal or automake without an extention number. I use automake18 instead of 19 because 19 seems not to work properly. -Mike