Forum OpenACS Q&A: Re: FreeBSD, AOL Server 4 and OpenACS 5 (HEAD)

Collapse
Posted by Tyge Cawthon on
Aldert - Thanks for your suggestions.

item 1 - closed
itme 2 - thanks for the information. Closed
item 3 - closed
item 4 - closed
item 5 - tclwebtest was/is installed.  I had to "hardcode" the pathname in the install.sh (line 505).  No longer an issue.
item 6 - Open.  The typo was in my message. Anyone?
item 7 - Open.  I changed the install.tcl file to your suggestions.  As you can see from below, I am still getting errors.

You suggested "better, don't use install.sh".
Could you please point me in the right direction. I am new and have been doing a lot of reading, but not sure which direction to go.  Once again thanks for all you help.

When I am finished with this, I hope to have a "complete" start to end documentation (error free) on how to load OpenACS on FreeBSD for people like me.

FYI - I looked at the install.sh file and went to each line to try to better understand the error messages below.

install.sh messages below here.
On your system, tclsh is installed under at least the following names:

tclsh8.4
Fri Oct  8 14:30:13 EDT 2004: Starting installation with config_file ./install.tcl. Using serverroot=, server_url=, do_checkout=, do_install=yes, dotlrn=, and database=., use_daemontools=
Fri Oct  8 14:30:13 EDT 2004: Taking down
Fri Oct  8 14:30:13 EDT 2004: Issuing command
./install.sh: line 263: test: 0: unary operator expected
Fri Oct  8 14:30:13 EDT 2004: Recreating database user and database.
./install.sh: line 290: [: =: unary operator expected
su: Sorry
./install.sh: line 326: [: =: unary operator expected
Fri Oct  8 14:30:13 EDT 2004: Proceeding without checkout.  This assumes that you have a full working site already set up at , including correctly configured /etc/config.tcl and
Fri Oct  8 14:30:13 EDT 2004: Bringing  back up
Fri Oct  8 14:30:13 EDT 2004: Issuing command
./install.sh: line 473: test: 0: unary operator expected
./install.sh: line 491: [: =: unary operator expected
Fri Oct  8 14:30:18 EDT 2004: Starting installation of OpenACS.
In FreeBSD, tclsh is named with a version number.  This is because
different versions of tclsh are not compatible with each other and
they can not all be called "tclsh"!  You may need multiple versions
installed because a given port may depend on a specific version.

On your system, tclsh is installed under at least the following names:

tclsh8.4
Fri Oct  8 14:30:18 EDT 2004: Restarting
Fri Oct  8 14:30:18 EDT 2004: Issuing command
./install.sh: line 532: test: 0: unary operator expected
./install.sh: line 581: ${install_error_file}: ambiguous redirect

Collapse
Posted by Tyge Cawthon on
I justed notice from the install.sh messages the line

"Fri Oct  8 14:30:13 EDT 2004: Proceeding without checkout.  This assumes that you have a full working site already set up at , including correctly configured /etc/config.tcl and"

I looked in my /etc directory I do not see a "config.tcl"

Could this be an issue?