-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

There is ^M in your makefile. Try to delete that char and run make again.

Did you ftp this makefile from windows?



Vlaamse Rundveeteelt Vereniging wrote:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Hello,
> I'm having trouble installing Apache JServ1.0
>
> My configuration  :
> SUSE Linux 6.1
> Apache 1.3.6
> JSDK 2.0
> JDK 1.1.7
> JServ 1.0
> automake 1.4
> autoconf 2.13
>
> the steps to install JServ are first ./configure followed by make
>
> This is the output of ./configure
> -with-apache-install=/usr/apache/apache_1.3.6
>
> loading cache ./config.cache
> Configuring ApacheJServ/1.0
> checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking host system type... i686-pc-linux-gnu
> checking for ranlib... (cached) ranlib
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for ld used by GCC... (cached) /usr/i486-linux/bin/ld
> checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... (cached) yes
> checking for BSD-compatible nm... (cached) /usr/bin/nm -B
> checking whether ln -s works... (cached) yes
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... -static
> checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
> checking whether the linker (/usr/i486-linux/bin/ld) supports shared
> libraries... yes
> checking command to parse /usr/bin/nm -B output... yes
> checking how to hardcode library paths into programs... immediate
> checking for /usr/i486-linux/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for objdir... .libs
> creating libtool
> checking whether make sets ${MAKE}... (cached) yes
> checking for a BSD compatible install... /usr/bin/ginstall -c
> checking whether ln -s works... (cached) yes
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc -g -O2 ) works... yes
> checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for working const... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ANSI C header files... (cached) yes
> checking for mode_t... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking whether struct tm is in sys/time.h or time.h... (cached) time.h
> checking for ANSI C header files... (cached) yes
> checking for gettimeofday... (cached) yes
> checking for java in /usr/apache/jdk117_v1a/bin...
> /usr/apache/jdk117_v1a/bin/java
> checking for javac in /usr/apache/jdk117_v1a/bin...
> /usr/apache/jdk117_v1a/bin/javac
> checking for jar in /usr/apache/jdk117_v1a/bin...
> /usr/apache/jdk117_v1a/bin/jar
> checking for Apache directory... /usr/apache/apache_1.3.6
> checking for Java Servlet classes... /usr/apache/jsdk20/lib/jsdk.jar
> checking for httpd.h... (cached) yes
> checking for http_config.h... (cached) yes
> checking for http_core.h... (cached) yes
> checking for http_log.h... (cached) yes
> checking for http_main.h... (cached) yes
> checking for http_protocol.h... (cached) yes
> checking for util_script.h... (cached) yes
> checking for util_md5.h... (cached) yes
> creating ./config.status
> creating Makefile
> creating conf/Makefile
> creating conf/httpd.conf
> creating conf/jserv.properties
> creating conf/zone.properties
> creating docs/Makefile
> creating example/Makefile
> creating example/jserv.conf
> creating example/example.properties
> creating example/Hello.java
> creating example/jserv.properties
> creating src/Makefile
> creating src/java/Makefile
> creating src/c/Makefile
> creating src/c/jserv.h
> creating src/java/org/apache/jserv/JServDefs.java
> creating src/scripts/package/tar.gz/snap.sh
>
> Configuration complete.
>
> Apache Directory: /usr/apache/apache_1.3.6
> Apache Version: 1.3
> Module Type: dynamic (DSO will be used to link mod_jserv into server
> dynamically)
> Apache include flags: -I/usr/local/httpd/include
>
> Run make to compile the Java portion of Apache JServ.
>
> Then, to run the example configuration, put this in your httpd.conf:
>
> Include /usr/apache/ApacheJServ-1.0/example/jserv.conf
>
> Then try visiting the URL:
>
> http://vrv:SERVER_PORT/example/Hello
>
> If that works then you have successfully setup Apache JServ.
> If that does not work then you should consult the FAQ-O-Matic
> URL referenced below.
> You might consider putting frequently used options into ./configure-options
>
> For further information please read the documentation in the docs
> directory.
>
> Many frequently asked questions are answered in the FAQ-O-Matic:
>
> http://java.apache.org/faq/
>
> ****************************************************************************
>
> *******************************
> After that i execute the make
> This is the error i get
>
> root@vrv:/usr/apache/ApacheJServ-1.0 > make
> Making all in src
> make[1]: Entering directory `/usr/apache/ApacheJServ-1.0/src'
> Makefile:138: *** missing separator.  Stop.
> make[1]: Leaving directory `/usr/apache/ApacheJServ-1.0/src'
> make: *** [all-recursive] Error 1
>
> ****************************************************************************
>
> **************************************
> This is a part of the Makefile
> it's the line with all-recursive that generates the error
>
> # This directory's subdirectories are mostly independent; you can cd^M
> # into them and run `make' without going through this Makefile.^M
> # To change the values of `make' variables: instead of editing Makefiles,^M
> # (1) if the variable is set in `config.status', edit `config.status'^M
> #     (which will cause the Makefiles to be regenerated when you run
> `make');^M
> # (2) otherwise, pass the desired values on the `make' command line.^M
> ^M
> ^M
> ^M
> all-recursive install-data-recursive install-exec-recursive \^M
> installdirs-recursive install-recursive uninstall-recursive  \^M
> check-recursive installcheck-recursive info-recursive dvi-recursive:^M
>         @set fnord $(MAKEFLAGS); amf=$$2; \^M
>         dot_seen=no; \^M
>         target=`echo $@ | sed s/-recursive//`; \^M
>         list='$(SUBDIRS)'; for subdir in $$list; do \^M
>           echo "Making $$target in $$subdir"; \^M
>           if test "$$subdir" = "."; then \^M
>             dot_seen=yes; \^M
>
> If somebody can give me hand here i would be very thankfull
>
> Erwin Speybroeck
> VRV - Vlaamse Rundveeteelt Vereniging vzw
> [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to