W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

bug in www program and makefile

From: Fox One <rockman66_1999@yahoo.com>
Date: Fri, 7 Jul 2000 20:47:11 -0700 (PDT)
Message-ID: <20000708034711.24091.qmail@web4302.mail.yahoo.com>
To: www-lib@w3.org
There seems to be a bug in libwww's `www' program
that prevents it from sending its output
to the correct file when it is invoked with
the `-o' option. For example, take this command:

www -w90 -na -p -to text/x-c HTAtom.html -o HTAtom.h

This command will only send the characters "/*" to
the file HTAtom.h; the rest of the data will go
to standard output. 

This causes problems for `libwww/Library/src/Makefile.am'
because it tries to create the header files with
the commands:

    ifdef WWW
        $(WWW) -w90 -na -p -to text/x-c $(srcdir)/$(*F).html -o
        @echo "**************************************************"
        @echo "Generating the .h files using the "
        @echo "winConfigure.pl script - it may generate a few
        @echo "**************************************************"
        perl $(top_srcdir)/config/winConfigure.pl $(srcdir)

Since I've installed libwww on my system, the `www' program
is available in `/usr/local/bin,' and so libwww's configure
script finds it and sets the WWW variable in this

The result is that the makefile wants to create the header
files using the www program, and thus this bug is exposed. 

I changed the `-o' to `>' on my system, and (so far)
it seems to work.  

Do You Yahoo!?
Get Yahoo! Mail  Free email you can access from anywhere!
Received on Friday, 7 July 2000 23:47:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC