Re: [Webware-devel] make mod_webkit errors out

2015-11-28 Thread Mark Phillips
On Nov 28, 2015, at 10:31 AM, Christoph Zwerschke  wrote:
> 
> Am 28.11.2015 um 18:49 schrieb Mark Phillips:
>> I do have a gcc related question. I see a file named mod_webkit.so in
>> the directory .libs and the “make install” terminated normally. Given
>> that gcc issued warnings, is it risky to assume the mod_webkit.so
>> file produced will function as desired?
> 
> The warnings are normal. mod_webkit2 works fine for me even on modern 
> Linux versions like openSUSE Leap 42.
> 
> — Christoph

Thank you, Christoph.

Regards,

 - Mark


--
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


Re: [Webware-devel] make mod_webkit errors out

2015-11-28 Thread Christoph Zwerschke
Am 28.11.2015 um 18:49 schrieb Mark Phillips:
> I do have a gcc related question. I see a file named mod_webkit.so in
> the directory .libs and the “make install” terminated normally. Given
> that gcc issued warnings, is it risky to assume the mod_webkit.so
> file produced will function as desired?

The warnings are normal. mod_webkit2 works fine for me even on modern 
Linux versions like openSUSE Leap 42.

-- Christoph



--
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


Re: [Webware-devel] make mod_webkit errors out

2015-11-28 Thread Mark Phillips
> On Nov 28, 2015, at 9:23 AM, Christoph Zwerschke  wrote:
> 
> Am 28.11.2015 um 17:30 schrieb Mark Phillips:
>> I would greatly appreciate advice on how to work around or through this.
>> 
>> Installing on Centos 6, with gcc and apxs installed.
>> 
>> [root mod_webkit2]# make
> 
> Can you try with the latest version from trunk?
> I think this has been fixed already:
> 
> http://svn.w4py.org/Webware/trunk/WebKit/Adapters/mod_webkit2/
> 
> A new release of Webware is still somewhere on my todo list…

Yes, I will give that a try.

I do have a gcc related question. I see a file named mod_webkit.so in the 
directory .libs and the “make install” terminated normally. Given that gcc 
issued warnings, is it risky to assume the mod_webkit.so file produced will 
function as desired?

 - Mark


--
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


Re: [Webware-devel] make mod_webkit errors out

2015-11-28 Thread Mark Phillips

> On Nov 28, 2015, at 9:23 AM, Christoph Zwerschke  wrote:
> Can you try with the latest version from trunk?
> I think this has been fixed already:
> 
> http://svn.w4py.org/Webware/trunk/WebKit/Adapters/mod_webkit2/

I copied two lines from the file in trunk into the file mod_webkit.c. Both 
“make” and “make install” completed normally without warnings. 

Thanks!

 - Mark


--
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


Re: [Webware-devel] make mod_webkit errors out

2015-11-28 Thread Christoph Zwerschke
Am 28.11.2015 um 17:30 schrieb Mark Phillips:
> I would greatly appreciate advice on how to work around or through this.
>
> Installing on Centos 6, with gcc and apxs installed.
>
> [root mod_webkit2]# make

Can you try with the latest version from trunk?
I think this has been fixed already:

http://svn.w4py.org/Webware/trunk/WebKit/Adapters/mod_webkit2/

A new release of Webware is still somewhere on my todo list...

-- Christoph

--
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel


[Webware-devel] make mod_webkit errors out

2015-11-28 Thread Mark Phillips
I would greatly appreciate advice on how to work around or through this. 

Installing on Centos 6, with gcc and apxs installed.

[root mod_webkit2]# make
/usr/sbin/apxs -c -Wc,"" -o mod_webkit.la  mod_webkit.c marshal.c 
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g 
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security 
-fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread 
-I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1-c -o 
mod_webkit.lo mod_webkit.c && touch mod_webkit.slo
mod_webkit.c: In function ‘wksock_open’:
mod_webkit.c:265: warning: format not a string literal and no format arguments
mod_webkit.c: In function ‘webkit_handler’:
mod_webkit.c:596: warning: format not a string literal and no format arguments
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g 
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security 
-fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread 
-I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1-c -o 
marshal.lo marshal.c && touch marshal.slo
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o mod_webkit.la  
-rpath /usr/lib64/httpd/modules -module -avoid-versionmarshal.lo 
mod_webkit.lo
[root mod_webkit2]#--
___
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel