<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi all,<br>
<br>
I've just installed 2.7.3 (notes below). But when I try to add a simple
Product (the "hello" example from the documentation), I am asked for a
login & password. My inituser login/password do not work, and I get
this error (with VerboseSecurity):<br>
<strong><br>
You are not authorized to access this resource.</strong>
<p>Username and password are not correct. (Also, an error occurred
while attempting to render the standard error message.)</p>
Any help would be appreciated.<br>
Thanks, AnThu<br>
<br>
<pre>===========Build notes================
Retrieve the following shareware
gzip
gtar
make (gnu)
gcc-3.4.1-sol8-sparc-local
libiconv-1.8-sol8-sparc-local
As root
# pkgadd -d gcc-3.4.1-sol8-sparc-local
# pkgadd -d libiconv-1.8-sol8-sparc-local
/export/home/Python-2.3.4
As zopeuser
./configure
Got this error
checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h: check for missing prerequisite headers?
configure: WARNING: term.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to <a class="moz-txt-link-abbreviated" href="mailto:bug-autoconf@gnu.org">bug-autoconf@gnu.org</a>. ##
configure: WARNING: ## ------------------------------------ ##
checking for term.h... yes
make
As root
setenv LD_LIBRARY_PATH /usr/local/lib
# make install
#################### Zope ###################
Become the zope user
gzip -d
gtar xvf
cd /export/home/Zope-2.7.3-0
<a class="moz-txt-link-abbreviated" href="mailto:zopeuser@nwsops35.sfbay%">zopeuser@nwsops35.sfbay%</a> ./configure --prefix=/usr/local/Zope-2.7.3-0
<a class="moz-txt-link-abbreviated" href="mailto:zopeuser@nwsops35.sfbay%">zopeuser@nwsops35.sfbay%</a> make
# The world has read/write on /usr/local on this system
# allowing the zope user to install in /usr/local
<a class="moz-txt-link-abbreviated" href="mailto:zopeuser@nwsops35.sfbay%">zopeuser@nwsops35.sfbay%</a> make install
...
Zope binaries installed successfully.
Now run '/usr/local/Zope-2.7.3-0/bin/mkzopeinstance.py'
<a class="moz-txt-link-abbreviated" href="mailto:zopeuser@nwsops35.sfbay%">zopeuser@nwsops35.sfbay%</a> /usr/local/Zope-2.7.3-0/bin/mkzopeinstance.py
Please choose a directory in which you'd like to install
Zope "instance home" files such as database files, configuration
files, etc.
Directory: /usr/local/Zope-2.7.3-0
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.
Username: zopeuser
Password: zope4u
Verify password: zope4u
Clean up the version.txt files
If you have trouble during the makes look for this issue.
I ran into a bug where ./lib/python/version.txt
was being corrupted. A -n was being put in the file.
It should look like this:
Zope 2.7.3-0
Not this:
-n Zope 2.7.3-0
Clean this up and the make should work.
Modify etc/zope.conf
effective-user zopeuser
http-server address to 80
<http-server>
# valid keys are "address" and "force-connection-close"
# address 8080
address 80
# force-connection-close on
</http-server>
---------------------------------------------------------------------
#### Errors ########
# make
make: Fatal error in reader: makefile, line 78: Macro assignment on
dependency l
ine
Solution: you don't have GNY make in your path. copy it to
/usr/local/bin and make sure it is the first make in your path.
-------------
# which make
Picks up the wrong make even though /usr/local/bin/make is in
your path.
Solution: Make sure the executable bit is set on make (gtra, gzip)
-------------
<a class="moz-txt-link-abbreviated" href="mailto:zopeuser@nwsops35.sfbay%">zopeuser@nwsops35.sfbay%</a> ./runzope
Traceback (most recent call last):
...
File "/usr/local/Zope-2.7.3-0/lib/python/App/version_txt.py", line 45,
in _pre
p_version_data
dict = expr.match(s).groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'
This is caused by
<a class="moz-txt-link-abbreviated" href="mailto:zopeuser@nwsops35.sfbay%">zopeuser@nwsops35.sfbay%</a> more ./lib/python/version.txt
-n Zope 2.7.3-0
which needs to be modified to be
Zope 2.7.3-0
----
</pre>
</body>
</html>