I migs (is it ok if I call you migs??)

I'm trying to compile the Deamon included with Tomcat 5.  I'm finished
with the "configure" stuff (error was on my CLASSPATH). But now when I
try the "make" I get a new error:
  make -C native all
  make[1]: Entering directory `/var/tomcat5/bin/jsvc-src/native'
  gcc -g -O2 -DCPU=\"i386\" -DOS_LINUX -DDSO_DLFCN
-I/usr/java/j2sdk1.4.2_03/include
-I/usr/java/j2sdk1.4.2_03/include/linux -Wall -  Wstrict-prototypes -c
home.c -o home.o
  home.c: In function `parse':
  home.c:113: parse error before "if"
  make[1]: *** [home.o] Error 1
  make[1]: Leaving directory `/var/tomcat5/bin/jsvc-src/native'
  make: *** [native/all] Error 2


Can someone help me with this? Thanks.. :)


Rikki T. Vizcarra
CHIEF TECHNOLOGY OFFICER
Tin Can Mobile Solution Corp. Phil.
email: [EMAIL PROTECTED]
Mobile: +63 918 6903575 / + 63 917 8402918
 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miguel A Paraz
Sent: Monday, February 02, 2004 10:59 AM
To: Philippine Linux Users Group Mailing List
Cc: [EMAIL PROTECTED]
Subject: [plug] Re: HELP!! Tomcat 5.0.18 on RH8


Hi,
For Java stuff, I suggest joining Pinoy Java Users Group:
http://groups.yahoo.com/group/pinoyjug

In any case, I'm not sure what you're trying to do. If you have to 
run "configure," that's not the regular (just-in-time compiled) Tomcat.
Regular Tomcat is just unpack and startup.sh :)

If it's the port to native code, then it should be built with gcj (GNU
Compiler for Java) and not the Sun javac.

On Mon, Feb 02, 2004 at 10:57:34AM +0800, Rikki Vizcarra wrote:
> Hello everybody,
> 
> I just want to know if anybody had any problems setting up Tomcat 
> 5.0.18 (the latest one) on Red Hat?
> 
> I've been having problems setting up one on our server.  We have been 
> following the installation guide for Unix from Apache's website but we

> keep getting compile error from JAVAC when we try to configure/setup 
> the JSVC component.
> 
> When I run the "./configure" command, the following shows up:
>   checking for javac... /usr/java/j2sdk1.4.2_03/bin/javac
>   checking wether the Java compiler 
> (/usr/java/j2sdk1.4.2_03/bin/javac)
> works... no
>   configure: error: installation or configuration problem: javac
cannot
> compile
> 
> As you can see, we are using the latest J2SE SDK.  I'm still not sure 
> why I'm getting configuration problem on this line.  I've tried 
> compiling a java source app and it compiled.  Can anybody point me to 
> what my problem could be??
--
Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED]
(#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph . To leave, go to
http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to