Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3563A9D02 for ; Thu, 9 Feb 2012 09:17:44 +0000 (UTC) Received: (qmail 94539 invoked by uid 500); 9 Feb 2012 09:17:41 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 94195 invoked by uid 500); 9 Feb 2012 09:17:26 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 94167 invoked by uid 99); 9 Feb 2012 09:17:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 09:17:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mlemos@acm.org designates 216.240.132.150 as permitted sender) Received: from [216.240.132.150] (HELO phpclasses.org) (216.240.132.150) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Feb 2012 09:17:14 +0000 Received: (qmail 31858 invoked by uid 502); 9 Feb 2012 09:16:52 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 9 Feb 2012 09:16:52 -0000 Message-ID: <4F338F03.5000503@acm.org> Date: Thu, 09 Feb 2012 07:16:51 -0200 From: Manuel Lemos User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: users@httpd.apache.org References: <4F33224D.8010607@acm.org> <20120209090116.GA1737@palma.openstrike.co.uk> In-Reply-To: <20120209090116.GA1737@palma.openstrike.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Problem when building Apache 2.2.22 with --with-included-apr - libtool: link: only absolute run-paths are allowed Hello Pete, on 02/09/2012 07:01 AM Pete Houston said the following: > On Wed, Feb 08, 2012 at 11:33:01PM -0200, Manuel Lemos wrote: >> It compiles OK, but when it tries to link apr it gives me an libtool >> error. Full output below. >> >> libtool: link: only absolute run-paths are allowed >> >> Anybody has a clue what is the matter and how can I avoid this? > ... >> 4:5:4 -o libapr-1.la -rpath refix/lib passwd/apr_getpass.lo > > You see the argument to -rpath is "refix/lib"? That looks like it was > supposed to be $prefix/lib which would then be expanded into an absolute > path. If you can find out where the $p has gone, I guess you'll have the > answer. Yes, I just figured the problem. I was using an old config.layout file since the 1.x days. It used variables defined as $prefix. I tried removing the config.layout file and see what the configure script generated. It turns out that it used ${prefix} instead. So I fixed my config.layout file to use curly braces and it worked. I also added missing entries in my layout file that configure was adding or else the scripts would fail, although I did not need things like iconsdir, cgidir and manualdir. So, mental note for those like me that keep old config.layout files, if the scripts fail, you may want to see what is different in your layout files. Thanks for the tip. -- Regards, Manuel Lemos JS Classes - Free ready to use OOP components written in JavaScript http://www.jsclasses.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org