Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 8752E633AF8 for ; Fri, 26 Mar 2010 11:18:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 30003-01-10 for ; Fri, 26 Mar 2010 14:18:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qmta04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mail.postgresql.org (Postfix) with ESMTP id 9CA28633C2A for ; Fri, 26 Mar 2010 11:18:07 -0300 (ADT) Received: from omta08.westchester.pa.mail.comcast.net ([76.96.62.12]) by qmta04.westchester.pa.mail.comcast.net with comcast id xmgD1d0030Fqzac54qJ7iU; Fri, 26 Mar 2010 14:18:07 +0000 Received: from sz0093.wc.mail.comcast.net ([76.96.58.151]) by omta08.westchester.pa.mail.comcast.net with comcast id xqJ61d00q3FmDic3UqJ6p2; Fri, 26 Mar 2010 14:18:06 +0000 Date: Fri, 26 Mar 2010 14:18:06 +0000 (UTC) From: Lou Picciano To: pgsql-testers Message-ID: <1430062686.6336371269613086783.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> In-Reply-To: <1999648413.6328111269612420241.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> Subject: PostgreSQL 9.0alpha4: openSolaris 10 x86 snv_134: configure issues: C compiler cannot create executables MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_330040_38226830.1269613086782" X-Originating-IP: [76.117.184.231] X-Mailer: Zimbra 5.0.19_GA_3172.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.19_GA_3177.RHEL5_64) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.225 tagged_above=-10 required=5 tests=BAYES_05=-1.11, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201003/12 X-Sequence-Number: 61 ------=_Part_330040_38226830.1269613086782 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Testing Friends: Having a wee bit of trouble ./configure-ing on openSolaris snv_134 (x86) Ultimately, we are running into the much-dreaded 'C compiler cannot create executables' wall... Some snippets from config.log: Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 configure:3260: $? = 0 configure:3267: gcc -V >&5 gcc: `-V' option must have argument configure:3271: $? = 1 configure:3294: checking for C compiler default output file name configure:3316: gcc conftest.c >&5 ld: fatal: file values-Xa.o: open failed: No such file or directory ld: fatal: file processing errors. No output written to a.out collect2: ld returned 1 exit status configure:3320: $? = 1 configure:3358: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "9.0alpha4" | #define PACKAGE_STRING "PostgreSQL 9.0alpha4" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PG_VERSION "9.0alpha4" | #define PG_MAJORVERSION "9.0" | #define USE_INTEGER_DATETIMES 1 | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | #define BLCKSZ 8192 | #define RELSEG_SIZE 131072 | #define XLOG_BLCKSZ 8192 | #define XLOG_SEG_SIZE (16 * 1024 * 1024) | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3364: error: in `/postgresql-9.0alpha4': configure:3366: error: C compiler cannot create executables However, later in the log: configure_args=' '\''--with-as=/usr/local/bin/as'\'' '\''--with-ld=/usr/local/bin/ld'\'' '\''--enable-shared'\'' '\''--enable-languages=c,c++,f77'\''' I do have 'supporting' applications, like as, gnu ld and bison, in /usr/local/bin - in priority in my PATH: how does this jibe with the line?: Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs I'm heading now into lines 3316, 3364 and 3366 to see what's up... Or is using SunStudio a must on openSolaris? Regards, Lou Picciano ------=_Part_330040_38226830.1269613086782 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Verdana; font-size: 12pt; color: #000000'>
Testing Friends:

Havin= g a wee bit of trouble ./configure-ing on openSolaris snv_134 (x86)
Ultimate= ly, we are running into the much-dreaded 'C compiler cannot create executab= les' wall...
Some snippets from config.log:

Reading specs from /usr/local/lib/gcc/i386-= pc-solaris2.10/3.4.6/specs
Configured with: ../configure= --with-as=3D/usr/ccs/bin/as --with-ld=3D/usr/ccs/bin/ld --enable-shared --= enable-languages=3Dc,c++,f77
Thread model: posix<= /div>
gcc version 3.4.6
configure:3260: $? =3D 0
configure:3267: gcc -V >&5
gcc:= `-V' option must have argument
configure:3271: $? =3D 1=
<= font class=3D"Apple-style-span" face=3D"'Courier New', courier, monaco, mon= ospace, sans-serif">configure:3294: checking for C compiler default output = file name
configure:3316: gcc    conftest.c &n= bsp;>&5
ld: fatal: file values-Xa.o: open failed:= No such file or directory
ld: fatal: file processing er= rors. No output written to a.out
collect2: ld returned= 1 exit status
configure:3320: $? =3D 1
configure:3358: result: 
configure: failed pro= gram was:
| /* confdefs.h.  */
= | #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TA= RNAME "postgresql"
| #define PACKAGE_VERSION "9.0alpha4"=
<= font class=3D"Apple-style-span" face=3D"'Courier New', courier, monaco, mon= ospace, sans-serif">| #define PACKAGE_STRING "PostgreSQL 9.0alpha4"<= /div>
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"<= /div>
| #define PG_VERSION "9.0alpha4"
=
| #define P= G_MAJORVERSION "9.0"
| #define USE_INTEGER_DATETIMES 1
| #define DEF_PGPORT 5432
<= div style=3D"font-size: 12pt; color: rgb(0, 0, 0); ">
| #define DE= F_PGPORT_STR "5432"
| #define BLCKSZ 8192
| #define RELSEG_SIZE 131072
| #define XLOG_BLCKSZ= 8192
<= div>| #define XLOG_SEG_SIZE (16 * 1024 * 1024)<= /div>
| /* end confdefs.h.  */
| =
| int
| main ()
| {
| 
|   ;
| &= nbsp; return 0;
| }
configure:3364: = error: in `</path/to/source/tree>/postgresql-9.0alpha4':
=
configure:3366: error: C compiler cann= ot create executables

Ho= wever, later in the log:

configure_args=3D' '\''--with-as=3D/usr/local/bi= n/as'\'' '\''--with-ld=3D/usr/local/bin/ld'\'' '\''--enable-shared'\'' '\''= --enable-languages=3Dc,c++,f77'\'''

I do have 'supporting' applications, like as, gnu ld and = bison, in /usr/local/bin - in priority in my PATH: how does this jibe with = the line?:

=
R= eading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs=

I'm heading now into lines 3316, 336= 4 and 3366 to see what's up...

Or is using SunStud= io a must on openSolaris?

Regards,  Lou Picci= ano
------=_Part_330040_38226830.1269613086782--