Hi Steven,

I would like to use the pre-built connector but get the following error when starting Apache:

Starting httpd: [Wed Oct  8 22:36:21 2003] [warn] Loaded DSO
/opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so uses plain Apache 1.3 API, this module might
crash under EAPI! (please recompile it with -DEAPI)

Am I missing something really obvious here?  I must admit, I did think it odd that on a base RH
install with standard RH RPMs that I needed to build a connector...

What is the easiest way around this?

Thanks,

Matthew.

On 8/10/03, Steven Erat <[EMAIL PROTECTED]> wrote:

>The fault is in apxs. ColdFusion provides the .c and .h files and apxs figures out how to compile
and link everything.
>
>You could find which command apxs was executing when it errored, then copy/paste the command into
another terminal where you run that command directly from the same location. This will generate the
exact error from the compiler, and should avoid having to research the apxs error code definitions.
>
>You may want to consider opening a bug report with Apache.   Otherwise, until that is resolved, you
could use the pre-built connector module as is, no?.
>
>
>-----Original Message-----
>From: Matthew Smith [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 08, 2003 5:49 PM
>To: CF-Linux
>Subject: CFMX Connector Failure
>
>
>Dear All,
>
>I am trying to get a machine running with CFMX 6.1 for the first time.  I am attempting to build a
CFMX Connector for Apache but get the
>following error:
>
>gcc -DLINUX=22 -DEAPI -DEAPI_MM -O2 -march=i386 -mcpu=i686 -fPIC
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -fpic -DSHARED_MODULE
>-I/usr/include/apache -w -DJRUN_SSL  -c mod_jrun.c
>apxs:Break: Command failed with rc=16777215
>
>A quick Google search revealed no useful suggestions except similar problems with other forms of
connector building (but not CFMX/JRun) and the
>culprit being the configuration of the 'apxs' file located in 'usr/sbin'.  The configuration of my
file is:
>
>my $CFG_TARGET        = q(httpd);            # substituted via Makefile.tmpl
>my $CFG_CC            = q(gcc);                # substituted via Makefile.tmpl
>my $CFG_CFLAGS        = q( -DLINUX=22 -DEAPI -DEAPI_MM -O2 -march=i386 -mcpu=i686 -fPIC
-DEAPI_MM_CORE_PATH=
>/var/run/httpd.mm `../apaci`);            # substituted via Makefile.tmpl
>my $CFG_CFLAGS_SHLIB  = q(-fpic -DSHARED_MODULE);      # substituted via Makefile.tmpl
>my $CFG_LD_SHLIB      = q(gcc);          # substituted via Makefile.tmpl
>my $CFG_LDFLAGS_SHLIB = q(-shared); # substituted via Makefile.tmpl
>my $CFG_LIBS_SHLIB    = q();        # substituted via Makefile.tmpl
>my $CFG_PREFIX        = q(/etc/httpd);            # substituted via APACI install
>my $CFG_SBINDIR       = q(/usr/sbin);           # substituted via APACI install
>my $CFG_INCLUDEDIR    = q(/usr/include/apache);        # substituted via APACI install
>my $CFG_LIBEXECDIR    = q(/usr/lib/apache);        # substituted via APACI install
>my $CFG_SYSCONFDIR    = q(/etc/httpd/conf);        # substituted via APACI install
>
>I don't really understand a word of the above but decided to look at the statement
'-DEAPI_MM_CORE_PATH=/var/run/httpd.mm' in more detail.  My
>directory '/var/run/' doesn't contain a file 'httpd.mm'.  I am guessing that this is the culprit?
>
>The machine is a clean install of Red Hat Enterprise Linux ES with just the following RPMs from Red
Hat Network added:
>
>apache-1.3.27-3.i386.rpm
>apache-devel-1.3.27-3.i386.rpm
>expat-1.95.1-7.i386.rpm
>mm-1.1.3-8.i386.rpm
>mod_ssl-2.8.12-3.i386.rpm
>
>Has anybody else come across this error?  Does the 'apxs' file need to be edited, and if so, in what
way?
>
>Any pointers would be very gratefully received.
>
>Kind regards,
>
>Matthew.
>
>  _____  
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to