You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Christian Klinger <ck...@novareto.de> on 2006/04/18 13:41:32 UTC

mod_xmlrpc_auth

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.

thx christian


Re: mod_xmlrpc_auth

Posted by Christian Klinger <ck...@novareto.de>.
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.


Re: mod_xmlrpc_auth

Posted by Christian Klinger <ck...@novareto.de>.
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


Re: mod_xmlrpc_auth

Posted by Graham Dumpleton <gr...@dscpl.com.au>.
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

Re: mod_xmlrpc_auth

Posted by Graham Dumpleton <gr...@dscpl.com.au>.
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.

Graham