Installing Think New Orleans

These are the instructions for installing Think New Orleans 2.0.

Create a directory called /tno . At this point, there are some XSLT scripts that reference /tno/var directly.

Create a directory /tno/var/src. When the instructions below say to download something, use wget to pull it that directory. Create a directory /tno/var/build. Untar the sources into that directory. Build them there.

What’s missing from this installation is the fact that I’ve got Apache 2.0 running out of the RedHat 3.0 box. It has some tricky rewrites. I’ll document that separately.

Install a perl.

  • Go download a stable Perl.
  • Untar the perl.
  • Build the perl with ./Configure -Dprefix=/tno -d .
  • Run make && make test . One test of hundreds is failing. Install anyway with make install .
  • Run /tno/bin/perl -MCPAN -e shell and install Bundle::CPAN.

    Use /tno/var/cpan as the cache. Create a huge cache to cache everything. For some reason I used ftp://ftp.duke.edu/pub/perl/ and ftp://ftp.rge.com/pub/languages/perl/ as my primary and alternate CPAN servers.

  • Go ahead and install LWP from CPAN now.

Install Apache 1.3

This is needed to run mod_perl 1.0 to run Scoop.

  • Go download the latest Apache 1.3.
  • Untar it.
  • Go download mod_perl 1.0 and untar it.
  • My install is based on The Flexible Way install in the mod_perl guide.
  • Configure mod_perl
  • /tno/bin/perl Makefile.PL 
          APACHE_SRC=../apache_1.3.xx/src 
          NO_HTTPD=1 
          USE_APACI=1 
          PREP_HTTPD=1 
          EVERYTHING=1
    
  • Run make && make install on mod_perl.
  • Configure apache. If you are on OS X, configure is going to try to put Apache 1.3 in a bunch of Apache specific directories. No good. You need to fire off this.
    ./configure 
    --prefix=/tno/httpd 
    --exec-prefix=/tno/httpd 
    --bindir=/tno/httpd/bin 
    --sbindir=/tno/httpd/bin 
    --libexecdir=/tno/httpd/libexec 
    --mandir=/tno/httpd/man 
    --sysconfdir=/tno/httpd/conf 
    --datadir=/tno/httpd 
    --iconsdir=/tno/httpd/icons 
    --htdocsdir=/tno/httpd/htdocs 
    --manualdir=/tno/httpd/htdocs/manual 
    --cgidir=/tno/httpd/cgi-bin 
    --includedir=/tno/httpd/include 
    --localstatedir=/tno/httpd 
    --runtimedir=/tno/httpd/logs 
    --logfiledir=/tno/httpd/logs 
    --proxycachedir=/tno/httpd/proxy 
    --enable-shared=rewrite 
    --activate-module=src/modules/perl/libperl.a
    

    Othweriwse, you are on Linux and you can run this.

    ./configure --prefix=/tno --enable-shared=rewrite --activate-module=src/modules/perl/libperl.a
    
  • Run make && make install.

Install Scoop

  • Go download a stable Scoop 1.0.
  • Untar Scoop.
  • Read the INSTALL instructions. You’ll see a huge list of dependencies. Copy them into a text file and use that as a check list.
  • Now make sure you have an expat installed. If not, go download one and install it under the /tno directory with ./configure –prefix=/tno.
  • You won’t have aspell. Go download the 0.60 version.
  • Build it with ./configure –prefix=/tno.
  • Go download the latest US English dictionary for aspell. A version 6 version.
  • You need to put aspell in your path PATH = /tno/bin:$PATH and then you can configure with ./configure and install.
  • Check you spelling with aspell -a.
  • Now run /tno/bin/perl -MCPAN -e shell and work your way through that list of dependencies.

Leave a Reply