From dev-return-16346-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Mon May 15 12:57:21 2006 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 67659 invoked from network); 15 May 2006 12:56:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 May 2006 12:56:30 -0000 Received: (qmail 12750 invoked by uid 500); 15 May 2006 12:56:28 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 12394 invoked by uid 500); 15 May 2006 12:56:27 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 12383 invoked by uid 99); 15 May 2006 12:56:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 05:56:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jorton@redhat.com designates 66.187.233.31 as permitted sender) Received: from [66.187.233.31] (HELO mx1.redhat.com) (66.187.233.31) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 05:56:26 -0700 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4FCu4L4008493 for ; Mon, 15 May 2006 08:56:04 -0400 Received: from turnip.cambridge.redhat.com (turnip.cambridge.redhat.com [172.16.18.137]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4FCu1WQ011710 for ; Mon, 15 May 2006 08:56:02 -0400 Received: from turnip.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by turnip.cambridge.redhat.com (8.13.6/8.13.5) with ESMTP id k4FCtx1c022623 for ; Mon, 15 May 2006 13:55:59 +0100 Received: (from jorton@localhost) by turnip.cambridge.redhat.com (8.13.6/8.13.6/Submit) id k4FCtvKv022621 for dev@apr.apache.org; Mon, 15 May 2006 13:55:57 +0100 X-Authentication-Warning: turnip.cambridge.redhat.com: jorton set sender to jorton@redhat.com using -f Date: Mon, 15 May 2006 13:55:57 +0100 From: Joe Orton To: dev@apr.apache.org Subject: Re: Compiling with __USE_LARGEFILE64 on linux (RH8). Message-ID: <20060515125557.GA22550@redhat.com> Mail-Followup-To: dev@apr.apache.org References: <20060515073320.GA13012@redhat.com> <91FBE7AEE91B454282AE05FE79413A4A03678722@trexch.prog.altair.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <91FBE7AEE91B454282AE05FE79413A4A03678722@trexch.prog.altair.com> User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mon, May 15, 2006 at 08:45:39AM -0400, Scott Greig wrote: > My bad, I've been using -D_LARGEFILE64_SOURCE just typed it wrong in the > email. > I also need -D_FILE_OFFSET_BITS=64. Both flags are used to build my > main application. > > I tried running configure on a RH8 machine. > > configure CFLAGS="-D_FILE_OFFSET_BITS=64" --enable-lfs > > I get the following message: > ... > Check for compiler flags... > Checking whether to enable -D_LARGEFILE64_SOURCE... no > > If I remove the CFLAGS setting it works fine. Right, so build APR like that, as I said. How does your app fail? Why are you messing around with all these flags? Don't use -D_FILE_OFFSET_BITS=64. joe