Date: Fri, 22 Aug 2003 02:47:39 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 179 ************************************************** Thursday 21 August 2003 Number 179 ************************************************** Subjects for today 1 makefiles : T.Sikora" 2 ports : T.Sikora" 3 Re: makefiles : T.Sikora" 4 gmp done : T.Sikora" 5 Re: gmp done : T.Sikora" 6 Oopse, right off the hop : Jeff Robinson 7 Re: Oopse, right off the hop : Jeff Robinson 8 Re: Oopse, right off the hop : T.Sikora" 9 Re: Oopse, right off the hop : T.Sikora" 10 Re: Oopse, right off the hop : T.Sikora" 11 beginlibpath : T.Sikora" 12 Re: fixups : T.Sikora" 13 Re: fixups : T.Sikora" **= Email 1 ==========================** Date: Fri, 22 Aug 2003 10:24:24 -0400 From: "T.Sikora" Subject: makefiles Got a bunch of makefiles and patches for: bsddb expat gdbm gmp202 gnuufc readline zlib courtesy Andrew MacIntyre. Will be adding them to ports and for the final_inst. That eliminates our dependancy on 3rd party ports. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Fri, 22 Aug 2003 14:51:34 -0400 From: "T.Sikora" Subject: ports I included gdbm in the build. It concludes with building gdbm, gnuufc, and perl in ports. Made tons of env cleanups. It really was not following unix specs. I added a user=root in ux2_local which is in etc/ now with gcc_local for gcc-3.2.1 user env settings. The main one ux2_env(which is system generated) is in sbin/ which calls ux2_config. ux2_config is essentially a site-wide config.site script. home=/root now. To build ports you need root permissions usually so /root is home for the root user. Other users ie; bubba would go in /home/bubba. All callable scripts are in /sbin and build.table is now in /ports/aux-tools/. When a port is added just copy the template directory and rename it for your port and add the source url in build.table. The source has to be in a directory not root like many gnu os2 ports. Tar.gz format too. It's all really, really easy to use. I tried several unix ports and autoconf works perfect contrary to popular opinion. I'm testing and adding gmp202 next. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Fri, 22 Aug 2003 14:56:11 -0400 From: "T.Sikora" Subject: Re: makefiles T.Sikora wrote: > Got a bunch of makefiles and patches for: > > bsddb > expat > gdbm > gmp202 > gnuufc > readline > zlib > > courtesy Andrew MacIntyre. Will be adding them to ports and for the > final_inst. That eliminates our dependancy on 3rd party ports. > I take that back a lot of the ux2 packages are just repackaged for ux2. Well I guess they were adopted. Ideally every package should also be in ports easilly buildable into a package. I guess we need to start building a package option for build. Several ports have a 'make slackware' package option so I guess we can borrow from that makefile. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Fri, 22 Aug 2003 16:19:16 -0400 From: "T.Sikora" Subject: gmp done At the bootstrap conclusion gmp, gdbm, gnuufc, and perl are built. The framework is complete. You can refresh the ports directory at anytime by running 'ports_update'. I added a 'ux2bs_update' for updating the system after this if you already have it installed. Not working yet have to add a ::updates rsync module. From this point on once you have it installed all you have to do is run: ports_update (Working!) ux2bs_update (Soon!) to refresh the system. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Fri, 22 Aug 2003 16:52:03 -0400 From: "T.Sikora" Subject: Re: gmp done T.Sikora wrote: > At the bootstrap conclusion gmp, gdbm, gnuufc, and perl are built. > The framework is complete. You can refresh the ports directory at > anytime by running 'ports_update'. I added a 'ux2bs_update' for updating > the system after this if you already have it installed. Not working yet > have to add a ::updates rsync module. From this point on once you have > it installed all you have to do is run: > > ports_update (Working!) > ux2bs_update (Soon!) ux2bs_update Working but nothing there yet. You can test it though. It downloads an updates folder to your /install directory calls an 'install_update' script and then removes itself. > > to refresh the system. > -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Fri, 22 Aug 2003 17:25:30 -0500 From: Jeff Robinson Subject: Oopse, right off the hop Hi Ted, I grabbed the ux2bs_inst.cmd script and had some trouble right off the hop. I edit the file to have the proper drive letters (you may want to show the %osrt% just like you show the %uxrt% in the intro message) and then run it. The script FTP's into the server but then it fails almost immediately after that... it seems that it can't find rsync.exe: > Mirrors use rsync os2ports.com:: for a list of available modules. > 230 Anonymous access granted, restrictions apply. > 200 Type set to I > 200 PORT command successful > 550 /pub/unixos2/ux2bs/build_system/lib/rsync.exe: No such file or directory > 221 Goodbye. > end Jeff -- ---------------- Whatza JamochaMUD? http://jamochamud.anecho.mb.ca Or other stuff: http://www.anecho.mb.ca/~jeffnik ----------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Fri, 22 Aug 2003 19:03:20 -0500 From: Jeff Robinson Subject: Re: Oopse, right off the hop T.Sikora wrote: > Jeff Robinson wrote: > >> Hi Ted, >> >> >> >> Jeff >> > That's an old inst file get this: > > http://os2ports.com/ftp/pub/unixos2/ux2bs/build_system/install/ux2bs_inst.cmd > > > hit refresh in your browser just in case. > > Ah... I got my copy off the main UX2BS page... you might want to update that... Jeff -- ---------------- Whatza JamochaMUD? http://jamochamud.anecho.mb.ca Or other stuff: http://www.anecho.mb.ca/~jeffnik ----------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Fri, 22 Aug 2003 19:36:47 -0400 From: "T.Sikora" Subject: Re: Oopse, right off the hop Jeff Robinson wrote: > Hi Ted, > > I grabbed the ux2bs_inst.cmd script and had some trouble right off the > hop. I edit the file to have the proper drive letters (you may want to > show the %osrt% just like you show the %uxrt% in the intro message) and > then run it. > > The script FTP's into the server but then it fails almost immediately > after that... it seems that it can't find rsync.exe: > >> Mirrors use rsync os2ports.com:: for a list of available modules. >> 230 Anonymous access granted, restrictions apply. >> 200 Type set to I >> 200 PORT command successful >> 550 /pub/unixos2/ux2bs/build_system/lib/rsync.exe: No such file or >> directory >> 221 Goodbye. >> end > > > > Jeff > That's an old inst file get this: http://os2ports.com/ftp/pub/unixos2/ux2bs/build_system/install/ux2bs_inst.cmd hit refresh in your browser just in case. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Fri, 22 Aug 2003 19:45:11 -0400 From: "T.Sikora" Subject: Re: Oopse, right off the hop This is a multi-part message in MIME format. --------------030304000803000605050400 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit T.Sikora wrote: > Jeff Robinson wrote: > >> Hi Ted, >> >> I grabbed the ux2bs_inst.cmd script and had some trouble right off the >> hop. I edit the file to have the proper drive letters (you may want >> to show the %osrt% just like you show the %uxrt% in the intro message) >> and then run it. >> >> The script FTP's into the server but then it fails almost immediately >> after that... it seems that it can't find rsync.exe: >> >>> Mirrors use rsync os2ports.com:: for a list of available modules. >>> 230 Anonymous access granted, restrictions apply. >>> 200 Type set to I >>> 200 PORT command successful >>> 550 /pub/unixos2/ux2bs/build_system/lib/rsync.exe: No such file or >>> directory >>> 221 Goodbye. >>> end >> >> >> >> >> Jeff >> > That's an old inst file get this: > > http://os2ports.com/ftp/pub/unixos2/ux2bs/build_system/install/ux2bs_inst.cmd > > > hit refresh in your browser just in case. > > > This is it for the bootstrap no more changes. If anything internally I'll announce it and just do a 'ux2bs_update' to make it current. Same with ports with 'ports_update'. After building a port in /ports/yourport you can run 'clean' to remove the workdir/. It's all pretty seamless. -- T.Sikora tsikora at ntplx dot net --------------030304000803000605050400 Content-Type: text/plain; name="ux2bs_inst.cmd" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ux2bs_inst.cmd" at echo off echo: echo: Please set rsync or wget as your download method. echo: set download=rsync echo: echo: Please set variables(drive letter only) to suit your own environment echo: before running this script for the first time. echo: set uxrt=c: set osrt=c: echo: * osrt is the drive where OS/2 boots from. echo: echo: * uxrt is the drive where the Unix-like environment echo: will be installed. echo: echo: - currently %uxrt% echo: echo: If these variables are not set correctly, press ctrl-break otherwise echo: press any other key to install the UX2 Developers Build System echo: which should conclude with building Perl 5.8.0. This may take an echo: hour or so depending on your bandwidth and machine. echo: pause set bld=install set UNIXROOT=%uxrt% set host=os2ports.com %uxrt% cd \ echo open %host% >>ux2_ftp echo user anonymous "test at nowhere.com" >>ux2_ftp echo bina >>ux2_ftp echo get /pub/unixos2/ux2bs/baseline/ux2/ux2_base.exe >>ux2_ftp echo get /pub/unixos2/ux2bs/baseline/ux2/infozip.exe >>ux2_ftp echo get /pub/unixos2/ux2bs/baseline/ux2/rsync.zip >>ux2_ftp echo get /pub/unixos2/ux2bs/baseline/ux2/wget.zip >>ux2_ftp echo get /pub/unixos2/ux2bs/baseline/emx/emxrt.zip >>ux2_ftp echo bye >>ux2_ftp echo:>>ux2_ftp type ux2_ftp | ftp -nv set tmp=%uxrt%\tmp set bld_home=%uxrt%\install set repository=%bld_home%\archives set path=%uxrt%\bin;%uxrt%\usr\bin;%uxrt%\emx\bin;%uxrt%\usr\local\bin;%uxrt%\sbin;%uxrt%\usr\sbin;%PATH% set beginlibpath=%uxrt%\lib;%uxrt%\usr\lib;%uxrt%\emx\dll;%uxrt%\emx\lib;%uxrt%\usr\local\lib %uxrt%\ux2_base.exe -o del %bld_home%\doinst.cmd %uxrt%\infozip.exe -o unzip -uo %uxrt%\emxrt.zip -d %uxrt%/ unzip -uo %uxrt%\rsync.zip -d %uxrt%/ unzip -uo %uxrt%\wget.zip -d %uxrt%/ rem del %uxrt%\*.zip rem del %uxrt%\ux2_ftp rem del %uxrt%\ux2_base.exe rem del %uxrt%\infozip.exe goto %download% :wget %uxrt%\usr\bin\wget -Ncr -nH --cut-dirs=4 -t 1 -P %uxrt% ftp://%host%/pub/unixos2/ux2bs/build_system/ goto done :rsync %uxrt%\usr\bin\rsync -av %host%::build %uxrt%/ goto done :done if exist \install\archives goto done2 md %uxrt%\%bld%\archives goto %download%2 :rsync2 %uxrt%\usr\bin\rsync -av %host%::baseline %repository% goto done2 :wget2 %uxrt%\usr\bin\wget -Ncr -nH --cut-dirs=4 -t 1 -P %repository% ftp://%host%/pub/unixos2/ux2bs/baseline/ goto done2 :done2 call %bld_home%\set_env call %bld_home%\pkg_inst call %bld_home%\emx_inst call %bld_home%\gcc_inst call %bld_home%\final_inst del %bld_home%\*.cmd echo end --------------030304000803000605050400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs --------------030304000803000605050400-- **= Email 10 ==========================** Date: Fri, 22 Aug 2003 20:26:50 -0400 From: "T.Sikora" Subject: Re: Oopse, right off the hop Jeff Robinson wrote: > T.Sikora wrote: > >> Jeff Robinson wrote: >> >>> Hi Ted, The stupid browser caches the old one if you were there before. That happened to me. That's why I suggested a refresh. Is it working? Nobody's saying anything and there were quite a few downloads on rsync. Maybe I made too many drastic changes? Hell change is good... The last words of the damned? > > Jeff > -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Fri, 22 Aug 2003 21:08:13 -0400 From: "T.Sikora" Subject: beginlibpath The current beginlibpath is: set beginlibpath=%uxrt%\lib;%uxrt%\usr\lib;%uxrt%\emx\dll;%uxrt%\emx\lib;%uxrt%\usr\local\lib Should I include maybe %osrt%\os2\dll;%osrt%\mptn\dll;%osrt%\tcpip\dll; I see no problems yet but maybe I overlooked some unforeseen problems? -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Fri, 22 Aug 2003 22:41:51 -0400 From: "T.Sikora" Subject: Re: fixups Dave Saville wrote: > Clean disk - OK until > > 4 archives were successfully processed. > Leaving f:\install\gcc_inst > Entering f:\install\final_inst with REPOSITORY=f:\install\archives > Thu Aug 21 14:30:29 BST 2003 > > DIR URL CFLAGS LDFLAGS CFGPARMS MAKEPARM SRC > ftp://os2ports/pub/unixos2/ux2bs/baseline/gnuufc.tar.gz . > URL ftp://os2ports/pub/unixos2/ux2bs/baseline/gnuufc.tar.gz > CFLAGS > LDFLAGS > CFGPARMS > MAKEPARM > SRC . > REPOSITORY/ARCHIVEFILE = f:\installrchives/gnuufc.tar.gz > ..gnuufc.tar.gz already retrieved. > F:/ports/crypt/workdir > ..extracting gnuufc.tar.gz into gnuufc. > > gzip: stdout: Broken pipe > tar: "gzip" exit status 1 > The archive gnuufc.tar.gz does not appear to have extracted correctly > into gnuufc so the build of crypt cannot continue. > Press any key to EXIT > > And how do I pick up again once its fixed - or do I have to spend 2 > hours downloading *again* > > Hmmm I been changing it like crazy but it's done now and I added a ux2bs_update to refresh it once installed. But that does not help now. Just leave /install/archives but clear the root of archives leave the subs intact. Remove everything else including the stuff in /install's root. The script skips /install/archives if it exists. You have wget? If so do a wget -Ncr -nH --cut-dirs=4 -t 1 -P /install/archives ftp://os2ports.com/pub/unixos2/ux2bs/baseline/ before you remove anything. Then run the bootstrap again which changed again...last time I promise. That's why I added the ux2bs_update to avoid these hassles. http://os2ports.com/ftp/pub/unixos2/ux2bs/build_system/install/ux2bs_inst.cmd -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Fri, 22 Aug 2003 22:57:10 -0400 From: "T.Sikora" Subject: Re: fixups T.Sikora wrote: > Dave Saville wrote: > >> Clean disk - OK until >> >> 4 archives were successfully processed. >> Leaving f:\install\gcc_inst >> Entering f:\install\final_inst with REPOSITORY=f:\install\archives >> Thu Aug 21 14:30:29 BST 2003 >> >> DIR URL CFLAGS LDFLAGS CFGPARMS MAKEPARM SRC >> ftp://os2ports/pub/unixos2/ux2bs/baseline/gnuufc.tar.gz . >> URL ftp://os2ports/pub/unixos2/ux2bs/baseline/gnuufc.tar.gz >> CFLAGS >> LDFLAGS >> CFGPARMS >> MAKEPARM >> SRC . >> REPOSITORY/ARCHIVEFILE = f:\installrchives/gnuufc.tar.gz >> ..gnuufc.tar.gz already retrieved. >> F:/ports/crypt/workdir >> ..extracting gnuufc.tar.gz into gnuufc. >> >> gzip: stdout: Broken pipe >> tar: "gzip" exit status 1 >> The archive gnuufc.tar.gz does not appear to have extracted correctly >> into gnuufc so the build of crypt cannot continue. >> Press any key to EXIT >> >> And how do I pick up again once its fixed - or do I have to spend 2 >> hours downloading *again* >> >> > Hmmm I been changing it like crazy but it's done now and I added a > ux2bs_update to refresh it once installed. But that does not help now. > Just leave /install/archives but clear the root of archives leave the > subs intact. Remove everything else including the stuff in /install's root. > The script skips /install/archives if it exists. You have wget? If so do > a wget -Ncr -nH --cut-dirs=4 -t 1 -P /install/archives > ftp://os2ports.com/pub/unixos2/ux2bs/baseline/ before you remove > anything. Then run the bootstrap again which changed again...last time I > promise. That's why I added the ux2bs_update to avoid these hassles. > > http://os2ports.com/ftp/pub/unixos2/ux2bs/build_system/install/ux2bs_inst.cmd > > -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs