* INSTALL: Update prerequisites.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19243 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-05-06 12:37:45 +00:00
parent 1262062463
commit 961b0ac2e3
2 changed files with 26 additions and 22 deletions

View file

@ -1,3 +1,7 @@
2004-05-06 David Ayers <d.ayers@inode.at>
* INSTALL: Update prerequisites.
2004-04-22 S.J. Chun <chunsj@embian.com> 2004-04-22 S.J. Chun <chunsj@embian.com>
* GSWExtensions.framework/GSWKeyValueConditional.m * GSWExtensions.framework/GSWKeyValueConditional.m

44
INSTALL
View file

@ -2,7 +2,7 @@ Installation
************ ************
This file documents the installation of GNUstepWeb, `gsweb'. Copyright This file documents the installation of GNUstepWeb, `gsweb'. Copyright
(C) 1999-2001 Free Software Foundation, Inc. You may copy, distribute, and (C) 1999-2004 Free Software Foundation, Inc. You may copy, distribute, and
modify it freely as long as you preserve this copyright notice and modify it freely as long as you preserve this copyright notice and
permission notice. permission notice.
@ -13,7 +13,8 @@ GNUstep core, extensions and db libraries, GSWAdaptor and Apache
Please download last up to date cvs version of GNUstep (some bugs Please download last up to date cvs version of GNUstep (some bugs
have been corrected). have been corrected).
Remark: We suppose that the GNUstep folder is on /usr/GNUstep, please check all the paths below with your configuration Remark: We suppose that the GNUstep folder is on /usr/GNUstep, please
check all the paths below with your configuration
Installing `gsweb' Installing `gsweb'
==================== ====================
@ -24,15 +25,13 @@ Installing `gsweb'
core/ GNUstep core core/ GNUstep core
gdl2/ GNUstep Database Library 2 gdl2/ GNUstep Database Library 2
(or db/ alternative GNUstep Database Library) (or db/ alternative GNUstep Database Library)
gsantlr/ GSANTLR (Parser classes,...)
gsgd/ Objective-C/GD Interface
The GNUStepWeb package: The GNUStepWeb package:
----------------------- -----------------------
* GNUstepWeb/ -----> GNUstepWeb Root * GNUstepWeb/ --> GNUstepWeb Root
* GNUstepWeb/GSWeb.framework -----> GNUstepWeb Main Part * GNUstepWeb/GSWeb.framework --> GNUstepWeb Main Part
* GNUstepWeb/GSWExtensions.framework -----> GNUstepWeb 'standard' Extensions * GNUstepWeb/GSWExtensions.framework --> GNUstepWeb 'standard' Extensions
* GNUstepWeb/GSWExtensionsGSW.framework -----> GNUstepWeb Extensions * GNUstepWeb/GSWExtensionsGSW.framework --> GNUstepWeb Extensions
@ -43,25 +42,22 @@ Installing `gsweb'
2) gdl2 2) gdl2
3) gsantlr 3) GNUstepWeb
4) the 'gd' libraries. You must have a /usr/include/gd.h file. If not take sources on http://www.boutell.com/gd
Extract and compile
5) gsgd
6) GNUstepWeb
Go in the gsweb folder. make and make install. Go in the gsweb folder. make and make install.
7) Apaches modules for GNUstepWeb 4) Apaches modules for GNUstepWeb
Still in the gsweb folder there is a GSWAdaptors/Apache folder, go in and make. There no make install. Instead you must copy the mod_gsweb.so module in you Apache libexec directory (something like /usr/apache/libexec). Still in the gsweb folder there is a GSWAdaptors/Apache folder.
Change to that directory. 'su' to root and make. There's no make
install. Instead you must copy the mod_gsweb.so module in you
Apache libexec directory (something like /usr/apache/libexec).
At this point everything is done, still remains the Apache configuration: At this point everything is done, still remains the Apache configuration:
You have to export the following env var: You have to export the following env var:
export GNUSTEP_STRING_ENCODING=NSISOLatin1StringEncoding export GNUSTEP_STRING_ENCODING=NSISOLatin1StringEncoding
If you do not want the extensions you can compile with ADDITIONAL_OBJCFLAGS += -DNOEXTENSIONS If you do not want the extensions you can compile with
ADDITIONAL_OBJCFLAGS += -DNOEXTENSIONS
in config.mak in config.mak
Configurating Apache: Configurating Apache:
@ -72,18 +68,22 @@ In Apache httpd.conf file, add thoses lines:
LoadModule GSWeb_Module libexec/mod_gsweb.so LoadModule GSWeb_Module libexec/mod_gsweb.so
AddModule mod_gsweb.c AddModule mod_gsweb.c
And this one to specify the configuration file (for exemple /etc/httpd/conf/gsweb.conf) And this one to specify the configuration file
(for exemple /etc/httpd/conf/gsweb.conf)
GSWeb_ConfigFilePath /etc/httpd/conf/gsweb.conf GSWeb_ConfigFilePath /etc/httpd/conf/gsweb.conf
If you use virtual hosts (Apache in localhost does not requiered them), add the following lines: If you use virtual hosts (Apache in localhost does not requiered them),
add the following lines:
<Location /GSWeb*> <Location /GSWeb*>
SetHandler GSWeb SetHandler GSWeb
</Location> </Location>
Then, create the file configuration file (for exemple /etc/httpd/conf/gsweb.conf) which contains parameters for GNUstepWeb Applications: Then, create the file configuration file
(for exemple /etc/httpd/conf/gsweb.conf)
which contains parameters for GNUstepWeb Applications:
The format is(there is an example for values below): The format is(there is an example for values below):