Обсуждение: error durring compilation

Поиск
Список
Период
Сортировка

error durring compilation

От
konf@chalu.cz
Дата:
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/

Re: error durring compilation

От
"Durai"
Дата:
 
"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 -----
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

Re: error durring compilation

От
konf@chalu.cz
Дата:
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@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: <konf@chalu.cz>
> To: <pgsql-general@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/

Re: error durring compilation

От
"Durai"
Дата:
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@chalu.cz>
To: "Durai" <visolve_postgres@lycos.co.uk>
Cc: <pgsql-general@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 <visolve_postgres@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: <konf@chalu.cz>
> > To: <pgsql-general@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


Re: error durring compilation

От
konf@chalu.cz
Дата:
Thank you
Jiri

Cituji z emailu od Durai <visolve_postgres@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: <konf@chalu.cz>
> To: "Durai" <visolve_postgres@lycos.co.uk>
> Cc: <pgsql-general@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 <visolve_postgres@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: <konf@chalu.cz>
> > > To: <pgsql-general@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/