Installing DrProject.

Just because that would be too easy by itself, I'm going to follow the instructions for Cygwin, and we'll see what happens.

Okay, it's going fairly well so far...
And then I get to step 3:

Download, compile, and install sqlite from sources. Use version 3.3.5.
To compile it, I use "./configure", "make", "make install", but that gives me the following error:
$ make install
tclsh ./tclinstaller.tcl 3.3
can't read "env(DESTDIR)": no such variable
    while executing
"set LIBDIR $env(DESTDIR)[lindex $auto_path 0]"
    (file "./tclinstaller.tcl" line 10)
make: *** [tcl_install] Error 1

This page tells me to remove each occurance of "$(DESTDIR)" from Makefile, so I did, and it still didn't work, so I tried commenting out "HAVE_TCL = 1" and then it all seemed to work just fine.

Until I got to the line:

chmod +x /lib/python2.4/site-packages/pysqlite-2.2.2-py2.4-cygwin-1.5.19-i686.egg/pysqlite2/_pysqlite.dll
which failed, but it was easy enough to change it to:
chmod +x /lib/python2.4/site-packages/pysqlite-2.2.2-py2.4-cygwin-1.5.19-i686.egg/pysqlite2/_sqlite.dll
which worked.


drproject-server --debug --port 8080 --auto-reload --create=/tmp/drproject
gave me the error:
drproject-server: error: --create option does not take a value
So I tried
drproject-server --debug --port 8080 --auto-reload --create
which said:
drproject-server: error: incorrect number of arguments
So I finally tried
drproject-server --debug --port 8080 --auto-reload --create /tmp/drproject
and it seemed good.

Finally, I ran

drproject-server --debug --port 8080 --auto-reload /tmp/drproject
And it was good...

So I created a script called "drproject-server-profile", to profile it, containing the following lines

# EASY-INSTALL-ENTRY-SCRIPT: 'DrProject==1.0dev-r2084','console_scripts','drproject-server'
__requires__ = 'DrProject==1.0dev-r2084'
import sys
from pkg_resources import load_entry_point

import profile"sys.exit(load_entry_point('DrProject==1.0dev-r2084', 'console_scripts', 'drproject-server')())", 'profile.tmp')
and here is the data!


Comments powered by Disqus