Success on DEC-Alpha osf-4.0b - Mailing list pgsql-ports

From Clouser, Robert
Subject Success on DEC-Alpha osf-4.0b
Date
Msg-id 199910291354.JAA06168@ll.mit.edu
Whole thread Raw
Responses Re: [PORTS] Success on DEC-Alpha osf-4.0b  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
List pgsql-ports
I successfully compiled 6.5.2 on our DEC Alpha running osf4.0b, using

./configure --prefix=OURDIR --disable-locale --without-CXX

It used the alpha_cc template. I did have to use the patch for the
buff_init.c
that fixed the missing __alpha defines.

HOWEVER  -- notice that I had to disable the C++ stuff!! I got all kinds of
errors
that LOOKED like wrong code, but it must be a compatability problem. These
were in
the src/interfaces/libpq++ directory, and in particular in the
pgconnection.cc and
pgconnection.h files. Line like

#include <string>    -> bombed,

and

extern "C" {
#include "libpq-fe.h"
}            -->( this could be bombing in the libpq-fe.h file, i
think).

Anyway, it seems like this is a compiler compatability problem, or it would
not have compiled on other
platforms. Any suggestions for my C++ compiler flags?

MORE IMPORTANTLY: am I missing anything essential by NOT compiling the C++
stuff? I gather
that this stuff is meant to let people interface to the db with c++?

Thanks for any help you can give!!

Bob
----------------------------------------------------------------------------
---------------
Dr. Robert H. Clouser
S4-563, MIT-Lincoln Laboratory
(781) 981-1989
bclouser@ll.mit.edu


pgsql-ports by date:

Previous
From: Muthu Kumar
Date:
Subject: help
Next
From: "Pedro J. Lobo"
Date:
Subject: Re: [PORTS] Success on DEC-Alpha osf-4.0b