Re: WML (from SVN) Builds on Cygwin!

Jens-Peter Hillers <[email protected]> Sat, 17 Jun 2006 13:53:55 +0200
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------090205050607030800060301
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Shlomi,

-1- I like the idea of the alternative homepage

-2- it my be that your problem with eperl is the same i had, so i attach=20
my solution to this mail.

regards

Jens-Peter C. Hillers
----------------------
email: [email protected]
WEB: www.hillers.to
----------------------
Hi List,
=20
found one solution:
=20
I putted :
=20
#include "eperl_getopt.h"
=20
right before the:
=20
#include "eperl_proto.h"
=20
in:
=20
wml_backend/p3_eperl/eperl_perl5.c
wml_backend/p3_eperl/eperl_parse.c
wml_backend/p3_eperl/eperl_pp.c
wml_backend/p3_eperl/eperl_sys.c
wml_backend/p3_eperl/eperl_http.c
wml_backend/p3_eperl/eperl_http.c
wml_backend/p3_eperl/eperl_debug.c
regards
jph
=20
=20
___________________________
Dipl.-Ing. Jens-Peter C. Hillers
Remote Web Services GmbH
Tel: +49 40 25 49 06 22
Fax: +49 40 36 00 67 27
Email: [email protected] <mailto:[email protected]>
____________________________
=20
-----Urspr=FCngliche Nachricht-----
*Von:* [email protected] [mailto:[email protected]]*Im=20
Auftrag von* Jens-Peter C. Hillers
*Gesendet am:* Dienstag, 11. April 2006 18:51
*An:* [email protected]
*Betreff:* Problems compiling with suse 10.0
Hi List,
=20
I just tried to compile WML (2.0.9) under SuSe 10.0 an dgot an error
=20
Message:
=20
.....................
make[4]: Leaving directory /usr/local/src/wml-2.0.9/wml_backend/p2_mp4h'
make[2]: Leaving directory /usr/local/src/wml-2.0.9/wml_backend/p3_eperl'
cc -O2 -march=3Di586 -mtune=3Di686 -fmessage-length=3D0 -Wall=20
-D_FORTIFY_SOURCE=3D2 -g -Wall -pipe -D_REENTRANT -D_GNU_SOURCE=20
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe=20
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64=20
-I/usr/lib/perl5/5.8.7/i586-linux-thread-multi/CORE -I. -c eperl_perl5.c
In file included from eperl_perl5.c:40:
eperl_proto.h:56: error: array type has incomplete element type
make[2]: *** [eperl_perl5.o] Error 1
make[2]: Leaving directory /usr/local/src/wml-2.0.9/wml_backend'
make: *** [all] Error 1
----------------------------------------------
the correponding part of eperl_proto.h
-----------------------------------------------
     40 /* eperl_main.c */
     41 extern int mode;
     42 extern char *allowed_file_ext[];
     43 extern char *allowed_caller_uid[];
     44 extern void PrintError(int mode, char *scripturl, char=20
*scriptfile, char *logfile, char *str, ...);
     45 extern void give_version(void);
     46 extern void give_readme(void);
     47 extern void give_license(void);
     48 extern void give_img_logo(void);
     49 extern void give_img_powered(void);
     50 extern void give_usage(char *name);
     51 extern char *RememberedINC[1024];
     52 extern void RememberINC(char *str);
     53 extern void mysighandler(int rc);
     54 extern void myinit(void);
     55 extern void myexit(int rc);
--->56 extern struct option options[];
     57 extern int main(int argc, char **argv, char **env);
     58
     59 /* eperl_parse.c */
     60 extern char *ePerl_begin_delimiter;
     61 extern char *ePerl_end_delimiter;
     62 extern int ePerl_case_sensitive_delimiters;
--------------------------------------------------
=20
have anybody some help for me ?
=20
grusz
jph
___________________________
Dipl.-Ing. Jens-Peter C. Hillers
Remote Web Services GmbH
Tel: +49 40 25 49 06 22
Fax: +49 40 36 00 67 27
Email: [email protected] <mailto:[email protected]>
____________________________



Shlomi Fish wrote:
>On Saturday 17 June 2006 02:25, Axel Beckert wrote:
> =20
>>On Tue, Jun 13, 2006 at 09:44:26AM +0300, Shlomi Fish wrote:
>>   =20
>>>After I spent some effort hacking on it the last couple of days, I was
>>>able to get Web Meta Language from the Subversion 2.0.x maintenance
>>>branch to successfully build on cygwin.
>>>     =20
>>Congrats and thanks, Shlomi!
>>   =20
>
>Thanks and you're welcome. :-)
>
>I later on tried to build the software on a Linux machine from the SVN a=
gain,=20
>and discovered I needed to run some GNU autotools.
>
>I'd like to make a new release soon. Only problem is that the server-sid=
e=20
>ePerl still breaks on http://thewml.org/ , and while I have root access =
to=20
>the server, I have no idea how to fix it. (I'm not much of an Apache/mod=
_perl=20
>expert). ePerl has been unmaintained for a long while, and so perhaps it=
=20
>would be a good idea to switch thewml.org to an alternative embedded-Per=
l=20
>engine (like Embperl or HTML::Mason).
>
>I'm also considering creating a rudimentary alternative homepage on=20
>http://thewml.berlios.de/.=20
>
>Regards,
>
>	Shlomi  Fish
>
>---------------------------------------------------------------------
>Shlomi Fish      [email protected]
>Homepage:        http://www.shlomifish.org/
>
>95% of the programmers consider 95% of the code they did not write, in t=
he
>bottom 5%.
>_____________________________________________________________________
>Website META Language (WML)                         http://thewml.org
>User Support Mailing List                        [email protected]
>Automated List Manager                            [email protected]
> =20

--------------090205050607030800060301
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Shlomi,<br>
<br>
-1- I like the idea of the alternative homepage<br>
<br>
-2- it my be that your problem with eperl is the same i had, so i
attach my solution to this mail.<br>
<br>
regards<br>
<br>
Jens-Peter C. Hillers<br>
----------------------<br>
email: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
WEB: <a class="moz-txt-link-abbreviated" href="http://www.hillers.to">www.hillers.to</a><br>
----------------------<br>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">Hi List,</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">found one solution:</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">I putted :</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">#include "eperl_getopt.h"</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">right before the:</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">#include "eperl_proto.h"</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">in:</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">wml_backend/p3_eperl/eperl_perl5.c <br>
wml_backend/p3_eperl/eperl_parse.c <br>
wml_backend/p3_eperl/eperl_pp.c <br>
wml_backend/p3_eperl/eperl_sys.c <br>
wml_backend/p3_eperl/eperl_http.c <br>
wml_backend/p3_eperl/eperl_http.c <br>
wml_backend/p3_eperl/eperl_debug.c <br>
</font></span></div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">regards</font></span></div>
<div><span class="201492510-12042006"><font color="#0000ff" face="Arial"
 size="2">jph</font></span></div>
<div><span class="201492510-12042006"></span>&nbsp;</div>
<div>&nbsp;</div>
<div><font color="#000000" face="Arial" size="2">___________________________</font></div>
<div><font color="#000000" face="Arial" size="2">Dipl.-Ing. Jens-Peter
C. Hillers</font></div>
<div><font face="Arial" size="2">Remote Web Services GmbH</font></div>
<div><font color="#000000" face="Arial" size="2">Tel: +49 40 25 49 06 22</font></div>
<div><font color="#000000" face="Arial" size="2">Fax: +49 40 36 00 67 27</font></div>
<div><font color="#000000" face="Arial" size="2">Email: <a
 href="mailto:[email protected]">[email protected]</a></font></div>
<div><font face="Arial" size="2">____________________________</font></div>
<div>&nbsp;</div>
<div><font face="Times New Roman" size="2">-----Urspr&uuml;ngliche
Nachricht-----<br>
<b>Von:</b> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
[<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>]<b>Im Auftrag von</b> Jens-Peter C.
Hillers<br>
<b>Gesendet am:</b> Dienstag, 11. April 2006 18:51<br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
<b>Betreff:</b> Problems compiling with suse 10.0<br>
</font></div>
<div><span class="242403016-11042006"><font face="Arial" size="2">Hi
List,</font></span></div>
<div><span class="242403016-11042006"></span>&nbsp;</div>
<div><span class="242403016-11042006"><font face="Arial" size="2">I
just tried to compile WML (2.0.9) under SuSe 10.0 an dgot an error</font></span></div>
<div><span class="242403016-11042006"></span>&nbsp;</div>
<div><span class="242403016-11042006"><font face="Arial" size="2">Message:</font></span></div>
<div><span class="242403016-11042006"></span>&nbsp;</div>
<div><span class="242403016-11042006"><font face="Arial" size="2">.....................</font></span></div>
<div><span class="242403016-11042006"><font face="Arial" size="2">make[4]:
Leaving directory /usr/local/src/wml-2.0.9/wml_backend/p2_mp4h'<br>
make[2]: Leaving directory
/usr/local/src/wml-2.0.9/wml_backend/p3_eperl'<br>
cc -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -Wall -pipe -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.7/i586-linux-thread-multi/CORE -I. -c eperl_perl5.c<br>
In file included from eperl_perl5.c:40:<br>
eperl_proto.h:56: error: array type has incomplete element type<br>
make[2]: *** [eperl_perl5.o] Error 1<br>
make[2]: Leaving directory /usr/local/src/wml-2.0.9/wml_backend'<br>
make: *** [all] Error 1<br>
----------------------------------------------</font></span></div>
<div><span class="242403016-11042006"><font face="Arial" size="2">the
correponding part of&nbsp;eperl_proto.h</font></span></div>
<div><span class="242403016-11042006"><font face="Arial" size="2">-----------------------------------------------</font></span></div>
<div><span class="242403016-11042006"><font face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;
40 /* eperl_main.c */<br>
&nbsp;&nbsp;&nbsp;&nbsp; 41 extern int mode;<br>
&nbsp;&nbsp;&nbsp;&nbsp; 42 extern char *allowed_file_ext[];<br>
&nbsp;&nbsp;&nbsp;&nbsp; 43 extern char *allowed_caller_uid[];<br>
&nbsp;&nbsp;&nbsp;&nbsp; 44 extern void PrintError(int mode, char *scripturl, char
*scriptfile, char *logfile, char *str, ...);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 45 extern void give_version(void);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 46 extern void give_readme(void);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 47 extern void give_license(void);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 48 extern void give_img_logo(void);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 49 extern void give_img_powered(void);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 50 extern void give_usage(char *name);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 51 extern char *RememberedINC[1024];<br>
&nbsp;&nbsp;&nbsp;&nbsp; 52 extern void RememberINC(char *str);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 53 extern void mysighandler(int rc);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 54 extern void myinit(void);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 55 extern void myexit(int rc);<br>
---&gt;56 extern struct option options[];<br>
&nbsp;&nbsp;&nbsp;&nbsp; 57 extern int main(int argc, char **argv, char **env);<br>
&nbsp;&nbsp;&nbsp;&nbsp; 58 <br>
&nbsp;&nbsp;&nbsp;&nbsp; 59 /* eperl_parse.c */<br>
&nbsp;&nbsp;&nbsp;&nbsp; 60 extern char *ePerl_begin_delimiter;<br>
&nbsp;&nbsp;&nbsp;&nbsp; 61 extern char *ePerl_end_delimiter;<br>
&nbsp;&nbsp;&nbsp;&nbsp; 62 extern int ePerl_case_sensitive_delimiters;<br>
--------------------------------------------------</font></span></div>
<div><font face="Arial" size="2"><span class="242403016-11042006"></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span class="242403016-11042006">have
anybody some help for me ?</span></font></div>
<div><font face="Arial" size="2"><span class="242403016-11042006"></span></font>&nbsp;</div>
<div><font face="Arial" size="2"><span class="242403016-11042006">grusz</span></font></div>
<div><font face="Arial" size="2"><span class="242403016-11042006">jph</span></font></div>
<div><font face="Arial" size="2">___________________________</font></div>
<div><font face="Arial" size="2">Dipl.-Ing. Jens-Peter C. Hillers</font></div>
<div><font face="Arial" size="2">Remote Web Services GmbH</font></div>
<div><font face="Arial" size="2">Tel: +49 40 25 49 06 22</font></div>
<div><font face="Arial" size="2">Fax: +49 40 36 00 67 27</font></div>
<div><font color="#000000" face="Arial" size="2">Email: <a
 href="mailto:[email protected]">[email protected]</a></font></div>
<div><font face="Arial" size="2">____________________________</font></div>
<br>
<br>
<br>
Shlomi Fish wrote:
<blockquote cite="[email protected]" type="cite">
  <pre wrap="">On Saturday 17 June 2006 02:25, Axel Beckert wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Tue, Jun 13, 2006 at 09:44:26AM +0300, Shlomi Fish wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">After I spent some effort hacking on it the last couple of days, I was
able to get Web Meta Language from the Subversion 2.0.x maintenance
branch to successfully build on cygwin.
      </pre>
    </blockquote>
    <pre wrap="">Congrats and thanks, Shlomi!
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thanks and you're welcome. :-)

I later on tried to build the software on a Linux machine from the SVN again, 
and discovered I needed to run some GNU autotools.

I'd like to make a new release soon. Only problem is that the server-side 
ePerl still breaks on <a class="moz-txt-link-freetext" href="http://thewml.org/">http://thewml.org/</a> , and while I have root access to 
the server, I have no idea how to fix it. (I'm not much of an Apache/mod_perl 
expert). ePerl has been unmaintained for a long while, and so perhaps it 
would be a good idea to switch thewml.org to an alternative embedded-Perl 
engine (like Embperl or HTML::Mason).

I'm also considering creating a rudimentary alternative homepage on 
<a class="moz-txt-link-freetext" href="http://thewml.berlios.de/">http://thewml.berlios.de/</a>. 

Regards,

	Shlomi  Fish

---------------------------------------------------------------------
Shlomi Fish      <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Homepage:        <a class="moz-txt-link-freetext" href="http://www.shlomifish.org/">http://www.shlomifish.org/</a>

95% of the programmers consider 95% of the code they did not write, in the
bottom 5%.
_____________________________________________________________________
Website META Language (WML)                         <a class="moz-txt-link-freetext" href="http://thewml.org">http://thewml.org</a>
User Support Mailing List                        <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
Automated List Manager                            <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
  </pre>
</blockquote>
</body>
</html>

--------------090205050607030800060301--
_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]