tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuemei Zhang" <XZh...@ecutel.com>
Subject RE: ...also Can't build webapp-1.0-tc4.0 on NT
Date Fri, 05 Oct 2001 00:24:40 GMT
I've tried out to build the mod_webapp.dll and libapr.dll on NT by using
msdev for source files for libapr(choose those under win32 suddir and
some common ones from unix) and using the makefiles for mod_webapp.c and
aprutil.

Some instructions here:
http://www.google.com/search?q=cache:e3Lfx7D45n8:www.ingrid.org/jajakart
a/tomcat/tomcat-4.0/src-ja/connectors/WIN32.txt+mod_webapp.dll&hl=en .

However, I cannot make it work with apache 1.3.19(20) yet. 

Good Luck!

Xuemei

-----Original Message-----
From: Thom Park [mailto:tpark@borland.com]
Sent: Thursday, October 04, 2001 9:13 PM
To: tomcat-dev@jakarta.apache.org
Subject: ...also Can't build webapp-1.0-tc4.0 on NT



mod_Webapp doesn't want to build on NT.

It's lacking a libapr.mak file and, when the libapr.dsp project is run,
tries to compile unix stuff.

Is there any way to get ahold of the build scripts that created the
downloadable
binaries for mod_webapp?

-Thom

-----Original Message-----
From: Barry Adams [mailto:badams@magus.co.uk]
Sent: Thursday, October 04, 2001 1:09 PM
To: tomcat-dev@jakarta.apache.org
Subject: Can't compile webapp-1.0-tc4.0 under Solaris



 I can't compile webapp-1.0-tc4.0 under solaris (Solaris 8, sparc)

The Autoconf system doesn't seem to know much about solaris,

I managed to fix three problems as follows.

It couldn't find, sys/syslimits.h and stdint.h, so i make symbolic links
from

/usr/include/sys/syslimits.h -> /usr/include/limits.h
/usr/include/stdint.h -> /usr/include/inttypes.h

Which helped

In time.c and timestr.c, it couldn't find the symbols  tm_gmtoff
so i removed these, which help

In the locks, it couldn't find LOCK_EX or LOCK_UN, (missing from
solaris includes, so i added


#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB 4
#define LOCK_UN 8

to /usr/include/sys/file.h

But the DSO support won't compile either and has me stumped, here is
the offending errors from running 'make'.

make[4]: Entering directory
`/software/webapp-module-1.0-tc40/apr/dso/unix'
/bin/sh /software/webapp-module-1.0-tc40/apr/libtool --silent
--mode=compile cc -g -O2   -DHAVE_CONFIG_H -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -I../../include
-I../../include/arch -I../../include/arch/unix  -c dso.c && touch dso.lo
dso.c: In function `apr_dso_load':
dso.c:127: `NSObjectFileImage' undeclared (first use in this function)
dso.c:127: (Each undeclared identifier is reported only once
dso.c:127: for each function it appears in.)
dso.c:127: parse error before `image'
dso.c:128: `NSModule' undeclared (first use in this function)
dso.c:130: `image' undeclared (first use in this function)
dso.c:130: `NSObjectFileImageSuccess' undeclared (first use in this
function)
dso.c:139: `os_handle' undeclared (first use in this function)
dso.c: In function `apr_dso_sym':
dso.c:205: `NSSymbol' undeclared (first use in this function)
dso.c:205: parse error before `symbol'
dso.c:211: `symbol' undeclared (first use in this function)
dso.c:218: warning: assignment makes pointer from integer without a cast
make[4]: *** [dso.lo] Error 1

Barry Adams











Mime
View raw message