[ic] 4.8.5 makecat error

Mark Jaffe interchange-users@icdevgroup.org
Sun Aug 25 13:11:01 2002


Very frustrating situation; I have NEVER been able to make a functioning
catalog. This morning, I thought I'd try once more, operating makecat under
the interchange user, on behalf of the user who will own the catalog.
Following transcript of the session reveals an error I cannot understand;
there is a reference to a directory which does not relate to ANY of the
input parameters:

[interchange@wizdev interchange]$ interchange/bin/makecat

Select a short, mnemonic name for the catalog. This will be
used to set the defaults for naming the catalog, executable,
and directory, so you will have to type in this name frequently.

NOTE: This will be the name of 'vlink' or 'tlink', the link CGI
program. Depending on your CGI setup, it may also have the
extension .cgi added.

Only the characters [-a-zA-Z0-9_] are allowed, and it is strongly suggested
that the catalog name be all lower case.

If you are doing the demo for the first time, you might use "foundation".

Catalog name? artists
makecat -- Interchange catalog installation program.

*** We will be making a catalog named 'artists'. ***


Try using the UP arrow at some of the prompts -- you have the
Term::ReadLine module installed, and Interchange may find some
default values in your HTTP server configuration file.  You can
cycle among them with the UP and DOWN arrows.

######### BEGINNING CATALOG CONFIGURATION #########

During many of the following operations, defaults are placed in
a buffer for you. You may use the up and down arrows to toggle
between the defaults.

If you made a mistake on a *previous* entry and realize that
in a later one, if you enter ONLY an @ sign and press return you
should be returned to the previous step.

# The server name, something like: www.company.com
#                                  www.company.com:8000
#                                  www.company.com/~yourname
#
Server name? www.geminimanor.com

# The type of demo catalog to use. The standard one distributed is:
#
#    foundation
#
# If you have defined your own custom template catalog,
# you can enter its name.
#
# If you are new to Interchange, use "foundation" to start with.


DemoType? foundation

# The email address where orders for this catalog should go.
# To have a secure catalog, either this should be a local user name and
# not go over the Internet -- or use the PGP option.
#


MailOrderTo? alex  

# Where the Interchange files for this catalog will go, pages,
# products, config and all.  This should not be in HTML document
# space! Usually a 'catalogs' directory below your home directory
# works well. Remember, you will want a test catalog and an online
# catalog.
#


CatRoot? /home/alex/catalogs/artists

# The location of the normal CGI directory. This is a
# file path, not a script alias.
#
# If all of your CGI programs must end in .cgi, this is
# should be the same as your HTML directory.
#


CgiDir? /home/httpd/cgi-bin

# The URL location of the CGI program, without the http://
# or server name.
#
# http://www.virtual.com/cgi-bin/prog
#                       ^^^^^^^^^^^^^
#
# http://www.virtual.com/program.cgi
#                       ^^^^^^^^^^^^
#


CgiUrl? /cgi-bin/artists

#
# Additional URL locations for the CGI program, as with CgiUrl.
# This is used when calling the catalog from more than one place,
# perhaps because your secure server is not the same name as the
# non-secure one.
#
# http://www.secure.domain/secure-bin/prog
#                         ^^^^^^^^^^^^^^^^
#
# We set it to the name of the catalog by default to enable the
# internal HTTP server.
#


Aliases? /artists

# The base directory for HTML for this (possibly virtual) domain.
# This is a directory path name, not a URL -- it is your HTML
# directory.
#


DocumentRoot? /usr2/sites/Gemini

# Where the sample HTML files (not Interchange pages) should be installed.
# There is a difference. Usually a subdirectory of your HTML directory.
#


SampleHtml? /usr2/sites/Gemini/artists

# Where the image files should be copied. A directory path
# name, not a URL.
#


ImageDir? /usr2/sites/Gemini/artists/images

# The URL base for the sample images. Sets the ImageDir
# directive in the catalog configuration file. This is a URL
# fragment, not a directory or file name.
#
#         <IMG SRC="/foundation/images/icon.gif">
#                   ^^^^^^^^^^^^^^^^^^
#


ImageUrl? /artists/images
Couldn't change directory to /home/httpd/interchange: No such file or
directory

Why did it try to reference  /home/httpd/interchange???
==========================================================
Mark Jaffe          | (408) 972-9638 (home)
Chief Wizard        | (408) 807-1530 (cell/page/voicemail)
Computer Wizards    | (425) 795-6421 (FAX)
wizards@wizdev.net  | http://www.wizdev.net/