Date: Sat, 25 Jan 2003 02:28:30 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 57 ************************************************** Friday 24 January 2003 Number 57 ************************************************** Subjects for today 1 Re: test message : IanM" 2 XFree86 : John Poltorak 3 Re: SLANG : Patrick Ash 4 Re: Please help to newbe ;-) : John Poltorak 5 Starting from scratch : John Poltorak 6 Please help to newbe ;-) : Alex Samorukov 7 regex.h : John Poltorak 8 SLANG : John Poltorak 9 Re: XFree86 : Sebastian Wittmeier (ShadoW)" 10 Re: Help Getting Perl to Run : Henry Sobotka 11 Re: Help Getting Perl to Run : Henry Sobotka 12 Re: Starting from scratch : Dave Saville" 13 Re: [PosixOS2] net & netinet : Ted Sikora 14 Re: Starting from scratch : John Poltorak 15 Re: Starting from scratch : Maynard" 16 Re: Re: [PosixOS2] net & netinet : Ted Sikora 17 Re: XFree86 : John Poltorak 18 Re: Re: [PosixOS2] net & netinet : Ted Sikora 19 RECODE : John Poltorak 20 Re: Starting from scratch : Maynard" 21 CTAGS error : John Poltorak 22 Re: Re: [PosixOS2] net & netinet : Ted Sikora 23 Using Posix/2 headers to build Perl : Marty" 24 Re: SLANG : John Poltorak 25 Multple Sendmail queues : Ted Sikora 26 Re: Starting from scratch : Maynard" 27 Re: Help Getting Perl to Run : Maynard" 28 Re: XFree86 : Sebastian Wittmeier (ShadoW)" 29 Re: Help Getting Perl to Run : John Poltorak 30 Re: Help Getting Perl to Run : Hakan" 31 Re: XFree86 : John Poltorak 32 Re: Help Getting Perl to Run : Hakan" 33 Re: Re: [PosixOS2] net & netinet : John Poltorak 34 Re: Starting from scratch : Dave Saville" 35 Re: Starting from scratch : John Poltorak 36 Re: Help Getting Perl to Run : Hakan" 37 Re: Using Posix/2 headers to build Perl : John Poltorak 38 Re: Help Getting Perl to Run : Hakan" 39 Re: Starting from scratch : John Poltorak 40 Re: Help Getting Perl to Run : Henry Sobotka 41 Re: Help Getting Perl to Run : Maynard" 42 Re: Using Posix/2 headers to build Perl : Marty" 43 Re: Help Getting Perl to Run : Hakan" 44 Re: Help Getting Perl to Run : Maynard" 45 Re: Help Getting Perl to Run : Maynard" 46 Re: Help Getting Perl to Run : Hakan" **= Email 1 ==========================** Date: Sat, 25 Jan 2003 10:01:47 +1100 (EDT) From: "IanM" Subject: Re: test message On Fri, 24 Jan 2003 17:53:15 -0500, Ted Sikora wrote: >probably won't work It did ;-) Cheers IanM http://www.os2site.com/ Dyslexics of the world, untie! **= Email 2 ==========================** Date: Sat, 25 Jan 2003 10:08:40 +0000 From: John Poltorak Subject: XFree86 I'd like to start thinking about how to build XFree86 with the build system, so if anyone on this list has ever built it, I'd appreciate any tips... It is my intention to build it with the correct FHS pathnames which exist on Unix so that the root directory will not be \XFree86. Holger has mentioned that this should not be too difficult to achieve, especially with v4. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Sat, 25 Jan 2003 10:21:48 +0000 From: Patrick Ash Subject: Re: SLANG When I first built slang 1.44, I used the traditional configure/make route with some additions to the configure script specific to Os/2. the library built, and I was able to use it in building lynx, but there were several problems. first, it was about 3x the size of the lib that the pc version buildt. Next, when using the library in a build, the configure script failed to find and link to it about a quarter of the time. I never had that problem with the other version. Pat On Sat, 25 Jan 2003 12:25:34 +0000, John Poltorak wrote: > >There seems to be two different ways to build the SLANG library, either >via the normal Unix route of configure & make or via the PC method. > >Should the resultant slang library turn out the same? -- Patrick Ash patash at comcast.net This OS/2 system uptime is 3 days, 02:27 hours and 16 seconds _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Sat, 25 Jan 2003 10:21:58 +0000 From: John Poltorak Subject: Re: Please help to newbe ;-) Hi Alex, Welcome to the list. On Sat, Jan 25, 2003 at 11:08:34AM +0200, Alex Samorukov wrote: > Hi. I downloaded ux2_bootstrap.cmd and run it. It seems, that all > installed corrextly, 10x for godd work. That's good to hear. Is there any chance that you could submit your Perl tests summary? ie the last few lines from perl.log. I'd like to know what sort of variations people are having in their builds of Perl. > How i can submit application ported by me to your project ? I'm not sure what you are asking... You can test whether the build system works with any application by adding an entry to build.table with the necessary paramaters, along with any additional scripts or patches which are required. I would be interested in hearing about any success which anyone has had with any apps not previously mentioned. If you have ported something yourself, then please provide patches and build instructions. If you have put your port together into an arhive, maybe upload it to:- ftp://os2ports.com/incoming/ > P.S. Currently i builded majordomo and it seems to work! > Some changes was required for makefile, install script and wrapper.c. I would be interested in this myself. I have hacked Majordomo myself and have been using it for almost three years, but my hack is not complete. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Sat, 25 Jan 2003 10:39:52 +0000 From: John Poltorak Subject: Starting from scratch If you are in a position to do so, I would start again from scratch and delete everything apart from \unixos2\archive, get the bootstrap script and run it to create the build environment and the Perl. Afterwards run make_distro which consists of:- call build autoconf-2.13 call build byacc call build flex call build ncurses call build make-3.76.1 call build autoconf-2.50 call build automake-1.4-p5 call build make setlocal cd \unixos2\workdir\make-3.79.1 make copy make.exe \usr\bin endlocal call build autoconf call build gettext call build texinfo call build automake call build bison Of course you could simply run it now, but you may not have the required environment for it to work properly. Please let me know how you get on with this. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Sat, 25 Jan 2003 11:08:34 +0200 From: Alex Samorukov Subject: Please help to newbe ;-) Hi. I downloaded ux2_bootstrap.cmd and run it. It seems, that all installed corrextly, 10x for godd work. How i can submit application ported by me to your project ? P.S. Currently i builded majordomo and it seems to work! Some changes was required for makefile, install script and wrapper.c. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Sat, 25 Jan 2003 11:34:27 +0000 From: John Poltorak Subject: regex.h Where do I get regex.h ? Diffutils requires one but I can't find one that is satisfactory. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Sat, 25 Jan 2003 12:25:34 +0000 From: John Poltorak Subject: SLANG There seems to be two different ways to build the SLANG library, either via the normal Unix route of configure & make or via the PC method. Should the resultant slang library turn out the same? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Sat, 25 Jan 2003 13:34:47 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: XFree86 Oh, nice. Then we will get some new Everblue applications, too. I'd suggest you begin with the client side and build the dlls (like xt.dll, xaw.dll, xext.dll) and X11 applications. These are less OS/2-specific. When I tried to build ice.dll (XFree86/2 3.3.6), I had problems with missing functions that I couldn't find anywhere. Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Sat, 25 Jan 2003 13:36:45 -0500 From: Henry Sobotka Subject: Re: Help Getting Perl to Run My mistake in confusing gcc's -mcpu and -march flags. Try the binaries in http://www.axess.com/user/sobotka/perl/. Just unzip over the original from Hobbes (being sure to overwrite) and the SIGILL should go away. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Sat, 25 Jan 2003 13:36:45 -0500 From: Henry Sobotka Subject: Re: Help Getting Perl to Run My mistake in confusing gcc's -mcpu and -march flags. Try the binaries in http://www.axess.com/user/sobotka/perl/. Just unzip over the original from Hobbes (being sure to overwrite) and the SIGILL should go away. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Sat, 25 Jan 2003 14:11:05 +0000 (GMT) From: "Dave Saville" Subject: Re: Starting from scratch Deleted everything except the archives and a fresh build of perl gives Failed 5/726 test scripts, 99.31% okay. 9/68656 subtests failed, 99.99% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- --------- ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 lib/os2_base.t 1 256 19 1 5.26% 8 lib/os2_process.t 3 768 227 3 1.32% 90 174 209 lib/os2_process_kid.t 227 3 1.32% 90 174 209 op/stat.t 73 1 1.37% 44 Where is this make_distro thing hiding? -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Sat, 25 Jan 2003 14:44:05 -0500 From: Ted Sikora Subject: Re: [PosixOS2] net & netinet > > BTW: Is your ux2bs list dead? You did invite me, I subscribed but did > not get any mail from this list yet. > > Thomas. > > Try it again. I just tested it and it's fine I unsubscribed and subscribed fine. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Sat, 25 Jan 2003 14:45:43 +0000 From: John Poltorak Subject: Re: Starting from scratch On Sat, Jan 25, 2003 at 02:11:05PM +0000, Dave Saville wrote: > Deleted everything except the archives and a fresh build of perl > gives > > Failed 5/726 test scripts, 99.31% okay. 9/68656 subtests failed, > 99.99% okay. > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 Bug. > lib/os2_base.t 1 256 19 1 5.26% 8 Hmm... > lib/os2_process.t 3 768 227 3 1.32% 90 174 209 > lib/os2_process_kid.t 227 3 1.32% 90 174 209 Usual problem... > op/stat.t 73 1 1.37% 44 I very often get this one too, but not always. Never really figured out the problem There's no hostname failure. Have you added something? > Where is this make_distro thing hiding? Maybe do a RSYNC refresh with my rsync server. Powerusersbbs.net may not have been updated yet. All that it consists of is:- call build autoconf-2.13 call build byacc call build flex call build ncurses call build make-3.76.1 call build autoconf-2.50 call build automake-1.4-p5 call build make setlocal cd \unixos2\workdir\make-3.79.1 make copy make.exe \usr\bin endlocal call build autoconf call build gettext call build texinfo call build automake > -- > Regards > > Dave Saville > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Sat, 25 Jan 2003 14:48:53 -0600 (CST) From: "Maynard" Subject: Re: Starting from scratch On Sat, 25 Jan 2003 14:45:43 +0000, John Poltorak wrote: Dave: Failed 5/726 test scripts, 9/68656 subtests failed, Maynard: Failed 4/726 test scripts, 6/68650 subtests failed, note the different number of subtests run. >> lib/os2_base.t 1 256 19 1 5.26% 8 >Hmm... pre-existing \usr\lib\perlB12E.dll >> op/stat.t 73 1 1.37% 44 me too this time; at line 318; this has passed before may have to do with how it's invoked, and piped output. It passes on a standalone test: [P:\UNIXOS2\workdir\perl-5.8.0\t]perl op\stat.t |grep 44 ok 44 - -t on STDIN >There's no hostname failure. Have you added something? This failure can be removed by setting a value for DOMAIN in the build environment. Also, it may not be tested under all configurations ?? lib/Net/t/hostname Use of uninitialized value in string eq at ../lib/Net/t/hostname.t line 39 i.e. DOMAIN -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Sat, 25 Jan 2003 14:50:21 -0500 From: Ted Sikora Subject: Re: Re: [PosixOS2] net & netinet Anyone having trouble? John I have several emails staying in MQUEUE with connection refused by mail.xx.xx server and a few with server socket errors. Delete them?.. did already. Ted Sikora wrote: >> >> BTW: Is your ux2bs list dead? You did invite me, I subscribed but did >> not get any mail from this list yet. >> >> Thomas. >> >> > > > Try it again. I just tested it and it's fine I unsubscribed and > subscribed fine. > > -- > Ted Sikora > tsikora at ntplx.net > > > > _______________________________________________ > UX2BS mailing list > UX2BS at powerusersbbs.net > http://powerusersbbs.net/mailman/listinfo/ux2bs > > -- -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Sat, 25 Jan 2003 14:52:32 +0000 From: John Poltorak Subject: Re: XFree86 On Sat, Jan 25, 2003 at 01:34:47PM +0100, Sebastian Wittmeier (ShadoW) wrote: > Oh, nice. Then we will get some new Everblue applications, too. > I'd suggest you begin with the client side and build the dlls (like > xt.dll, xaw.dll, xext.dll) and X11 applications. These are less > OS/2-specific. OK. Where do I start? Presumably I need some XFree86 headers and libs... I hope the libs do not have hard coded paths to /XFree86, although I suppose it should be possible to recreate the libs if necessary. > When I tried to build ice.dll (XFree86/2 3.3.6), I had problems with > missing functions that I couldn't find anywhere. They were probably on the developer's hard disk somewhere :-)... The good thing about starting everything from the begining is that there is a controlled environment and every single file should be traceable to a particular source, and results should be verifiable by everyone else. > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Sat, 25 Jan 2003 14:54:18 -0500 From: Ted Sikora Subject: Re: Re: [PosixOS2] net & netinet By staying in MQUEUE they seem to be messing with the sendmail queue's performance. Anyway to have them expunged or returned to origin if not deliverable? Ted Sikora wrote: > Anyone having trouble? John I have several emails staying in MQUEUE with > connection refused by mail.xx.xx server and a few with server socket > errors. Delete them?.. did already. > > Ted Sikora wrote: > >>> >>> BTW: Is your ux2bs list dead? You did invite me, I subscribed but did >>> not get any mail from this list yet. >>> >>> Thomas. >>> >>> >> >> >> Try it again. I just tested it and it's fine I unsubscribed and >> subscribed fine. >> >> -- >> Ted Sikora >> tsikora at ntplx.net >> >> >> >> _______________________________________________ >> UX2BS mailing list >> UX2BS at powerusersbbs.net >> http://powerusersbbs.net/mailman/listinfo/ux2bs >> >> > > -- -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Sat, 25 Jan 2003 15:07:06 +0000 From: John Poltorak Subject: RECODE Can someone try building RECODE and explain what the error is due to? Maybe it needs libtool installing? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Sat, 25 Jan 2003 15:17:02 -0600 (CST) From: "Maynard" Subject: Re: Starting from scratch Here's what I can report after starting from scratch: >>call build autoconf-2.13 >>call build byacc >>call build flex [P:\unixos2\lib]flex --version flex version 2.5.4 >>call build ncurses >>call build make-3.76.1 >>call build autoconf-2.50 >>call build automake-1.4-p5 >>call build make [P:\unixos2\lib]make --version GNU Make version 3.79.1, by Richard Stallman and >>setlocal >>cd \unixos2\workdir\make-3.79.1 >>make >>copy make.exe \usr\bin >>endlocal >>call build autoconf [P:\unixos2\workdir\autoconf-2.57\bin]sh # autoconf --version autoconf (GNU Autoconf) 2.57 (release for OS/2) Written by David J. MacKenzie and Akim Demaille. log ends with: make[1]: Leaving directory `P:/unixos2/workdir/autoconf-2.57/doc' note the following autoconf files in \usr: Directory: P:\usr\local\TMP\bin autoconf 22378 1-25-2003 2:36p A Directory: P:\usr\local\TEST\bin autoconf 5178 1-25-2003 2:23p A Directory: P:\usr\local\bin autoconf 7971 1-25-2003 2:45p A This is the point of failure. >>call build gettext gettext is not in the build.table (from poweruserbbs) so retrieve/wget fails it is in build.table on your system Later, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Sat, 25 Jan 2003 15:32:22 +0000 From: John Poltorak Subject: CTAGS error Building CTAGS produces this error:- gcc -I. -I. -DHAVE_CONFIG_H -c main.c main.c: In function `recurseIntoDirectory': main.c:342: `DIR' undeclared (first use in this function) main.c:342: (Each undeclared identifier is reported only once main.c:342: for each function it appears in.) main.c:342: parse error before `const' main.c:343: `dir' undeclared (first use in this function) main.c:350: warning: assignment makes pointer from integer without a cast main.c:352: dereferencing pointer to incomplete type main.c:353: dereferencing pointer to incomplete type main.c:357: dereferencing pointer to incomplete type main.c:359: dereferencing pointer to incomplete type make: *** [main.o] Error 1 gcc -I. -I. -DHAVE_CONFIG_H -c main.c main.c: In function `recurseIntoDirectory': main.c:342: `DIR' undeclared (first use in this function) main.c:342: (Each undeclared identifier is reported only once main.c:342: for each function it appears in.) main.c:342: parse error before `const' main.c:343: `dir' undeclared (first use in this function) main.c:350: warning: assignment makes pointer from integer without a cast main.c:352: dereferencing pointer to incomplete type main.c:353: dereferencing pointer to incomplete type main.c:357: dereferencing pointer to incomplete type main.c:359: dereferencing pointer to incomplete type make: *** [main.o] Error 1 Anyone know what's wrong? BTW, I only get this far when *not* rebuilding configure. If autoconf runs first then the configure script created must be faulty since configure itself stops here:- checking "for fpos_t"... yes checking "for clock_t"... yes configure: error: cannot find install-sh or install.sh in . ./.. ./../.. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 22 ==========================** Date: Sat, 25 Jan 2003 15:45:33 -0500 From: Ted Sikora Subject: Re: Re: [PosixOS2] net & netinet John Poltorak wrote: > On Sat, Jan 25, 2003 at 02:50:21PM -0500, Ted Sikora wrote: > >>Anyone having trouble? > > > I am. There are quite a lot of emails not getting delivered. > > Check %ETC%\sendmail.err for source of problems... > > 2 or three ... I deleted them all about 5 or 6 total This all started last night. Yours said connection refused. I read somewhere OS/2 Sendmail does a dns check before it sends (Unix does not) and this is the source of send headaches. There's a way to turn this off. Here's the offending domains **Anyone using these** Same messages from spammers so it's hard to distinguish. mail.os2.ru mail*.gpmail.spb.ru mailin*.sol.t-online.de pbimail*.prodigy.net -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 23 ==========================** Date: Sat, 25 Jan 2003 15:56:07 -0500 (EST) From: "Marty" Subject: Using Posix/2 headers to build Perl I'm working on getting Perl built using Posix/2. I managed to get up to perlio.c so far. The first problem I hit was what John reported on his original run. This can be fixed by updating stddef.h to add the following: #if !defined (offsetof) #define offsetof(s,m) (size_t)(&(((s *)0)->m)) #endif That will get you a bit further to pp_sys.c. It will then complain about the hostent structure being "an incomplete type" (IOW undefined in this case). I modified unistdx.h to include the definitions for these structures, borrowed from EMX. I don't know if this is the right place to put these definitions, but it gets us further along. So I added the following lines to unistdx.h: struct hostent { char *h_name; /* official name of host */ char **h_aliases; /* alias list */ unsigned long h_addrtype; /* host address type */ unsigned long h_length; /* length of address */ char **h_addr_list; /* list of addresses from name server */ #define h_addr h_addr_list[0] /* address, for backward compatiblity */ }; struct netent { char *n_name; /* official name of net */ char **n_aliases; /* alias list */ unsigned long n_addrtype; /* net address type */ unsigned long n_net; /* network # */ }; struct servent { char *s_name; /* official service name */ char **s_aliases; /* alias list */ unsigned long s_port; /* port # */ char *s_proto; /* protocol to use */ }; struct protoent { char *p_name; /* official protocol name */ char **p_aliases; /* alias list */ unsigned long p_proto; /* protocol # */ }; That gets me up to perlio.c, which throws many errors. The first batch say: perlio.c: In function `perlsio_binmode': perlio.c:74: warning: passing arg 1 of `setmode' makes pointer from integer without a cast perlio.c:74: too many arguments to function `setmode' perlio.c:74: warning: comparison between pointer and integer The setmode function defined in unistdx.h in Posix/2 specifies only one (const char *) parameter. It looks like Perl wants two integers as parameters. What does the Posix standard say about this function? What should it be? _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 24 ==========================** Date: Sat, 25 Jan 2003 16:17:25 +0000 From: John Poltorak Subject: Re: SLANG On Sat, Jan 25, 2003 at 10:21:48AM +0000, Patrick Ash wrote: > When I first built slang 1.44, I used the traditional configure/make > route with some additions to the configure script specific to Os/2. > the library built, and I was able to use it in building lynx, but > there were several problems. > > first, it was about 3x the size of the lib that the pc version > buildt. Next, when using the library in a build, the configure script > failed to find and link to it about a quarter of the time. I never > had that problem with the other version. > > Pat Pat, Since you are familiar with SLANG, can you try:- build slang and tell me whether the lib seems OK? Personally, I would like to get the Unix version working properly because it will actually install the files in the correct locations for you without any additional effort. I don't understand why it should be so much bigger though... could it be due to different compiler options? Have you been able to build the the sample curses programs in src\curses? They have never worked for me. BTW there is a USENET newsgroup dedicated to SLANG - alt.lang.s-lang. It would be nice to see a few OS/2 users in there to make sure JED does not forget about us. > > On Sat, 25 Jan 2003 12:25:34 +0000, John Poltorak wrote: > > > > >There seems to be two different ways to build the SLANG library, either > >via the normal Unix route of configure & make or via the PC method. > > > >Should the resultant slang library turn out the same? > > -- > Patrick Ash > patash at comcast.net > > This OS/2 system uptime is 3 days, 02:27 hours and 16 seconds > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 25 ==========================** Date: Sat, 25 Jan 2003 16:34:23 -0500 From: Ted Sikora Subject: Multple Sendmail queues Get this: ftp://os2ports.com/incoming/sendm.zip and then run: http://world.altavista.com/ for http://www.os2.spb.ru/guru/sendmail/ for the translation. It's not perfect but pretty easy to figure out. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 26 ==========================** Date: Sat, 25 Jan 2003 18:40:06 -0600 (CST) From: "Maynard" Subject: Re: Starting from scratch On Sat, 25 Jan 2003 21:32:36 +0000, John Poltorak wrote: >What you could do is an RSYNC with my system and carry on after changing >make_distro.cmd to start from the point of failure. I deleted all of workdir and ran the complete make_distro.cmd Judging from .... [P:\UNIXOS2\LIB]sh # autoconf --version autoconf (GNU Autoconf) 2.57 (release for OS/2) I take it that the third autoconf was successful. But that looks like the end. gettext.log tails with: P:/usr/bin/install.exe: msguniq.exe: No such file or directory make[2]: *** [install-binPROGRAMS] Error 1 make[2]: Leaving directory `P:/unixos2/workdir/gettext-0.11.5/src' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `P:/unixos2/workdir/gettext-0.11.5/src' make: *** [install-recursive] Error 1 texinfo.log tails with: checking for sigblock... no ./configure[3961]: syntax error: `done' unexpected make make: *** No targets specified and no makefile found. Stop. make: Nothing to be done for `install'. automake.log tails with: automake.texi:5328: Misplaced `{'. automake.texi:5328: Misplaced `}'. Making info file `automake.info' from `automake.texi'. make[1]: *** [automake.info] Error 1 make[1]: Leaving directory `P:/unixos2/workdir/automake-1.7.2' make: *** [install-recursive] Error 1 _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 27 ==========================** Date: Sat, 25 Jan 2003 18:48:13 -0600 (CST) From: "Maynard" Subject: Re: Help Getting Perl to Run Hakan, >Further, should I attempt to >build perl, I assume I have to install a C compiler and spend time >getting that to work. > > Actually, "the mission" of UnixOS2, and particularly ux2, is to generate a build development environment which obliterates most of your legitimate grumbles. Today, I started running ux2_bootstrap.cmd at 13:49 and perl was built and installed at 14:13 without intervention; following exactly the instructions which John provided and which you just quoted back to him. We're here to help, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 28 ==========================** Date: Sat, 25 Jan 2003 18:48:27 +0100 (CET) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: XFree86 On Sat, 25 Jan 2003 14:52:32 +0000, John Poltorak wrote: >OK. Where do I start? Download XFree86/2 source and look into the lib directory. Try to compile xlib (x11.dll). >Presumably I need some XFree86 headers and libs... I hope the libs do not >have hard coded paths to /XFree86, although I suppose it should be >possible to recreate the libs if necessary. Libs? Build everything yourself! Sebastian _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 29 ==========================** Date: Sat, 25 Jan 2003 19:04:58 +0000 From: John Poltorak Subject: Re: Help Getting Perl to Run On Fri, Jan 24, 2003 at 09:57:57PM -0500, Hakan wrote: > Can anyone point out what else I need to do to get perl up and running? Personally, I would suggest forgetting about that version and build v5.8.0 for yourself, just like many people on this list have already done. By building for yourself it will be configured to your own environment and you won't need to mess around with anything to get it going. All you need to do is use this command:- wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd which will grab a bootstrap script. Run that and it should build Perl. Just make sure that the drive you select for %uxrt% does not already have a \emx and \usr directory. It will download around 30MB in total, which may be a problem if you have a slow connection. If that is the case, you could probably pre-assemble many of the files in the correct location since you are likely to have many of them already. Please let us know how you get on. If it builds successfully, please post the last few lines from perl.log which show the Perl test results summary, which may look something like this:- Failed 7/726 test scripts, 99.04% okay. 36/68650 subtests failed, 99.95% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- ../ext/Socket/Socket.t 29 7424 16 15 93.75% 2-16 ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 ../lib/Net/hostent.t 6 1536 7 6 85.71% 2-7 ../lib/Net/t/hostname.t 2 1 50.00% 1 lib/os2_process.t 5 1280 227 5 2.20% 80 85 94 174 209 lib/os2_process_kid.t 227 5 2.20% 80 85 94 174 209 lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 64 tests and 561 subtests skipped. Best of luck! > Many thanks. > > Hakan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 30 ==========================** Date: Sat, 25 Jan 2003 19:13:06 -0500 (EST) From: "Hakan" Subject: Re: Help Getting Perl to Run John, As much sense as it does make to build perl on my machine, I have limited time and, at least at this time, no interest in learning perl. The only reason I am trying to install it is so I can use swish-e to retrieve and index various websites I have an interest in and swish-e apparently uses a perl script to do so.. Further, should I attempt to build perl, I assume I have to install a C compiler and spend time getting that to work. This is the problem with much of the unix software available -- you download the main application from one site, read the instructions and find out that you have to download several other packages the main application in turn depends on. Fine, you gather the various components, go through a poorly documented installation process and then the program does not work. In my case the perl package required emx (which I had) but also another dll I had to download. Since there was no mention where exactly this dll needed to reside, I dropped it in one of the lib directories. I eventually tried this version of perl on a PPro machine I have and there it seems to work, thus the optimizations probably required a Pentium processor of some kind. The testperl.cmd bombs while testing the installation complaining something about "the core library" and recommends I look at the documentation. This I will do but again I expect to spend time chasing down some little piece of information. Why is it that the OS/2 versions of the unix programs cannot come ready to run and with a decent installer which checks the installation so that the user can actually run the application immediately once it is installed?? Please note that my ranting above is not directed against Henry Sobotka personally, nor against perl, but rather against the unix developer community in general which does not seem to believe in user-friendliness. Open software/free software is no threat to shrink-wrapped software! Hakan On Sat, 25 Jan 2003 19:04:58 +0000, John Poltorak wrote: >On Fri, Jan 24, 2003 at 09:57:57PM -0500, Hakan wrote: > >> Can anyone point out what else I need to do to get perl up and running? > >Personally, I would suggest forgetting about that version and build v5.8.0 >for yourself, just like many people on this list have already done. > >By building for yourself it will be configured to your own environment and >you won't need to mess around with anything to get it going. > >All you need to do is use this command:- > >wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd > > >which will grab a bootstrap script. Run that and it should build Perl. > >Just make sure that the drive you select for %uxrt% does not already have >a \emx and \usr directory. > >It will download around 30MB in total, which may be a problem if you have >a slow connection. If that is the case, you could probably pre-assemble >many of the files in the correct location since you are likely to have >many of them already. > >Please let us know how you get on. > >If it builds successfully, please post the last few lines from perl.log >which show the Perl test results summary, which may look something like >this:- > >Failed 7/726 test scripts, 99.04% okay. 36/68650 subtests failed, 99.95% okay. >Failed Test Stat Wstat Total Fail Failed List of Failed >------------------------------------------------------------------------------- >../ext/Socket/Socket.t 29 7424 16 15 93.75% 2-16 >../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 >../lib/Net/hostent.t 6 1536 7 6 85.71% 2-7 >../lib/Net/t/hostname.t 2 1 50.00% 1 >lib/os2_process.t 5 1280 227 5 2.20% 80 85 94 174 209 >lib/os2_process_kid.t 227 5 2.20% 80 85 94 174 209 >lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 >64 tests and 561 subtests skipped. > > > >Best of luck! > > >> Many thanks. >> >> Hakan > > >-- >John > > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 31 ==========================** Date: Sat, 25 Jan 2003 19:30:08 +0000 From: John Poltorak Subject: Re: XFree86 On Sat, Jan 25, 2003 at 06:48:27PM +0100, Sebastian Wittmeier (ShadoW) wrote: > On Sat, 25 Jan 2003 14:52:32 +0000, John Poltorak wrote: > > >OK. Where do I start? > > Download XFree86/2 source and look into the lib directory. > Try to compile xlib (x11.dll). Do you have a URL for me? I'm not at all certain about where to look. I assume you are talking about v4 ... > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 32 ==========================** Date: Sat, 25 Jan 2003 19:45:59 -0500 (EST) From: "Hakan" Subject: Re: Help Getting Perl to Run Following up on my previous posting -- the perl.INF file talks about an installation program for automatic installation of binary packages, installer.exe, which supposedly automatically configures perl for you. Well, it was not part of the package I downloaded and since I have little interest in manually editing config.PM which seems to be the next thing I am supposed to do, does anyone know where I can find installer.exe? TIA. Hakan On Sat, 25 Jan 2003 19:13:06 -0500 (EST), Hakan wrote: >John, > >As much sense as it does make to build perl on my machine, I have >limited time and, at least at this time, no interest in learning perl. >The only reason I am trying to install it is so I can use swish-e to >retrieve and index various websites I have an interest in and swish-e >apparently uses a perl script to do so.. Further, should I attempt to >build perl, I assume I have to install a C compiler and spend time >getting that to work. > > >This is the problem with much of the unix software available -- you >download the main application from one site, read the instructions and >find out that you have to download several other packages the main >application in turn depends on. Fine, you gather the various >components, go through a poorly documented installation process and >then the program does not work. > >In my case the perl package required emx (which I had) but also another >dll I had to download. Since there was no mention where exactly this >dll needed to reside, I dropped it in one of the lib directories. > >I eventually tried this version of perl on a PPro machine I have and >there it seems to work, thus the optimizations probably required a >Pentium processor of some kind. The testperl.cmd bombs while testing >the installation complaining something about "the core library" and >recommends I look at the documentation. This I will do but again I >expect to spend time chasing down some little piece of information. > >Why is it that the OS/2 versions of the unix programs cannot come ready >to run and with a decent installer which checks the installation so >that the user can actually run the application immediately once it is >installed?? > >Please note that my ranting above is not directed against Henry Sobotka >personally, nor against perl, but rather against the unix developer >community in general which does not seem to believe in >user-friendliness. Open software/free software is no threat to >shrink-wrapped software! > > >Hakan > >On Sat, 25 Jan 2003 19:04:58 +0000, John Poltorak wrote: > >>On Fri, Jan 24, 2003 at 09:57:57PM -0500, Hakan wrote: >> >>> Can anyone point out what else I need to do to get perl up and running? >> >>Personally, I would suggest forgetting about that version and build v5.8.0 >>for yourself, just like many people on this list have already done. >> >>By building for yourself it will be configured to your own environment and >>you won't need to mess around with anything to get it going. >> >>All you need to do is use this command:- >> >>wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd >> >> >>which will grab a bootstrap script. Run that and it should build Perl. >> >>Just make sure that the drive you select for %uxrt% does not already have >>a \emx and \usr directory. >> >>It will download around 30MB in total, which may be a problem if you have >>a slow connection. If that is the case, you could probably pre-assemble >>many of the files in the correct location since you are likely to have >>many of them already. >> >>Please let us know how you get on. >> >>If it builds successfully, please post the last few lines from perl.log >>which show the Perl test results summary, which may look something like >>this:- >> >>Failed 7/726 test scripts, 99.04% okay. 36/68650 subtests failed, 99.95% okay. >>Failed Test Stat Wstat Total Fail Failed List of Failed >>------------------------------------------------------------------------------- >>../ext/Socket/Socket.t 29 7424 16 15 93.75% 2-16 >>../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 >>../lib/Net/hostent.t 6 1536 7 6 85.71% 2-7 >>../lib/Net/t/hostname.t 2 1 50.00% 1 >>lib/os2_process.t 5 1280 227 5 2.20% 80 85 94 174 209 >>lib/os2_process_kid.t 227 5 2.20% 80 85 94 174 209 >>lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 >>64 tests and 561 subtests skipped. >> >> >> >>Best of luck! >> >> >>> Many thanks. >>> >>> Hakan >> >> >>-- >>John >> >> >> >> > >>_______________________________________________ >>UX2BS mailing list >>UX2BS at powerusersbbs.net >>http://powerusersbbs.net/mailman/listinfo/ux2bs >> >> > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 33 ==========================** Date: Sat, 25 Jan 2003 19:53:57 +0000 From: John Poltorak Subject: Re: Re: [PosixOS2] net & netinet On Sat, Jan 25, 2003 at 02:50:21PM -0500, Ted Sikora wrote: > Anyone having trouble? I am. There are quite a lot of emails not getting delivered. Check %ETC%\sendmail.err for source of problems... > John I have several emails staying in MQUEUE with > connection refused by mail.xx.xx server and a few with server socket > errors. Delete them?.. did already. Maybe stop sendmail for a while and move all the files to a temporary directory, then remove the offending recipients from the q* files and put the files back?... I'd like to know what the correct procedure is when mail isn't getting delivered temporarily to specific addresses. Ideally I would like to move it to a secondary queue where delivery is attempted less frequently, but I don't know a way of doing this. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 34 ==========================** Date: Sat, 25 Jan 2003 20:00:19 +0000 (GMT) From: "Dave Saville" Subject: Re: Starting from scratch On Sat, 25 Jan 2003 14:45:43 +0000, John Poltorak wrote: >On Sat, Jan 25, 2003 at 02:11:05PM +0000, Dave Saville wrote: >> Deleted everything except the archives and a fresh build of perl >> gives >> >> Failed 5/726 test scripts, 99.31% okay. 9/68656 subtests failed, >> 99.99% okay. >> Failed Test Stat Wstat Total Fail Failed List of Failed >> ------------------------------------------------------------------------------- >> ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 > >Bug. > >> lib/os2_base.t 1 256 19 1 5.26% 8 > >Hmm... > >> lib/os2_process.t 3 768 227 3 1.32% 90 174 209 >> lib/os2_process_kid.t 227 3 1.32% 90 174 209 > > >Usual problem... > > >> op/stat.t 73 1 1.37% 44 > >I very often get this one too, but not always. Never really figured out >the problem > >There's no hostname failure. Have you added something? > Not that I am aware of >> Where is this make_distro thing hiding? > >Maybe do a RSYNC refresh with my rsync server. Powerusersbbs.net may not >have been updated yet. > >All that it consists of is:- > >call build autoconf-2.13 >call build byacc >call build flex >call build ncurses >call build make-3.76.1 >call build autoconf-2.50 >call build automake-1.4-p5 >call build make >setlocal >cd \unixos2\workdir\make-3.79.1 >make >copy make.exe \usr\bin >endlocal >call build autoconf >call build gettext >call build texinfo >call build automake Results of distro - just cut n pasted script autoconf-2.13.log seems OK bison.log faild no flex output make.log nout sure if its ok or not autoconf-2.50.log OK bar help2man messages byacc.log wget failed to download ncurses.log OK autoconf.log OK bar help2man flex.log failed no yacc perl.log previously posted automake-1.4-p5.log OK gettext.log wget no url given texinfo.log done unexpected automake.log failed make-3.76.1.log OK Some of the errors may be cascaded from earlier ones. Do you want all the logs? How do I clean up for the next try without taking perl out as it takes so long to build? -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 35 ==========================** Date: Sat, 25 Jan 2003 20:28:55 +0000 From: John Poltorak Subject: Re: Starting from scratch On Sat, Jan 25, 2003 at 08:00:19PM +0000, Dave Saville wrote: > On Sat, 25 Jan 2003 14:45:43 +0000, John Poltorak wrote: > > >Maybe do a RSYNC refresh with my rsync server. Powerusersbbs.net may not > >have been updated yet. > > > >All that it consists of is:- > > > >call build autoconf-2.13 > >call build byacc > >call build flex > >call build ncurses > >call build make-3.76.1 > >call build autoconf-2.50 > >call build automake-1.4-p5 > >call build make > >setlocal > >cd \unixos2\workdir\make-3.79.1 > >make > >copy make.exe \usr\bin > >endlocal > >call build autoconf > >call build gettext > >call build texinfo > >call build automake > > Results of distro - just cut n pasted script > > autoconf-2.13.log seems OK > bison.log faild no flex output > make.log nout sure if its ok or not > autoconf-2.50.log OK bar help2man messages > byacc.log wget failed to download > ncurses.log OK > autoconf.log OK bar help2man > flex.log failed no yacc > perl.log previously posted > automake-1.4-p5.log OK > gettext.log wget no url given > texinfo.log done unexpected > automake.log failed > make-3.76.1.log OK > > Some of the errors may be cascaded from earlier ones. Do you want all > the logs? > > How do I clean up for the next try without taking perl out as it > takes so long to build? I guess I need to clean up that command file and make it exit early if there is a failure since the success of various apps depends on other apps getting built and installed correctly. They need to be in the order above because bison depends of flex which in turn depends on byacc. What you could do is run ux2_clean after saving \usr\lib\perl\ outside of the \usr directory and then ux2_bootstrap but pause it before just after RSYNC runs and remove 'perl' from build.lst. That will prevent perl from being built. Then just restore \usr\lib\perl\ along with perl.exe and perl*.dll to \usr\bin and \usr\lib from workdir and you should be able to run make_distro as if from scratch. But if you have had problems downloading some files, it may be worth getting them beforehand just in case it fails again. > -- > Regards > > Dave Saville > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 36 ==========================** Date: Sat, 25 Jan 2003 21:09:13 -0500 (EST) From: "Hakan" Subject: Re: Help Getting Perl to Run Maynard, Did you by any chance find installer.exe in one of the perl directories? If so, I would be interested in a copy to run on my installation. On Sat, 25 Jan 2003 18:48:13 -0600 (CST), Maynard wrote: >Hakan, > >>Further, should I attempt to >>build perl, I assume I have to install a C compiler and spend time >>getting that to work. >> >> > >Actually, "the mission" of UnixOS2, and particularly ux2, is to >generate a build development environment which obliterates most of your >legitimate grumbles. > >Today, I started running ux2_bootstrap.cmd at 13:49 and perl was built >and installed at 14:13 without intervention; following exactly the >instructions which John provided and which you just quoted back to him. Isn't this an entire build environment? If correct, how many Mb did you have to download? > >We're here to help, I know, I am not here to castigate anyone in particular -- I want to spread it evenly:-) Hakan > >-- Maynard > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 37 ==========================** Date: Sat, 25 Jan 2003 21:21:35 +0000 From: John Poltorak Subject: Re: Using Posix/2 headers to build Perl On Sat, Jan 25, 2003 at 03:56:07PM -0500, Marty wrote: > I'm working on getting Perl built using Posix/2. I managed to get up to perlio.c so > far. The first problem I hit was what John reported on his original run. This can > be fixed by updating stddef.h to add the following: > > #if !defined (offsetof) > #define offsetof(s,m) (size_t)(&(((s *)0)->m)) > #endif Marty, I'm pleased to see you having a go at this, and hope you make some progress. Can you send any patches for the files you change? BTW I forwarded your email to the posix2 mailing list - maybe you should join that... You can easily find it if you do a Google search for 'posix/2'. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 38 ==========================** Date: Sat, 25 Jan 2003 21:28:19 -0500 (EST) From: "Hakan" Subject: Re: Help Getting Perl to Run John, Doing what you suggested below (and Maynard also recommended I do). A couple of comments so far (it is downloading stuff in the background:) * In the ux2_bootstrap.cmd file it may be preferable to use the Rexx function VALUE( "", OS2ENVIRONMENT) to automatically get the location of the current OS/2 environment. * The three drives you need to enter manually ought to be in the same order as they are described in the file. * I got the following error message while downloading stuff: "rsync error: syntax or usage error (code 1) at main.c(935)" What does it mean? On one hand, an error is always serious, yet the script did not abort so I can safely ignore it, right? A non-Unix user will surely start wondering. * How much am I downloading, how many Mb do I need to have free on my hard disk? The script gives no indication and I have no idea if I have enough space. I am also on a dialup connection -- how many hours will it take? Fortunately it is a shotgun connection, i.e., 2 x 56 kbps, and I don't pay per minute so cost is not a concern. * Is the download script logging progress, errrors etc. so I don't have to watch the screen, nor wonder whether it encountered any problems? That's all for now (it is currently downloading baseline/emx/emxsrcd2.zip so we have to see how the rest goes.) Hakan On Sat, 25 Jan 2003 19:04:58 +0000, John Poltorak wrote: >On Fri, Jan 24, 2003 at 09:57:57PM -0500, Hakan wrote: > >> Can anyone point out what else I need to do to get perl up and running? > >Personally, I would suggest forgetting about that version and build v5.8.0 >for yourself, just like many people on this list have already done. > >By building for yourself it will be configured to your own environment and >you won't need to mess around with anything to get it going. > >All you need to do is use this command:- > >wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd > > >which will grab a bootstrap script. Run that and it should build Perl. > >Just make sure that the drive you select for %uxrt% does not already have >a \emx and \usr directory. > >It will download around 30MB in total, which may be a problem if you have >a slow connection. If that is the case, you could probably pre-assemble >many of the files in the correct location since you are likely to have >many of them already. > >Please let us know how you get on. > >If it builds successfully, please post the last few lines from perl.log >which show the Perl test results summary, which may look something like >this:- > >Failed 7/726 test scripts, 99.04% okay. 36/68650 subtests failed, 99.95% okay. >Failed Test Stat Wstat Total Fail Failed List of Failed >------------------------------------------------------------------------------- >../ext/Socket/Socket.t 29 7424 16 15 93.75% 2-16 >../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 >../lib/Net/hostent.t 6 1536 7 6 85.71% 2-7 >../lib/Net/t/hostname.t 2 1 50.00% 1 >lib/os2_process.t 5 1280 227 5 2.20% 80 85 94 174 209 >lib/os2_process_kid.t 227 5 2.20% 80 85 94 174 209 >lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 >64 tests and 561 subtests skipped. > > > >Best of luck! > > >> Many thanks. >> >> Hakan > > >-- >John > > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 39 ==========================** Date: Sat, 25 Jan 2003 21:32:36 +0000 From: John Poltorak Subject: Re: Starting from scratch On Sat, Jan 25, 2003 at 03:17:02PM -0600, Maynard wrote: > Here's what I can report after starting from scratch: > > > [P:\unixos2\lib]flex --version > flex version 2.5.4 > > [P:\unixos2\lib]make --version > GNU Make version 3.79.1, by Richard Stallman and > [P:\unixos2\workdir\autoconf-2.57\bin]sh > # autoconf --version > autoconf (GNU Autoconf) 2.57 (release for OS/2) > Written by David J. MacKenzie and Akim Demaille. Looks good so far... > log ends with: > make[1]: Leaving directory `P:/unixos2/workdir/autoconf-2.57/doc' > > note the following autoconf files in \usr: > > Directory: P:\usr\local\TMP\bin > autoconf 22378 1-25-2003 2:36p A > Directory: P:\usr\local\TEST\bin > autoconf 5178 1-25-2003 2:23p A > Directory: P:\usr\local\bin > autoconf 7971 1-25-2003 2:45p A Yes, I am finding that having a choice of three versions of autoconf is indispensible to getting apps working, and I may even find that I need to add 2.54!! > This is the point of failure. > > >>call build gettext > gettext is not in the build.table (from poweruserbbs) so retrieve/wget > fails > it is in build.table on your system OK, maybe I should try and get powerusersbbs to update a bit more frequently... What you could do is an RSYNC with my system and carry on after changing make_distro.cmd to start from the point of failure. > > Later, > > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 40 ==========================** Date: Sat, 25 Jan 2003 22:09:22 -0500 From: Henry Sobotka Subject: Re: Help Getting Perl to Run Hakan wrote: > > Following up on my previous posting -- the perl.INF file talks about an > installation program for automatic installation of binary packages, > installer.exe, which supposedly automatically configures perl for you. > Well, it was not part of the package I downloaded and since I have > little interest in manually editing config.PM which seems to be the > next thing I am supposed to do, does anyone know where I can find > installer.exe? The file referred to is the old standard OS/2 install.exe distributed with Perl 5.00455 and in plINSTAL.zip with that distribution. It runs an edit_cfg.pl that sets some of the paths in Config.PM to your actual installation location, but it doesn't edit things like compilation flags, or variables related to utilities and libraries that may or may not be on your system. For that you either have to do it manually, or build Perl (or hack edit_cfg.pl). h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 41 ==========================** Date: Sat, 25 Jan 2003 22:38:43 -0600 (CST) From: "Maynard" Subject: Re: Help Getting Perl to Run Hakan, >Did you by any chance find installer.exe in one of the perl >directories? No; not anywhere, including workdir; from perl-5.8.0 -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 42 ==========================** Date: Sat, 25 Jan 2003 22:40:25 -0500 (EST) From: "Marty" Subject: Re: Using Posix/2 headers to build Perl On Sat, 25 Jan 2003 21:21:35 +0000, John Poltorak wrote: > Marty, > > I'm pleased to see you having a go at this, and hope you make some > progress. > > Can you send any patches for the files you change? I could, but I don't know if this is how things should be. Basically, I'm just hacking together what I have to in order to get it going. There are probably more appropriate places for these additions, so I'll talk to the Posix/2 folks about it. If we put things in the *right* place then other projects have a better chance of working. > BTW I forwarded your email to the posix2 mailing list - maybe you should > join that... > > You can easily find it if you do a Google search for 'posix/2'. Grumble... *another* mailing list. I guess I must if I want to do this right. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 43 ==========================** Date: Sat, 25 Jan 2003 23:30:51 -0500 (EST) From: "Hakan" Subject: Re: Help Getting Perl to Run OK, it took quite a long time and unfortunately did not complete correctly. Here is the log (apparently the beginning of the process is not logged.) What should I do now? And, very important, I hope I do not have to download the files again... More comments on the process: * I suggest the script check for the presence of all required components *before* it begins it efforts. For instance, if LINK386.EXE is required and needs to be in the path, that should be checked before the first file is downloaded. * One should not have to download all files again if the process fails. * The progress/output of the entire script ought to be logged. * Eventually I may want to move all unix files/directories to one of my servers and run the programs from there -- can this be done later (preferably through another script?) TIA. Hakan Sat Jan 25 22:34:46 GMT 2003 There is no LINK386.EXE on the path, which could cause problems Press ENTER to continue DIR URL CFLAGS LDFLAGS CFGPARMS MAKEPARM SRC http://www.cpan.org/src/perl-5.8.0.tar.gz . URL http://www.cpan.org/src/perl-5.8.0.tar.gz CFLAGS LDFLAGS CFGPARMS . MAKEPARM SRC retrieving perl-5.8.0.tar.gz d:/unixos2/workdir d:/unixos2/workdir/perl-5.8.0 using perl specific Build script [D:\unixos2\workdir\perl-5.8.0]set os2_shell=c:\os2\cmd.exe [D:\unixos2\workdir\perl-5.8.0]sh Configure -des -D prefix=d:/usr/lib/perl (I see you are using the Korn shell. Some ksh's blow up on Configure, mainly on older exotic systems. If yours does, try the Bourne shell instead.) First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between d:/usr/bin/echo.exe and builtin echo (if any)... Symbolic links are NOT supported. No symbolic links, so not testing for their testing... Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. 3b1 dynix isc_2 opus super-ux aix dynixptx linux os2 svr4 altos486 epix lynxos os390 svr5 amigaos esix4 machten posix-bc ti1500 apollo fps machten_2 powerux titanos atheos freebsd mint qnx ultrix_4 aux_3 genix mips rhapsody umips beos gnu mpc sco unicos bsdos greenhills mpeix sco_2_3_0 unicosmk convexos hpux ncr_tower sco_2_3_1 unisysdynix cxux i386 netbsd sco_2_3_2 utekv cygwin irix_4 newsos4 sco_2_3_3 uts darwin irix_5 next_3 sco_2_3_4 uwin dcosx irix_6 next_3_0 solaris_2 vmesa dec_osf irix_6_0 next_4 stellar vos dgux irix_6_1 nonstopux sunos_4_0 dos_djgpp isc openbsd sunos_4_1 Which of these apply, if any? [os2] !!! Apparently there is no need to patch Configure. Operating system name? [os2] Operating system version? [2] Build Perl for SOCKS? [n] Use the PerlIO abstraction layer? [y] Build a threading Perl? [n] Build Perl for multiplicity? [n] Use which C compiler? [gcc] SYS1041: The name link386 is not recognized as an internal or external command, operable program or batch file. Uh-oh, the C compiler 'gcc' doesn't seem to be working. SYS1041: The name link386 is not recognized as an internal or external command, operable program or batch file. Uh-oh, the C compiler 'gcc' doesn't seem to be working. You need to find a working C compiler. Either (purchase and) install the C compiler supplied by your OS vendor, or for a free C compiler try http://gcc.gnu.org/ I cannot continue any further, aborting. [D:\unixos2\workdir\perl-5.8.0]make cat makefile.sh >makefile chmod a+x makefile makefile:2: *** missing separator. Stop. [D:\unixos2\workdir\perl-5.8.0]make test makefile:2: *** missing separator. Stop. [D:\unixos2\workdir\perl-5.8.0]make install makefile:2: *** missing separator. Stop. [D:\unixos2\workdir\perl-5.8.0]cd t [D:\unixos2\workdir\perl-5.8.0\t]perl harness SYS1041: The name perl is not recognized as an internal or external command, operable program or batch file. [D:\unixos2\workdir\perl-5.8.0\t]cp perl.exe d:/usr/bin cp: perl.exe: No such file or directory [D:\unixos2\workdir\perl-5.8.0\t]cp perl*.dll d:/usr/lib cp: perl*.dll: No such file or directory UXRT=d: TMP=d:\tmp PATH=d:\usr\bin;d:\emx\bin;d:\usr\local\bin;c:\os2; BLD_HOME=d:/unixos2 CFLAGS= ETC=d:\etc CONFIG_SITE= CPLUS_INCLUDE_PATH=d:/usr/include/cpp;d:/usr/included:/emx/include/cpp;d :/emx/include C_INCLUDE_PATH=d:/usr/include;d:/emx/include LIBRARY_PATH=d:/usr/lib;d:/emx/lib HOME=d:/home/root REPOSITORY=d:/unixos2/archives/source BUILDLOGS=d:/unixos2/logs LDFLAGS= BLDRT=d: OS2_SHELL=c:\os2\cmd.exe TERM=ansi-color-3 OSRT=c: WORKDIR=d:/unixos2/workdir OS2PATH=d:\usr\bin;d:\emx\bin;d:\usr\local\bin;c:\os2; _emx_sig=00000653:00000000 Sat Jan 25 23:20:38 GMT 2003 elapsed time: 2752 secs end Hakan On Sat, 25 Jan 2003 21:28:19 -0500 (EST), Hakan wrote: >John, > >Doing what you suggested below (and Maynard also recommended I do). A >couple of comments so far (it is downloading stuff in the background:) >* In the ux2_bootstrap.cmd file it may be preferable to use the >Rexx function VALUE( "", OS2ENVIRONMENT) to automatically get the >location of the current OS/2 environment. >* The three drives you need to enter manually ought to be in the >same order as they are described in the file. >* I got the following error message while downloading stuff: >"rsync error: syntax or usage error (code 1) at main.c(935)" What does >it mean? On one hand, an error is always serious, yet the script did >not abort so I can safely ignore it, right? A non-Unix user will >surely start wondering. >* How much am I downloading, how many Mb do I need to have free >on my hard disk? The script gives no indication and I have no idea if >I have enough space. I am also on a dialup connection -- how many >hours will it take? Fortunately it is a shotgun connection, i.e., 2 x >56 kbps, and I don't pay per minute so cost is not a concern. >* Is the download script logging progress, errrors etc. so I >don't have to watch the screen, nor wonder whether it encountered any >problems? > >That's all for now (it is currently downloading >baseline/emx/emxsrcd2.zip so we have to see how the rest goes.) > >Hakan > > >On Sat, 25 Jan 2003 19:04:58 +0000, John Poltorak wrote: > >>On Fri, Jan 24, 2003 at 09:57:57PM -0500, Hakan wrote: >> >>> Can anyone point out what else I need to do to get perl up and running? >> >>Personally, I would suggest forgetting about that version and build v5.8.0 >>for yourself, just like many people on this list have already done. >> >>By building for yourself it will be configured to your own environment and >>you won't need to mess around with anything to get it going. >> >>All you need to do is use this command:- >> >>wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd >> >> >>which will grab a bootstrap script. Run that and it should build Perl. >> >>Just make sure that the drive you select for %uxrt% does not already have >>a \emx and \usr directory. >> >>It will download around 30MB in total, which may be a problem if you have >>a slow connection. If that is the case, you could probably pre-assemble >>many of the files in the correct location since you are likely to have >>many of them already. >> >>Please let us know how you get on. >> >>If it builds successfully, please post the last few lines from perl.log >>which show the Perl test results summary, which may look something like >>this:- >> >>Failed 7/726 test scripts, 99.04% okay. 36/68650 subtests failed, 99.95% okay. >>Failed Test Stat Wstat Total Fail Failed List of Failed >>------------------------------------------------------------------------------- >>../ext/Socket/Socket.t 29 7424 16 15 93.75% 2-16 >>../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 >>../lib/Net/hostent.t 6 1536 7 6 85.71% 2-7 >>../lib/Net/t/hostname.t 2 1 50.00% 1 >>lib/os2_process.t 5 1280 227 5 2.20% 80 85 94 174 209 >>lib/os2_process_kid.t 227 5 2.20% 80 85 94 174 209 >>lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 >>64 tests and 561 subtests skipped. >> >> >> >>Best of luck! >> >> >>> Many thanks. >>> >>> Hakan >> >> >>-- >>John >> >> >> >> > >>_______________________________________________ >>UX2BS mailing list >>UX2BS at powerusersbbs.net >>http://powerusersbbs.net/mailman/listinfo/ux2bs >> >> > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 44 ==========================** Date: Sat, 25 Jan 2003 23:34:48 -0600 (CST) From: "Maynard" Subject: Re: Help Getting Perl to Run Harkan, >Isn't this an entire build environment? If correct, how many Mb did >you have to download? Please see http://warped.mentabolism.org/UnixOS2/ux2bs_0.html and post any feedback here. Peace/2, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 45 ==========================** Date: Sat, 25 Jan 2003 23:46:27 -0600 (CST) From: "Maynard" Subject: Re: Help Getting Perl to Run Hello Hakan, >* I got the following error message while downloading stuff: >"rsync error: syntax or usage error (code 1) at main.c(935)" What does >it mean? On one hand, an error is always serious, yet the script did >not abort so I can safely ignore it, right? A non-Unix user will >surely start wondering. I'd [also] like to see more better logging of the ux2_bootstrap.cmd run but I haven't yet devised the best way to do that given ..... ux2_bootstrap.cmd calls ux2_inst.cmd which calls baseline_inst.cmd and emx_inst.cmd and then it calls 'build.cmd' for everything in the build.lst and 'build.cmd' does direct logging to \unixos2\logs\ other relevancies include fact that some nice progs like 'tee' aren't guaranteed to be in the %path% early enough to do concurrent file logging and stdout feedback. Bright Ideas are welcome! -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 46 ==========================** Date: Sat, 25 Jan 2003 23:46:54 -0500 (EST) From: "Hakan" Subject: Re: Help Getting Perl to Run Maynard, Thank you for looking. I made a mistake, though. The program is called install.exe, not installer.exe, and Henry Sobotka has explained that it was part of an earlier distribution (the documentation is thus not up-to-date.) Hakan On Sat, 25 Jan 2003 22:38:43 -0600 (CST), Maynard wrote: >Hakan, > >>Did you by any chance find installer.exe in one of the perl >>directories? > >No; not anywhere, including workdir; from perl-5.8.0 > >-- Maynard > > > >_______________________________________________ >UX2BS mailing list >UX2BS at powerusersbbs.net >http://powerusersbbs.net/mailman/listinfo/ux2bs > > _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs