Entry
Using apxs to build & install a module & I'm getting "apxs:Break:Command failed with rc=255" Why?
Feb 20th, 2002 11:18
Miro Kresonja, Kristin Simpson,
Found this at:
http://w6.metronet.com/~wjm/tomcat/2001/Feb/msg00454.html
From: "Keith Wannamaker" <Keith@Wannamaker.org>
Shared object support is often broken in Apache. The problem is
configure never substitutes the correct variables into apxs.pl.
In this case the name of your linker is set to null.
Verify these are null and try changing them in apxs.pl:
CFG_CFLAGS_SHLIB = -fpic -DSHARED_MODULE
CFG_LD_SHLIB = gcc
CFG_LDFLAGS_SHLIB = -shared
This has come up lots in the Apache forums, try searching with
Deja.
Keith
Note: I just installed Apache 1.3.22, and there it's just apxs, not
apxs.pl. (with default apache path, it's /usr/local/apache/bin/apxs).
The dang thing worked!
Miro