Errors installing 7.2

Started by Steve Wolfeabout 24 years ago2 messagesgeneral
Jump to latest
#1Steve Wolfe
steve@iboats.com

I tried installing 7.2 on a "beater box", and ran into a number of
problems:

1. if "--with-perl" is passed to ./configure, then "make" gives me:

make[4]: Leaving directory
`/usr/src/packages/postgresql-7.2/src/interfaces/libpq'
make -f Makefile all VPATH=
make[4]: Entering directory
`/usr/src/packages/postgresql-7.2/src/interfaces/perl5'
make[4]: *** No rule to make target `/Pg.pm', needed by `pm_to_blib'.
Stop.

if I try and make the Perl libraries manually, I get pretty much the
same thing:
make -C ../../../src/interfaces/libpq all
make[1]: Entering directory
`/usr/src/packages/postgresql-7.2/src/interfaces/libpq'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/packages/postgresql-7.2/src/interfaces/libpq'
make -f Makefile all VPATH=
make[1]: Entering directory
`/usr/src/packages/postgresql-7.2/src/interfaces/perl5'
make[1]: *** No rule to make target `/Pg.pm', needed by `pm_to_blib'.
Stop.
make[1]: Leaving directory
`/usr/src/packages/postgresql-7.2/src/interfaces/perl5'
make: *** [all] Error 2

2. If I configure it, make, and install without the Perl modules, it
runs, but trying to feed in a pg_dumpall from 7.1.2, I get the following
message repeated thousands of times:

"Invalid command - \N"

Any advice on these would be appreciated.

steve

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Steve Wolfe (#1)
Re: Errors installing 7.2

"Steve Wolfe" <steve@iboats.com> writes:

I tried installing 7.2 on a "beater box",

Er, that doesn't convey a lot ;-). Platform, OS level, etc, please.

1. if "--with-perl" is passed to ./configure, then "make" gives me:

make[4]: Leaving directory
`/usr/src/packages/postgresql-7.2/src/interfaces/libpq'
make -f Makefile all VPATH=
make[4]: Entering directory
`/usr/src/packages/postgresql-7.2/src/interfaces/perl5'
make[4]: *** No rule to make target `/Pg.pm', needed by `pm_to_blib'.
Stop.

Peculiar. What else did you pass to configure? What Perl version
are you using?

runs, but trying to feed in a pg_dumpall from 7.1.2, I get the following
message repeated thousands of times:

"Invalid command - \N"

I rather doubt that was the only message. What did you get before
those?

regards, tom lane