pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15254: The configure --with-zlib option ignores zlib custom location
2+ messages / 2 participants
[nested] [flat]

* BUG #15254: The configure --with-zlib option ignores zlib custom location
@ 2018-06-27 20:52 PG Bug reporting form <noreply@postgresql.org>
  2018-06-27 21:05 ` Re: BUG #15254: The configure --with-zlib option ignores zlib custom location Andres Freund <andres@anarazel.de>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2018-06-27 20:52 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: mittiprovence@yahoo.se

The following bug has been logged on the website:

Bug reference:      15254
Logged by:          Stephane Eybert
Email address:      mittiprovence@yahoo.se
PostgreSQL version: 10.4
Operating system:   Linux Lubuntu 16.04
Description:        

My zlib is being built under the user home directory. So is my postgresql
system.

zlib:
./configure \
  --prefix=/home/stephane/programs/install

postgresql:
./configure \
  --prefix=/home/stephane/programs/install \
  --without-zlib

Not all of us can install outside of our user directory. The postgresql
stands out quite lonely on that.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15254: The configure --with-zlib option ignores zlib custom location
  2018-06-27 20:52 BUG #15254: The configure --with-zlib option ignores zlib custom location PG Bug reporting form <noreply@postgresql.org>
@ 2018-06-27 21:05 ` Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2018-06-27 21:05 UTC (permalink / raw)
  To: mittiprovence@yahoo.se; pgsql-bugs@lists.postgresql.org

Hi,

On 2018-06-27 20:52:04 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      15254
> Logged by:          Stephane Eybert
> Email address:      mittiprovence@yahoo.se
> PostgreSQL version: 10.4
> Operating system:   Linux Lubuntu 16.04
> Description:        
> 
> My zlib is being built under the user home directory. So is my postgresql
> system.
> 
> zlib:
> ./configure \
>   --prefix=/home/stephane/programs/install
> 
> postgresql:
> ./configure \
>   --prefix=/home/stephane/programs/install \
>   --without-zlib
> 
> Not all of us can install outside of our user directory. The postgresql
> stands out quite lonely on that.
> 

Prefix is about the install path, not about the library search path. You
can pass CPPFLAGS='-I/path/to/whatever' LDFLAGS='-L/path/to/whatever' to
configure.  Note that you'll potentially have to change your system
search library path, or LD_LIBRARY_PATH, environment to allow
libc/kernel to find shared libraries.

Greetings,

Andres Freund




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-06-27 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27 20:52 BUG #15254: The configure --with-zlib option ignores zlib custom location PG Bug reporting form <noreply@postgresql.org>
2018-06-27 21:05 ` Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox