RE: Solaris 8 compilation errors _OUTPUT - Mailing list pgsql-general

From George Johnson
Subject RE: Solaris 8 compilation errors _OUTPUT
Date
Msg-id NEBBJGKMGLGMDGBMOHJNAEJKCBAA.gjohnson@jdsc.com
Whole thread Raw
In response to Re: Solaris 8 compilation errors _OUTPUT  ("J.Goodleaf" <john@goodleaf.net>)
List pgsql-general
Hi John,

It can't find one of the header files it needs to compile that file.  I
looked around and cannot find the header containing the definition of
va_args anywhere -- these developers will know.

Did you download gcc for Solaris 8 as a binary or package?
If so,
Bad idea -- and here's why:  I had always downloaded the Solaris 7 binary
for gcc.  The problem is the libraries "they" used to make that version of
gcc most likely don't match your machine at all.  What you gotta do is:

1.  download a gcc for sol 8.
2.  download the sources for gcc (yea they're huge)
3.  compile gcc using the binary/package you downloaded.
4.  install the new freshly compiled version

Sure as sh*ttin', everything works after that (compiler wise).  Also for
some reason, I have trouble compiling things a lot of the time if I'm logged
in as root, but not as a reg user (with gcc).  So usually I compile as a
regular user, then run the gmake install as root.

OH -- make sure you are using gmake instead of distributed make.  That can
make a huge difference.

Hope this helps -- I'll be compiling 7.1 for solaris 8 thursday on a new box
(with gcc and sun c both) so I could help out with that if u can wait and
are interested in 7.1

L8r,
George Johnson



-----Original Message-----
From: J.Goodleaf [mailto:john@goodleaf.net]
Sent: Monday, February 05, 2001 5:42 PM
To: Martin A. Marques
Cc: pgsql-general@postgresql.org
Subject: Re: Solaris 8 compilation errors _OUTPUT


Thanks for your help.
I've included the output as an attachment. Please let me know what you make
of it.
 -John

Martin A. Marques writes:

> El Lun 05 Feb 2001 02:30, Alex Guryanow escribió:
>> JG> I don't see Solaris 8 on the list of supported platforms,
>>
>> I have compiled postgres 7.0.3 on SPARC/Solrais 8. But it was compiled
w/o
>> tcl support. There is no much time since installation, but yet all works
>> fine.
>
> I have installed it on Solaris 7 and 8 with tcl (pgaccess works great!!).
>
> Send the output of the error.
>
> Saludos... :-)
>
> --
> System Administration: It's a dirty job,
> but someone told I had to do it.
> -----------------------------------------------------------------
> Martín Marqués            email:     martin@math.unl.edu.ar
> Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
> Administrador de sistemas en math.unl.edu.ar
> -----------------------------------------------------------------



pgsql-general by date:

Previous
From: Hubert Palme
Date:
Subject: extracting parts from date values
Next
From: andytaylor00@hotmail.com (Andy Taylor)
Date:
Subject: Problems with Relationships in SQL7