pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedHelp building 08.02.0200 on Solaris 10 (sparc)
5+ messages / 2 participants
[nested] [flat]
* Help building 08.02.0200 on Solaris 10 (sparc)
@ 2006-11-08 14:47 Trevor Riever <tmanmi@yahoo.com>
2006-11-08 16:06 ` Re: Help building 08.02.0200 on Solaris 10 (sparc) Peter Eisentraut <peter_e@gmx.net>
2006-11-08 20:32 ` Re: Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
0 siblings, 2 replies; 5+ messages in thread
From: Trevor Riever @ 2006-11-08 14:47 UTC (permalink / raw)
To: pgsql-odbc
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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help building 08.02.0200 on Solaris 10 (sparc)
2006-11-08 14:47 Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
@ 2006-11-08 16:06 ` Peter Eisentraut <peter_e@gmx.net>
2006-11-08 19:33 ` Re: Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
1 sibling, 1 reply; 5+ messages in thread
From: Peter Eisentraut @ 2006-11-08 16:06 UTC (permalink / raw)
To: pgsql-odbc; +Cc: Trevor Riever <tmanmi@yahoo.com>
Am Mittwoch, 8. November 2006 15:47 schrieb Trevor Riever:
> 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
There is nothing in the entire source code that mentions "Xa", so perhaps you
are picking this up from the environment. Check with printenv.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help building 08.02.0200 on Solaris 10 (sparc)
2006-11-08 14:47 Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
2006-11-08 16:06 ` Re: Help building 08.02.0200 on Solaris 10 (sparc) Peter Eisentraut <peter_e@gmx.net>
@ 2006-11-08 19:33 ` Trevor Riever <tmanmi@yahoo.com>
0 siblings, 0 replies; 5+ messages in thread
From: Trevor Riever @ 2006-11-08 19:33 UTC (permalink / raw)
To: pgsql-odbc
root:Z:live:H:live::/public/psqlodbc/psqlodbc-08.01.0200#
printenv
_=/opt/sfw/bin/printenv
MANPATH=:/opt/sfw/man
LANG=en_US.UTF-8
HZ=
PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/local/lib:/usr/local/ssl:/usr/local/ssl/bin:/usr/ccs/bin:/usr/local/mysql/bin:/usr/local/mysql/lib:/opt/sfw/include:/usr/ucb:/usr/local/ssl/include/openssl:/usr/sbin:/usr/bin:/opt/sfw/bin:/usr/ucb:/usr/lib
EDITOR=vi
LOGNAME=root
MAIL=/var/mail/root
SHELL=/usr/bin/ksh
HOME=/
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/opt/sfw/lib
TERM=vt100
PWD=/public/psqlodbc/psqlodbc-08.02.0200
The thing that I'm confused over is that I can
configure and make 08.01.0200, 08.02.0100, and
08.02.0200 with the same login and session, but
08.02.0200 will break.
Trevor
--- Peter Eisentraut <peter_e@gmx.net> wrote:
> Am Mittwoch, 8. November 2006 15:47 schrieb Trevor
> Riever:
> > 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
>
> There is nothing in the entire source code that
> mentions "Xa", so perhaps you
> are picking this up from the environment. Check
> with printenv.
>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
>
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help building 08.02.0200 on Solaris 10 (sparc)
2006-11-08 14:47 Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
@ 2006-11-08 20:32 ` Trevor Riever <tmanmi@yahoo.com>
2006-11-09 09:26 ` Re: Help building 08.02.0200 on Solaris 10 (sparc) Peter Eisentraut <peter_e@gmx.net>
1 sibling, 1 reply; 5+ messages in thread
From: Trevor Riever @ 2006-11-08 20:32 UTC (permalink / raw)
To: pgsql-odbc
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 <tmanmi@yahoo.com> 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/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Help building 08.02.0200 on Solaris 10 (sparc)
2006-11-08 14:47 Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
2006-11-08 20:32 ` Re: Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
@ 2006-11-09 09:26 ` Peter Eisentraut <peter_e@gmx.net>
0 siblings, 0 replies; 5+ messages in thread
From: Peter Eisentraut @ 2006-11-09 09:26 UTC (permalink / raw)
To: pgsql-odbc; +Cc: Trevor Riever <tmanmi@yahoo.com>
Trevor Riever wrote:
> 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".
Yes, I had already fixed this in CVS. The 08.02.0200 release is
basically broken on Unix platforms for this and related reasons.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2006-11-09 09:26 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-08 14:47 Help building 08.02.0200 on Solaris 10 (sparc) Trevor Riever <tmanmi@yahoo.com>
2006-11-08 16:06 ` Peter Eisentraut <peter_e@gmx.net>
2006-11-08 19:33 ` Trevor Riever <tmanmi@yahoo.com>
2006-11-08 20:32 ` Trevor Riever <tmanmi@yahoo.com>
2006-11-09 09:26 ` Peter Eisentraut <peter_e@gmx.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox