From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Fri, 1 Mar 2002 04:18:43 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 150 ************************************************** Thursday 28 February 2002 Number 150 ************************************************** Subjects for today 1 Re: Autoconf 2.52h : Andreas Buening 2 Re: Autoconf 2.52h : John Poltorak 3 Re: Installing gcc 3.0.3 : Henry Sobotka 4 HFSUTILS : John Poltorak 5 Installing gcc 3.0.3 : John Poltorak 6 Re: Installing gcc 3.0.3 : John Poltorak 7 Re: Installing gcc 3.0.3 : =?iso-8859-1?q?Martin_Schaff=F6ner?=" 8 Make problems : John Poltorak **= Email 1 ==========================** Date: Fri, 01 Mar 2002 07:55:45 +0100 From: Andreas Buening Subject: Re: Autoconf 2.52h John Poltorak wrote: > > On Fri, Feb 15, 2002 at 12:28:48AM +0100, Andreas Buening wrote: [fix for autoconf 2.52h] > Not sure what this fix is for, but if I apply it, I get this error:- [error messages] Okay, I'm not able to get autoconf 2.52h installed. :-( I suspect perl might be the reason. Could you please tell me a) which perl did you use (which version and where got it) b) which shell did you use? c) which PERL* env. vars did you use? You can get them if you enter "echo $PERL" followed by two tabs within your _bash_ prompt (without ). d) Do you have any files in "d:/perl/bin"? (seems to be a hardcoded path in at least that perl version I'm using). Thanks, 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 Redmond where the Shadows lie. **= Email 2 ==========================** Date: Fri, 1 Mar 2002 10:13:24 +0000 From: John Poltorak Subject: Re: Autoconf 2.52h On Fri, Mar 01, 2002 at 07:55:45AM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Fri, Feb 15, 2002 at 12:28:48AM +0100, Andreas Buening wrote: > > [fix for autoconf 2.52h] > > > Not sure what this fix is for, but if I apply it, I get this error:- > > [error messages] > > Okay, I'm not able to get autoconf 2.52h installed. :-( > I suspect perl might be the reason. Could you please tell me > a) which perl did you use (which version and where got it) > b) which shell did you use? > c) which PERL* env. vars did you use? You can get them > if you enter "echo $PERL" followed by two tabs within > your _bash_ prompt (without ). > d) Do you have any files in "d:/perl/bin"? > (seems to be a hardcoded path in at least that perl version > I'm using). I found Perl was quite easy to build for myself using a simple cmd file such as:- set AWK=c:/usr/bin/awk.exe set C_INCLUDE_PATH=c:/emx/include; set CPLUS_INCLUDE_PATH=c:/emx/include/cpp;c:/emx/include set LIBRARY_PATH=c:/emx/lib set PATH=c:\emx\bin;c:\usr\bin;c:\os2; md \tmp md \tmp\perl cd \tmp\perl test -f stable.tar.gz || wget -c http://www.cpan.org/src/stable.tar.gz tar zxf stable.tar.gz cd perl-5.6.1 patch -p0 < os2\diff.configure sh -x ./Configure -des -D prefix=c:/usr/lib/perl make make test make install This will result in any hardcoded paths including c:/usr/lib/perl. If I build it the way that suits me, I don't need to set any variables, just copy perl.exe to somewhere on my path (c:\usr\bin) and the perl DLL to somewhere on my libpath. PDKSH needs to be used to build Perl - bash doesn't work for some reason. There is a problem with 'make install' for 5.6.1 which didn't occur with 5.6.0 but I haven't discovered why yet. With 5.6.1 'make install' is interpreted as 'make INSTALL' and since there is a file called INSTALL the target is deemed to be uptodate. This is resolved by renaming the INSTALL file. It would be nice if your Make port could handle this situation. The only other problem I have is with trying to build Perl using gcc 3.0.3. It just doesn't work (at least for me...). Others have built it but I can't figure out their secret. I don't have any trouble using 2.8.1. > Thanks, > 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 Redmond where the Shadows lie. -- John **= Email 3 ==========================** Date: Fri, 01 Mar 2002 10:33:50 -0500 From: Henry Sobotka Subject: Re: Installing gcc 3.0.3 John Poltorak wrote: > > Can someone give me some simple instructions for installing gcc 3.0.3? > > I have attempted to do so a number of times, but I keep missing something > out because I can't build Perl and keep getting an error when using > cpp0.exe. This must be related to something missing from my environment > but I can't figure out what. I thought we had determined it was from using the wrong (for 3.0.3) intl.dll. h~ **= Email 4 ==========================** Date: Fri, 1 Mar 2002 11:14:53 +0000 From: John Poltorak Subject: HFSUTILS Slackware contains a package called HFSUTILS which contains some programs for supporting Mac users. An OS/2 version is available here:- http://www.student.nada.kth.se/~f96-bet/hfsutils/ and this forms the basis of the UnixOS/2 HFSUTILS package here:- ftp://unixos2.com/incoming/pkg/hfsutils.zip The OS/2 port is no longer being maintained and the homepage above may disappear before too long, so if anyone has access to a Mac maybe you could take over hosting the homepage or even maitenance of the OS/2 port of HFSUTILS... -- John **= Email 5 ==========================** Date: Fri, 1 Mar 2002 14:44:43 +0000 From: John Poltorak Subject: Installing gcc 3.0.3 Can someone give me some simple instructions for installing gcc 3.0.3? I have attempted to do so a number of times, but I keep missing something out because I can't build Perl and keep getting an error when using cpp0.exe. This must be related to something missing from my environment but I can't figure out what. -- John **= Email 6 ==========================** Date: Fri, 1 Mar 2002 15:48:21 +0000 From: John Poltorak Subject: Re: Installing gcc 3.0.3 On Fri, Mar 01, 2002 at 10:33:50AM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > Can someone give me some simple instructions for installing gcc 3.0.3? > > > > I have attempted to do so a number of times, but I keep missing something > > out because I can't build Perl and keep getting an error when using > > cpp0.exe. This must be related to something missing from my environment > > but I can't figure out what. > > I thought we had determined it was from using the wrong (for 3.0.3) > intl.dll. Not exactly. I determined that the latest (AZ) INTL.DLL didn't work with Make 3.79.1. I don't recall that DLL preventing the cpp0.exe errors I got, but I'll check it again just in case my recollection is wrong. > h~ -- John **= Email 7 ==========================** Date: Fri, 01 Mar 2002 16:28:20 +0100 (MEZ) From: "=?iso-8859-1?q?Martin_Schaff=F6ner?=" Subject: Re: Installing gcc 3.0.3 -----BEGIN PGP SIGNED MESSAGE----- On Fri, 1 Mar 2002 14:44:43 +0000, John Poltorak wrote: > >Can someone give me some simple instructions for installing gcc 3.0.3? It worked for me like this: the /emx/bin.new directory must be on the path, everything else will be found my gcc itself. However, there seems to be a problem with the /emx/lib/gcc-lib/i386-pc-os2_emx/3.0.3/include/stdarg.h file which by default is examined before the one in /emx/include. So I had to set cplus_include_path and c_include_path to contain this directory so that it is searched before /emx/lib/gcc-lib/... Anything else was not necessary, and I was more successful building STLport with gcc3 than with pgcc 2.95.3 (still does not compile the test suite). Don't know if this success message helps, though. Martin Schafföner -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wpUDBQE8f4H0RsBqlJC0pwEBAbjcA/96WEPTxm6Gr94S/EvunbpEEjTWCedYO1Rf Y8Ks+LBNBh+fANg8oTyDBEv+ey9Yle/p0HOaOPpOW+fAvvTaUH7UPZ6ufRKf4TpZ kfwb6F7mGQvezTNCaSMp7ffWl8IseiYv0r0gcxv+sAoVQu/rCqS0r6yUNZuSF0uh 1RiqXEG0Hg== =SBet -----END PGP SIGNATURE----- **= Email 8 ==========================** Date: Fri, 1 Mar 2002 21:33:16 +0000 From: John Poltorak Subject: Make problems My usage of Make v3.79.1 over the last week or so has come up with the following problems:- o Cannot be used to build emacs 20.7. Make 3.76.1 does work. o Does not distinguish between 'Make install' and 'Make INSTALL' Same as previous versions of Make. o Incompatible with INTL supplied with latest GETTEXT. Could be INTL build problem. Has anyone else had any problems with it? -- John