Re: error durring compilation

From: "Durai" <visolve_postgres(at)lycos(dot)co(dot)uk>
To: <konf(at)chalu(dot)cz>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: error durring compilation
Date: 2003-11-20 16:40:55
Message-ID: 0aad01c3af85$15cb1dd0$1a0110ac@dumco
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


It is need on compilation time. If you linked the static library on
compilation to the postgresql binaries, you do not need when you running the
database.

To link the static library, Edit src/Makefile.global file, there will be a
entry like "-lpq".
Change this to like
"<base_dir>/postgresql-7.4/src/interfaces/libpq/libpq.a"

Regs,
Durai.

----- Original Message -----
From: <konf(at)chalu(dot)cz>
To: "Durai" <visolve_postgres(at)lycos(dot)co(dot)uk>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Thursday, November 20, 2003 9:53 PM
Subject: Re: [GENERAL] error durring compilation

> hmm
> thanks. I do not have in standard path, but I have it.
> Do I need it for database running and must I add it into standard PATH or
it is
> needed only for compilation?
>
> Jiri
>
> Cituji z emailu od Durai <visolve_postgres(at)lycos(dot)co(dot)uk>:
>
> >
> > "ar" is a tool used to create and maintain portable archives and
libraries.
> > PostgreSQL uses this command to create static libraries.
> >
> > Just do the following command.
> >
> > # whereis ar
> > ar: /usr/bin/ar
> > #
> >
> > Regs,
> > Durai.
> >
> > ----- Original Message -----
> > From: <konf(at)chalu(dot)cz>
> > To: <pgsql-general(at)postgresql(dot)org>
> > Sent: Thursday, November 20, 2003 9:21 PM
> > Subject: [GENERAL] error durring compilation
> >
> >
> > > Hallo,
> > > I tried to compile PGSQL 7.4 and I got error (durring make):
> > > ar: command not found
> > >
> > > What is it? Whe I can found it?
> > > I have:
> > >
> > > $ uname -a
> > > SunOS ... 5.8 Generic_108528-03 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine
> > >
> > > $ make --version
> > > GNU Make 3.80
> > >
> > > etc.
> > >
> > >
> > >
> > > -------------------------------------------------
> > > This mail sent through IMP: http://horde.org/imp/
> > >
> > > ---------------------------(end of
broadcast)---------------------------
> > > TIP 7: don't forget to increase your free space map settings
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003
>
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message konf 2003-11-20 16:47:22 Re: error durring compilation
Previous Message Joe Conway 2003-11-20 16:31:07 Re: SELECT Question