Jeff,

(Sound of hand slapping forehead)

Thanks for the HELLO. Isn't Java grand.  Just sweeps all that legacy crap right
out of mind.  Haven't dealt with a Makefile in two years.  All is now well. 
JWS up and running.

Peace
john

On 18-Jul-99 Jeff Galyan wrote:
> Make sure the lines below each Makefile target use tabs as the spacing
> instead of spaces. If you're using an editor which is set up to convert
> tabs to spaces, change that preference.
> 
> --Jeff
> 
> 
> "John N. Alegre" wrote:
>> 
>> I am trying to compile the native library in JavaWebServer1.1.3 using the
>> instructions from the blackdown site.  I applied the diffs by hand.  When I
>> try
>> to compile make complains about errors in Makefile.lnx.
>> 
>> [root@zaragoza native]# (cd native; make -f Makefile.lnx install)
>> bash: native: No such file or directory
>> Makefile.lnx:45: *** missing separator.  Stop.
>> 
>> Here is Makefile.lnx with line numbers:
>> 
>> ###################################################
>>       1 # @(#)Makefile.sol     1.11 97/11/06
>>       2 #
>>       3 # Solaris-specific makefile for building optional native library
>> support.
>>       4 # Use this as a starting point for porting to other UNIX platforms.
>>       5 #
>>       6
>>       7 # Path to top of Java Web Server distribution tree
>>       8 TOP =          ..
>>       9
>>      10 # Name of the library we're making (given to System.loadLibrary)
>>      11 LIBNAME =      server
>>      12
>>      13 # Location of Java Developer's Kit (and runtime)
>>      14 JAVA_HOME =    /usr/local/jdk117
>>      15
>>      16 # Java runtime flags
>>      17 JAVAH =                $(JAVA_HOME)/bin/javah
>>      18 CLASSPATH =
>> $(TOP)/classes:$(TOP)/lib/classes.zip:$(JAVA_HOME)/classes:$(JAVA_HOME)/lib/c
>> las
>> ses.zip
>>      19
>>      20 # OS and machine type
>>      21 OS =           genunix
>>      22 ARCH =         unknown
>>      23 OBJ =          $(OS)/$(ARCH)
>>      24
>>      25 # Preprocessor, compiler, linker, and related flags
>>      26 CC =           cc
>>      27 CFLAGS =       -shared -fPIC
>>      28 CPPFLAGS =     -I$(OS) -I$(JAVA_HOME)/include
>> -I$(JAVA_HOME)/include/$(OS)
>>      29 LDFLAGS =      #-G -h $(LIBNAME)
>>      30 INSTALL =      /usr/bin/install
>>      31
>>      32 LIBDIR =       $(TOP)/lib/$(OBJ)
>>      33
>>      34 LIBRARY =      $(OBJ)/lib$(LIBNAME).so
>>      35 OBJS =         $(OBJ)/server.o \
>>      36                $(OBJ)/UNIXUser.o \
>>      37                $(OBJ)/UNIXUserEnumeration.o \
>>      38                $(OBJ)/com_sun_server_ServerProcess.o \
>>      39                $(OBJ)/com_sun_server_realm_unix_UNIXUser.o \
>>      40               
>>      $(OBJ)/com_sun_server_realm_unix_UNIXUserEnumeration.o
>>      41
>>      42 default all: $(LIBRARY)
>>      43
>>      44 $(LIBRARY): $(OBJS)
>>      45        $(LINK.c) -o $@ $(OBJS)
>>      46
>>      47 $(OBJ)/server.o: server.c $(OS)/com_sun_server_ServerProcess.h
>>      48        $(COMPILE.c) -o $@ server.c
>>      49
>>      50 $(OBJ)/UNIXUser.o: UNIXUser.c
>>      $(OS)/com_sun_server_realm_unix_UNIXUser.h
>>      51        $(COMPILE.c) -o $@ UNIXUser.c
>>      52
>>      53 $(OBJ)/UNIXUserEnumeration.o: UNIXUserEnumeration.c \
>>      54                $(OS)/com_sun_server_realm_unix_UNIXUserEnumeration.h
>>      55        $(COMPILE.c) -o $@ UNIXUserEnumeration.c
>>      56
>>      57
>>      58 $(OBJ)/com_sun_server_ServerProcess.o:
>> $(OS)/com_sun_server_ServerProcess.c
>>      59        $(COMPILE.c) -o $@ $(OS)/com_sun_server_ServerProcess.c
>>      60
>>      61 $(OS)/com_sun_server_ServerProcess.c:
>>      62        $(JAVAH) -d $(OS) -classpath $(CLASSPATH) -stubs
>> com.sun.server.ServerP       rocess
>>      63
>>      64 $(OS)/com_sun_server_ServerProcess.h:
>>      65        $(JAVAH) -d $(OS) -classpath $(CLASSPATH)
>> com.sun.server.ServerProcess
>>      66
>>      67 $(OBJ)/com_sun_server_realm_unix_UNIXUser.o:
>> $(OS)/com_sun_server_realm_unix_U       NIXUser.c
>>      68        $(COMPILE.c) -o $@ $(OS)/com_sun_server_realm_unix_UNIXUser.c
>>      69 $(OS)/com_sun_server_realm_unix_UNIXUser.c:
>>      70        $(JAVAH) -d $(OS) -classpath $(CLASSPATH) \
>>      71            -stubs com.sun.server.realm.unix.UNIXUser
>>      72 $(OS)/com_sun_server_realm_unix_UNIXUser.h:
>>      73        $(JAVAH) -d $(OS) -classpath $(CLASSPATH)
>> com.sun.server.realm.unix.UNI       XUser
>>      74
>>      75 $(OBJ)/com_sun_server_realm_unix_UNIXUserEnumeration.o: \
>>      76                $(OS)/com_sun_server_realm_unix_UNIXUserEnumeration.c
>>      77        $(COMPILE.c) -o $@
>> $(OS)/com_sun_server_realm_unix_UNIXUserEnumeration.       c
>>      78 $(OS)/com_sun_server_realm_unix_UNIXUserEnumeration.c:
>>      79        $(JAVAH) -d $(OS) -classpath $(CLASSPATH) \
>>      80            -stubs com.sun.server.realm.unix.UNIXUserEnumeration
>>      81 $(OS)/com_sun_server_realm_unix_UNIXUserEnumeration.h:
>>      82        $(JAVAH) -d $(OS) -classpath $(CLASSPATH) \
>>      83                com.sun.server.realm.unix.UNIXUserEnumeration
>>      84
>>      85 install: $(LIBRARY)
>>      86        $(INSTALL) -d $(LIBDIR)
>>      87        $(INSTALL) -c $(LIBRARY) $(LIBDIR)
>>      88
>>      89 clean:
>>      90        rm -rf $(OS)
>>      91
>>      92 .INIT:
>>      93        -@mkdir -p $(OBJ)
>>      94
>>      95 .KEEP_STATE:
>>      96
>> 
>> Does anyone see whats wrong?  All comments welcome.
>> 
>> Also, the reason I needed to apply the diffs by hand is that the
>> jwebs-linux.diff file posted is trying to make changes to a
>> ../../sparc-S2/bin/startup_wrapper.  Doing a search on the entire JWS tree
>> shows no startup_wrapper file.  Again all comments welcome.
>> 
>> john
>> ----------------------------------
>> E-Mail: John N. Alegre <[EMAIL PROTECTED]>
>> Date: 18-Jul-99
>> Time: 09:13:51
>> 
>> This message was sent by XFMail
>> ----------------------------------
>> 
>> ----------------------------------------------------------------------
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> -- 
> Jeff Galyan
> http://www.anamorphic.com
> http://www.sun.com
> jeffrey dot galyan at sun dot com
> talisman at anamorphic dot com
> Sun Certified Java(TM) Programmer
> ======================================================================
> Linus Torvalds on Microsoft and software development:
> "... if it's a hobby for me and a job for you, why are you doing such a
> shoddy job of it?"
> 
> The views expressed herein do not necessarily reflect those of my
> employer.
> 
> Sun Microsystems, Inc., has no connection to my involvement with the
> Mozilla Organization.
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

----------------------------------
E-Mail: John N. Alegre <[EMAIL PROTECTED]>
Date: 18-Jul-99
Time: 16:05:50

This message was sent by XFMail
----------------------------------


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to