Hello Daniel, Daniel Stenberg <dan...@haxx.se> writes:
> 1. I didn't have 'autopoint' installed so ./bootstrap failed with an unhelpful > error. It should rather check for autopoint to be present and tell me that > I need it. I have added it to the build prerequisites. It should fail with a more friendly error now. > 2. configure.ac:51: option `dist-lzma' not recognized > This seems to rely on a rather recent automake version as I have automake > 1.9.6 here and get that error. I just removed 'dist-lzma' from the > AM_INIT_AUTOMAKE() macro in configure.ac and things could continue. > (automake 1.10 has been broken on Solaris for so long that I've just never > managed to upgrade to that without getting hit in the face and downgraded > again so I will remain using 1.9.x for the forseeable future.) I have removed it. It is not required anymore, new versions of automake support dist-xz, that is meant to replace .lzma. I will add dist-xz to the automake options in the near future. Does automake 1.11 work for you under Solaris? > 3. These fixed, I now got a configure script that I ran. Then I invoke 'make' > (inside the source dir tree) and then my build ends with an error like > this: > > if gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" > -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. -I. -I../lib -I../lib > -O2 -Wall -MT exits.o -MD -MP -MF ".deps/exits.Tpo" -c -o exits.o > exits.c; \ > then mv -f ".deps/exits.Tpo" ".deps/exits.Po"; else rm -f > ".deps/exits.Tpo"; exit 1; fi > if test -n ""; then cp "./build_info.c.in" .; fi > /usr/bin/perl "../build-aux/build_info.pl" \ > "/build_info.c" > Cannot open /build_info.c.in: No such file or directory at > ../build-aux/build_info.pl line 39. > make[3]: *** [build_info.c] Error 2 > make[3]: Leaving directory `/home/daniel/src/wget/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/daniel/src/wget/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/daniel/src/wget' > make: *** [all] Error 2 > > This problem is because the src/Makefile.am uses a 'abs_builddir' variable > that in my case is not set (blank). I could fix this by doing this: > > === modified file 'src/Makefile.am' > --- src/Makefile.am 2010-05-27 11:59:46 +0000 > +++ src/Makefile.am 2010-06-10 07:03:35 +0000 > @@ -63,7 +63,7 @@ > build_info.c: $(srcdir)/Makefile.am $(srcdir)/build_info.c.in > if test -n "$(VPATH)"; then cp "$(srcdir)/build_info.c.in" .; fi > $(PERL) "$(top_srcdir)/build-aux/build_info.pl" \ > - "$(abs_builddir)/build_info.c" > + "$(top_builddir)/src/build_info.c" > if test -n "$(VPATH)"; then rm -f build_info.c.in; fi > > ESCAPEQUOTE = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/' Applied. > 4. Now if I run ./wrc/wget -V it says: > > Currently maintained by Micah Cowan <mi...@cowan.name>. > > ... which I believe isn't true and I believe you want a patch similar to > this: > > === modified file 'src/main.c' > --- src/main.c 2010-05-31 07:45:03 +0000 > +++ src/main.c 2010-06-10 07:06:32 +0000 > @@ -853,7 +853,7 @@ > names such as this one. See en_US.po for reference. */ > fputs (_("\nOriginally written by Hrvoje Niksic <hnik...@xemacs.org>.\n"), > stdout); > - fputs (_("Currently maintained by Micah Cowan <mi...@cowan.name>.\n"), > + fputs (_("Currently maintained by Giuseppe Scrivano > <gscriv...@gnu.org>.\n"), > stdout); > fputs (_("Please send bug reports and questions to <bug-wget@gnu.org>.\n"), > stdout); I would rather drop this line at all. Thanks! Giuseppe