By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,177 Members | 976 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,177 IT Pros & Developers. It's quick & easy.

error durring compilation

P: n/a
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

Nov 12 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a

"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: <ko**@chalu.cz>
To: <pg***********@postgresql.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
Nov 12 '05 #2

P: n/a
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 <vi**************@lycos.co.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: <ko**@chalu.cz>
To: <pg***********@postgresql.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/

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #3

P: n/a

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: <ko**@chalu.cz>
To: "Durai" <vi**************@lycos.co.uk>
Cc: <pg***********@postgresql.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 <vi**************@lycos.co.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: <ko**@chalu.cz>
To: <pg***********@postgresql.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
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #4

P: n/a
Thank you
Jiri

Cituji z emailu od Durai <vi**************@lycos.co.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: <ko**@chalu.cz>
To: "Durai" <vi**************@lycos.co.uk>
Cc: <pg***********@postgresql.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 <vi**************@lycos.co.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: <ko**@chalu.cz>
To: <pg***********@postgresql.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/

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.