Date: Wed, 22 Jan 2003 02:28:00 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 54 ************************************************** Tuesday 21 January 2003 Number 54 ************************************************** Subjects for today 1 Re: BYACC, FLEX and VILE : Maynard" 2 Re: LYNX : Maynard" 3 Re: BYACC, FLEX and VILE : Maynard" 4 Re: Perl does not built by ux2bs anymore : Maynard" 5 Re: Perl does not built by ux2bs anymore : nickk" 6 Re: Perl does not built by ux2bs anymore : nickk" 7 BYACC, FLEX and VILE : John Poltorak 8 ux2_env.cmd : Maynard" 9 LYNX : John Poltorak 10 Re: BYACC, FLEX and VILE : John Poltorak 11 Re: Gnu Compiler Suite for OS/2 bugtracker : John Poltorak 12 Re: Perl does not built by ux2bs anymore : John Poltorak 13 Re: LYNX : John Poltorak 14 Re: Build candidates : Maynard" 15 Re: Gnu Compiler Suite for OS/2 bugtracker : Adrian Gschwend" 16 Re: BYACC, FLEX and VILE : John Poltorak 17 Re: Perl does not built by ux2bs anymore : Dave Saville" 18 Re: ux2_env.cmd : John Poltorak 19 Re: Build candidates : Patrick Ash 20 Build candidates : John Poltorak 21 Re: Build candidates : John Poltorak **= Email 1 ==========================** Date: Wed, 22 Jan 2003 06:48:28 -0600 (CST) From: "Maynard" Subject: Re: BYACC, FLEX and VILE John, I think that we need to establish a table of dependencies. Perhaps the easiest is to maintain build.table in a sequential order, but really each package should state its own peculiar dependencies. BYACC: -n "Loading yacc ... " "done" doesn't create any new files anywhere FLEX: yacc -d ./parse.y /bin/sh: yacc: not found make: *** [parse.c] Error 127 makefile:200: warning: overriding commands for target `tags' makefile:197: warning: ignoring old commands for target `tags' yacc -d ./parse.y /bin/sh: yacc: not found make: *** [parse.c] Error 127 VILE: Can't locate Autom4te/General.pm in at INC ( at INC contains: /usr/local/sha BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 40. _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Wed, 22 Jan 2003 06:54:21 -0600 (CST) From: "Maynard" Subject: Re: LYNX John, Nice job!! Lynx built fine here. I note the way you solved the need for different autoconf versions. How many /usr/local_ paths are we going to end up with ? For the others, maybe I need to refresh something in \unixos2\. Is this best done with rsync? Please advise on this matter of how the rest of us shoudl be keeping up with your current environment. Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Wed, 22 Jan 2003 07:28:47 -0600 (CST) From: "Maynard" Subject: Re: BYACC, FLEX and VILE John, >Yes, there is a lot of interdepedence among some of the apps and we need >to get some sort of reference together... Maybe the easiest way to get started, and to share the info, is to use \UnixOS2\notes to contain individual text files of notes for each package, ala: flex: requires byacc, .... other interesting observations You'd be the the primary author of course, and presumably us remote users could update several UnixOS2/ dirs with rsync frequently. Dirs except archives, lib, logs, workdir would leave the important defs, patches, scripts. There's no reason for us to be modifying those is there? Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Wed, 22 Jan 2003 08:29:06 -0600 (CST) From: "Maynard" Subject: Re: Perl does not built by ux2bs anymore On Wed, 22 Jan 2003 14:11:38 +0000, John Poltorak wrote: >Wonder if there is any way to display the environment in which the shell >script is running... ? Add a line to configure which displays the current environment ? As I've looked at the situation, I too am perplexed as to why it's not working as we expect. -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Wed, 22 Jan 2003 09:49:56 +0300 (MSK) From: "nickk" Subject: Re: Perl does not built by ux2bs anymore On Tue, 21 Jan 2003 13:34:49 +0000, John Poltorak wrote: >On Tue, Jan 21, 2003 at 03:56:00PM +0300, nickk wrote: > >> >> Setting there comspec does not help, but setting OS2_SHELL helps. >> > >> > >> >This should be set in \unixos2\scripts\build\build_perl.cmd >> > >> >If yours does not include this you may need to refresh your files. I try >> >to incorporate any fixes as and when problems arise. >> >> It is set there too, but 'build perl' does not work until OS2_SHELL is set in ux2_env.cmd. > >I don't understand that. Why should it make any difference? May be it is used before build_perl.cmd call _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Wed, 22 Jan 2003 10:05:24 +0300 (MSK) From: "nickk" Subject: Re: Perl does not built by ux2bs anymore On Tue, 21 Jan 2003 13:43:09 +0000, John Poltorak wrote: >> Perl building result: >> >> Failed 5/726 test scripts, 99.31% okay. 369/68681 subtests failed, 99.46% okay. > >This looks good! > > >> Failed Test Stat Wstat Total Fail Failed List of Failed >> ------------------------------------------------------------------------------- >> ../lib/ExtUtils/t/basic.t 1 256 17 1 5.88% 14 > >Known problem. > > >> ../lib/Shell.t 1 256 4 1 25.00% 2 > >This a new one. > >> lib/os2_process.t 255 65280 227 180 79.30% 46 48 50-227 >> lib/os2_process_kid.t 227 184 81.06% 44-227 > >Everyone seems to get failures here but I've never seen this many fail. While the perl building and testing i wrked on that pc and switched from one window to another, And some of those tests relies on some checking of foreground/backgroud windows. >> lib/rx_cmprt.t 255 65280 18 3 16.67% 16-18 > >Object REXX problem, although a patch was posted yesterday, but I haven't >got it working yet. > > >I notice you don't have hostname.t or op/stat.t failing, but I do. I'd >like to know where any differences could arise. May be its due to my ux2_env.cmd ? Its content: env | sed "s/^/set /;s/=.*$/=/" >zap_env.cmd call zap_env.cmd set osrt=d: set uxrt=k: set bldrt=k: set path=k:\usr\bin;k:\emx\bin;k:\usr\local\bin;d:\os2; set tmp=k:\tmp set home=k:/home/root set beginlibpath=k:\usr\lib; set bld_home=k:/unixos2 set repository=k:/unixos2/archives/source set workdir=k:/unixos2/workdir set buildlogs=k:/unixos2/logs set CONFIG_SITE=k:/unixos2/lib/config.site set C_INCLUDE_PATH=k:/usr/include set CPLUS_INCLUDE_PATH=k:/usr/include/cpp;k:/usr/include set LIBRARY_PATH=k:/usr/lib set ETC=k:\etc SET COMSPEC=D:\OS2\CMD.EXE SET OS2_SHELL=D:\OS2\CMD.EXE _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Wed, 22 Jan 2003 10:21:22 +0000 From: John Poltorak Subject: BYACC, FLEX and VILE I have managed to get BYACC, FLEX and VILE (vi clone) built. Does anyone want to give them a try? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Wed, 22 Jan 2003 11:04:04 -0600 (CST) From: "Maynard" Subject: ux2_env.cmd John, if the file ux2_env.cmd is created by first copying PATH and BEGINLIBPATH before "env|sed ..." then it can be used from a command line which doesn't othewise know how to work with env and sed. Particularly, as implemented in a WPS Program Object where Path and file name: * Parameters: /k "P:\UnixOS2\lib\ux2_env.cmd" Working directory: P:\UnixOS2\lib for different values of P (%uxrt%) -- Maynard byacc, flex, vile built fine with your new scripts _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Wed, 22 Jan 2003 11:09:57 +0000 From: John Poltorak Subject: LYNX I just managed to build LYNX by adding:- lynx;lynx2-8-4;http://lynx.isc.org/release/lynx2.8.4.tar.gz;;;--with-screen=ncurses --enable-font-switch;;. to build.table and creating \unixos2\scripts\pre-process\lynx consisting of:- PATH=$UXRT/usr/local1/bin';'$PATH -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Wed, 22 Jan 2003 13:03:00 +0000 From: John Poltorak Subject: Re: BYACC, FLEX and VILE On Wed, Jan 22, 2003 at 06:48:28AM -0600, Maynard wrote: > John, > > I think that we need to establish a table of dependencies. Perhaps the > easiest is to maintain build.table in a sequential order, but really > each package should state its own peculiar dependencies. Yes, there is a lot of interdepedence among some of the apps and we need to get some sort of reference together... > > BYACC: > -n "Loading yacc ... " > "done" > doesn't create any new files anywhere > > > FLEX: > yacc -d ./parse.y > /bin/sh: yacc: not found > make: *** [parse.c] Error 127 > makefile:200: warning: overriding commands for target `tags' > makefile:197: warning: ignoring old commands for target `tags' > yacc -d ./parse.y > /bin/sh: yacc: not found > make: *** [parse.c] Error 127 > > > VILE: > Can't locate Autom4te/General.pm in at INC ( at INC contains: /usr/local/sha > BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 40. Actually, I'm sure if you would have been able to build any of those apps as they were, I was asking if anyone wanted to have a go... You will need:- \unixos2\scripts\build\build_byacc.cmd:- at echo off cp %uxrt%\emx\bin\gcc.exe %uxrt%\emx\bin\cc.exe make "LDFLAGS=-Zexe" "LIBS=../../defs/byacc.def" cp -p yacc.exe %uxrt%\usr\bin cp -p yacc.1 %uxrt%\usr\share\man\man1 gzip -9 %uxrt%\usr\share\man\man1\yacc.1 rm %uxrt%\emx\bin\cc.exe VILE needs FLEX, and I'm still testing that out - I'll let you have it shortly. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Wed, 22 Jan 2003 13:51:08 +0000 From: John Poltorak Subject: Re: Gnu Compiler Suite for OS/2 bugtracker On Tue, Jan 21, 2003 at 10:58:25PM +0100, Adrian Gschwend wrote: > Andy and Stauff are working on GCC 3.2.1 for OS/2 and for support we > now have a bugtracking system at netlabg.org: I hadn't heard anything about Andy for a long time, and thought he may have moved on... I'm glad he hasn't. He currently isn't on the os2-unix list since mail doesn't get delivered to him. As far as getting gcc 3.2.1 goes, I think it would be useful to have Andy and/or Stauff on this list as it might help smoothe the transition to the new version of gcc when it is available. At some point, I'd like to create a build system based on gcc 3.2.1 to make sure that apps continued to build properly. > cu > > Adrian > > > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Wed, 22 Jan 2003 14:11:38 +0000 From: John Poltorak Subject: Re: Perl does not built by ux2bs anymore On Wed, Jan 22, 2003 at 09:49:56AM +0300, nickk wrote: > On Tue, 21 Jan 2003 13:34:49 +0000, John Poltorak wrote: > > >On Tue, Jan 21, 2003 at 03:56:00PM +0300, nickk wrote: > > > >> >> Setting there comspec does not help, but setting OS2_SHELL helps. > >> > > >> > > >> >This should be set in \unixos2\scripts\build\build_perl.cmd > >> > > >> >If yours does not include this you may need to refresh your files. I try > >> >to incorporate any fixes as and when problems arise. > >> > >> It is set there too, but 'build perl' does not work until OS2_SHELL is set in ux2_env.cmd. > > > >I don't understand that. Why should it make any difference? > > May be it is used before build_perl.cmd call ux2_env initialises the environment completely for build_perl which *ought* to modify the environment before it runs:- sh Configure -des -D prefix=%uxrt%/usr/lib/perl which is the actual shell script that builds Perl. To me, it looks like the shell script is not inheriting the environment from the command file in which it is running, but I don't understand how this can be the case. Wonder if there is any way to display the environment in which the shell script is running... Maybe I'm missing something obvious... -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Wed, 22 Jan 2003 15:37:04 +0000 From: John Poltorak Subject: Re: LYNX On Wed, Jan 22, 2003 at 06:54:21AM -0600, Maynard wrote: > John, > > Nice job!! Thanks. It's amazing how easy it is to build some apps when the environment is set up correctly. > Lynx built fine here. > I note the way you solved the need for different autoconf versions. I realised a long time ago that certain apps built better with different versions of autoconf, but figuring out how to inorporate multiple versions wasn't easy. > How many /usr/local_ paths are we going to end up with ? Actually, I'm thinking of changing it to /usr/local/TEST > For the others, maybe I need to refresh something in \unixos2\. > Is this best done with rsync? I do have an RSYNC server on 213.152.37.92 so you could try that. > Please advise on this matter of how the rest of us shoudl be keeping up > with your current environment. It's basically a continually evolving environment, and I'm a little conerned about rolling stuff out which hasn't really been tested. I guess you can always try using '-n' first, or maybe have two sperate areas for the build directory structure - one as a work directory and one simply as a reference which you refreshed regularly by running something like:- rsync -av -ut --progress 213.152.37.92::build /unixos2-mirror The whole thing only takes up around 1MB. > > Thanks, > > -- Maynard > > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Wed, 22 Jan 2003 15:53:18 -0600 (CST) From: "Maynard" Subject: Re: Build candidates >Can anyone suggest any apps for putting through the UnixOS/2 Build System ? well BIND is sure a strong candidate; I think it needs a maintainer. Ian knows something about it, and from what I've gathered over the groups for a while it is an important project which needs to be rescued. My other thoughts are the GNU core utils (formerly, and in fact still presently, file, shell, and text); maybe also mail. NMAP And I'd like to see BASH and PINE (also mutt ??) since you asked ;-} -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Wed, 22 Jan 2003 15:57:59 +0100 (CET) From: "Adrian Gschwend" Subject: Re: Gnu Compiler Suite for OS/2 bugtracker On Wed, 22 Jan 2003 13:51:08 +0000, John Poltorak wrote: >I hadn't heard anything about Andy for a long time, and thought he may >have moved on... I'm glad he hasn't. AFAIK he is quite busy these days and he is more one of the lone programmers out there :-) Well Stauff is talking with him on a regular base and there is progress. That's the important thing :-) >As far as getting gcc 3.2.1 goes, I think it would be useful to have Andy >and/or Stauff on this list as it might help smoothe the transition to the >new version of gcc when it is available. I'm quite sure Stauff will help as good as he can. I've also talked with him about the FHS, he told me that they will release the final version of GCC FHS compilant (but probably not yet in the beta). >At some point, I'd like to create a build system based on gcc 3.2.1 to >make sure that apps continued to build properly. I think we should focus on the latest compiler also because most Linux distros start to use that now. Debian switched as well but there are some problems because 3.x is more strict. cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Wed, 22 Jan 2003 16:27:06 +0000 From: John Poltorak Subject: Re: BYACC, FLEX and VILE On Wed, Jan 22, 2003 at 01:03:00PM +0000, John Poltorak wrote: > Actually, I'm sure if you would have been able to build any of those apps > as they were, I was asking if anyone wanted to have a go... You will > need:- > > \unixos2\scripts\build\build_byacc.cmd:- > > > at echo off > cp %uxrt%\emx\bin\gcc.exe %uxrt%\emx\bin\cc.exe > make "LDFLAGS=-Zexe" "LIBS=../../defs/byacc.def" > cp -p yacc.exe %uxrt%\usr\bin > cp -p yacc.1 %uxrt%\usr\share\man\man1 > gzip -9 %uxrt%\usr\share\man\man1\yacc.1 > rm %uxrt%\emx\bin\cc.exe > > > VILE needs FLEX, and I'm still testing that out - I'll let you have it > shortly. \unixos2\scripts\build\build_flex.cmd:- set path=%UXRT%/usr/local1/bin;%path% sh autoconf sh ./configure make CFLAGS="-O2" LDFLAGS="-s -Zmt -Zcrtdll -Zsysv-signals -Zbin-files -Zexe" cp -p flex.exe %UXRT%/usr/bin This is a bit messy since I can't get configure to work exactly as I want. The install would normally be done by running:- make install but there is a problem, so I'm just copying the executable, whereas in normal circumstances a few other files also get installed. Hopefully someone will be able to point out what is wrong. Now, if you managed to build BYACC, you should be able to build FLEX, and if that works you can build VILE... Best of luck. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Wed, 22 Jan 2003 16:41:49 +0000 (GMT) From: "Dave Saville" Subject: Re: Perl does not built by ux2bs anymore On Wed, 22 Jan 2003 14:11:38 +0000, John Poltorak wrote: >On Wed, Jan 22, 2003 at 09:49:56AM +0300, nickk wrote: >> On Tue, 21 Jan 2003 13:34:49 +0000, John Poltorak wrote: >> >> >On Tue, Jan 21, 2003 at 03:56:00PM +0300, nickk wrote: >> > >> >> >> Setting there comspec does not help, but setting OS2_SHELL helps. >> >> > >> >> > >> >> >This should be set in \unixos2\scripts\build\build_perl.cmd >> >> > >> >> >If yours does not include this you may need to refresh your files. I try >> >> >to incorporate any fixes as and when problems arise. >> >> >> >> It is set there too, but 'build perl' does not work until OS2_SHELL is set in ux2_env.cmd. >> > >> >I don't understand that. Why should it make any difference? >> >> May be it is used before build_perl.cmd call > > >ux2_env initialises the environment completely for build_perl which >*ought* to modify the environment before it runs:- > >sh Configure -des -D prefix=%uxrt%/usr/lib/perl > >which is the actual shell script that builds Perl. To me, it looks like >the shell script is not inheriting the environment from the command file >in which it is running, but I don't understand how this can be the case. >Wonder if there is any way to display the environment in which the shell >script is running... > >Maybe I'm missing something obvious... Is the shell he is kicking off from setting up the environment right? From where you would normally run build....... run the environment setup script, then run set and see if it is correct. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Wed, 22 Jan 2003 17:20:39 +0000 From: John Poltorak Subject: Re: ux2_env.cmd On Wed, Jan 22, 2003 at 11:04:04AM -0600, Maynard wrote: > John, > > if the file ux2_env.cmd is created by first copying PATH and > BEGINLIBPATH before "env|sed ..." then it can be used from a command > line which doesn't othewise know how to work with env and sed. Yes, that became apparent because I was assuming that build.cmd would have the correct path when it was run, but of course that isn't the case. That is why I changed ux2_inst.cmd... > Particularly, as implemented in a WPS Program Object where > Path and file name: * > Parameters: /k "P:\UnixOS2\lib\ux2_env.cmd" > Working directory: P:\UnixOS2\lib > > for different values of P (%uxrt%) I don't think you need parameters now.... > -- Maynard > > byacc, flex, vile built fine with your new scripts Excellent! They could probably do with refining at some point, but my first task is to make sure the executables are usable. I don't like the way Flex builds and would like to try and modify it if possible. Ideally, there shouldn't be any build scripts. The apps should be handled through the mainline code in build.sh. If there is a script it's beause the app is some sort of exception. -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Wed, 22 Jan 2003 17:29:52 +0000 From: Patrick Ash Subject: Re: Build candidates I have been looking at mutt off and on for several months now. It will require a great deal of change to the source. Not something that can easily be done with a simple build script. I got it to the point where it would compile, but not all of the features worked. I have been planning to take another, closer look at it when I have time, but so far time is pretty well spoken for. Perhaps within the next few weeks. Pat On Wed, 22 Jan 2003 15:53:18 -0600 (CST), Maynard wrote: >>Can anyone suggest any apps for putting through the UnixOS/2 Build System ? > >My other thoughts are the GNU core utils (formerly, and in fact still >presently, file, shell, and text); maybe also mail. > >NMAP > >And I'd like to see BASH and PINE (also mutt ??) -- Patrick Ash patash at comcast.net This OS/2 system uptime is 0 days, 09:35 hours and 20 seconds _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 20 ==========================** Date: Wed, 22 Jan 2003 21:01:59 +0000 From: John Poltorak Subject: Build candidates Can anyone suggest any apps for putting through the UnixOS/2 Build System ? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 21 ==========================** Date: Wed, 22 Jan 2003 21:36:44 +0000 From: John Poltorak Subject: Re: Build candidates On Thu, Jan 23, 2003 at 12:24:35AM +0300, nickk wrote: > On Wed, 22 Jan 2003 21:01:59 +0000, John Poltorak wrote: > > >Can anyone suggest any apps for putting through the UnixOS/2 Build System ? > > BIND ? It won't cost anything to try it, but I'm certain it won't work without any OS/2 patches... At least v9.0 won't, but I could try v8.24 just to see if I can rebuild what we already have. I guess we may have a better chance with BIND if/when we have the Posix/2 headers... -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs