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

wml-1.6.8: bug in etc/newvers


I found that the configuration of wml does not work very good
on my system. It appears that etc/newvers wants to determine
if getopt is available. getopt is available here at /usr/bin/getopt
on a HP/UX B.10.20 system. Unfortunately

szahn@chewie:~/wml-1.6.8 $ eval getopt
usage: getopt legal-args $*
szahn@chewie:~/wml-1.6.8 $ echo $?

getopt without args returns exit code 2, and now newvers feels the need
to compile its own getopt. For some reason it trys to start gcc as
/usr/local/bin/gcc, and that does not exist, gcc can be started
as /usr/gnu/bin/gcc or simply gcc here.

Hopefully this can be fixed. I fixed it by commenting out the part

#if [ $? -ne 0 ]; then
#    rm -f /tmp/getopt.c >/dev/null 2>&1
#    cat >/tmp/getopt.c <<EOT
#    getopt=/tmp/getopt

Best regards

Ouput of configuration:

szahn@chewie:~/wml-1.6.8 $ CFLAGS=-O2 ./configure --prefix=/usr/gnu
gcc: SB error: cannot find exe /usr/local/bin/gcc
./etc/newvers[106]: /tmp/getopt:  not found.
Configuring for WML Usage: newvers [options] versionfile
    Options are:
        -l<lang>          set language to one of "txt", "c" or "perl" 
        -p<progname>      set program name
        -r<v>.<r>[.pb]<p> set release version string
        -i{v|r|P|p|b|a|s} increase version, revision or {alpha,batch,patch,snap}level
        -d                display current version only
        -D                display current version only (incl. date)
        -V                print NEWVERS version
        -h                print help page
creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no

work email: user@domain  where domain=icn.siemens.de, user=Steffen.Zahn
Any opinions expressed herein are not necessarily those of my employer.
Use of my address for unsolicited  commercial advertising is forbidden.
      2^3021377 - 1     |     "Where do you want to crash today?"
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com