Date: Mon, 31 Mar 2003 02:39:30 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 121 ************************************************** Sunday 30 March 2003 Number 121 ************************************************** Subjects for today 1 Re: Autoconf error...? : Hannes Hromadka 2 Re: M4 : John Poltorak 3 Perl v5.8.1 : John Poltorak 4 Re: Perl v5.8.1 : Dave Saville" 5 Re: Perl v5.8.1 : Dave Saville" 6 Re: Perl v5.8.1 : John Poltorak 7 Re: Autoconf error...? : John Poltorak 8 Re: M4 : John Poltorak 9 Re: Autoconf error...? : John Poltorak 10 Re: M4 : Andreas Buening 11 Re: M4 : John Poltorak 12 Re: Autoconf error...? : Sebastian Wittmeier (ShadoW)" 13 Re: M4 : Sebastian Wittmeier (ShadoW)" 14 Re: M4 : Sebastian Wittmeier (ShadoW)" **= Email 1 ==========================** Date: Mon, 31 Mar 2003 08:58:05 +0200 From: Hannes Hromadka Subject: Re: Autoconf error...? On Fri, Mar 28, 2003 at 02:00:05PM +0000, John Poltorak wrote: > > > > clearly a bungled output from autoconf: incomplete code. > > > > I got such an error when trying to run the full configuration for slrn > > Can you think of any way to identify the source of the error? No way, I tried but got lost in the files. When I removed the 'done' which caused the error I got another error about 400 lines !!! earlier in the file. I could not even find the matching do statement 8-( There are so many nested if then, do done that I got lost very soon. Ciao, Hannes -- Johannes Hromadka | Email Office: HromadkaJ at gmx.at | Home : Johannes.Hromadka at gmx.net Vienna/Austria/Europe | OECC: http://www.oecc.org/ >>> Rust never sleeps (borrowed from Neil YOUNG) <<< _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Mon, 31 Mar 2003 09:39:34 +0000 From: John Poltorak Subject: Re: M4 On Sun, Mar 30, 2003 at 11:30:15PM +0100, Andreas Buening wrote: > > LINK386 : fatal error L1104: ..\lib\libm4.a : not valid library > > make[1]: *** [m4] Error 1 > > make[1]: Leaving directory `U:/unixos2/workdir/m4-1.4/src' > > make: *** [install] Error 1 > > > > What's causing this error? > > You may have forgotten "make AR=emxomfar". I have just checked through the build process for M4, which does use "make AR=emxomfar" when compiling, but this error occurs when running make install Presumably I also need to include this parameter when installing... How do I specify this? make AR=emxomfar install ... ? > 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 os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Mon, 31 Mar 2003 12:47:47 +0000 From: John Poltorak Subject: Perl v5.8.1 There's a snapshot of the upcoming release of Perl 5.8.1 here:- http://www.iki.fi/jhi/perl at 19105.tgz I've been asked to provide feedback on how well it builds on OS/2. Can anyone give it a try? All you should need to do is include the following line in build.table:- perl;perl;http://www.iki.fi/jhi/perl at 19105.tgz;;;. then run:- build perl BTW, you will need to comment out the existing line for building perl from build.table. If you do build it, can you post the results of the summary log? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Mon, 31 Mar 2003 14:27:02 +0100 (BST) From: "Dave Saville" Subject: Re: Perl v5.8.1 On Mon, 31 Mar 2003 12:47:47 +0000, John Poltorak wrote: > > >There's a snapshot of the upcoming release of Perl 5.8.1 here:- > >http://www.iki.fi/jhi/perl at 19105.tgz > >I've been asked to provide feedback on how well it builds on OS/2. > >Can anyone give it a try? > >All you should need to do is include the following line in build.table:- > >perl;perl;http://www.iki.fi/jhi/perl at 19105.tgz;;;. Running - will post results in some hours time :-) -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Mon, 31 Mar 2003 18:11:37 +0100 (BST) From: "Dave Saville" Subject: Re: Perl v5.8.1 On Mon, 31 Mar 2003 12:47:47 +0000, John Poltorak wrote: > > >There's a snapshot of the upcoming release of Perl 5.8.1 here:- > >http://www.iki.fi/jhi/perl at 19105.tgz > >I've been asked to provide feedback on how well it builds on OS/2. > >Can anyone give it a try? > >All you should need to do is include the following line in build.table:- > >perl;perl;http://www.iki.fi/jhi/perl at 19105.tgz;;;. > > >then run:- > >build perl > >BTW, you will need to comment out the existing line for building perl >from build.table. > Failed 6/784 test scripts, 99.23% okay. 10/71046 subtests failed, 99.99% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- --------- ../lib/ExtUtils/t/MM_OS2.t 1 256 32 1 3.12% 31 ../lib/ExtUtils/t/basic.t 1 256 48 1 2.08% 11 lib/os2_base.t 1 256 19 1 5.26% 8 lib/os2_process.t 3 768 230 3 1.30% 92 177 212 lib/os2_process_kid.t 230 3 1.30% 92 177 212 op/magic.t 52 1 1.92% 6 62 tests and 608 subtests skipped. -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Mon, 31 Mar 2003 18:39:48 +0000 From: John Poltorak Subject: Re: Perl v5.8.1 On Mon, Mar 31, 2003 at 06:11:37PM +0100, Dave Saville wrote: > On Mon, 31 Mar 2003 12:47:47 +0000, John Poltorak wrote: > > > > > > >There's a snapshot of the upcoming release of Perl 5.8.1 here:- > > > >http://www.iki.fi/jhi/perl at 19105.tgz > > > >I've been asked to provide feedback on how well it builds on OS/2. > > > >Can anyone give it a try? > > > >All you should need to do is include the following line in build.table:- > > > >perl;perl;http://www.iki.fi/jhi/perl at 19105.tgz;;;. > > > > > >then run:- > > > >build perl > > > >BTW, you will need to comment out the existing line for building perl > >from build.table. > > > > > Failed 6/784 test scripts, 99.23% okay. 10/71046 subtests failed, 99.99% okay. > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > ../lib/ExtUtils/t/MM_OS2.t 1 256 32 1 3.12% 31 > ../lib/ExtUtils/t/basic.t 1 256 48 1 2.08% 11 > lib/os2_base.t 1 256 19 1 5.26% 8 > lib/os2_process.t 3 768 230 3 1.30% 92 177 212 > lib/os2_process_kid.t 230 3 1.30% 92 177 212 > op/magic.t 52 1 1.92% 6 > 62 tests and 608 subtests skipped. Thanks for that. How does that compare with 5.8.0 ? > > -- > Regards > > Dave Saville -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Mon, 31 Mar 2003 19:48:45 +0000 From: John Poltorak Subject: Re: Autoconf error...? On Mon, Mar 31, 2003 at 08:58:05AM +0200, Hannes Hromadka wrote: > On Fri, Mar 28, 2003 at 02:00:05PM +0000, John Poltorak wrote: > > > > > > clearly a bungled output from autoconf: incomplete code. > > > > > > I got such an error when trying to run the full configuration for slrn > > > > Can you think of any way to identify the source of the error? > > No way, I tried but got lost in the files. When I removed the 'done' which > caused the error I got another error about 400 lines !!! earlier in the > file. > > I could not even find the matching do statement 8-( I can't help feeling that the error is due to a bug in Autoconf... I've found that the configure script itself will run OK and it's only when it's rebuilt with Autoconf that the error occurs. Is this the case with SLRN? > Ciao, Hannes > > -- > Johannes Hromadka | Email Office: HromadkaJ at gmx.at > | Home : Johannes.Hromadka at gmx.net > Vienna/Austria/Europe | OECC: http://www.oecc.org/ > >>> Rust never sleeps (borrowed from Neil YOUNG) <<< -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Mon, 31 Mar 2003 20:38:46 +0000 From: John Poltorak Subject: Re: M4 On Mon, Mar 31, 2003 at 09:09:25PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Sun, Mar 30, 2003 at 11:30:15PM +0100, Andreas Buening wrote: > > [snip] > > > > You may have forgotten "make AR=emxomfar". > > > > I have just checked through the build process for M4, which does use > > "make AR=emxomfar" when compiling, but this error occurs when running > > > > make install > > > > Presumably I also need to include this parameter when installing... > > > > How do I specify this? > > > > make AR=emxomfar install ... ? > > This might help but it doesn't tell why this happens. > Does it also happen if you run "make AR=emxomfar" several times? The original problems I reported, although I didn't know it at the the time, occurred when I ran 'make install'. In the case of building m4, the sequence was:- autoconf configure make AR=emxomfar make install I have changed the 'make install' to 'make install AR=emxomfar" and the error does disappear. Unfortunately m4.exe does not get installed because of some strange make rule, which ends up running this:- /bin/sh ./../mkinstalldirs /usr/local/bin u:/unixos2/bin/install.exe m4.exe /usr/local/bin/`echo m4.exe | sed 's,x,x,'` make[1]: Leaving directory `U:/unixos2/workdir/m4-1.4/src' That is because this rule in Makefile:- transform = s,x,x, install: all $(mkinstalldirs) $(bindir) $(INSTALL_PROGRAM) m4$(EXEEXT) $(bindir)/`echo m4$(EXEEXT) | sed '$(transform)'` I have no idea about the purpose of this 'transform'... It seems very odd to me. > 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 os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Mon, 31 Mar 2003 21:08:02 +0000 From: John Poltorak Subject: Re: Autoconf error...? On Mon, Mar 31, 2003 at 10:49:11PM +0200, Sebastian Wittmeier (ShadoW) wrote: > On Mon, 31 Mar 2003 19:48:45 +0000, John Poltorak wrote: > > >I can't help feeling that the error is due to a bug in Autoconf... I've > >found that the configure script itself will run OK and it's only when it's > >rebuilt with Autoconf that the error occurs. > > The new autoconf is just more strict than previous versions. Texinfo (v4.5) comes with a configure script which says it was generated with autoconf v2.57. If it really is that strict how does it manages to work? And how come I can't create a useable configure script with Autoconf? Is the OS/2 port stricter than the original GNU release? > I found that page how to do the quoting right: > > http://www.gnu.org/manual/autoconf/html_node/autoconf_9.html Thanks, I'll take a look. > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Mon, 31 Mar 2003 21:09:25 +0100 From: Andreas Buening Subject: Re: M4 John Poltorak wrote: > > On Sun, Mar 30, 2003 at 11:30:15PM +0100, Andreas Buening wrote: [snip] > > You may have forgotten "make AR=emxomfar". > > I have just checked through the build process for M4, which does use > "make AR=emxomfar" when compiling, but this error occurs when running > > make install > > Presumably I also need to include this parameter when installing... > > How do I specify this? > > make AR=emxomfar install ... ? This might help but it doesn't tell why this happens. Does it also happen if you run "make AR=emxomfar" several times? 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 os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Mon, 31 Mar 2003 21:37:44 +0000 From: John Poltorak Subject: Re: M4 On Mon, Mar 31, 2003 at 11:12:02PM +0200, Sebastian Wittmeier (ShadoW) wrote: > On Mon, 31 Mar 2003 20:38:46 +0000, John Poltorak wrote: > > >transform = s,x,x, > > >I have no idea about the purpose of this 'transform'... It seems very odd > >to me. > > It does nothing in that form. But you can modify it with some configure > options: > > --program-prefix=PREFIX > --program-suffix=SUFFIX > --program-transform-name=PROGRAM OK, but what is the point of this transform program? What happens here, if I set it to NUL:- ? $(INSTALL_PROGRAM) m4$(EXEEXT) $(bindir)/`echo m4$(EXEEXT) | sed '$(transform)'` > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Mon, 31 Mar 2003 22:49:11 +0200 (CEST) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: Autoconf error...? On Mon, 31 Mar 2003 19:48:45 +0000, John Poltorak wrote: >I can't help feeling that the error is due to a bug in Autoconf... I've >found that the configure script itself will run OK and it's only when it's >rebuilt with Autoconf that the error occurs. The new autoconf is just more strict than previous versions. I found that page how to do the quoting right: http://www.gnu.org/manual/autoconf/html_node/autoconf_9.html Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Mon, 31 Mar 2003 23:12:02 +0200 (CEST) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: M4 On Mon, 31 Mar 2003 20:38:46 +0000, John Poltorak wrote: >transform = s,x,x, >I have no idea about the purpose of this 'transform'... It seems very odd >to me. It does nothing in that form. But you can modify it with some configure options: --program-prefix=PREFIX --program-suffix=SUFFIX --program-transform-name=PROGRAM Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Mon, 31 Mar 2003 23:48:09 +0200 (CEST) From: "Sebastian Wittmeier (ShadoW)" Subject: Re: M4 On Mon, 31 Mar 2003 21:37:44 +0000, John Poltorak wrote: >On Mon, Mar 31, 2003 at 11:12:02PM +0200, Sebastian Wittmeier (ShadoW) wrote: >> --program-prefix=PREFIX >> --program-suffix=SUFFIX >> --program-transform-name=PROGRAM >OK, but what is the point of this transform program? >$(INSTALL_PROGRAM) m4$(EXEEXT) $(bindir)/`echo m4$(EXEEXT) | sed '$(transform)'` You can change the name of the resulting installed executable with it. Say, you don't want to call it "m4.exe", but "mfour.com" Back to the problem: echo m4.exe | sed 's,x,x,' prints out "m4.exe" here, so u:/unixos2/bin/install.exe m4.exe /usr/local/bin/`echo m4.exe | sed 's,x,x,'` should execute u:/unixos2/bin/install.exe m4.exe /usr/local/bin/m4.exe Where does that fail for you? Is cmd.exe called instead of sh.exe? Are the paths right? Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs