Unix Technical Forum

The desirable position of installation path arrangement of SUSE.

This is a discussion on The desirable position of installation path arrangement of SUSE. within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Hi. Preparation of SUSE-10 package creation by Ishikawa-san with me. However, we worry about installation path arrangement of a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 07:22 PM
Hiroshi Saito
 
Posts: n/a
Default The desirable position of installation path arrangement of SUSE.

Hi.

Preparation of SUSE-10 package creation by Ishikawa-san with me.
However, we worry about installation path arrangement of a package...

The plan was considered as follows.

/usr/local/bin/
pgadmin3
pgagent
/usr/local/share/
pgadmin/i18n
....

but, As for this, pgadmin3 cannot find a share files.
Can someone suggest a proper installation path?

Regards,
Hiroshi Saito



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 07:22 PM
Devrim GUNDUZ
 
Posts: n/a
Default Re: The desirable position of installation path

Hi Hiroshi-san,

On Tue, 2006-10-10 at 17:20 +0900, Hiroshi Saito wrote:
> Can someone suggest a proper installation path?


Please use RPM macros while building SuSE package. I'm not sure but it
may be %{_bindir} (which is /usr/bin), %{_datadir}/pgadmin3 (which
is /usr/share/pgadmin3), etc.

/usr/local dir is **not** for RPM packages; please do not use that
directory.

See you.

Cheers,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBFK1mRpme12CBXnxERApBvAJ9LHS7wcniVZ4GS+2rEaL bgtTXgugCcCDX0
Z/6TgExsDneMICr2l9jJQo8=
=boQS
-----END PGP SIGNATURE-----

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 07:22 PM
Dave Page
 
Posts: n/a
Default Re: The desirable position of installation path arrangement of SUSE.



> -----Original Message-----
> From: Hiroshi Saito [mailto:z-saito@guitar.ocn.ne.jp]
> Sent: 10 October 2006 09:21
> To: pgadmin-hackers@postgresql.org
> Cc: Raphaël Enrici; Devrim GUNDUZ; Dave Page; ISHIKAWA Toshiyuki
> Subject: The desirable position of installation path
> arrangement of SUSE.
>
> Hi.
>
> Preparation of SUSE-10 package creation by Ishikawa-san with me.
> However, we worry about installation path arrangement of a package...
>
> The plan was considered as follows.
>
> /usr/local/bin/
> pgadmin3
> pgagent
> /usr/local/share/
> pgadmin/i18n
> ...
>
> but, As for this, pgadmin3 cannot find a share files.
> Can someone suggest a proper installation path?


Can you set DATA_DIR when you run configure? That should do the trick. If not, the paths are calculated in $SRC/src/base/appbase.cpp - you can see there how it figures out where things are.

SUSE is an RPM based distro though isn't it? Please use/modify the existing redhat spec file if possible rather than creating a new one.

Regards Dave.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 07:22 PM
Hiroshi Saito
 
Posts: n/a
Default Re: The desirable position of installation patharrangement of SUSE.

> Hi Hiroshi-san,

Hi Devrim-san.:-)

> Please use RPM macros while building SuSE package. I'm not sure but it
> may be %{_bindir} (which is /usr/bin), %{_datadir}/pgadmin3 (which
> is /usr/share/pgadmin3), etc.
>
> /usr/local dir is **not** for RPM packages; please do not use thatdirectory.
>


Ooops, I was just going to do injustice..!
Is it as follows?
/usr/bin/pgadmin3
...
/usr/share/pgadmin3/i18n

Could pgadmin3 find i18n directory then?

> See you.

My time spent with you was very pleasant.:-)

Regards,
Hiroshi Saito



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 07:22 PM
Hiroshi Saito
 
Posts: n/a
Default Re: The desirable position of installation path arrangement of SUSE.

Hi Dave.

> Can you set DATA_DIR when you run configure? That should do the trick. If not, the paths are calculated in
> $SRC/src/base/appbase.cpp - > you can see there how it figures out where things are.
>
> SUSE is an RPM based distro though isn't it? Please use/modify the existing redhat spec file if possible rather than
> creating a new one.


Oh, Thanks!!
It seems that it helps us.:-)
We want to provide for RC phase at least.!

Thanks!!

Regards,
Hiroshi Saito



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:06 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com