Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id RAA03494 for postgres-redist; Tue, 18 Jul 1995 17:28:46 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199507190028.RAA03494@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from janus.cat.csiro.au (janus.cat.csiro.au [140.253.3.40]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id RAA03484 for ; Tue, 18 Jul 1995 17:28:42 -0700 Received: from flintstone.cat.csiro.au by janus.cat.csiro.au with SMTP id AA26208 (5.65c/IDA-1.4.4 for ); Wed, 19 Jul 1995 10:30:15 +1000 Message-Id: <199507190030.AA26208@janus.cat.csiro.au> X-Mailer: exmh version 1.6 4/21/95 To: postgres@postgres.Berkeley.EDU Subject: compiling postgres for solaris 2.4 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 19 Jul 1995 10:28:18 +1000 From: Nicholas Hudson Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Tue, 18 Jul 95 17:28:46 -0700 Resent-XMts: smtp Hi I am trying to compile postgres for solaris 2.4, but I'm having some problems. 1. using either solcc / gcc or Sun pro cc to compile I am getting an error compiling .../src/bin/fsutils/pls/ls.c /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/stdlib.h:153: conflicting types for `getopt' /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/stdio.h:288: previous declaration of `getopt' /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/stdlib.h:154: conflicting types for `getsubopt' /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/stdio.h:290: previous declaration of `getsubopt' *** Error code 1 I also get the same type of error under Sun Pro. I've looked at the stdio and stdlib and I under stand why, I've even worked away around ( ie. using the -Xs for ls.c only ) flag. The problem is I get alot of warnings and when I run initdb I get the following error Failed Assertion("!(((char) (UserId != 0)))Segmentation Fault - core dumped initdb: could not create template database initdb: cleaning up. Am I doing something wrong / missing something. I would be interested to here from any one who as already done this little exercise. Many thanks Nicholas Hudson CSIRO dEM QCAT Computer Support N.Hudson@dem.csiro.au Phone: +61 7 212 4604 ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU". If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ============================================================================== URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/