On Tue, 6 May 1997, Maarten Boekhold wrote: > > I have looked at your make-output, and am puzzled. I have build > postgres95 version 1.08, 1.09 6.0 and 6.1beta several times on my system > from the original sources, and never had any problems, certainly not like > these. The only thing I consistently have to change is removing linking > with -ltermcap in src/bin/psql/Makefile (Postgres thinks that all > linux-systems have libtermcap...). > > My guess is that the debian-sources are screwed up. Try grabbing a .tgz > from ftp.postgresql.org.... >
DONE: 2197371 May 7 05:22 postgresql-v6.0.tar.gz Again, thanks to you all, thank you Maarten! NOW EVERYTHING SEEMS TO BE QUITE * F I N E * both rebuilding and running it, no problems about any libbsd. I decided to leave the postgres95 destination directories as the default is (besides I plan to reinstall only the Debian _doc_ package later). What I simply did (type by hand, not from history, errors maybe in): - I had dselect purge the Debian packages (both packages: binaries and doc, and before also the two 1.09 packages mentioned below); this also removes postgres entries from files in /etc/: aliases, group, passwd, services. - ~/installing$ mkdir postgres95 cd postgres95 tar -zxvf ~/ftpdown/postgresql-v6.0.tar.gz cd .. patch -p0 < postgres95-diff-v6.0 (<- first attachment) cd postgres95/src make A "ready to install" message appears when everything is well done. as root: mkdir /usr/local/pgsql make install - I added to profile what is in the second attachment (and made sure that lines were active in the shell used afterwards); - as I wanted to have the original doc files too: cd /usr/local/pgsql mv ~/installing/postgres95/doc . cd doc/ cp ~/installing/postgres95/<what else you want saved> . - followed the first steps in the INSTALL text file in order to do startup and run an extensive test (which comes to take 20-30 megabytes on disk while running). There are some WARN: messages in the server log but I think they HAVE to be there after those tests as the output seems to be quite similar to what is expected, as you can see: ~/installing/dbase/postgres95/rebuild/postgres95/src/test/regress$ diff -b expected.out regress.out | less - before removing the tree ~/installing/postgres95, there seem to be a tutorial inside for postgres95 newbies, and I *AM*. ----- ----- ----- ----- About the debian source tree: > I assume you tried building it from the debian sources? ie. postgres95 > 1.09? It was 1.01-1 and tonight I was (maybe "blind" at 4:30-5:30 a.m) not able to find via ftp but these two files (the first of which seems to override some postgres95 include files when installed): 21682 May 7 04:17 postgres95-dev_1.09-1.deb 128646 May 7 04:20 postgres95-doc_1.09-1.deb AND the same files I already have on the Debian 1.2.4 cdrom 356268 Aug 7 1996 postgres95-docs_1.01-1.deb 547906 Aug 7 1996 postgres95_1.01-1.deb I still get that source-code-level errors. Screwed up... maybe the Makefile's? Nicola Bernardelli <[EMAIL PROTECTED]> --------------------------------------------------------------------------- Please use <[EMAIL PROTECTED]> for messages from any kind of robot, such as mailing lists. From that address no autoresponse messages will return even when I'm not at home. ---------------------------------------------------------------------------
--- postgres95/src/bin/psql/Makefile.orig Wed May 7 12:28:42 1997 +++ postgres95/src/bin/psql/Makefile Wed May 7 12:29:20 1997 @@ -29,17 +29,17 @@ ifeq ($(PORTNAME), ultrix4) LD_ADD+= -ltermcap else ifeq ($(PORTNAME), sparc) LD_ADD+= -ltermcap else ifeq ($(PORTNAME), linux) - LD_ADD+= -ltermcap +# LD_ADD+= -ltermcap else ifeq ($(PORTNAME), next) LD_ADD+= -ltermcap else ifeq ($(PORTNAME), bsdi) LD_ADD+= -ltermcap else ifeq ($(PORTNAME), BSD44_derived) --- postgres95/src/Makefile.global.orig Tue Jan 28 15:00:13 1997 +++ postgres95/src/Makefile.global Wed May 7 12:33:09 1997 @@ -61,17 +61,17 @@ # svr4 Intel x86 on Intel SVR4 # ultrix4 DEC MIPS on Ultrix 4.4 # # Note that portname is defined here to be UNDEFINED to remind you # to change it in Makefile.custom. # # make sure that you have no whitespaces after the PORTNAME setting # or the makefiles can get confused -PORTNAME= UNDEFINED +PORTNAME=linux # Ignore LINUX_ELF if you're not using Linux. But if you are, and you're # compiling to a.out (which means you're using the dld dynamic loading # library), set LINUX_ELF to null in Makefile.custom. LINUX_ELF= true LIBPQDIR:= $(SRCDIR)/libpq
# For postgres95 alias p95man='man -M /usr/local/pgsql/man/' PATH=$PATH:/usr/local/pgsql/bin ; export PATH PGDATA=/usr/local/pgsql/data/ ; export PGDATA