From: Cole K. <cke...@vi...> - 2003-07-01 17:17:09
|
Turns out SQLite was installed, but I needed Apache::Session::SQLite. Installing that got rid of the related failed tests during 'make test', but the failure related to manage_create_website remained. I still have the same problem with installing the web site. I'm running oi2_manage as root from within /usr/local/OpenInteract-1.99_00, where I unpacked the distribution. I'm using --source_dir=. as the instructions say to. The website dir is /home/cole/oi2, in my home directory when I'm not root. Everything else (template files, etc.) gets created there without problem. (By the way, the INSTALL.website file created there refers to oi_manage rather than oi2_manage. Is that correct?) OpenInteract-1.99_00/pkg exists and contains the .zip files. I changed permissions to allow anyone to read & execute those zip files. Still have the same problem... ?? -----Original Message----- From: Chris Winters [mailto:ch...@cw...] Sent: Tuesday, July 01, 2003 10:07 AM To: Cole Keirsey Cc: ope...@li... Subject: Re: [Openinteract-help] oi2 installation Cole Keirsey wrote: > During openinteract install, make test produces a couple of errors related > to SQLite (which I'm not using anyway) and the error: > t/manage_create_website NOK got 3 expected 2 The tests use SQLite to create a website, store data, etc. If you could install the module it would be a help. > When I try to install a web site, all package installations fail with > messages like: > cannot unpack distribution into its final directory > cannot extract archive from pkg/base-box-2.01.zip > invalid file That's odd... when you create the website what is your source directory set to? That is, you should have something like this: # OI2 distribution unpacked to /path/to/build/OpenInteract-1.99_00 /path/to/build/OpenInteract-1.99_00/pkg/... /path/to/build/OpenInteract-1.99_00/sample/... $ oi2_manage create_website \ --website_dir=/path/to/mysite \ --source_dir=/path/to/build/OpenInteract-1.99_00 And /path/to/build/OpenInteract-1.99_00 must be readable by the user executing the command and have 'pkg/base_box-2.01.zip' and all the other files. The next beta (1.99_01) should be out by Wednesday evening and will have (among other things) a 'create_source_dir' task so you don't have to keep using the distribution directory (which is often unpacked by root in /root or some other inaccessible place). Later, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |