Date: Tue, 2 Sep 2003 02:49:16 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 190 ************************************************** Monday 01 September 2003 Number 190 ************************************************** Subjects for today 1 Re: Building libtool 1.4.3 : T.Sikora" 2 Re: Final UX2BS X Desktop : T.Sikora" 3 Re: build.sh fluffing : T.Sikora" 4 Re: Building libtool 1.4.3 : Andreas Buening 5 Re: build.sh fluffing : James Moe" 6 Re: Building libtool 1.4.3 : James Moe" 7 Closer and closer : T.Sikora" 8 Re: Final UX2BS X Desktop : Stefan.Neis at t-online.de 9 Perl broken : T.Sikora" 10 Re: build.sh fluffing : T.Sikora" 11 Re: Perl broken : T.Sikora" 12 Re: Perl broken : T.Sikora" 13 HEADS UP critical changes : T.Sikora" 14 Re: HEADS UP critical changes : T.Sikora" **= Email 1 ==========================** Date: Tue, 02 Sep 2003 06:36:34 -0400 From: "T.Sikora" Subject: Re: Building libtool 1.4.3 This is a multi-part message in MIME format. --------------090700040208000202070405 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Andreas Buening wrote: > Paul Smedley wrote: > >>Ted/Andreas, >> >>On Sun, 31 Aug 2003 17:48:19 -0400, T.Sikora wrote: >> >>>Andreas Buening wrote: > > >>>>That's obviously a missing quote: NROFF="groff -Tlatin1" >>>>but I don't think it's the reason for the failure. >>>> >>>> >>> >>>SET NROFF='groff -Tlatin1' >>>or >>>SET NROFF="groff -Tlatin1" >> >>I changed it to SET NROFF="groff -Tlatin1" and it got rid of the -Tlatin1 error when running >>configure with libtools 1.4.3 > > > Sorry, did you use 'NROFF=...' or 'SET NROFF=...' ? > The first one is sh syntax, the latter cmd syntax. You must not > mix both! config.site needs the first one. > > >>However, Andreas was right - there's still something else in config.site that's causing the >>following error: >>configure.: creating ./config.status >>sed: couldn't write 55 items to {standard output}: Invalid argument >>./config.status: ./config.status.lineno[384]: syntax error: `if' unmatched >> >>Renaming config.site allows configure to complete successfully. /usr/share/config.site is REM by default in ux2_env /etc/ux2_config has the same items in it called by the ux2_shell however. If you want to build it without it just run \sbin\ux2_env and \etc\ux2_local in a cmd window. Theres a ux2.cmd that has all three but I'll take out the call ux2_config from it. So go in /sbin/ux2.cmd and remome 'call \etc\ux2_config' then you just need to run ux2 in a window. >> >>Andreas - can you please send me your config.site so that I can try and work out what's >>different? > > > That won't help you most likely because I use my own config.site. > Which one do you use? > > -- T.Sikora tsikora at ntplx dot net --------------090700040208000202070405 Content-Type: text/plain; name="config.site" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="config.site" #!sh # # config.site # #ac_cv_host=i386-pc-os2 SHELL=/bin/sh PERL=/usr/bin/perl.exe M4=/usr/bin/m4.exe EXPR=/usr/bin/expr.exe INSTALL=/usr/bin/install.exe PATH_SEPARATOR=';' protodir=/emx/include/cpp/gen magic=/etc/magic switchar=- gccopt=-pipe gccload=5 CC=gcc CXX=gcc AWK=gawk AWKPATH=/usr/share/awk LEX=flex LD=ld.exe RANLIB=echo YACC='bison -y' BASH=bash.exe SH=sh.exe KSH=ksh.exe RANLIB=echo BMTYPE=int BMBYTES=4 ACLOCAL=${ACLOCAL-"${UXRT}/usr/bin/aclocal"} AUTOCONF=${AUTOCONF-"${UXRT}/usr/bin/autoconf"} AUTOMAKE=${AUTOMAKE-"${UXRT}/usr/bin/automake"} AUTOHEADER=${AUTOHEADER-"${UXRT}/usr/bin/autoheader"} MAKEINFO=${MAKEINFO-"makeinfo --no-split"} AMTAR=${AMTAR-"tar.exe"} ac_cv_path_PERL=${PERL} ac_cv_path_install=${INSTALL} ac_cv_path___CHGRP=echo ac_cv_path___CHOWN=echo ac_cv_path___RSH=echo ac_executable_extensions=".exe" ac_exeext=.exe ac_cv_exeext=.exe GROFF_FONT_PATH=/usr/share/groff/1.17/font GROFF_TMAC_PATH=/usr/share/groff/1.17/tmac GROFF_TYPESETTER=cp850 NROFF=groff -Tlatin1 #env --------------090700040208000202070405 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 --------------090700040208000202070405-- **= Email 2 ==========================** Date: Tue, 02 Sep 2003 06:40:29 -0400 From: "T.Sikora" Subject: Re: Final UX2BS X Desktop Stefan.Neis at t-online.de wrote: > T.Sikora schrieb: > > >>Reading specs from >>E:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/specs > > (snipp) > >>#include <...> search starts here: >> e:/emx/include/cpp >> e:/emx/include >> e:/emx/include/c++/3.2.1 > > (snipp) > > C_INCLUDE_PATH=e:/emx/include;e:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/include;e:/usr/include;e:/usr/local/include;e:/XFree86/include > >>set >> > > CPLUS_INCLUDE_PATH=e:/emx/include/cpp;e:/emx/include;e:/emx/include/c++/3.2.1;e:/usr/include;e:/usr/local/include;e:/XFree86/include > > > You _MUST_ _NOT_ SET CPLUS_INCLUDE_PATH to the _old_ > C++ libraries when using the new > compiler > > >>set >> > > OBJC_INCLUDE_PATH=e:/emx/include;e:/usr/include;e:/usr/local/include;e:/XFree86/include > >>set >> > > LIBRARY_PATH=e:/emx/lib;e:/emx/lib/mt;e:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1;e:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/mt;e:/lib;e:/usr/lib;e:/usr/local/lib;e:/XFree86/lib > > gcc-3.2.x is supposed to find its > headers and libraries automatically, no need to add all > those directories to the environment variables... > I got it fixed with everything going on I missed that. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 02 Sep 2003 06:57:56 -0400 From: "T.Sikora" Subject: Re: build.sh fluffing This is a multi-part message in MIME format. --------------070005090501060205020407 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit James Moe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > Attached is a modified build.sh. The changes are almost all cosmetic: all output done > by build.sh is prefixed by "?UX2BS-". This way it is a lot easier to separate messages > from the build system and what is being built. > > Also attached is a proposed ux2_local.sh which called at the top of build.sh. > The reason for this is that os/2 always upcases environment names. The unix-ish > shells (sh, ksh, bash, ...) are case-sensitive to environment names, so that handy > pre-defines like AC_EXEEXT are not seen in configure scripts since they are accessed by > $ac_exeext, not $AC_EXEEXT. > ux2_local.sh provides case-sensitive variables to the ones provided in > ux2_config.cmd. > I re edited ux2_config and gcc_config Should the quotes be made " instead of ' ? It's called by the shell in cmd to set the master env. -- T.Sikora tsikora at ntplx dot net --------------070005090501060205020407 Content-Type: text/plain; name="ux2_config.cmd" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ux2_config.cmd" at echo off REM ** AUTOCONF VERSION SETTINGS ** REM ** Set the autoconf path for the appropiate version desired. REM ** AUTOCONF 2.13 (default) =/usr REM ** AUTOCONF 2.57 =/usr/local SET AUTOCONF=/usr REM ** DO NOT EDIT ** SET AC_PREFIX=%AUTOCONF%/bin SET AC_MACRODIR=%AUTOCONF%/share/autoconf SET ACLOCAL=${ACLOCAL-"${AUTOCONF}/bin/aclocal"} SET AUTOCONF=${AUTOCONF-"${AUTOCONF}/bin/autoconf"} SET AUTOMAKE=${AUTOMAKE-"${AUTOCONF}/bin/automake"} SET AUTOHEADER=${AUTOHEADER-"${AUTOCONF}/bin/autoheader"} SET LOCALEDIR=/usr/share/locale;/XFree86/lib/X11/locale SET GNULOCALEDIR=/usr/share/locale SET SHELL=/bin/sh SET PERL=/usr/bin/perl.exe SET M4=/usr/bin/m4.exe SET EXPR=/usr/bin/expr.exe SET INSTALL=/usr/bin/install.exe SET PATH_SEPARATOR=';' SET magic=/etc/magic SET switchar=- SET emxopt=-c -n -h5024 SET gccopt=-pipe SET gccload=5 SET CC=gcc SET CXX=gcc SET LEX=flex SET LD=ld.exe SET RANLIB=echo SET YACC='bison -y' SET AWK=gawk SET AWKPATH=/usr/share/awk SET BASH=bash.exe SET SH=sh.exe SET KSH=ksh.exe SET RANLIB=echo SET BMTYPE=int SET BMBYTES=4 SET MAKEINFO=${MAKEINFO-"makeinfo --no-split"} SET AMTAR=${AMTAR-"tar.exe"} SET ac_cv_path_PERL=${PERL} SET ac_cv_path_install=${INSTALL} SET LN=cp SET ac_cv_prog_LN_S='cp -p' SET cl_cv_prog_LN_S='cp -p' SET cl_cv_prog_LN='cp -p' SET LN_S='cp -p' SET ac_cv_path___CHGRP=echo SET ac_cv_path___CHOWN=echo SET ac_cv_path___RSH=echo SET ac_executable_extensions=".exe" SET ac_exeext=.exe SET ac_cv_exeext=.exe SET GROFF_FONT_PATH=/usr/share/groff/1.17/font SET GROFF_TMAC_PATH=/usr/share/groff/1.17/tmac SET GROFF_TYPESETTER=cp850 SET NROFF='groff -Tlatin1' SET GLIB_CONFIG=/usr/bin/glib-config SET LIBIDL_CONFIG=/usr/bin/libIDL-config REM ** DO NOT EDIT ** --------------070005090501060205020407 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 --------------070005090501060205020407-- **= Email 4 ==========================** Date: Tue, 02 Sep 2003 07:57:21 +0200 From: Andreas Buening Subject: Re: Building libtool 1.4.3 Paul Smedley wrote: > > Ted/Andreas, > > On Sun, 31 Aug 2003 17:48:19 -0400, T.Sikora wrote: > >Andreas Buening wrote: > >> That's obviously a missing quote: NROFF="groff -Tlatin1" > >> but I don't think it's the reason for the failure. > >> > >> > >SET NROFF='groff -Tlatin1' > >or > >SET NROFF="groff -Tlatin1" > > I changed it to SET NROFF="groff -Tlatin1" and it got rid of the -Tlatin1 error when running > configure with libtools 1.4.3 Sorry, did you use 'NROFF=...' or 'SET NROFF=...' ? The first one is sh syntax, the latter cmd syntax. You must not mix both! config.site needs the first one. > However, Andreas was right - there's still something else in config.site that's causing the > following error: > configure.: creating ./config.status > sed: couldn't write 55 items to {standard output}: Invalid argument > ./config.status: ./config.status.lineno[384]: syntax error: `if' unmatched > > Renaming config.site allows configure to complete successfully. > > Andreas - can you please send me your config.site so that I can try and work out what's > different? That won't help you most likely because I use my own config.site. Which one do you use? Bye, Andreas _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Tue, 02 Sep 2003 09:26:07 -0700 (MST) From: "James Moe" Subject: Re: build.sh fluffing -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 02 Sep 2003 06:57:56 -0400, T.Sikora wrote: >I re edited ux2_config and gcc_config Should the quotes be made " >instead of ' ? It's called by the shell in cmd to set the master env. > Since these are being set in os/2, there should be no quotes at all. *Anything* after the "set =" is taken literally. In a unix shell text in single quotes are not processed, ie, the text is taken literally. Double quotes are more of a grouping function, like parentheses; the text is scanned for objects to process (like $EXEEXT), and expands them. The ones that are like SET ACLOCAL=${ACLOCAL-"${AUTOCONF}/bin/aclocal"} are okay since they are meant to be processed by a shell. Why did you make a separate ux2_ and gcc_config to define the baseline environment? Except for a change for C++, the two are the same. It made more sense (to me) to have secondary scripts to modify the enviroment for gcc3.2.1 or C++. Maintenance is a lot easier with one script. - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/VMSfsxxMki0foKoRAurBAKDlsQfR7GPYj3NV1RXdtmCcUu5aUwCeJkDk dNdBFJKsYPim0LnKFbt4qRM= =81LH -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 02 Sep 2003 09:28:06 -0700 (MST) From: "James Moe" Subject: Re: Building libtool 1.4.3 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 02 Sep 2003 06:36:34 -0400, T.Sikora wrote: >>>I changed it to SET NROFF="groff -Tlatin1" and it got rid of the >>>-Tlatin1 error when running configure with libtools 1.4.3 Have you tried: SET NROFF=groff -Tlatin1 No quotes at all? - -- jimoe at sohnen-moe dot com pgp/gpg public key: http://www.keyserver.net/en/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0 OS/2 for non-commercial use Comment: PGP 5.0 for OS/2 Charset: cp850 wj8DBQE/VMUWsxxMki0foKoRAk/xAJ9jUy/Vj4OCW67QiCzXhhTpo6myogCgo8Kt VR2zGZvVjO1L0oAPhs8I8x0= =A3Xb -----END PGP SIGNATURE----- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 02 Sep 2003 09:34:16 -0400 From: "T.Sikora" Subject: Closer and closer ...to perfection? I added pthreads to both /ports and as an install package. I'm waiting on a missing header from the author other than that she's pretty well rounded out. That's it I would think. Now it's time to add everything in archives/ux2 and misc/ to the ports tree. When everything is buildable as an install or makepkg then I would say UnixOS2-1.0 is ready. The install scripts are being rewritten in Rexx and Jeff is planning a similar standard UnixOS/2 install scheme. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Tue, 02 Sep 2003 11:11:13 +0200 (CEST) From: Stefan.Neis at t-online.de Subject: Re: Final UX2BS X Desktop T.Sikora schrieb: > Reading specs from > E:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/specs (snipp) > #include <...> search starts here: > e:/emx/include/cpp > e:/emx/include > e:/emx/include/c++/3.2.1 (snipp) C_INCLUDE_PATH=e:/emx/include;e:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/include;e:/usr/include;e:/usr/local/include;e:/XFree86/include > > set > CPLUS_INCLUDE_PATH=e:/emx/include/cpp;e:/emx/include;e:/emx/include/c++/3.2.1;e:/usr/include;e:/usr/local/include;e:/XFree86/include You _MUST_ _NOT_ SET CPLUS_INCLUDE_PATH to the _old_ C++ libraries when using the new compiler > set > OBJC_INCLUDE_PATH=e:/emx/include;e:/usr/include;e:/usr/local/include;e:/XFree86/include > > set > LIBRARY_PATH=e:/emx/lib;e:/emx/lib/mt;e:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1;e:/emx/lib/gcc-lib/i386-pc-os2-emx/3.2.1/mt;e:/lib;e:/usr/lib;e:/usr/local/lib;e:/XFree86/lib gcc-3.2.x is supposed to find its headers and libraries automatically, no need to add all those directories to the environment variables... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Tue, 02 Sep 2003 13:09:06 -0400 From: "T.Sikora" Subject: Perl broken Either pthreads or the config changes. Sorting it out now. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Tue, 02 Sep 2003 13:10:39 -0400 From: "T.Sikora" Subject: Re: build.sh fluffing James Moe wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 02 Sep 2003 06:57:56 -0400, T.Sikora wrote: > > >>I re edited ux2_config and gcc_config Should the quotes be made " >>instead of ' ? It's called by the shell in cmd to set the master env. >> > > Since these are being set in os/2, there should be no quotes at all. *Anything* after > the "set =" is taken literally. > In a unix shell text in single quotes are not processed, ie, the text is taken > literally. Double quotes are more of a grouping function, like parentheses; the text is > scanned for objects to process (like $EXEEXT), and expands them. > The ones that are like > SET ACLOCAL=${ACLOCAL-"${AUTOCONF}/bin/aclocal"} > are okay since they are meant to be processed by a shell. > > Why did you make a separate ux2_ and gcc_config to define the baseline environment? > Except for a change for C++, the two are the same. It made more sense (to me) to have > secondary scripts to modify the enviroment for gcc3.2.1 or C++. Maintenance is a lot > easier with one script. > That's how it was originally but thought it would be easier to keep the 2 environments seperate from each other. The ux2_env sets the base stuff for both. -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Tue, 02 Sep 2003 18:38:56 -0400 From: "T.Sikora" Subject: Re: Perl broken T.Sikora wrote: > Either pthreads or the config changes. Sorting it out now. > It's that stupid ux2_config.cmd causing it. Strange thing it worked last night. I just called ux2_env and ux2_local in a cmd shell and it built like before. I guess I'll just umremark config.site and take it out? -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Tue, 02 Sep 2003 21:05:15 -0400 From: "T.Sikora" Subject: Re: Perl broken T.Sikora wrote: > T.Sikora wrote: > >> Either pthreads or the config changes. Sorting it out now. >> > It's that stupid ux2_config.cmd causing it. Strange thing it worked last > night. I just called ux2_env and ux2_local in a cmd shell and it built > like before. > > I guess I'll just umremark config.site and take it out? > > Finally got it fixed seems to work in all env. I took the rem out of config.site and set it up like this: ftp://os2ports.com/pub/unixos2/ux2bs-changes -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Tue, 02 Sep 2003 21:49:37 -0400 From: "T.Sikora" Subject: HEADS UP critical changes Run ux2bs_update. Drastic changes to the env. Pthreads added and the previous 'extreme' critical_fix included. Delete the desktop folder and run ux2bs_update. config.site is unremarked and the env consists of: ftp://os2ports.com/pub/unixos2/ux2bs-changes ux2_shell calls: \sbin\ux2_env.cmd \etc\ux2_local gcc_shell calls: \sbin\ux2_env.cmd \etc\gcc_local You'll have to add this to the \etc\ux2_local.cmd manually changing it to your %uxrt& drive letter. set CPLUS_INCLUDE_PATH=e:/emx/include/cpp;e:/emx/include;e:/usr/include;e:/usr/local/include;e:/XFree86/include Enjoy! I'm now on vacation... -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Tue, 02 Sep 2003 21:59:21 -0400 From: "T.Sikora" Subject: Re: HEADS UP critical changes T.Sikora wrote: > Run ux2bs_update. Drastic changes to the env. Pthreads added and the > previous 'extreme' critical_fix included. > > Delete the desktop folder and run ux2bs_update. > If you have the XFree430-bins installed change \XFree86\lib\X11\xinit\xinitrc.cmd from 'call \sbin\ux2' to 'call \sbin\ux2_env' 'call \etc\ux2_local' -- T.Sikora tsikora at ntplx dot net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs