From: Micah Cowan <[email protected]> > I've finished merging Steven's VMS stuff into mainline.
I've been occupied elsewhere, but I've started to look at it. > I believe everything's in there, except that I left out the added > ftp_dele function, and also the changes to the write_data function in > retr.c. The latter is actually something I've thought should be done, > but I don't want to put that in just now, as I think it will mess with > how the -c option functions. If that was the ASCII-line-ending stuff, then I'd expect it to deal a death blow to "-c". Perhaps it should have some option which conflicts with "-c". > Steven, I suspect that enough things have changed in 1.12's development > tree since you wrote the patch, that the build setup for VMS will need > to be adjusted. Welcome to the world of understatement. > You can get the sources at > http://hg.addictivecode.org/wget/mainline; the best way to get it is via > Mercurial, but you can also download the source tree from that link by > choosing one of the "zip", "gz" or "bz2" links to get a dynamically > generated source tree. I tried that. Not entirely satisfactory. I had a Solaris system up, so I tried building it there. I see that one now needs much more of a GNU environment to get a build done, which is dismaying to someone who'd prefer not to have to support that whole monster. After I (re-?) discovered autogen.sh, I could get a Solaris build (using GCC) to fail late in the process. [...] cc -g -o wget cmpt.o connect.o convert.o cookies.o ftp.o css.o css-url.o ftp-basic.o ftp-ls.o hash.o host.o html-parse.o html-url.o http.o init.o log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o snprintf.o spider.o url.o utils.o build_info.o version.o ftp-opie.o gen-md5.o ../lib/libgnu.a /usr/local/lib/libiconv.so -R/usr/local/lib -lmd5 -ldl -lsocket -lnsl -lrt ld: warning: file libgcc_s.so.1: required by /usr/local/lib/libiconv.so, not found gmake[2]: Leaving directory `/usr/local/src/wget/mainline-1590345d2328/src' [...] I did this manually to get an executable which would run: ra# cc -g -o wgetz cmpt.o connect.o convert.o cookies.o ftp.o css.o css-url.o ftp-basic.o ftp-ls.o hash.o host.o html-parse.o html-url.o http.o init.o log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o snprintf.o spider.o url. o utils.o build_info.o version.o ftp-opie.o gen-md5.o ../lib/libgnu.a -R/usr/l ocal/lib -L/usr/local/lib -lmd5 -ldl -lsocket -lnsl -lrt -liconv -lgcc_s ra# ./wgetz --version GNU Wget 1.12-devel built on solaris2.10. [...] I doubt that that's the optimal link, but it works better than the automess. I gather that my "flex" is lame, as it seems to omit <stdlib.h>: [...] cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I../lib -I/usr/local/include -g -c css.c "css.c", line 4257: warning: implicit function declaration: exit "css.c", line 4320: warning: implicit function declaration: malloc "css.c", line 4338: warning: implicit function declaration: realloc "css.c", line 4348: warning: implicit function declaration: free source='css-url.c' object='css-url.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../depcomp \ [...] I'll look into that when I get a chance. > Naturally, I don't plan on maintaining VMS support, so I'll rely on > Steven to supply what adjustments become necessary during ongoing > development. I'll see what I can do, but the work required to cope with the fancy new GNU builders looks moderately daunting. ------------------------------------------------------------------------ Steven M. Schweda s...@antinode-info 382 South Warwick Street (+1) 651-699-9818 Saint Paul MN 55105-2547
