From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Mon, 1 Apr 2002 04:23:06 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 181 ************************************************** Sunday 31 March 2002 Number 181 ************************************************** Subjects for today 1 Re: Re: Building Perl.exe as a test of manhood ;-) : Jun Sawataishi 2 Re: ht://Dig : Dave and Natalie" 3 GREP v2.5 : John Poltorak 4 BISON v1.35 : John Poltorak 5 ht://Dig : John Poltorak 6 NTP server : John Poltorak 7 gcc 3.0.3 searchpath for LIB and INCLUDE : John Poltorak 8 Re: iconv.a : John Poltorak 9 Re: iconv.a : John Poltorak 10 Re: iconv.a : Andrew Zabolotny" 11 Re: iconv.a : Andrew Zabolotny" 12 shell builtin '.' command : John Poltorak 13 unixos2-announce : Ted Sikora **= Email 1 ==========================** Date: Mon, 01 Apr 2002 01:17:30 +0900 From: Jun Sawataishi Subject: Re: Re: Building Perl.exe as a test of manhood ;-) At Thu, 29 Mar 2001 15:00:23 -0800, mlaitio wrote: > >On Tue, Mar 26, 2002 at 11:07:25AM -0500, Henry Sobotka wrote: > >Configure -des -D prefix=c:/usr/lib > I hope that you will not put this drive-letter fixed version to the > UnixOS2 distribution, as I am using totally different directory for the > OS/2-tools. (C is only small fat-partition which I can build very fastly). Have you read README.os2 (or manpage of perlos2 [1]) ? You can use PERLLIB_PREFIX env. var. to solve the problem mentioned. /*-------------------------------------------------------- from perlos2.1 */ ENVIRONMENT Here we list environment variables with are either OS/2- and DOS- and Win*-specific, or are more important under OS/2 than under other OSes. `PERLLIB_PREFIX' Specific for EMX port. Should have the form path1;path2 or path1 path2 If the beginning of some prebuilt path matches path1, it is substituted with path2. Should be used if the perl library is moved from the default location in preference to `PERL(5)LIB', since this would not leave wrong entries in at INC. Say, if the com- piled version of perl looks for at INC in f:/perllib/lib, and you want to install the library in h:/opt/gnu, do set PERLLIB_PREFIX=f:/perllib/lib;h:/opt/gnu /*------------------------------------------------------------------*/ How abult set the env. var. like this: set PERLIB_PREFIX=c:/usrlib;x:/foo/bar # OS/2 is not a question, it's a solution. # SAWATAISHI Jun # http://www2s.biglobe.ne.jp/~vtgf3mpr/ **= Email 2 ==========================** Date: Mon, 01 Apr 2002 08:55:19 -0800 From: "Dave and Natalie" Subject: Re: ht://Dig On Mon, 1 Apr 2002 10:46:17 +0000, John Poltorak wrote: > >Has anyone ever tried building ht://Dig - the widely used Unix WWW search >engine? > > >The homepage is here:- > > >http://www.htdig.org/ I tried a few years back. EMX was missing something (A file system struct, can't remember the include now) > > >I just gave it a quick try, but it stopped with:- > > >checking for ar... missing_ar >configure: error: No ar utility found. > > >Not sure why this occurs since I do have an ar.exe on the path... > Try SET ar=ar.exe Dave **= Email 3 ==========================** Date: Mon, 1 Apr 2002 08:59:01 +0000 From: John Poltorak Subject: GREP v2.5 A new release of GREP (v2.5) appeared at GNU a couple of weeks ago. See:- ftp://ftp.gnu.org/pub/gnu/grep/grep-2.5.tar.gz Wonder if this will build on OS/2 straight out of the box... -- John **= Email 4 ==========================** Date: Mon, 1 Apr 2002 09:26:04 +0000 From: John Poltorak Subject: BISON v1.35 There's a new version of BISON (1.35) at GNU. See:- ftp://ftp.gnu.org/pub/gnu/bison/bison-1.35.tar.gz -- John **= Email 5 ==========================** Date: Mon, 1 Apr 2002 10:46:17 +0000 From: John Poltorak Subject: ht://Dig Has anyone ever tried building ht://Dig - the widely used Unix WWW search engine? The homepage is here:- http://www.htdig.org/ I just gave it a quick try, but it stopped with:- checking for ar... missing_ar configure: error: No ar utility found. Not sure why this occurs since I do have an ar.exe on the path... -- John **= Email 6 ==========================** Date: Mon, 1 Apr 2002 11:42:56 +0000 From: John Poltorak Subject: NTP server Has anyone ever tried building the NTP v4 server on OS/2? It's available here:- ftp://ftp.udel.edu/pub/ntp/ntp4/ntp-4.1.72.tar.gz -- John **= Email 7 ==========================** Date: Mon, 1 Apr 2002 12:41:53 +0000 From: John Poltorak Subject: gcc 3.0.3 searchpath for LIB and INCLUDE Does anyone know of the defaultsearch paths gcc v3.0.3 uses for LIB and INCLUDE if they are not specified by a variable? -- John **= Email 8 ==========================** Date: Mon, 1 Apr 2002 13:42:21 +0000 From: John Poltorak Subject: Re: iconv.a On Mon, Apr 01, 2002 at 05:23:12PM +0400, Andrew Zabolotny wrote: > On Fri, 29 Mar 2002 14:33:25 +0000, John Poltorak wrote: > > >> can find it in the same place where gettext 0.11.1 binary distribution is - > >> http://195.131.97.220:9000/zap/os2/iconv-0.1.0.zip > >> But it does not contain yet the iconv tool - just the iconv binary library > >> and sources/makefile. > >Can you check this zipfile? > >It looks to be missing a few files. > If you mean uconv.h then it is part of gcc 3.0.3 (it is inside the *-gcc.zip > archive). Ah... I was trying to build it with gcc 2.8.1. > If not, please be more specific - which files/sympthoms etc? It compiles fine > here. Is this what I should expect? :- Simple POSIX iconv() implementation for gcc+emx/OS2 Length EAs ACLs Date Time Name -------- --- ---- ---- ---- ---- 0 0 0 13-02-02 14:26 emx/ 0 0 0 13-02-02 14:23 emx/bin/ 0 0 0 13-02-02 14:23 emx/dll/ 0 0 0 13-02-02 14:23 emx/include/ 0 0 0 13-02-02 14:23 emx/lib/ 0 0 0 13-02-02 14:22 emx/src/ 0 0 0 13-02-02 14:22 emx/src/libiconv-0.1.0/ 5167 0 0 13-02-02 14:11 emx/src/libiconv-0.1.0/iconv.c 1286 0 0 10-02-02 11:40 emx/src/libiconv-0.1.0/iconv.h 1473 0 0 13-02-02 14:23 emx/src/libiconv-0.1.0/Makefile 2121 0 0 13-02-02 14:26 emx/src/libiconv-0.1.0/README -------- ----- ----- ------- 10047 0 0 11 files It just seems strange including the dirs; bin, dll, include, lib in the archive when they are empty. I thought there might be something missing. > > Greetings, > _\ndy -- John **= Email 9 ==========================** Date: Mon, 1 Apr 2002 15:57:15 +0000 From: John Poltorak Subject: Re: iconv.a On Mon, Apr 01, 2002 at 06:41:49PM +0400, Andrew Zabolotny wrote: > On Mon, 1 Apr 2002 13:42:21 +0000, John Poltorak wrote: > > >Is this what I should expect? :- > Yes. Those directory will be used later > ("Reserved For Great Future Extensions (C) M$"). > I'm going to release later a updated iconv, although the library itself will > likely not change much. OK , I managed to build iconv.a but still can't get intl.dll built. When building GETTEXT I get the error:- emxbind: cannot export symbol _nl_msg_cat_cntr of type 9 Any idea what could be causing this? > Greetings, > _\ndy -- John **= Email 10 ==========================** Date: Mon, 01 Apr 2002 17:23:12 +0400 From: "Andrew Zabolotny" Subject: Re: iconv.a On Fri, 29 Mar 2002 14:33:25 +0000, John Poltorak wrote: >> can find it in the same place where gettext 0.11.1 binary distribution is - >> http://195.131.97.220:9000/zap/os2/iconv-0.1.0.zip >> But it does not contain yet the iconv tool - just the iconv binary library >> and sources/makefile. >Can you check this zipfile? >It looks to be missing a few files. If you mean uconv.h then it is part of gcc 3.0.3 (it is inside the *-gcc.zip archive). If not, please be more specific - which files/sympthoms etc? It compiles fine here. Greetings, _\ndy **= Email 11 ==========================** Date: Mon, 01 Apr 2002 18:41:49 +0400 From: "Andrew Zabolotny" Subject: Re: iconv.a On Mon, 1 Apr 2002 13:42:21 +0000, John Poltorak wrote: >Is this what I should expect? :- Yes. Those directory will be used later ("Reserved For Great Future Extensions (C) M$"). I'm going to release later a updated iconv, although the library itself will likely not change much. Greetings, _\ndy **= Email 12 ==========================** Date: Mon, 1 Apr 2002 19:49:37 +0000 From: John Poltorak Subject: shell builtin '.' command I just came across the bourne shell's builtin '.' command. It looks pretty useful for amending your enviroment via an external routine - just what I was looking for some days ago... :- The following describes the special and regular built-in commands: . file [arg1 ...] Execute the commands in file in the current envi- ronment. The file is searched for in the directo- ries of PATH. If arguments are given, the posi- tional parameters may be used to access them while file is being executed. If no arguments are given, the positional parameters are those of the environ- ment the command is used in. -- John **= Email 13 ==========================** Date: Mon, 01 Apr 2002 20:30:30 -0500 From: Ted Sikora Subject: unixos2-announce is back. Had forgotten it when I redid the site on the new server. As promised you should see a major improvement in speed on or about the 5th. I'll keep you posted. Still need to finish the links and add some content to the Docs section. -- Ted Sikora tsikora at ntplx.net