dbTalk Databases Forums  

error durring compilation

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss error durring compilation in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
konf@chalu.cz
 
Posts: n/a

Default error durring compilation - 11-20-2003 , 09:51 AM






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


Reply With Quote
  #2  
Old   
Durai
 
Posts: n/a

Default Re: error durring compilation - 11-20-2003 , 10:11 AM







"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


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


Reply With Quote
  #3  
Old   
konf@chalu.cz
 
Posts: n/a

Default Re: error durring compilation - 11-20-2003 , 10:23 AM



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.uk>:

Quote:
"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/

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org



Reply With Quote
  #4  
Old   
Durai
 
Posts: n/a

Default Re: error durring compilation - 11-20-2003 , 10:40 AM




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.uk>
Cc: <pgsql-general (AT) postgresql (DOT) org>
Sent: Thursday, November 20, 2003 9:53 PM
Subject: Re: [GENERAL] error durring compilation


Quote:
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.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


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



Reply With Quote
  #5  
Old   
konf@chalu.cz
 
Posts: n/a

Default Re: error durring compilation - 11-20-2003 , 10:47 AM



Thank you
Jiri

Cituji z emailu od Durai <visolve_postgres (AT) lycos (DOT) co.uk>:

Quote:
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.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.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/

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



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.