Skip site navigation (1) Skip section navigation (2)

Re: Installation Report for powerpc-apple-netbsdelf1.5

From: "Henry B(dot) Hotz" <hotz(at)jpl(dot)nasa(dot)gov>
To: prlw1(at)cam(dot)ac(dot)uk, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Installation Report for powerpc-apple-netbsdelf1.5
Date: 2000-07-26 21:20:11
Message-ID: v04210102b5a4c0c4383e@[] (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
At 4:25 PM +0100 7/26/00, Patrick Welche wrote:
>I just had a go on NetBSD-1.5C/i386 with a fresh cvs - first time since the
>new autoconf stuff..

They cut 1.5 alpha less than a month ago and they are already up to 
1.5C on the development branch?  Geesh!

>On Wed, Jul 26, 2000 at 04:02:33AM +0000, Thomas Lockhart wrote:
> > > First problem:  ODBC doesn't compile.  |-(
>I didn't try to compile odbc..

I'll redo this one and email Tom L., er, TGL, er, Thomas the compile log.

> > > Second problem:  with elf binaries the location of shared libraries
> > > is supposed to be compiled in so each program can reference its own
> > > set of shared objects without conflict.  This doesn't seem to jibe
> > > with how the build/install makefiles do things.  I get missing shared
> > > libraries when I try to access the DB as a normal user, and the
> > > mechanism I would have used to fix this on an xcoff system is
> > > deleted, or at least deprecated, on an elf system.
> >
> > There was some discussion recently about whether -rpath is A Good Thing,
> > with Debian voting that it is One Step From Hell. I've always just
> > modified my ld.config and/or my LD_LIBRARY_PATH environment to get to
> > the libraries.
> >
> > Either of these should solve your regression test problem.
>As it happens my LD_LIBRARY_PATH is always empty and there is no ldconfig on
>my system, the standard file on i386 (elf) being
>       machdep.fpu_present,

On port-macppc there is no file.  Maybe I should post this 
question on the NetBSD lists, though it seems more related to ELF 
than to *BSD.

>So, any chance of putting -rpath in? Without it you end up with:
>% ldd psql
>         -lpq.2 => not found
>         -lz.0 => /usr/lib/
>         -lcrypt.0 => /usr/lib/
>         -lm.0 => /usr/lib/
>         -lm.0 => /usr/lib/
>         -lutil.5 => /usr/lib/
>         -ltermcap.0 => /usr/lib/
>         -lcurses.3 => /usr/lib/
>         -lc.12 => /usr/lib/
>Then I need to relink psql with -Wl,-R/usr/local/pgsql/lib ...


macbsd: {3} ldd /usr/pkg/bin/psql
          -lcrypt.0 => /usr/lib/
          -lc.12 => /usr/lib/
          -lpq.2 => /usr/pkg/lib/
          -lm.0 => /usr/lib/
          -lutil.5 => /usr/lib/
          -lreadline.4 => /usr/pkg/lib/
          -ltermcap.0 => /usr/lib/
macbsd: {4} ldd /usr/local/bin/psql
          -lpq.2 => not found
          -lcrypt.0 => /usr/lib/
          -lm.0 => /usr/lib/
          -lutil.5 => /usr/lib/
          -ltermcap.0 => /usr/lib/
          -lcurses.3 => /usr/lib/
          -lc.12 => /usr/lib/

We could go through the package patches to see what they changed to 
"fix" the problem if necessary.  When built directly into /usr/local 
gmake runcheck works and gmake runtest fails (as does initdb, etc). 
When built using the package system most normal operations seem OK, 
but gmake runtest and runcheck both fail.

=============== installing languages...               =================
installing PL/pgSQL .. createlang: missing required argument PGLIB directory
(This is the directory where the interpreter for the procedural
language is stored. Traditionally, these are installed in whatever
'lib' directory was specified at configure time.)

> > > Third problem:  well actually the regression tests seem to 
>work, mostly.  ;-)
>Where they the parallel regression tests? Does "unlimit maxproc" help? (I
>usually forget to do this and maxproc=80 isn't enough for me)

Tried it.  No change.  I did have to stop the running postmaster to 
do a gmake runcheck or it fails because it can't get enough shared 
memory.  I'm running an unoptimized generic kernel.

>All the tests bar geometry work for me, but the latter has:
>! ERROR:  parser: parse error at or near "("
>in amongst the rounding errors..

I don't get that error.  I admit I didn't look exhaustively for 
non-rounding errors in the diff.

Signature failed Preliminary Design Review.
Feasibility of a new signature is currently being evaluated.
h(dot)b(dot)hotz(at)jpl(dot)nasa(dot)gov, or hbhotz(at)oxy(dot)edu

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2000-07-26 21:50:43
Subject: Re: Some questions on user defined types and functions.
Previous:From: Jan WieckDate: 2000-07-26 19:51:34
Subject: Re: Re: [GENERAL] Is Pg 7.0.x's Locking Mechanism BROKEN?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group