[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Misterious Behavior of WML calling WML


I use WML in a special way.
I defined lots of tags using the meta-html-pass an they generate
Perl-function-calls out of it. It wasn't very difficult, because the
former system were only Perl-Function-calls.

I need to use WML (eperl) making a call to another WML to parse special
parts of another source-File (autogenerating Navigation).
Another Problem is the parsing of very short WML-Parts during a guestbook
using wml from a eperl-Website.
I found many different behaviours on many systems, calling wml from
wml or eperl.
On an old unifix-System, there was no Problem. It worked.
Then I migrated to a debian 1.3.1-System and a newer eperl/wml/apache.
But I found a workaround for the problem, that system("wml -sq $file")
didn't work.
system("unset `env | /usr/bin/grep \"^SCRIPT\" | sed -e 's/=.*\$//\'` ;
	wml -sq $file");

This worked with the newest eperl/wml/apache on that debian 1.3.1-box, the
old unifix-box and on a new redhat 5.0.
Then we wnated to migrate to production webserver, a indy with irix 5.3.
First problem was, that eperl and eperl-pass of wml won't compile. It was
a problem in the Config.pm  of perl5.005 because of trying to use the cc
defined in that file for bitvector usw. and not the forced gcc with
./configure. -> Feature or Bug? I hacked it all correct and now everything
is running. Except the wml/eperl call of WML.
Any ideas? The workaround did not work on that indy.

I'm using newest software(wml,perl,eperl,apache), so there should no
problem with software out-of-date.

BYtE Oli

PS: I added a verbose-output after the signature.

+++Manchmal stehe ich sogar nachts auf und installiere mir eins....+++++++

This is the output of calling wml -qs -v3 $file form eperl-Website
     Contents of STDERR channel:

** WML:Verbose: Reading RC file: /WWW/WML/Gaestebuch/Daten/.wmlrc
** WML:Verbose: PASS 1:
** WML:Verbose: system: /WWW//lib/wml/exec/wml_p1_ipp  "-DWML_VERSION=1.6.7 (02
-08-1998)" "-DWML_LOC_MANDIR=/WWW//man" "-DWML_LOC_LIBDIR=/WWW//lib/wml" "-DWML
z.fh-heilbronn.de" "-DWML_GEN_REALNAME=Oliver Paukstadt" "-DWML_GEN_USERNAME=ps
tadt" "-DWML_GEN_ISOTIME=02-09-1998 13:25:34" "-DWML_GEN_CTIME=Wed Sep  2 13:25
:34 1998 DST" "-DWML_SRC_REALNAME=Oliver Paukstadt" "-DWML_SRC_USERNAME=pstadt"
 "-DWML_SRC_ISOTIME=02-09-1998 13:25:30" "-DWML_SRC_CTIME=Wed Sep  2 13:25:30 1
RNAME=/WWW/WML/Gaestebuch/Daten/09_1998" -v -S /WWW//lib/wml/include/  -I /WWW/
WML/Gaestebuch/include/  -s 'sys/boot.wml' -i 'gtags.wml'  -o /tmp/wml.1844.tmp
2 /tmp/wml.1844.tmp1
+-- /tmp/ipp.1855.tmp
  +-- /WWW//lib/wml/include//sys/boot.wml
  +-- /WWW/WML/Gaestebuch/include//gtags.wml
    +-- /WWW//lib/wml/include//std/tags.wml
    +-- /WWW/WML/Gaestebuch/include//plain.wml
    +-- /WWW/WML/Gaestebuch/include//lynx.wml
    +-- /WWW/WML/Gaestebuch/include//frames.wml
+-- /tmp/ipp.1855.tmp
Want to see result after Pass1 [yNq]:
** WML:Verbose: PASS 2:
** WML:Verbose: system: /WWW//lib/wml/exec/wml_p2_mhc  --set "WML_VERSION" "1.6
.7 (02-08-1998)" --set "WML_LOC_MANDIR" "/WWW//man" --set "WML_LOC_LIBDIR" "/WW
W//lib/wml" --set "WML_LOC_BINDIR" "/WWW//bin" --set "WML_LOC_PREFIX" "/WWW/" -
-set "WML_GEN_HOSTNAME" "kartoffel.rz.fh-heilbronn.de" --set "WML_GEN_REALNAME"
 "Oliver Paukstadt" --set "WML_GEN_USERNAME" "pstadt" --set "WML_GEN_ISOTIME" "
02-09-1998 13:25:34" --set "WML_GEN_CTIME" "Wed Sep  2 13:25:34 1998 DST" --set
 "WML_SRC_REALNAME" "Oliver Paukstadt" --set "WML_SRC_USERNAME" "pstadt" --set
"WML_SRC_ISOTIME" "02-09-1998 13:25:30" --set "WML_SRC_CTIME" "Wed Sep  2 13:25
:30 1998 DST" --set "WML_SRC_BASENAME" "gast2" --set "WML_SRC_FILENAME" "gast2.
gb" --set "WML_SRC_DIRNAME" "/WWW/WML/Gaestebuch/Daten/09_1998" --set mhtml::re
lative-prefix '/WWW/WML/Gaestebuch/Daten/09_1998' /tmp/wml.1844.tmp2 >/tmp/wml.
Want to see result after Pass2 [yNq]:
** WML:Verbose: PASS 3:
** WML:Verbose: system: /WWW//lib/wml/exec/wml_p3_eperl  "-dWML_VERSION=1.6.7 (
02-08-1998)" "-dWML_LOC_MANDIR=/WWW//man" "-dWML_LOC_LIBDIR=/WWW//lib/wml" "-dW
.rz.fh-heilbronn.de" "-dWML_GEN_REALNAME=Oliver Paukstadt" "-dWML_GEN_USERNAME=
pstadt" "-dWML_GEN_ISOTIME=02-09-1998 13:25:34" "-dWML_GEN_CTIME=Wed Sep  2 13:
25:34 1998 DST" "-dWML_SRC_REALNAME=Oliver Paukstadt" "-dWML_SRC_USERNAME=pstad
t" "-dWML_SRC_ISOTIME=02-09-1998 13:25:30" "-dWML_SRC_CTIME=Wed Sep  2 13:25:30
 1998 DST" "-dWML_SRC_BASENAME=gast2" "-dWML_SRC_FILENAME=gast2.gb" "-dWML_SRC_
DIRNAME=/WWW/WML/Gaestebuch/Daten/09_1998" -P -k -B '' /tmp/wml.1844.tmp1 >/tmp
Segmentation fault - core dumped
** WML:Break: Error in Pass 3 (rc=139).

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com