Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f22NwIx97661 for ; Fri, 2 Mar 2001 18:58:19 -0500 (EST) (envelope-from lucky78@gmx.de) Received: (qmail 6854 invoked by uid 0); 2 Mar 2001 23:58:13 -0000 Received: from ppp45.uni-passau.de (HELO ChristophLange) (132.231.152.45) by mail.gmx.net (mail01) with SMTP; 2 Mar 2001 23:58:13 -0000 Message-ID: <00c501c0a375$571a0cc0$2d98e784@ChristophLange> Reply-To: "Christoph Lange" From: "Christoph Lange" To: Subject: Problems solved so far (Rookie in installation-trouble -> PLEEEASE HELP; Installation-trouble) Date: Sat, 3 Mar 2001 01:02:15 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BC_01C0A37D.9644BAA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200103/33 X-Sequence-Number: 877 This is a multi-part message in MIME format. ------=_NextPart_000_00BC_01C0A37D.9644BAA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! Thanks to all the people who helped! ---------------------------------------------------------------------------= ----- Concerning: Rookie in installation-trouble -> PLEEEASE HELP I had made a very silly mistake concerning the directories used with the=20 ./conifgure --prefix=3D........... command. Tried another installation and - with another cry for help (Didn't know how= to do "Step 8" of the installation guide) - it seems to work until now. ---------------------------------------------------------------------------= ----- Concerning: Installation-trouble Just missed step 8 of the installation guide (Actually didn't know how to d= o it!). For all other helpless lemminglike rookies: uranus% cd /home/lange/pgsql uranus% gunzip postgresql-7.0.3.tar.gz uranus% tar -xf postgresql-7.0.3.tar uranus% cd postgresql-7.0.3/src uranus% mkdir /home/lange/pgsql/local uranus% ./configure --prefix=3D/home/lange/pgsql/local uranus% gmake All of PostgreSQL is successfully made. Ready to install uranus% cd /home/lange/pgsql/postgresql-7.0.3/src/test/regress uranus% gmake clean uranus% gmake all uranus% gmake runcheck uranus% cd /home/lange/pgsql/postgresql-7.0.3/src/ uranus% gmake install Thank you for choosing PostgreSQL, the most advanced open source databa= se=20 engine. uranus% mkdir /home/lange/pgsql/local/data uranus% chown lange /home/lange/pgsql/local/data uranus% su - lange Password:=20 Sun Microsystems Inc. SunOS 5.6 Generic August 1997 uranus% /home/lange/pgsql/local/bin/initdb -D /home/lange/pgsql/local/data Success. You can now start the database server using: /home/lange/pgsql/local/bin/postmaster -D /home/lange/pgsql/local/d= ata or /home/lange/pgsql/local/bin/pg_ctl -D /home/lange/pgsql/local/data = start uranus% /home/lange/pgsql/local/bin/postmaster -D /home/lange/pgsql/local/d= ata& [1] 11787 uranus% DEBUG: Data Base System is starting up at Wed Feb 28 15:46:52 2001 DEBUG: Data Base System was shut down at Wed Feb 28 15:42:51 2001 DEBUG: Data Base System is in production state at Wed Feb 28 15:46:52 = 2001 uranus% /home/lange/pgsql/local/bin/createdb testdb ld.so.1: /home/lange/pgsql/local/bin/psql: fatal: libpq.so: open failed= : No such file or directory Killed createdb: database creation failed uranus% cat ~/.cshrc setenv LD_LIBRARY_PATH /home/lange/pgsql/local/lib uranus% /home/lange/pgsql/local/bin/postmaster -D /home/lange/pgsql/local/d= ata& [1] 28723 uranus% DEBUG: Data Base System is starting up at Fri Mar 2 15:38:35 = 2001 DEBUG: Data Base System was shut down at Thu Mar 1 18:35:06 2001 DEBUG: Data Base System is in production state at Fri Mar 2 15:38:35 = 2001 uranus% /home/lange/pgsql/local/bin/createdb test CREATE DATABASE uranus% psql test Welcome to psql, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit test=3D#=20 test=3D# \q ------=_NextPart_000_00BC_01C0A37D.9644BAA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi!
 
Thanks to all the people w= ho=20 helped!

Concerning: Rookie i= n=20 installation-trouble -> PLEEEASE HELP
I had made a very si= lly mistake=20 concerning the directories used with the
   &n= bsp;=20 ./conifgure --prefix=3D...........
command.
Tried another installation and - wit= h another=20 cry for help (Didn't know how to do "Step 8" of the installation= =20 guide) - it seems to work until now.

Concerning:=20 Installation-trouble
Just missed step 8 o= f the=20 installation guide (Actually didn't know how to do it!).
For all other helple= ss=20 lemminglike rookies:

uranus% cd /home/lange/pgsql
uranus% gunzip=20 postgresql-7.0.3.tar.gz
uranus% tar -xf postgresql-7.0.3.tar

uran= us%=20 cd postgresql-7.0.3/src
uranus% mkdir /home/lange/pgsql/local

ura= nus%=20 ./configure --prefix=3D/home/lange/pgsql/local

uranus%=20 gmake
    All of PostgreSQL is successfully made. Ready t= o=20 install

uranus% cd=20 /home/lange/pgsql/postgresql-7.0.3/src/test/regress
uranus% gmake=20 clean
uranus% gmake all
uranus% gmake runcheck
uranus% cd=20 /home/lange/pgsql/postgresql-7.0.3/src/

uranus% gmake=20 install
    Thank you for choosing PostgreSQL, the most= =20 advanced open source database
    engine.

uranus%= =20 mkdir /home/lange/pgsql/local/data
uranus% chown lange=20 /home/lange/pgsql/local/data
uranus% su - lange
   =20 Password:
    Sun Microsystems Inc.   SunOS=20 5.6       Generic August 1997

uranus%= =20 /home/lange/pgsql/local/bin/initdb -D=20 /home/lange/pgsql/local/data
    Success. You can now sta= rt=20 the database server using:

       = ;=20 /home/lange/pgsql/local/bin/postmaster -D=20 /home/lange/pgsql/local/data
or
      &= nbsp;=20 /home/lange/pgsql/local/bin/pg_ctl -D /home/lange/pgsql/local/data=20 start

uranus% /home/lange/pgsql/local/bin/postmaster -D=20 /home/lange/pgsql/local/data&
    [1] 11787
uranus= %=20 DEBUG:  Data Base System is starting up at Wed Feb 28 15:46:52=20 2001
    DEBUG:  Data Base System was shut down at W= ed=20 Feb 28 15:42:51 2001
    DEBUG:  Data Base System is= in=20 production state at Wed Feb 28 15:46:52 2001

uranus%=20 /home/lange/pgsql/local/bin/createdb testdb
    ld.so.1:= =20 /home/lange/pgsql/local/bin/psql: fatal: libpq.so: open failed: No such fil= e or=20 directory
    Killed
    createdb: data= base=20 creation failed

uranus% cat ~/.cshrc
    setenv=20 LD_LIBRARY_PATH /home/lange/pgsql/local/lib

uranus%=20 /home/lange/pgsql/local/bin/postmaster -D=20 /home/lange/pgsql/local/data&
    [1]=20 28723
    uranus% DEBUG:  Data Base System is starti= ng up=20 at Fri Mar  2 15:38:35 2001
    DEBUG:  Data Ba= se=20 System was shut down at Thu Mar  1 18:35:06 2001
   = =20 DEBUG:  Data Base System is in production state at Fri Mar  2 15:= 38:35=20 2001
uranus% /home/lange/pgsql/local/bin/createdb test
  &n= bsp;=20 CREATE DATABASE
uranus% psql test
    Welcome to psql,= the=20 PostgreSQL interactive terminal.

Type:  \copyright for distribu= tion=20 terms
       \h for help with SQL=20 commands
       \? for help on internal sl= ash=20 commands
       \g or terminate with semic= olon=20 to execute query
       \q to=20 quit

test=3D#
test=3D# \q
 
------=_NextPart_000_00BC_01C0A37D.9644BAA0--