Let me preface this by saying I'm a complete linux newb, and I'm in
the process of reading many man pages and howtos.
The problem is with the install, i think.
I do a complete vanilla install of debian 'woody'.
I don't install the webserver when prompted for installing things with tasksel.
I take most of the defaults when installing.
I grab apache_1.3.6.tar.gz and mod_backhand1.2.2.tar.tar from my ftp server.
I then start the install process below:
# cd /var/tmp
# ls
apache_1.3.6.tar.gz
mod_backhand-1.2.2.tar.gz
# gzip -d < apache_1.3.6.tar.gz | tar xf -
# gzip -d < mod_backhand1.2.2.tar.gz | tar xf -
# ls
apache_1.3.6
apache_1.3.6.tar.gz
mod_backhand
mod_backhand1.2.2.tar.gz
# cd mod_backhand
# ./precompile ../apache_1.3.6/
Copying source into apache tree...
Copying sample cgi script and logo into htdocs directory...
Adding to Apache's Configuration.tmpl...
Nullifying extra shared libraries for Linux
Modifying httpd.conf-dist...
creating insertion....
integrating insertion with original...
Updating Makefile.tmpl...
Now change to the apache source directory:
../apache_1.3.6/
And do a ./configure...
If you want to enable backhand (why would you have done this is you didn't)
then add: --enable-module=backhand --enable-shared=backhand
to your apache configure command. For eaxmple, I use:
./configure --prefix=/var/backhand --enable-module=so \
--enable-module=rewrite --enable-shared=rewrite \
--enable-module=speling --enable-shared=speling \
--enable-module=info --enable-shared=info \
--enable-module=include --enable-shared=include \
--enable-module=status --enable-shared=status \
--enable-module=backhand --enable-shared=backhand
# cd ../apache_1.3.6
# ./configure --prefix=/var/backhand --enable-module=so \
--enable-module=rewrite --enable-shared=rewrite \
--enable-module=speling --enable-shared=speling \
--enable-module=info --enable-shared=info \
--enable-module=include --enable-shared=include \
--enable-module=status --enable-shared=status \
--enable-module=backhand --enable-shared=backhand
Configuring for Apache, Version 1.3.6
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
+ using -lndbm for DBM support
enabling DBM support for mod_rewrite
+ using -ldl for vendor DSO support
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/backhand
This is a copy of what my install looked like. The only difference
with this and the Help: compiling mod_backhand document is that I use
backhand1.2.2 instead of 1.0 so the files/directories are different.
And the last 2 lines are switched around. I have /standard first and
/backhand second. It's opposite that in the help document, sure that
doesn't matter.
I then type:
# make
This does a bunch of junk I dont know about. But looks ok until the
last 15 lines or so, I'll include them:
mod_backhand.c: In function 'build_request_headers':
mod_backhand.c:464: parse error before 'CRLF'
mod_backhand.c: In function 'backhand_redirection':
mod_backhand.c:612: parse error before 'CRLF'
mod_backhand.c::622: 'CRLF' undeclared (first use in this function)
mod_backhand.c:622: (Each undeclared identifier is reported only once
mod_backhand.c:622: for each function it appears in.)
make[4]: *** [mod_backhand.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2] Leaving directory '/var/tmp/apache_1.3.6/src'
make[1] *** [build-std] Error 2
make[1]: Leaving directory '/var/tmp/apache_1.3.6'
make: *** [build] Error 2
Even with all those errors, maybe common (I am a windows user after
all so I'm used to it), I try to do the next line:
# make install
Less junk this time but I get the same errors:
mod_backhand.c: In function 'build_request_headers':
mod_backhand.c:464: parse error before 'CRLF'
mod_backhand.c: In function 'backhand_redirection':
mod_backhand.c:612: parse error before 'CRLF'
mod_backhand.c::622: 'CRLF' undeclared (first use in this function)
mod_backhand.c:622: (Each undeclared identifier is reported only once
mod_backhand.c:622: for each function it appears in.)
make[4]: *** [mod_backhand.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2] Leaving directory '/var/tmp/apache_1.3.6/src'
make[1] *** [build-std] Error 2
make[1]: Leaving directory '/var/tmp/apache_1.3.6'
make: *** [build] Error 2
So I try to find apache. I think it's located at /usr/local but its
not there. There used to be a /var/www directory when I did my last
install with the web server selected in tasksel, but thats not there.
So did the install mess up, if so why?
Or did it work ok but I have to configure apache more to work.
When i did install the webserver from tasksel last time I ftped my IIS
webserver data files into the www folder and everything worked
perfectly, I couldn't figure out how to get backhand to run so I
decided to do the clean vanilla install and install apache like listed
in the document: Help: compiling mod_backhand.
But then I get this so...what'd I do?
Please no big linux words, I am a newb. If you want me to do something
tell me where to do it and with what commands please.
--
Andy Osborn
_______________________________________________
backhand-users mailing list
backhand-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/backhand-users
the process of reading many man pages and howtos.
The problem is with the install, i think.
I do a complete vanilla install of debian 'woody'.
I don't install the webserver when prompted for installing things with tasksel.
I take most of the defaults when installing.
I grab apache_1.3.6.tar.gz and mod_backhand1.2.2.tar.tar from my ftp server.
I then start the install process below:
# cd /var/tmp
# ls
apache_1.3.6.tar.gz
mod_backhand-1.2.2.tar.gz
# gzip -d < apache_1.3.6.tar.gz | tar xf -
# gzip -d < mod_backhand1.2.2.tar.gz | tar xf -
# ls
apache_1.3.6
apache_1.3.6.tar.gz
mod_backhand
mod_backhand1.2.2.tar.gz
# cd mod_backhand
# ./precompile ../apache_1.3.6/
Copying source into apache tree...
Copying sample cgi script and logo into htdocs directory...
Adding to Apache's Configuration.tmpl...
Nullifying extra shared libraries for Linux
Modifying httpd.conf-dist...
creating insertion....
integrating insertion with original...
Updating Makefile.tmpl...
Now change to the apache source directory:
../apache_1.3.6/
And do a ./configure...
If you want to enable backhand (why would you have done this is you didn't)
then add: --enable-module=backhand --enable-shared=backhand
to your apache configure command. For eaxmple, I use:
./configure --prefix=/var/backhand --enable-module=so \
--enable-module=rewrite --enable-shared=rewrite \
--enable-module=speling --enable-shared=speling \
--enable-module=info --enable-shared=info \
--enable-module=include --enable-shared=include \
--enable-module=status --enable-shared=status \
--enable-module=backhand --enable-shared=backhand
# cd ../apache_1.3.6
# ./configure --prefix=/var/backhand --enable-module=so \
--enable-module=rewrite --enable-shared=rewrite \
--enable-module=speling --enable-shared=speling \
--enable-module=info --enable-shared=info \
--enable-module=include --enable-shared=include \
--enable-module=status --enable-shared=status \
--enable-module=backhand --enable-shared=backhand
Configuring for Apache, Version 1.3.6
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
+ using -lndbm for DBM support
enabling DBM support for mod_rewrite
+ using -ldl for vendor DSO support
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/main
Creating Makefile in src/ap
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/backhand
This is a copy of what my install looked like. The only difference
with this and the Help: compiling mod_backhand document is that I use
backhand1.2.2 instead of 1.0 so the files/directories are different.
And the last 2 lines are switched around. I have /standard first and
/backhand second. It's opposite that in the help document, sure that
doesn't matter.
I then type:
# make
This does a bunch of junk I dont know about. But looks ok until the
last 15 lines or so, I'll include them:
mod_backhand.c: In function 'build_request_headers':
mod_backhand.c:464: parse error before 'CRLF'
mod_backhand.c: In function 'backhand_redirection':
mod_backhand.c:612: parse error before 'CRLF'
mod_backhand.c::622: 'CRLF' undeclared (first use in this function)
mod_backhand.c:622: (Each undeclared identifier is reported only once
mod_backhand.c:622: for each function it appears in.)
make[4]: *** [mod_backhand.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2] Leaving directory '/var/tmp/apache_1.3.6/src'
make[1] *** [build-std] Error 2
make[1]: Leaving directory '/var/tmp/apache_1.3.6'
make: *** [build] Error 2
Even with all those errors, maybe common (I am a windows user after
all so I'm used to it), I try to do the next line:
# make install
Less junk this time but I get the same errors:
mod_backhand.c: In function 'build_request_headers':
mod_backhand.c:464: parse error before 'CRLF'
mod_backhand.c: In function 'backhand_redirection':
mod_backhand.c:612: parse error before 'CRLF'
mod_backhand.c::622: 'CRLF' undeclared (first use in this function)
mod_backhand.c:622: (Each undeclared identifier is reported only once
mod_backhand.c:622: for each function it appears in.)
make[4]: *** [mod_backhand.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2] Leaving directory '/var/tmp/apache_1.3.6/src'
make[1] *** [build-std] Error 2
make[1]: Leaving directory '/var/tmp/apache_1.3.6'
make: *** [build] Error 2
So I try to find apache. I think it's located at /usr/local but its
not there. There used to be a /var/www directory when I did my last
install with the web server selected in tasksel, but thats not there.
So did the install mess up, if so why?
Or did it work ok but I have to configure apache more to work.
When i did install the webserver from tasksel last time I ftped my IIS
webserver data files into the www folder and everything worked
perfectly, I couldn't figure out how to get backhand to run so I
decided to do the clean vanilla install and install apache like listed
in the document: Help: compiling mod_backhand.
But then I get this so...what'd I do?
Please no big linux words, I am a newb. If you want me to do something
tell me where to do it and with what commands please.
--
Andy Osborn
_______________________________________________
backhand-users mailing list
backhand-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/backhand-users