Re: [PORTS] Compilation on Solaris 2.8

Lists: pgsql-bugsPostg토토 사이트SQL
From: Manoj Nair <mknair(at)nulinkinc(dot)com>
To: pgsql-bugs(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Compilation on Solaris 2.8
Date: 2001-07-09 11:41:00
Message-ID: 3B49984C.B84D4477@nulinkinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-ports

Hi :

I am having problems in compiling Postgres 7.1.
I am using the following compilers on Solaris 2.8 on a Sparc Ultra 60
machine.

Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
Sun WorkShop 6 update 1 C 5.2 2000/09/11

Is there a port available for this configuration ?

Thanks,
Manoj Nair


From: A_Schnabel(at)t-online(dot)de (Andre Schnabel)
To: "Manoj Nair" <mknair(at)nulinkinc(dot)com>, <pgsql-bugs(at)postgresql(dot)org>, <pgsql-ports(at)postgresql(dot)org>
Subject: Re: [PORTS] Compilation on Solaris 2.8
Date: 2001-07-11 05:54:31
Message-ID: 001401c109cd$f4ae64e001a8c0@aschnabel.homeip.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs Postg토토 사이트SQL

Hi,

Postgres 7.1.2 is runing fine at my site (Solaris 2.6 ans Solaris 2.6).
I used gcc-2.95.3 and make-3.79.1 (both downloaded from
www.sunfreeware.com)
I had just one problem:
during compilation you need the ar - command in your PATH.
Look at the manpages of ar for the proper Path.

CU
Andre

----- Original Message -----
From: Manoj Nair
To: pgsql-bugs(at)postgresql(dot)org ; pgsql-ports(at)postgresql(dot)org
Sent: Monday, July 09, 2001 1:41 PM
Subject: [PORTS] Compilation on Solaris 2.8

Hi :

I am having problems in compiling Postgres 7.1.
I am using the following compilers on Solaris 2.8 on a Sparc Ultra 60
machine.

Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
Sun WorkShop 6 update 1 C 5.2 2000/09/11

Is there a port available for this configuration ?

Thanks,
Manoj Nair

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html


From: Manoj Nair <mknair(at)nulinkinc(dot)com>
To: Andre Schnabel <A_Schnabel(at)t-online(dot)de>, pgsql-bugs(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: [PORTS] Compilation on Solaris 2.8
Date: 2001-07-11 09:14:15
Message-ID: 3B4C18E7.307F63DE@nulinkinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-ports

Hi Andre,

We have also compiled postgres with gcc.
Our development environment uses Solaris Workshop, and we tried some test
programs, compiled with Sun's Forte compiler, and using the gcc compiled
postgres libraries. This did not work.
We got linker errors like the following....

Undefined first referenced
symbol in file
PgConnection::PgConnection #Nvariant 1(const char*) testlibpq0.o
PgConnection::~PgConnection #Nvariant 1() testlibpq0.o
int PgConnection::ConnectionBad() testlibpq0.o
void PgDatabase::DisplayTuples(__FILE*,int,const char*,int,int)
testlibpq0.o
ExecStatusType PgConnection::Exec(const char*) testlibpq0.o
const char*PgConnection::ErrorMessage() testlibpq0.o
ld: fatal: Symbol referencing errors. No output written to testlibpq0
make: *** [testlibpq0] Error 1

Hence our attempt to compile Postgres with Sun's compiler...

Thanks,
Manoj

Andre Schnabel wrote:

> Hi,
>
> Postgres 7.1.2 is runing fine at my site (Solaris 2.6 ans Solaris 2.6).
> I used gcc-2.95.3 and make-3.79.1 (both downloaded from
> www.sunfreeware.com)
> I had just one problem:
> during compilation you need the ar - command in your PATH.
> Look at the manpages of ar for the proper Path.
>
> CU
> Andre
>
> ----- Original Message -----
> From: Manoj Nair
> To: pgsql-bugs(at)postgresql(dot)org ; pgsql-ports(at)postgresql(dot)org
> Sent: Monday, July 09, 2001 1:41 PM
> Subject: [PORTS] Compilation on Solaris 2.8
>
> Hi :
>
> I am having problems in compiling Postgres 7.1.
> I am using the following compilers on Solaris 2.8 on a Sparc Ultra 60
> machine.
>
> Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
> Sun WorkShop 6 update 1 C 5.2 2000/09/11
>
> Is there a port available for this configuration ?
>
> Thanks,
> Manoj Nair
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html


From: Oyvind Hallsteinsen <oyvindh(at)aitel(dot)hist(dot)no>
To: pgsql-ports(at)postgresql(dot)org
Cc: asc(at)gedas(dot)de, Andre Schnabel <A_Schnabel(at)t-online(dot)de>
Subject: Re: Compilation on Solaris 2.8
Date: 2001-07-11 18:40:32
Message-ID: 3B4C9DA0.7C3A9227@aitel.hist.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-ports

[bringing the thread back into pgsql-ports, my bad in the first place
that it was left out...]

Andre Schnabel wrote:
>>> Postgres 7.1.2 is runing fine at my site (Solaris 2.6 ans
>>> Solaris 2.6).
>> Hi - I've got a similar setup (as you might have seen in my
>> previous
>> post), and I have no problems compiling.
>> However, the libpq.so is screwed up. Is everything ok your
>> libpq.so? (#
>> ldd -r libpq.so)
>>
>> What linker are you using? GNU?

> I'll have to check that at work.
> I have no problems yet. ... But I use only psql and ODBC from
> NT-clients to connect to the server. But maybe we'll build up a
> web-interface with php4 an run in the same problem.

You might have, yes. I assume pgsql.so is the client library, as php is
trying to use it.

The problem with pgsql.so showed up in v7.1. In v7.0.3 everything is
fine (I've tested both of these).

---
-- Øyvind Hallsteinsen, HIST AITeL --