faqts

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

22 of 48 people (46%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

Using apxs to build & install a module & I'm getting "apxs:Break:Command failed with rc=255" Why?

May 12th, 2008 20:49
i can do it, 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
http://www.stupidarticles.com
http://www.halazona.com
http://www.shikapika.com
http://www.stakoza.com
http://www.uploadarticles.com
http://www.ganazat.com
http://www.damima.com
http://www.tarabiza.com
http://www.articlesxarticles.com
http://www.articlesfreedirectory.com