Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 15564 invoked from network); 18 Apr 2006 12:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Apr 2006 12:59:09 -0000 Received: (qmail 46581 invoked by uid 500); 18 Apr 2006 12:59:04 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 46519 invoked by uid 500); 18 Apr 2006 12:59:04 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 46508 invoked by uid 99); 18 Apr 2006 12:59:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 05:59:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of apache-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 05:59:03 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FVpmm-0005hb-BG for dev@httpd.apache.org; Tue, 18 Apr 2006 14:58:28 +0200 Received: from p5495a646.dip0.t-ipconnect.de ([84.149.166.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 14:58:28 +0200 Received: from cklinger by p5495a646.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 14:58:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@httpd.apache.org From: Christian Klinger Subject: Re: mod_xmlrpc_auth Date: Tue, 18 Apr 2006 14:58:12 +0200 Lines: 105 Message-ID: References: <0FF8FAEF-75F2-446C-ABD0-FEF38C49D2E5@dscpl.com.au> <9E7CF539-4A89-486F-B5C5-002A8A386612@dscpl.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5495a646.dip0.t-ipconnect.de User-Agent: Thunderbird 1.5 (Macintosh/20051201) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christian Klinger schrieb: > Graham Dumpleton schrieb: >> >> On 18/04/2006, at 9:49 PM, Graham Dumpleton wrote: >> >>> >>> On 18/04/2006, at 9:41 PM, Christian Klinger wrote: >>> >>>> Hello Apache Users, >>>> >>>> does anyone uses mod_xmlrpc_auth. >>>> >>>> http://www.feep.net/Apache/mod_xmlrpc_auth/ >>>> >>>> I run into troubles if i install the module i got the following error. >>>> >>>> ------------------------------------------ >>>> >>>> linux:/tmp/APT/mod_xmlrpc_auth-0.1 # make >>>> gcc -I. -I. -I/usr/local/include -I/opt/APAPI/include -c -o >>>> mod_xmlrpc_auth.o mod_xmlrpc_auth.c >>>> /opt/APAPI/bin/apxs -c -Wl,"-L. " -o mod_xmlrpc_auth.so >>>> mod_xmlrpc_auth.o -L/usr/local/lib -L/usr/local/lib -lwwwxml >>>> -lxmltok -lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet >>>> -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile >>>> -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore >>>> -lwwwutils -lmd5 -ldl -lxmlrpc_client -lxmlrpc -lxmlrpc_xmlparse >>>> -lxmlrpc_xmltok >>>> /opt/APAPI/build/libtool --silent --mode=link gcc -o >>>> mod_xmlrpc_auth.la -L. -rpath /opt/APAPI/modules -module >>>> -avoid-version mod_xmlrpc_auth.o -L/usr/local/lib -L/usr/local/lib >>>> -lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp -lwwwhtml >>>> -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp >>>> -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans >>>> -lwwwcore -lwwwutils -lmd5 -ldl -lxmlrpc_client -lxmlrpc >>>> -lxmlrpc_xmlparse -lxmlrpc_xmltok >>>> >>>> *** Warning: Linking the shared library mod_xmlrpc_auth.la against >>>> the non-libtool >>>> *** objects mod_xmlrpc_auth.o is not portable! >>>> >>>> ------------------------------------------------------ >>>> >>>> Can someone give me a tip how to compile this module, or how can i >>>> get the module to work? >>>> >>>> I use apache 2.0.55. >>> >>> If this is Solaris, you may need to ensure that option -mimpure-text >>> gets included in the >>> linker flags used by libtool. >> >> Oh, forgot to mention that the underlying thing that generally causes >> this is that the >> object files being linked with by libtool haven't been compiled with >> the -fpic option. >> Thus you can always ensure that that is done instead. >> >> Graham >> > Hello Graham, > > i have greped for "-fpic" in the sources. I found one entry. > > But i don�t understand what to do here. > > Maybe it is an option to compile the module manually? > > > ---------------- > > # PSG_SHLIB(includes, code) > # ------------------------- > # Check how to build shared libraries containing the specified code > # (very rudimentary). > AC_DEFUN([PSG_SHLIB], [ > AC_MSG_CHECKING([how to build shared libraries]) > cflag_options="-fpic"; > ldflag_options="-G -shared"; > if test "$CC" != "gcc"; then > case "`uname`" in > HP-UX) > cflag_options="+Z $cflag_options"; > ldflag_options="-Wl,-b $ldflag_options"; > ;; > SunOS) > cflag_options="-Kpic $cflag_options"; > ;; > esac > fi > for SHLIB_CFLAGS in $cflag_options ""; do > for SHLIB_LDFLAGS in $ldflag_options ""; do > psg_old_cflags="$CFLAGS"; > CFLAGS="$CFLAGS $SHLIB_CFLAGS"; > psg_old_ldflags="$LDFLAGS"; > LDFLAGS="$LDFLAGS $SHLIB_LDFLAGS"; > AC_LINK_IFELSE([AC_LANG_SOURCE([[ > $1 > > -------------------- > > thx christian > > Oh its on a SuSE Linux Platform.