error durring compilation

Lists: pgsql-general
From: konf(at)chalu(dot)cz
To: pgsql-general(at)postgresql(dot)org
Subject: error durring compilation
Date: 2003-11-20 15:51:37
Message-ID: 1069343497.3fbce309e5fed@webmail.move.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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/


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


"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


From: konf(at)chalu(dot)cz
To: Durai <visolve_postgres(at)lycos(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: error durring compilation
Date: 2003-11-20 16:23:59
Message-ID: 1069345439.3fbcea9fd0977@webmail.move.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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/


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
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


From: konf(at)chalu(dot)cz
To: Durai <visolve_postgres(at)lycos(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: error durring compilation
Date: 2003-11-20 16:47:22
Message-ID: 1069346842.3fbcf01a70593@webmail.move.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Thank you
Jiri

Cituji z emailu od Durai <visolve_postgres(at)lycos(dot)co(dot)uk>:

>
> 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
>
>

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/