[Zope] HowTo Script for Linux/Oracle-8.0.5/DCOracle

LD Landis ldl@LDL.HealthPartners.COM
Tue, 2 Feb 1999 13:36:30 -0600 (CST)


Hi,

  For me... it was real hard ;-)...

  echo "Making DCOracle 1.1.0"
  cd /usr/local/src
  rm -rf DCOracle-1.1.0-nonbin
  tar xvfz gz/DCOracle-1.1.0-nonbin.tgz
  cd DCOracle-1.1.0-nonbin/src
  cp Setup-8.0.4 Setup-8.0.5
  echo "- create Setup-8.0.5"
  ed Setup-8.0.5 << EOF
  /-lsocket/
  s/-lsocket -lnsl -lgen -ldl -lelf -laio -lposix4 //
  w
  q
  EOF
  echo "- build extension"
  cp Setup-8.0.5 Setup
  cp Makefile.pre.in-1.5 Makefile.pre.in
  make -f Makefile.pre.in boot PYTHON=python
  make
  make install
  python DCOracle_test.py <user>/<pw>@<db>

    where <user>, <pw> and <db> were local here.

  Sweet!!

--
Cheers,
	--ldl
-----------------------------------------------------------------------------
LD Landis ldl@HealthPartners.Com N0YRQ    Voice 612/883-5511 Fax 612/883-6363
HealthPartners, 8100 34th Avenue So, PO Box 1309, Minneapolis, MN  55440-1309
Shape your life not from your memories, but from your hopes.       (Borrowed)
-----------------------------------------------------------------------------