From stdcxx-user-return-135-apmail-incubator-stdcxx-user-archive=incubator.apache.org@incubator.apache.org Wed Oct 04 13:04:49 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-user-archive@www.apache.org Received: (qmail 25610 invoked from network); 4 Oct 2006 13:04:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 13:04:48 -0000 Received: (qmail 87889 invoked by uid 500); 4 Oct 2006 13:04:48 -0000 Delivered-To: apmail-incubator-stdcxx-user-archive@incubator.apache.org Received: (qmail 87860 invoked by uid 500); 4 Oct 2006 13:04:47 -0000 Mailing-List: contact stdcxx-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-user@incubator.apache.org Delivered-To: mailing list stdcxx-user@incubator.apache.org Received: (qmail 87846 invoked by uid 99); 4 Oct 2006 13:04:47 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 06:04:47 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=geoff.winn@googlemail.com; domainkeys=good X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=HTML_MESSAGE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.162.198] ([64.233.162.198:52579] helo=nz-out-0102.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 71/B5-00170-711B3254 for ; Wed, 04 Oct 2006 06:03:29 -0700 Received: by nz-out-0102.google.com with SMTP id v1so33232nzb for ; Wed, 04 Oct 2006 06:02:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=V3Sew/Th82ugL6uUEwVoRtXu5d+uczJHA1Bb6xLKyYSuYUpt6Nr18lRKN2i5yhUgyISkTDX7W1+tOwUbX9QsiAL3QxLn+CxR0UKCAIi5k1IDnnXR3C43Wijtv1X+6ZwRqK/M9K8PASN75ixLG93g+d7FNVK3C3NNOBTtUyUIoKA= Received: by 10.65.93.18 with SMTP id v18mr391673qbl; Wed, 04 Oct 2006 06:02:24 -0700 (PDT) Received: by 10.65.116.14 with HTTP; Wed, 4 Oct 2006 06:02:23 -0700 (PDT) Message-ID: <61ceca540610040602g227bc231u56ec682e3b55e59@mail.gmail.com> Date: Wed, 4 Oct 2006 14:02:23 +0100 From: "Geoffrey Winn" To: stdcxx-user@incubator.apache.org Subject: Re: Problem building Tuscany SDO with stdcxx on Linux In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38536_17011382.1159966943964" References: <61ceca540610020946x7adb374ax74c1b4d078503050@mail.gmail.com> <45214665.6060302@roguewave.com> <61ceca540610030839q3dffad2cta7dd640e9772c33b@mail.gmail.com> <4522875E.8070702@roguewave.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_38536_17011382.1159966943964 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The part Pete missed out is that Martin was right to suspect config.h. We do have a file called config.h and it is located in ../../../../.. As Pete says, we don't in fact need that file, so I've done as he suggested and the build makes a lot more progress. However, a) It now fails in the link step, although since the link command is g++ that's not a complete surprise and b) Omitting he AM_CONFIG_HEADER line causes an error (from autoconf I think). It may not matter since the whole of SDO then seems to compile OK but I'm reserving judgement for a while. My next step is to alter the link command. Regards, Geoff. On 04/10/06, Pete Robbins wrote: > > The Tuscany build has AM_CONFIG_HEADER(config.h) in the configure.ac file. > This generates a config.h. We don't need this so the line can be removed. > > Cheers, > > > On 03/10/06, Martin Sebor wrote: > > > > Geoffrey Winn wrote: > > > On 02/10/06, *Martin Sebor* > > > wrote: > > > > > [...] > > > I checked the config.log file and I get a warning rather than an > error. > > > I've attached a zipped form of the config file to this note in case > it's > > > any help. I've also run the SIZE_T test by hand and it seems to run > > > fine. The output is as follows. > > > > That looks good, _RWSTD_PTRDIFF_T is being #defined. I wonder if > > there is another config.h that's getting #included instead of ours > > (it would reside in ./ or in ../../../../.. since those two are > > before $BUILDDIR/include on the preprocessor search path; btw., > > it's better to have stdcxx paths first). > > > > Preprocessing ChangedDataObjectListImpl.cpp with -E should reveal > > which config.h is being used. Alternatively, you can recompile it > > with stdcxx paths first in the preprocessor search path to see if > > it helps. > > > > FWIW, config.h doesn't seem to be the best name since it's > > apparently pretty common in other libraries. We plan to rename > > it to something else (or change the way it's included) in the > > next release. > > > > Martin > > > > > > -- > Pete > > ------=_Part_38536_17011382.1159966943964--