Re: Re: Beta2 ... ?
Lamar Owen <lamar.owen@wgcr.org>
From: Lamar Owen <lamar.owen@wgcr.org>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2001-01-10T17:03:03Z
Lists: pgsql-hackers
Peter Eisentraut wrote: > Lamar Owen writes: > > However, there are some hard-coded paths left in the build, and the perl > > client is being difficult, > The Perl and Python clients use their own build system. Not sure how to > handle it. I'm looking, in between day job stuff. > > and odbcinst is going to the REAL /usr/etc instead of > > $RPM_BUILD_ROOT/etc.... > Works here. Which doesn't surprise me. The RPM building environment is not the same as building from source inside a regular user shell. Similar, but not the same. > Hmm, are you using 'make install DESTDIR=/random/place'? > Given that it's not documented it's unlikely that you are. But do start > using it. Enlighten me. DESTDIR does? Currently, my install lines look like: make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr -C src install make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr -C src/interface s/perl5 install So, I would put something like: make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr DESTDIR=/usr -C src install ??? -- Lamar Owen WGCR Internet Radio 1 Peter 4:11