Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C465D9FA1FD for ; Wed, 8 Nov 2006 16:33:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 08763-09 for ; Wed, 8 Nov 2006 16:32:58 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web60715.mail.yahoo.com (web60715.mail.yahoo.com [209.73.178.218]) by postgresql.org (Postfix) with SMTP id 6868D9FA17A for ; Wed, 8 Nov 2006 16:32:58 -0400 (AST) Received: (qmail 51059 invoked by uid 60001); 8 Nov 2006 20:32:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=e1vscxRv9ipqQmW4mR2DCjJ/qPlnQBTJFNzDcZgI17TpOVaoVlVW4Jku2xznukyCm71XmhDnYVEik6/zwEftbQ7CdRGKdKmeFykzMWmvohYqSm6PD6IC35qMKgSMTWT6OiKE24EDHml+B+ONomAqw64Yi6l4JxDJUn3MndlABdc= ; Message-ID: <20061108203257.51057.qmail@web60715.mail.yahoo.com> Received: from [35.8.209.181] by web60715.mail.yahoo.com via HTTP; Wed, 08 Nov 2006 12:32:57 PST Date: Wed, 8 Nov 2006 12:32:57 -0800 (PST) From: Trevor Riever Subject: Re: Help building 08.02.0200 on Solaris 10 (sparc) To: pgsql-odbc@postgresql.org In-Reply-To: <20061108144726.49812.qmail@web60714.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.284 tagged_above=0 required=5 tests=AWL, BAYES_05, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS X-Spam-Level: * X-Archive-Number: 200611/16 X-Sequence-Number: 8398 Figured it out. The configure file for 08.02.0200 uses CPPFLAGS="$CPPFLAGS $pg_cflags -I$pg_includedir" where 08.02.0100 uses CPPFLAGS="$CPPFLAGS -I$pg_includedir". $pg_clflags is getting set by pg_cflags=`$PG_CONFIG --cflags` where as $PG_CONFIG is getting set because of the default Postgres package on Solaris which was compiled by the Sun compiler and I have yet to configure and make postgres with the gcc compiler. --- Trevor Riever wrote: > I can build and make 08.01.0200 and 08.02.0100 on > the > same machine with the same environment. I get the > following error when doing the make, have used make > and gmake get same results: > > gcc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xarch=v8 > -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff > -xc99=none -xCC -I/usr/include/pgsql -g -O2 -MT > info.lo -MD -MP -MF .deps/info.Tpo -c info.c -fPIC > -DPIC -o .libs/info.o > gcc: unrecognized option `-Xa' > gcc: language CC not recognized > > Used ./configure --with-unixodbc. I am using gcc > 3.4.6 and the latest binutils have been installed. > Following line is from the Make file from > 08.02.0200: > > CPPFLAGS = -xO3 -xarch=v8 -xspace -W0,-Lt > -W2,-Rcond_elim -Xa -xildoff -xc99=none -xCC > -I/usr/include/pgsql > > and from 08.02.100 which makes fine: > > CPPFLAGS = -I/usr/include/pgsql > > From what I can tell gcc doesn't like the CPPFLAGS > in > 08.02.200. Are there any flags or options that I > should be setting berfore attempting to build > 08.02.200. I'm not much of a compiler and linker > person but any help would be appreciated. > > Thanks > > Trevor > > > > > > ____________________________________________________________________________________ > Sponsored Link > > Mortgage rates near 39yr lows. $420k for $1,399/mo. > Calculate new payment! > http://www.LowerMyBills.com/lre > > ---------------------------(end of > broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will > ignore your desire to > choose an index scan if your joining column's > datatypes do not > match > ____________________________________________________________________________________ Sponsored Link For just $24.99/mo., Vonage offers unlimited local and long- distance calling. Sign up now. http://www.vonage.com/startsavingnow/