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

BUG REPORT: Website META Language 2.0.1 (23-May-2000)



__        ___  __ _     
\ \      / / \/  | |      Website META Language
 \ \ /\ / / |\/| | |      Version 2.0.1 (23-May-2000)
  \ V  V /| |  | | |___ 
   \_/\_/ |_|  |_|_____|  BUG REPORT
_________________________________________________________

From:     Albert Reiner <areiner@tph.tuwien.ac.at>
Reply-To: <areiner@tph.tuwien.ac.at>

PROBLEM DESCRIPTION:
Consider the following minimal input file:

> <:
> 
> system "ls -alF $SCRIPT_SRC_PATH";
> 
> print "\$SCRIPT_SRC_DIR = $ENV{'SCRIPT_SRC_DIR'}\n";
> print "\$SCRIPT_SRC_PATH = $SCRIPT_SRC_PATH\n";
> 
> :>

For some reason, on my system this will give me the directory listing,
but the two explicit print statements will yield:

> $SCRIPT_SRC_DIR =
> $SCRIPT_SRC_PATH =

, i.e. I don't seem to be able to access the variables even though
they are obviously used in the system call. This is true not only with
wml but also by using eperl alone, so the problem is obviously in pass
3.


PLATFORM CHARACTERISTICS:
Used WML System:
Built Environment:
    Host: i586-pc-linux-gnu2
    Perl: 5.005 (/usr/bin/perl)
    User: root@frithjof
    Date: 28-May-2000
Built Location:
    Prefix: /usr/local/
    BinDir: /usr/local//bin
    LibDir: /usr/local//lib/wml
    ManDir: /usr/local//man

Used Perl System:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.0.35, archname=i586-linux
    uname='linux frithjof 2.0.35 #7 sun dec 27 18:40:22 met 1998 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.7.2.1
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -ldbm -ldb -ldl -lm -lc
    libc=/lib/libc.so.5.4.46, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Aug 13 1999 21:52:56
  @INC:
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i586-linux
    /usr/lib/perl5/site_perl/5.005
    .
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com