Well, I can't reproduce this.

Mmmmm.

Make sure that the Makefile has all the right paths.

Apache2 is still pretty quirky.

Jay

On Fri, 2002-12-06 at 09:05, Love, Jay wrote:
> I'll have to look at this later today.
> 
> Jay
> 
> -----Original Message-----
> From: Chuck Esterbrook [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 9:41 PM
> To: [EMAIL PROTECTED]
> Subject: [Webware-devel] mod_webkit2 problems
> 
> 
> I run make and then as root "make install". Those steps look fine. And I 
> have the module:
> 
> # l /usr/local/apache2/modules/
> total 100
> -rw-r--r--    1 root     root         7995 Nov 27 23:51 httpd.exp
> -rwxr-xr-x    1 root     root        88416 Dec  5 18:28 mod_webkit.so*
> 
> Then when I add to httpd.conf:
> LoadModule mod_webkit modules/mod_webkit.so
> 
> I get:
> # bin/apachectl restart
> Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf:
> Can't locate API module structure `mod_webkit' in file 
> /usr/local/apache2/modules/mod_webkit.so: 
> /usr/local/apache2/lib/libapr-0.so.0: undefined symbol: mod_webkit
> 
> I'm using:
>   Webware cvs
>   Python 2.2.2
>   httpd-2.0.43
>   gcc 3.2
>   Mandrake Linux 9.0
> 
> Any ideas?
> 
> -Chuck
> 
> 
> P.S. Here's the output of a "make install" after a "make clean". Looks 
> normal to me.
> 
> # make install
> /usr/local/apache2/bin/apxs -c mod_webkit.c
> /usr/local/apache2/build/libtool --silent --mode=compile gcc   
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 
> -pthread -I/usr/local/apache2/include  -c -o mod_webkit.lo mod_webkit.c 
> && touch mod_webkit.slo
> /usr/local/apache2/build/libtool --silent --mode=link gcc -o 
> mod_webkit.la  -rpath /usr/local/apache2/modules -module -avoid-version  
> mod_webkit.lo
> /usr/local/apache2/bin/apxs -c marshal.c
> /usr/local/apache2/build/libtool --silent --mode=compile gcc   
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 
> -pthread -I/usr/local/apache2/include  -c -o marshal.lo marshal.c && 
> touch marshal.slo
> /usr/local/apache2/build/libtool --silent --mode=link gcc -o marshal.la  
> -rpath /usr/local/apache2/modules -module -avoid-version  marshal.lo
> /usr/local/apache2/bin/apxs -o mod_webkit.la -c mod_webkit.lo marshal.lo
> /usr/local/apache2/build/libtool --silent --mode=link gcc -o 
> mod_webkit.la  -rpath /usr/local/apache2/modules -module -avoid-version  
> mod_webkit.lo marshal.lo
> /usr/local/apache2/bin/apxs -i -n mod_webkit.so -e mod_webkit.la
> /usr/local/apache2/build/instdso.sh 
> SH_LIBTOOL='/usr/local/apache2/build/libtool' mod_webkit.la 
> /usr/local/apache2/modules
> /usr/local/apache2/build/libtool --mode=install cp mod_webkit.la 
> /usr/local/apache2/modules/
> cp .libs/mod_webkit.so /usr/local/apache2/modules/mod_webkit.so
> cp .libs/mod_webkit.lai /usr/local/apache2/modules/mod_webkit.la
> PATH="$PATH:/sbin" ldconfig -n /usr/local/apache2/modules
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/apache2/modules
> 
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
> 
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> chmod 755 /usr/local/apache2/modules/mod_webkit.so
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-devel
> __
> 
> 
> **********************************************
> This e-mail and any attachments may be confidential or legally privileged.
> If you received this message in error or are not the intended recipient, you
> should destroy the e-mail message and any attachments or copies, and you are
> prohibited from retaining, distributing disclosing or using any information
> contained herein.  Please inform us of the erroneous delivery by return
> e-mail. Thank you for your cooperation.
> **********************************************
> 
> ec03/04
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-devel




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to