pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lou Picciano <loupicciano@comcast.net>
To: pgsql-testers <pgsql-testers@postgresql.org>
Subject: PostgreSQL 9.0alpha4: openSolaris 10 x86 snv_134: configure issues: C compiler cannot create executables
Date: Fri, 26 Mar 2010 14:18:06 +0000 (UTC)
Message-ID: <1430062686.6336371269613086783.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> (raw)
In-Reply-To: <1999648413.6328111269612420241.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>




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 `</path/to/source/tree>/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 

view thread (4+ messages)  latest in thread

Message-ID: <1430062686.6336371269613086783.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
Permalink:  ../1430062686.6336371269613086783.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net/
Also on:    postgresql.org/message-id/1430062686.6336371269613086783.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: loupicciano@comcast.net
  Subject: Re: PostgreSQL 9.0alpha4: openSolaris 10 x86 snv_134: configure issues: C compiler cannot create executables
  In-Reply-To: <1430062686.6336371269613086783.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
  References: <1999648413.6328111269612420241.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> <1430062686.6336371269613086783.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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