Date: Fri, 15 Aug 2003 02:47:07 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 172 ************************************************** Thursday 14 August 2003 Number 172 ************************************************** Subjects for today 1 Re: Installing the UnixOS2 build system : T.Sikora" 2 Re: Installing the UnixOS2 build system : T.Sikora" 3 Installing the UnixOS2 build system : Sid Gale" **= Email 1 ==========================** Date: Fri, 15 Aug 2003 19:33:39 -0400 From: "T.Sikora" Subject: Re: Installing the UnixOS2 build system Sid Gale wrote: > I hope someone here can help an absolute beginner who is having > problems installing the UnixOS2 build system. I've been trying all > evening and I /think/ I've done everything according to the > instructions, but the install does not seem to work. There are lots of > things that appear to be wrong but I'll try to summarize. > > First, I downloaded ux2_base.zip, os2libs.zip and ux2_bootstrap.cmd. I > unzipped ux2_base using 'unzip -d D:\UnixOS2 ux2_base.zip', which > seemed to work. I switched to d:\unixos2\install and ran doinst.cmd. > This asked my to confirm my boot drive and enter my unixroot directory, > which I did as D:\UnixOS2. I then went back to my download directory > and ran 'installpkg os2libs' which again seemed to work. All the above > was done in a single OS/2 command session. I completed this stage by > rebooting. > > On restart, I amended the ux2_bootstrap.cmd file; set download=wget, > set bldrt=D:, set uxrt=D:, set osrt=c:. Then I ran the command from an > OS/2 command session. This went off and did a huge amount of work, but > peppered with error messages. I've copied a chunk of the output to the > end of this email to show what I mean. It looks as though lots of > things failed to be set up because 'D:\usr\bin\mkdir' could not be > found (which isn't surprising because it doesn't exist, although there > is an empty d:\usr\bin). The logfiles were all created in the root of > D: and show lots of errors. > > Obviously this works for other people so I must be missing something, > but after several hours perusing the documentation I can't see what it > is. Can anyone assist? > > One other question: does the build system include a C compiler or do I > have to find one elsewhere? I ask because I want to compile a program > ported from Unix, and the documentation says that it's a doddle with a > UnixOS2 setup. > > As I mentioned at the beginning, I'm a total novice at this but was > hoping that the UnixOS2 approach would give me a fairly straightforward > introduction. Any help anyone can provide will be gratefully received. > > Regards > > Sid Gale > > > Output------------ > > SYS1490: The system cannot find -p2. > ..Using additional site preparation (D:/unixos2/scripts/pre-process/m4) > build.sh: build.sh[210]: autoconf: not found > ..Using > build.sh: build.sh[210]: autoconf: not found > ..autoconf failed. > > ..Compiler version is: 2.8.1 > Fri Aug 15 21:54:54 BST 2003 > elapsed time: 10 secs > end > SYS1041: The name D:\usr\bin\mkdir is not recognized as an > internal or external command, operable program or batch file. > SYS1041: The name D:\usr\bin\mkdir is not recognized as an > internal or external command, operable program or batch file. > Fri Aug 15 21:54:55 BST 2003 > > DIR URL CFLAGS LDFLAGS CFGPARMS MAKEPARM SRC > ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz > --prefix=${UXRT}/usr --in > fodir=${UXRT}/usr/share/info . > URL ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz > CFLAGS > LDFLAGS > CFGPARMS --prefix=${UXRT}/usr --infodir=${UXRT}/usr/share/info > MAKEPARM > SRC . > ..adding posix2 environment. > REPOSITORY/ARCHIVEFILE = D:/unixos2/archives/termcap-1.3.1.tar.gz > ..retrieving termcap-1.3.1.tar.gz (wget -nv --no-clobber --tries=1 -P > D:/unixos2 > /archives ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz) > 21:55:04 URL: ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz > [439416] -> > "D:/unixos2/archives/termcap-1.3.1.tar.gz" [1] > build.sh: build.sh[104]: cd: no home directory (HOME not set) > D:/unixos2/lib > ..extracting termcap-1.3.1.tar.gz into termcap-1.3.1. > > gzip: stdout: Broken pipe > tar: "gzip" exit status 1 > D:/unixos2/lib/termcap-1.3.1 > termcap-1.3.1 > SYS1490: The system cannot find -p1. > build.sh: build.sh[210]: autoconf: not found You may have been the first to try wget since some changes. Looks like not everything was downloaded. rsync is pretty solid though. You may want to try that instead. All you need is the ux2_bootstrap.cmd script and nothing else. The script does everything. rsync depend on emx runtimes already installed. I'll add those tonight to eliminate the need for emx runtimes. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Fri, 15 Aug 2003 19:46:29 -0400 From: "T.Sikora" Subject: Re: Installing the UnixOS2 build system T.Sikora wrote: > Sid Gale wrote: > >> gzip: stdout: Broken pipe >> tar: "gzip" exit status 1 >> D:/unixos2/lib/termcap-1.3.1 >> termcap-1.3.1 >> SYS1490: The system cannot find -p1. >> build.sh: build.sh[210]: autoconf: not found > > > > You may have been the first to try wget since some changes. Looks like > not everything was downloaded. rsync is pretty solid though. You may > want to try that instead. All you need is the ux2_bootstrap.cmd script > and nothing else. The script does everything. rsync depend on emx > runtimes already installed. I'll add those tonight to eliminate the need > for emx runtimes. > I just added emx.dll and emxlibcm.dll to the bootstrap script. Rsync should work on a clean environment now. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Fri, 15 Aug 2003 22:56:02 +0100 (BST) From: "Sid Gale" Subject: Installing the UnixOS2 build system I hope someone here can help an absolute beginner who is having problems installing the UnixOS2 build system. I've been trying all evening and I /think/ I've done everything according to the instructions, but the install does not seem to work. There are lots of things that appear to be wrong but I'll try to summarize. First, I downloaded ux2_base.zip, os2libs.zip and ux2_bootstrap.cmd. I unzipped ux2_base using 'unzip -d D:\UnixOS2 ux2_base.zip', which seemed to work. I switched to d:\unixos2\install and ran doinst.cmd. This asked my to confirm my boot drive and enter my unixroot directory, which I did as D:\UnixOS2. I then went back to my download directory and ran 'installpkg os2libs' which again seemed to work. All the above was done in a single OS/2 command session. I completed this stage by rebooting. On restart, I amended the ux2_bootstrap.cmd file; set download=wget, set bldrt=D:, set uxrt=D:, set osrt=c:. Then I ran the command from an OS/2 command session. This went off and did a huge amount of work, but peppered with error messages. I've copied a chunk of the output to the end of this email to show what I mean. It looks as though lots of things failed to be set up because 'D:\usr\bin\mkdir' could not be found (which isn't surprising because it doesn't exist, although there is an empty d:\usr\bin). The logfiles were all created in the root of D: and show lots of errors. Obviously this works for other people so I must be missing something, but after several hours perusing the documentation I can't see what it is. Can anyone assist? One other question: does the build system include a C compiler or do I have to find one elsewhere? I ask because I want to compile a program ported from Unix, and the documentation says that it's a doddle with a UnixOS2 setup. As I mentioned at the beginning, I'm a total novice at this but was hoping that the UnixOS2 approach would give me a fairly straightforward introduction. Any help anyone can provide will be gratefully received. Regards Sid Gale Output------------ SYS1490: The system cannot find -p2. ..Using additional site preparation (D:/unixos2/scripts/pre-process/m4) build.sh: build.sh[210]: autoconf: not found ..Using build.sh: build.sh[210]: autoconf: not found ..autoconf failed. ..Compiler version is: 2.8.1 Fri Aug 15 21:54:54 BST 2003 elapsed time: 10 secs end SYS1041: The name D:\usr\bin\mkdir is not recognized as an internal or external command, operable program or batch file. SYS1041: The name D:\usr\bin\mkdir is not recognized as an internal or external command, operable program or batch file. Fri Aug 15 21:54:55 BST 2003 DIR URL CFLAGS LDFLAGS CFGPARMS MAKEPARM SRC ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz --prefix=${UXRT}/usr --in fodir=${UXRT}/usr/share/info . URL ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz CFLAGS LDFLAGS CFGPARMS --prefix=${UXRT}/usr --infodir=${UXRT}/usr/share/info MAKEPARM SRC . ..adding posix2 environment. REPOSITORY/ARCHIVEFILE = D:/unixos2/archives/termcap-1.3.1.tar.gz ..retrieving termcap-1.3.1.tar.gz (wget -nv --no-clobber --tries=1 -P D:/unixos2 /archives ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz) 21:55:04 URL: ftp://ftp.gnu.org/pub/gnu/termcap/termcap-1.3.1.tar.gz [439416] -> "D:/unixos2/archives/termcap-1.3.1.tar.gz" [1] build.sh: build.sh[104]: cd: no home directory (HOME not set) D:/unixos2/lib ..extracting termcap-1.3.1.tar.gz into termcap-1.3.1. gzip: stdout: Broken pipe tar: "gzip" exit status 1 D:/unixos2/lib/termcap-1.3.1 termcap-1.3.1 SYS1490: The system cannot find -p1. build.sh: build.sh[210]: autoconf: not found . . . --------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs