Date: Fri, 31 Jan 2003 02:29:13 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 63 ************************************************** Thursday 30 January 2003 Number 63 ************************************************** Subjects for today 1 AWK - no acceptable ld on PATH : John Poltorak 2 Re: AWK - no acceptable ld on PATH : Stefan.Neis at t-online.de 3 Re: Perl questions : Henry Sobotka 4 Re: AWK - no acceptable ld on PATH : John Poltorak 5 Re: ux2 posix : Maynard" 6 Re: Perl's Configure : Maynard" 7 Re: Help Getting Perl to Run : Maynard" 8 Re: Perl questions : Maynard" 9 Re: AWK - no acceptable ld on PATH : Stefan.Neis at t-online.de 10 Re: Perl questions : Maynard" 11 perl without c:\ : Maynard" 12 Re: Perl's Configure : Henry Sobotka 13 Adding functions : Ted Sikora 14 Getting started : John Poltorak 15 Re: Help Getting Perl to Run : John Poltorak 16 Re: Getting started : Maynard" 17 Re: Adding functions : Ted Sikora 18 Re: Help Getting Perl to Run : John Poltorak 19 Re: ux2 posix : John Poltorak 20 Re: Perl questions : John Poltorak 21 Re: Help Getting Perl to Run : Stefan.Neis at t-online.de 22 Re: AWK - no acceptable ld on PATH : Andreas Buening 23 Re: ux2 posix : Andreas Buening 24 Perl questions : Stefan.Neis at t-online.de 25 Re: Perl questions : John Poltorak 26 Re: Getting started : Stefan.Neis at t-online.de 27 Re: ux2 posix : John Poltorak 28 Re: Perl's Configure : John Poltorak 29 Re: Perl questions : Stefan.Neis at t-online.de 30 Re: AWK - no acceptable ld on PATH : Stefan.Neis at t-online.de 31 Re: ux2 posix : Stefan.Neis at t-online.de 32 Re: Perl questions : Stefan.Neis at t-online.de 33 Perl's Configure : Stefan.Neis at t-online.de **= Email 1 ==========================** Date: Fri, 31 Jan 2003 11:55:31 +0000 From: John Poltorak Subject: AWK - no acceptable ld on PATH I've just tried building GNU Awk v3.1.1 and am told that:- configure: error: no acceptable ld found in $PATH. Why is EMX's ld, suddenly not suitable? I haven't had such an error before. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Fri, 31 Jan 2003 14:00:58 +0100 From: Stefan.Neis at t-online.de Subject: Re: AWK - no acceptable ld on PATH Hi, > I've just tried building GNU Awk v3.1.1 and am told that:- > > configure: error: no acceptable ld found in $PATH. > > Why is EMX's ld, suddenly not suitable? I haven't had such an error before. If you're doing an OMF build, EMX's ld is useless as it's link386 which has to be used instead (and with completely different flags). Maybe you have a chance to make it work with "LD=gcc ./configure ...". If Awk doesn't try to use any of the more advanced flags, things could work out. If that doesn't work, your only chance probably is to do an a.out build, i.e. drop -Zomf and related options... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Fri, 31 Jan 2003 16:40:34 -0500 From: Henry Sobotka Subject: Re: Perl questions Stefan.Neis at t-online.de wrote: > > 1. Try to use long doubles if available? [n] > Why not? No reason not to. I normally build with use64bitint defined and it tests OK. > 2. What name do you want to give to the shared libperl? [libperl.lib] > Really want the "lib" prefix? Probably OK to change. At worst you might hit a spot or two where it's hardcoded rather than derived from $Config{'libperl'}. > And addtionally: > 3. The Configure script seems to compile a test-program for every function > it examines -> _very_ slow. Is there anything better? My experiments with > using the included support for nm/emxofar/emximp (triggered by some > warnings early in Configure's output) apparently caused the desaster > I encountered so far... Not that I know of. Here the nm route has always failed and the tests are faster than cleaning up config.sh manually after nm. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Fri, 31 Jan 2003 16:59:54 +0000 From: John Poltorak Subject: Re: AWK - no acceptable ld on PATH On Fri, Jan 31, 2003 at 02:00:58PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > > I've just tried building GNU Awk v3.1.1 and am told that:- > > > > configure: error: no acceptable ld found in $PATH. > > > > Why is EMX's ld, suddenly not suitable? I haven't had such an error before. > > If you're doing an OMF build, How do I know what sort of build I'm doing? This is an error thrown up by configure, and it is using defaut flags, which, looking at 'configure' are '-g -O' for CFLAGS, and '-Zcrtdll' for LDFLAGS. I haven't seen such an error before and almost always use the default settings. > EMX's ld is useless as it's link386 which has > to be used instead (and with completely different flags). > Maybe you have a chance to make it work with "LD=gcc ./configure ...". If > Awk doesn't try to use any of the more advanced flags, things could work > out. If that doesn't work, your only chance probably is to do an a.out build, > i.e. drop -Zomf and related options... > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Fri, 31 Jan 2003 17:41:02 -0600 (CST) From: "Maynard" Subject: Re: ux2 posix On Fri, 31 Jan 2003 22:11:07 +0000, John Poltorak wrote: >> > ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxrt.zip >> >> Why is that? It's supposed to be just a subset of all the other >> emx packages that are downloaded anyway, isn't it? > >If you look at emx_inst.cmd you will see why. > >It could probably be done more efficiently, but I couldn't think of a >simple way of doing it at the time... > >If you are not careful about the order you unpack files, you could end up >replacing a newer file with an older one. In the long run, it is a good thing to .... 1) document these idiosyncracies, and everything else; 2) review prior and existing operations with purpose to question "is there a better way to do this?" Part of the reason for doing #1 is to support #2 Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Fri, 31 Jan 2003 18:09:41 -0600 (CST) From: "Maynard" Subject: Re: Perl's Configure On Fri, 31 Jan 2003 22:18:32 +0000, John Poltorak wrote: >> sed "s/c:\/\./"%OSRT%"\/\./" < Configure > Configure.new && mv Configure.new Configure > >You could actually put this line into:- > >\unixos2\scripts\build\build_perl.cmd sed "s~c:\/~"%OSRT%"\/~" seems to work also; even without the "quotes" I'll test it. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Fri, 31 Jan 2003 18:23:01 -0600 (CST) From: "Maynard" Subject: Re: Help Getting Perl to Run John, >> Until you run 'build', the downloads aren't very big. I've been >> pondering the idea of identifying a local archive source outside of >> \unixos2\ because those are the real big ones, and some of us maintain >> multiple build environments which should each be able to reference the >> same local repository. >This is something which ought to be possible if you run a proxy server >such as SQUID. If you install a redirector into SQUID it will intercept >certian requests and transfer them from a different location, which could >be your own local repository. But that's even more much too complicated ;-} >I'm still trying to figure out how to do this, although it should be very >easy... add %archive% (full path spec || UNC ) to the other three user required variables. I'm anticipating keeping the source archives on one of: - dedicated local partition; - networked location; - CDrom The point is to make it (the local archive) accessible from different instances of %bldrt% Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Fri, 31 Jan 2003 18:29:47 -0600 (CST) From: "Maynard" Subject: Re: Perl questions On Fri, 31 Jan 2003 21:22:23 +0000, John Poltorak wrote: >Maynard can build it in **17** mins. not quite. That's 27 mins. and I'm happy to do it as often as it helps the project; this being OS/2 it doesn't interfere with my other 60+ processes or foreground interface at all. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Fri, 31 Jan 2003 18:48:57 +0100 From: Stefan.Neis at t-online.de Subject: Re: AWK - no acceptable ld on PATH > > > Why is EMX's ld, suddenly not suitable? I haven't had such an error before. > > > > If you're doing an OMF build, > > How do I know what sort of build I'm doing? Just wild guessing. ;-) I seemed to remember that you have a preference for using "-Zomf". Apparently I was wrong this time... > This is an error thrown up by configure, and it is using defaut flags, > which, looking at 'configure' are '-g -O' for CFLAGS, and '-Zcrtdll' for > LDFLAGS. That might be the problem. Only gcc understands "-Zcrtdll". [E:\]ld -Zcrtdll ld: unrecognized option `-Zcrtdll' Usage: ld [-d] [-dc] [-dp] [-e symbol] [-l lib] [-n] [-noinhibit-exec] [-nostdlib] [-o file] [-r] [-s] [-t] [-u symbol] [-x] [-y symbol] [-z] [-A file] [-Bstatic] [-D size] [-L libdir] [-M] [-N] [-S] [-T[{text,data}] addr] [-V prefix] [-X] [file...] Still, I don't understand why awk is explicitly using "ld" for linking instead of invoking the linker via "gcc" as usual. :-( Even if you clear LDFLAGS, configure likely won't happy as it's apparently going to call "raw" ld, i.e. all the libraries that are implicitly added when passing all this through gcc will be missing, so even a simple test program likely won't link. Looks like this one really requires some fixes to configure.in. Regards, Stefan P.S.: If you didn't try "LD=gcc;./configure" yet, there still is a faint chance that this might work... _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Fri, 31 Jan 2003 18:50:23 -0600 (CST) From: "Maynard" Subject: Re: Perl questions Stefan, >BTW, the build process didn't like the fact that PERL5LIB was set in my >environment, "ux2_env.cmd" maybe should "unset" that variable? ux2_env.cmd is created by ux2_inst.cmd which strips the original environment from all the unessentials first, by env | sed "s/^/set /;s/=.*$/=/" >zap_env.cmd call zip_env.cmd del ux2_env.cmd echo set >>ux2_env.cmd .... though John has it tricked up a bit by now ;-} -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Fri, 31 Jan 2003 18:57:46 -0600 (CST) From: "Maynard" Subject: perl without c:\ I removed the C: volume (via lvm). [P:\UNIXOS2\scripts\build]dir c: SYS0015: The system cannot find the specified drive. and inserted the following line at the top of scripts\build\build_perl.cmd: sed s~c:\/~"%OSRT%"\/~ < Configure > Configure.new && mv Configure.new Configure and got a successful build and test. Thanks Stefan!! -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Fri, 31 Jan 2003 19:17:45 -0500 From: Henry Sobotka Subject: Re: Perl's Configure I think we should get out of the "test -d c:/" blocks altogether and make sure we avoid the effects of any Windows use of them. "test -n $OS2_SHELL" would be more solid guarantee that OS/2 is running in all three cases, particularly on LVM systems where drive letters are assignable. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Fri, 31 Jan 2003 19:42:46 -0500 From: Ted Sikora Subject: Adding functions I think we should add this to baseline: gnuufc.zip adds crypt functions ulsemx.zip language support we could take the \share dir from gcc 3.0.3 Add these posix headers now. syslog.h sys\syslog.h paths.h utmp.h crypt and syslog functions work 100% pthreads too! At least I need them for python. Is NetLabs still working on them? I was using pthreads004.zip but I started using pthread-bjs-bin.zip today. Seems cleaner. Sources are included for OS/2 too. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Fri, 31 Jan 2003 19:52:21 +0000 From: John Poltorak Subject: Getting started For anyone new to the list, or who hasn't felt like dipping their toes in the water yet, the aim of the list is to produce a standard OS/2 build environment for building Unix apps. You should be able to getr this by runningthis command:- wget ftp://unixos2: at 213.152.37.92/pub/unixos2/build_system/lib/ux2_bootstrap.cmd and then running the retrieved ux2_bootstrap.cmd to pull down everything you need to create the standard build environment, and assuming everything goes to plan, it will proceed to build Perl v5.8.0. Before running the command, you need to change three variables at the beginning of the script. It seems that it works best if %UXRT% and %BLDRT% use the same drive - not sure why, since it shouldn't make a difference. Also, if you do not have a C: drive accessible by OS/2 you may as well forget trying to build Perl... :-(... A couple of things to watch... Make sure you do not have a \emx or \usr drive on %exrt% as they are likely to get overwritten. You also need around 100MB free to get anywhere... If Perl does build, please post the test results summary. This should be the last few lines in \unixos2\logs\perl.log and hopefully will look something like:- Failed 6/726 test scripts, 99.17% okay. 10/68650 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/Net/t/hostname.t 2 1 50.00% 1 lib/os2_process.t 2 512 227 2 0.88% 174 209 lib/os2_process_kid.t 227 2 0.88% 174 209 lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 op/stat.t 73 1 1.37% 44 64 tests and 561 subtests skipped. Now lets see some results from a few new people... Some very useful notes are available here:- http://warped.mentabolism.org/UnixOS2/ux2bs.html Have a read through beforehand, and again if/when you get stuck. Best of luck! -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Fri, 31 Jan 2003 20:19:37 +0000 From: John Poltorak Subject: Re: Help Getting Perl to Run On Sun, Jan 26, 2003 at 12:31:34AM -0600, Maynard wrote: > Until you run 'build', the downloads aren't very big. I've been > pondering the idea of identifying a local archive source outside of > \unixos2\ because those are the real big ones, and some of us maintain > multiple build environments which should each be able to reference the > same local repository. This is something which ought to be possible if you run a proxy server such as SQUID. If you install a redirector into SQUID it will intercept certian requests and transfer them from a different location, which could be your own local repository. I'm still trying to figure out how to do this, although it should be very easy... > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Fri, 31 Jan 2003 20:20:14 -0600 (CST) From: "Maynard" Subject: Re: Getting started John, >A couple of things to watch... Make sure you do not have a \emx or \usr >drive on %exrt% as they are likely to get overwritten. You also need >around 100MB free to get anywhere... I should volunteer to study this in some detail, and make recommendations. If I recall correctly, having locked files in the \emx tree causes an abort of emx_inst.cmd which falls back to ux2_inst.cmd and proceeds unawares, which is not good. ux2_inst.cmd needs to verify successful completion of its baseline_inst.cmd and emx_inst.cmd calls; perhaps by return code set by emx_inst.cmd, but I can't see that \os2\cmd.exe's exit can set a return code. Later, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Fri, 31 Jan 2003 20:20:45 -0500 From: Ted Sikora Subject: Re: Adding functions Taking this one step further: expat-1-2.zip for xml Franz Bakan's zlib114.zip has all the 1.1.4 fixes and is compatible with all Hung-Chi Chu's ports. gnugdbm.zip gmp-3.1.1.zip ncurses readline Should make it complete and build everything. Ted Sikora wrote: > I think we should add this to baseline: > > gnuufc.zip > adds crypt functions > > ulsemx.zip > language support > we could take the \share dir from gcc > 3.0.3 > > Add these posix headers now. > > syslog.h > sys\syslog.h > paths.h > utmp.h > > crypt and syslog functions work 100% > > pthreads too! At least I need them for python. > > Is NetLabs still working on them? I was using > pthreads004.zip but I started using pthread-bjs-bin.zip > today. Seems cleaner. Sources are included for OS/2 too. > -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Fri, 31 Jan 2003 21:01:27 +0000 From: John Poltorak Subject: Re: Help Getting Perl to Run On Fri, Jan 31, 2003 at 09:43:17PM +0100, Stefan.Neis at t-online.de wrote: > > > and some of us maintain > > > multiple build environments which should each be able to reference the > > > same local repository. > > > > This is something which ought to be possible if you run a proxy server > > such as SQUID. > > That would just avoid downloading the stuff several times, wouldn't it? Yes, but the chances are that I already have the archive in at least one other place on my network... > You still would have several copies on your hard disk(s)... > My own machine has 20GB and four operating systems, so space tends to > become a problem over here... You can _never_ have too much disk space :-)... Actually, I have been trying to think of a better way of handling a repository. Maybe if some variable is already set up in the environment, then its valued coud be assigned to repository... Hmmm... I think I may put my own repository on a TVFS drive somewhere. > > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Fri, 31 Jan 2003 21:13:55 +0000 From: John Poltorak Subject: Re: ux2 posix On Fri, Jan 31, 2003 at 09:50:53PM +0100, Andreas Buening wrote: > [snip] > > > > > possibly based on Stefan's recent release of p2alpha. > > > > > > There was a recent release? > > > > It is included in the build system. > > > > Have you tried using it yet? > > Not yet. It's about 50 MB, isn't it? It's 18MB without the Perl tarball. If you already have EMX v0.9d you could put it in:- \unixos2\archives\baseline\emx and, in theory, RSYNC would not try downloading it again. These are the files downloaded if you don't have them:- ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/bsddev.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/bsdsrc.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxdev1.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxdev2.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxsrcd2.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/gnudev1.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/gnudev2.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/gnuinfo.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/gobjcdev.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/gppdev1.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/gppdev2.zip And these go under \unixos2\archives\baseline :- http://hobbes.nmsu.edu/pub/os2/util/archiver/uzs550x2.exe http://hobbes.nmsu.edu/pub/os2/util/archiver/zcr23x2.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxrt.zip http://www.math.ohio-state.edu/~ilya/software/os2/pdksh-5.2.14-bin-2.zip http://hobbes.nmsu.edu/pub/os2/util/archiver/gtar258.zip http://silk.apana.org.au/pub/apache/gnumake_fixed.zip http://hobbes.nmsu.edu/pub/os2/dev/misc/gnum4.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/systools/gnused.zip http://hobbes.nmsu.edu/pub/os2/util/file/gnugrep.zip http://hobbes.nmsu.edu/pub/os2/dev/awk/gnuawk.zip http://hobbes.nmsu.edu/pub/os2/util/file/gnututil.zip http://hobbes.nmsu.edu/pub/os2/util/file/gnufutil.zip http://hobbes.nmsu.edu/pub/os2/util/shell/gnusutil.zip http://hobbes.nmsu.edu/pub/os2/dev/util/gnupatch.zip http://hobbes.nmsu.edu/pub/os2/util/file/gnudiff.zip http://hobbes.nmsu.edu/pub/os2/util/disk/gnufind.zip ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxfix04.zip http://www.math.ohio-state.edu/~ilya/software/os2/db_mt.zip ftp://os2ports.com/incoming/p2alpha6_bin.zip If you build up these directories manually, then there should be minimal tansfers, although the Perl tarball does get retrieved automatically, but you can always stop that manually... Is it possible to get just > the latest Posix/2? > > Bye, > Andreas > > -- > One OS to rule them all, One OS to find them, > One OS to bring them all and in the darkness bind them > In the Land of Mordor where the Shadows lie. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Fri, 31 Jan 2003 21:22:23 +0000 From: John Poltorak Subject: Re: Perl questions On Fri, Jan 31, 2003 at 09:59:38PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > I'm just retrying to build Perl (in standard EMX environment for now) > and noticed some strange things on both my machine and in the perl.log > on http://warped.mentabolism.org/UnixOS2/logs/perl.log: > 1. Try to use long doubles if available? [n] > Why not? Maybe ask IlyaZ... > 2. What name do you want to give to the shared libperl? [libperl.lib] > Really want the "lib" prefix? I'd like it to be whatever is standard on an FHS compliant system. What is it called on *BSD? > And addtionally: > 3. The Configure script seems to compile a test-program for every function > it examines -> _very_ slow. Is there anything better? A faster machine :-)... Maynard can build it in **17** mins. It generally takes me an hour or so, but can take very much longer. > My experiments with > using the included support for nm/emxofar/emximp (triggered by some > warnings early in Configure's output) apparently caused the desaster > I encountered so far... I think the initial point is to make sure we can establish a known standard build environment where Perl is almost guaranteed to build. Once we have that then we can try tuning it to suit us, or maybe provide a list of suggested changes to the maintainer... > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Fri, 31 Jan 2003 21:43:17 +0100 From: Stefan.Neis at t-online.de Subject: Re: Help Getting Perl to Run > > and some of us maintain > > multiple build environments which should each be able to reference the > > same local repository. > > This is something which ought to be possible if you run a proxy server > such as SQUID. That would just avoid downloading the stuff several times, wouldn't it? You still would have several copies on your hard disk(s)... My own machine has 20GB and four operating systems, so space tends to become a problem over here... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 22 ==========================** Date: Fri, 31 Jan 2003 21:50:39 +0100 From: Andreas Buening Subject: Re: AWK - no acceptable ld on PATH John Poltorak wrote: > > I've just tried building GNU Awk v3.1.1 and am told that:- > > configure: error: no acceptable ld found in $PATH. > > Why is EMX's ld, suddenly not suitable? I haven't had such an error before. If I remember correctly that's just an side effect of an intermediate gettext version included within that gawk version. It isn't used for anything, set LD=ld and that's it. There are some other restrictions for that release. All you need to know should be documented in gawk.info. The upcoming gawk 3.1.2 won't have such limitations. Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 23 ==========================** Date: Fri, 31 Jan 2003 21:50:53 +0100 From: Andreas Buening Subject: Re: ux2 posix John Poltorak wrote: > [_One_ set of headers] > We don't even need that... We can simply have both sets of headers but in > a particulat search sequence. This is what I'm currently doing with the > build system, but we won't get very far until gcc is recompiled to > incorporate -lcExt. You can install 20 different compilers with 20 different sets of header files and switch between them. The problem is a) that you waste disk space and b) to tell normal users how to use which one for which purpose and why. ;-) [snip] > > > possibly based on Stefan's recent release of p2alpha. > > > > There was a recent release? > > It is included in the build system. > > Have you tried using it yet? Not yet. It's about 50 MB, isn't it? Is it possible to get just the latest Posix/2? Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 24 ==========================** Date: Fri, 31 Jan 2003 21:59:38 +0100 From: Stefan.Neis at t-online.de Subject: Perl questions Hi, I'm just retrying to build Perl (in standard EMX environment for now) and noticed some strange things on both my machine and in the perl.log on http://warped.mentabolism.org/UnixOS2/logs/perl.log: 1. Try to use long doubles if available? [n] Why not? 2. What name do you want to give to the shared libperl? [libperl.lib] Really want the "lib" prefix? And addtionally: 3. The Configure script seems to compile a test-program for every function it examines -> _very_ slow. Is there anything better? My experiments with using the included support for nm/emxofar/emximp (triggered by some warnings early in Configure's output) apparently caused the desaster I encountered so far... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 25 ==========================** Date: Fri, 31 Jan 2003 22:06:35 +0000 From: John Poltorak Subject: Re: Perl questions On Fri, Jan 31, 2003 at 10:52:54PM +0100, Stefan.Neis at t-online.de wrote: > Actually, "set GCCLOAD=5" does help a lot, it's just not normally set over > here as I had some strange problems with it (years ago, so maybe I should > try to reenable it by default). > BTW, the build process didn't like the fact that PERL5LIB was set in my > environment, "ux2_env.cmd" maybe should "unset" that variable? > (I admit to not have updated all those packages after the initial download, > so maybe that's been done already). Yes, it's cleared down completely and then some known variables are set so that the environment is as standard as possible. It's possible that certain variables, such as TZ may need to be added back... If you think of any which should be set, then please let me know. > > I think the initial point is to make sure we can establish a known > > standard build environment where Perl is almost guaranteed to build. > > Sure, I just got distracted/confused by that warning and though I needed > to do something about it (as my first experiences with the perl build > process weren't really pleasant thanks to no c: drive...). I didn't get anywhere for a long time because of some obscure error msg which was completely erroneous. > BTW, I seemingly just completed the perl build succesfully for the first > time, running "make test" right now .... That's good. It always seems to talk forever on my system. > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 26 ==========================** Date: Fri, 31 Jan 2003 22:10:48 +0100 From: Stefan.Neis at t-online.de Subject: Re: Getting started Hi, > Also, if you do not have a C: drive accessible by OS/2 you may as well > forget trying to build Perl... :-(... Actually, with the appended patch, it should be possible to build if the c: drive isn't accessible but the e: drive is (and it should be clear how to modify it to use any other drive instead of e:). Regards, Stefan P.S.: I wonder if we couldn't/shouldn't provide a sed command which replaces the occurences of "c:/." by "$OSRT:/." ------------------------------------------------ --- perl-5.8.0\Configure Thu Jul 18 22:55:14 2002 +++ Configure Fri Jan 31 22:02:22 2003 at at -60,5 +60,5 at at p_=: : On OS/2 this directory should exist if this is not floppy only system :-] -if test -d c:/. ; then +if test -d c:/. || test -d e:/. ; then if test -n "$OS2_SHELL"; then p_=\; at at -1145,5 +1145,5 at at : DOS DJGPP _exe=".exe" -elif test -d c:/. ; then +elif test -d c:/. || test -d e:/. ; then : OS/2 or cygwin _exe=".exe" at at -3201,5 +3201,5 at at fi $rm -f UU/kernel.what - elif test -d c:/.; then + elif test -d c:/. || test -d e:/. ; then set X $myuname osname=os2 _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 27 ==========================** Date: Fri, 31 Jan 2003 22:11:07 +0000 From: John Poltorak Subject: Re: ux2 posix On Fri, Jan 31, 2003 at 10:52:54PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > (snipp) > > ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxrt.zip > > Why is that? It's supposed to be just a subset of all the other > emx packages that are downloaded anyway, isn't it? If you look at emx_inst.cmd you will see why. It could probably be done more efficiently, but I couldn't think of a simple way of doing it at the time... If you are not careful about the order you unpack files, you could end up replacing a newer file with an older one. > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 28 ==========================** Date: Fri, 31 Jan 2003 22:18:32 +0000 From: John Poltorak Subject: Re: Perl's Configure On Fri, Jan 31, 2003 at 11:10:04PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > With respect to my problem with "C:" and following my last idea of > doing something with sed to substitute a "reasonable" drive letter > for "C:": > The following command (run under cmd.exe) seems to do the trick > within our context (%OSRT% is guaranteed to be a simple drive > letter, isn't it?): > > sed "s/c:\/\./"%OSRT%"\/\./" < Configure > Configure.new && mv Configure.new Configure You could actually put this line into:- \unixos2\scripts\build\build_perl.cmd > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 29 ==========================** Date: Fri, 31 Jan 2003 22:33:52 +0100 From: Stefan.Neis at t-online.de Subject: Re: Perl questions Hi, > 1. Try to use long doubles if available? [n] > Why not? Oh boy, I apparently really need to go to bed. :-( Long doubles aren't of much interest to me, I don't know if EMX supports them at all, but I assume trying to use them is likely to just fail to many tests thanks to rounding issues... What I really meant to quote is this: > Checking to see if you have int64_t... > Checking which 64-bit integer type we could use... > We could use 'long long' for 64-bit integers. > Try to use 64-bit integers, if available? [n] Anyone knows the reason for not using those? Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 30 ==========================** Date: Fri, 31 Jan 2003 22:35:40 +0100 From: Stefan.Neis at t-online.de Subject: Re: AWK - no acceptable ld on PATH Hi, > If I remember correctly that's just an side effect of an intermediate > gettext version included within that gawk version. It isn't used > for anything, set LD=ld and that's it. There are some other > restrictions for that release. All you need to know should be > documented in gawk.info. The upcoming gawk 3.1.2 won't have such > limitations. Thanks for clarification. There we see the difference between actually having had a look at the source at some time and my wild guessing ... :-( Thanks, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 31 ==========================** Date: Fri, 31 Jan 2003 22:52:54 +0100 From: Stefan.Neis at t-online.de Subject: Re: ux2 posix Hi, (snipp) > ftp://ftp.leo.org/pub/comp/os/os2/leo/gnu/emx+gcc/emxrt.zip Why is that? It's supposed to be just a subset of all the other emx packages that are downloaded anyway, isn't it? (snipp) > ftp://os2ports.com/incoming/p2alpha6_bin.zip (snipp) Interesting way to answer simple questions, namely this one: ;-) > > Is it possible to get just the latest Posix/2? Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 32 ==========================** Date: Fri, 31 Jan 2003 22:52:54 +0100 From: Stefan.Neis at t-online.de Subject: Re: Perl questions Hi, > > 2. What name do you want to give to the shared libperl? [libperl.lib] > > Really want the "lib" prefix? > > I'd like it to be whatever is standard on an FHS compliant system. > > What is it called on *BSD? It's probably libperl.a "everywhere", but I assume that you normally want to use it via "-lperl", so it must be perl.a (a.out) / perl.lib (OMF) on OS/2 and libperl.a everywhere else, I think. > A faster machine :-)... > > Maynard can build it in **17** mins. It generally takes me an hour or so, > but can take very much longer. Actually, "set GCCLOAD=5" does help a lot, it's just not normally set over here as I had some strange problems with it (years ago, so maybe I should try to reenable it by default). BTW, the build process didn't like the fact that PERL5LIB was set in my environment, "ux2_env.cmd" maybe should "unset" that variable? (I admit to not have updated all those packages after the initial download, so maybe that's been done already). > > My experiments with > > using the included support for nm/emxofar/emximp (triggered by some > > warnings early in Configure's output) apparently caused the desaster > > I encountered so far... > > I think the initial point is to make sure we can establish a known > standard build environment where Perl is almost guaranteed to build. Sure, I just got distracted/confused by that warning and though I needed to do something about it (as my first experiences with the perl build process weren't really pleasant thanks to no c: drive...). BTW, I seemingly just completed the perl build succesfully for the first time, running "make test" right now .... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 33 ==========================** Date: Fri, 31 Jan 2003 23:10:04 +0100 From: Stefan.Neis at t-online.de Subject: Perl's Configure Hi, With respect to my problem with "C:" and following my last idea of doing something with sed to substitute a "reasonable" drive letter for "C:": The following command (run under cmd.exe) seems to do the trick within our context (%OSRT% is guaranteed to be a simple drive letter, isn't it?): sed "s/c:\/\./"%OSRT%"\/\./" < Configure > Configure.new && mv Configure.new Configure Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs