Date: Sat, 6 Dec 2003 02:56:24 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 245 ************************************************** Friday 05 December 2003 Number 245 ************************************************** Subjects for today 1 Re: building a2ps : John Poltorak 2 Re: building a2ps : Michael Zolk **= Email 1 ==========================** Date: Sat, 6 Dec 2003 17:24:36 +0000 From: John Poltorak Subject: Re: building a2ps On Sat, Dec 06, 2003 at 05:44:38PM +0100, Michael Zolk wrote: > On Thu, Dec 04, 2003 at 11:31:44PM +0000, John Poltorak wrote: > > What happens when you run wget at the command line? > > OK, I found out what went wrong: > > The archives have in fact been downloaded properly, however wget does not > seem to return the appropriate return code, so build.sh aborts with the > "retrieval failed" message. > > Simply typing "build pdksh" again results in a nice sh.exe :) That's good. Any idea why you get the wrong return code? I understand that WGET's return codes are not always easy to interpet, but as it stands now build.sh has this code:- if `wget -q -Nc -t 1 -P $REPOSITORY $URL`; then echo retrieval failed exit 1 fi and in your case this does appear appropriate. Can you suggest what it should be instead? > Michael > -- > http://www.borashop.de -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Sat, 6 Dec 2003 17:44:38 +0100 From: Michael Zolk Subject: Re: building a2ps On Thu, Dec 04, 2003 at 11:31:44PM +0000, John Poltorak wrote: > > For some reason wget fails to download the source archives. > > Maybe try removing the '-q' parameter from wget on line 83 of build.sh and > run:- > > build pdksh > > Do you have a .wgetrc somewhere which is providing some conflicting > parameters? > > > What happens when you run wget at the command line? OK, I found out what went wrong: The archives have in fact been downloaded properly, however wget does not seem to return the appropriate return code, so build.sh aborts with the "retrieval failed" message. Simply typing "build pdksh" again results in a nice sh.exe :) Michael -- http://www.borashop.de _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs