From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 13 Mar 2002 04:19:33 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 162 ************************************************** Tuesday 12 March 2002 Number 162 ************************************************** Subjects for today 1 WGet URL mangling problems : Christian Hennecke" 2 Re: WGet URL mangling problems : csaba.raduly at sophos.com 3 Need help installing GCC 3.0.3 : John Poltorak 4 Re: WGet URL mangling problems : Christian Hennecke" 5 Re: WGet URL mangling problems : Christian Hennecke" **= Email 1 ==========================** Date: Wed, 13 Mar 2002 05:21:52 +0100 (CET) From: "Christian Hennecke" Subject: WGet URL mangling problems When I use WGet to mirror web sites that use encoded unsafe character, e.g. spaces, I always end up with a local copy that is not browseable. For instance, a directory "20. Juli 1944" is saved with the filename "20.%20Juli%201944". Version 1.7 did a translation for some characters, e.g. %df or ß, but used a wrong codepage (probably Latin-1 instead of OS/2's cp850). The new version 1.8 that is available at Hobbes doesn't even demangle that URL any more (this is noted in the NEWS file). This is really a problem as I don't know any downloading tool that is also capable of adapting links for a local copy (i.e. from absolute to relative). Any suggestions? Christian Hennecke **= Email 2 ==========================** Date: Wed, 13 Mar 2002 09:38:47 +0000 From: csaba.raduly at sophos.com Subject: Re: WGet URL mangling problems On 13/03/2002 04:21:52 owner-os2-unix wrote: >When I use WGet to mirror web sites that use encoded unsafe character, >e.g. spaces, I always end up with a local copy that is not browseable. >For instance, a directory "20. Juli 1944" is saved with the filename >"20.%20Juli%201944". Version 1.7 did a translation for some characters, >e.g. %df or ß, but used a wrong codepage (probably Latin-1 instead of >OS/2's cp850). The new version 1.8 that is available at Hobbes doesn't >even demangle that URL any more (this is noted in the NEWS file). > >This is really a problem as I don't know any downloading tool that is >also capable of adapting links for a local copy (i.e. from absolute to >relative). > Did you try the -k (--convert-links) option of wget ? -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: csaba.raduly at sophos.com http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933 **= Email 3 ==========================** Date: Wed, 13 Mar 2002 10:01:07 +0000 From: John Poltorak Subject: Need help installing GCC 3.0.3 I have the install instructions for gcc 3.0.3 over and over again and AFAICS this script should install emx/gcc 0.9d and then gcc 3.0.3 assuming that all the relevant archives have already been downloaded into the REPOSITORY:- set repository=r:\unixos2\ports for %%x in (%repository%\emx\*.zip) do unzip -o %%x -d c:/ 1>nul 2>&1 unzip -o %repository%\emx\emxfix04.zip -d c:/ 1>nul 2>&1 unzip -o %repository%\binutils\binutils-os2-2.11.2-bin.zip -d c:/ unzip -o %repository%\gcc\gcc-os2-3.0.3-beta-gcc.zip -d c:/ unzip -o %repository%\gcc\gcc-os2-3.0.3-beta-goc.zip -d c:/ unzip -o %repository%\gcc\gcc-os2-3.0.3-beta-gpp.zip -d c:/ set PATH=c:\emx\bin.new;c:\emx\bin;c:\usr\bin;c:\os2; set beginlibpath=c:\emx\dll; set C_INCLUDE_PATH=c:/emx/include; set CPLUS_INCLUDE_PATH=c:/emx/include; set LIBRARY_PATH=c:/emx/lib c: cd \emx\include call long cd \emx\lib make cd \emx\lib\gcc-lib\i386-pc-os2_emx\3.0.3 make Is there anything I have missed/overlooked? Is there any way to verify that gcc 3.0.3 is correctly installed? I have been trying to build Perl v5.6.1 using gcc 3.0.3 for over two weeks but am no closer to sorting out why I get error msgs like this:- Finding dependencies for malloc.obj. cpp0.exe: warning: is shorter than expected malloc.c:505:5: #endif without #if -- John **= Email 4 ==========================** Date: Wed, 13 Mar 2002 14:06:16 +0100 (CET) From: "Christian Hennecke" Subject: Re: WGet URL mangling problems On Wed, 13 Mar 2002 09:38:47 +0000, csaba.raduly at sophos.com wrote: >>This is really a problem as I don't know any downloading tool that is >>also capable of adapting links for a local copy (i.e. from absolute to >>relative). >> > >Did you try the -k (--convert-links) option of wget ? Yes, of course. Christian Hennecke **= Email 5 ==========================** Date: Wed, 13 Mar 2002 14:11:31 +0100 (CET) From: "Christian Hennecke" Subject: Re: WGet URL mangling problems On Tue, 12 Mar 2002 22:14:51 -0800, Dave and Natalie wrote: >While not a *nix program, you might want to check sslurp (hobbes). It seems to demangle to an absolute address on your harddrive, eg file:///UTILS/sslurp/www.whatever.com/welcome.html. Has a few other neat features such as acting as a simple proxy, both caching and simple filtering. I've tried Sslurp before and it is not an option. While it is basically a fine program, the demangling doesn't "work right". You have to use Sslurp as a proxy to access the pages. This means that every downloaded site has to start from the same directory on your harddrive for Sslurp to be able to "resolve" the address or otherwise you have to change Sslurp's options each time. Both are not viable solutions. With the first one I'm going to lose oversight and the second is pretty tiresome, especially since I then would have to reconfigure my browser and my local caching proxy. Christian Hennecke