Date: Sun, 2 Mar 2003 02:37:56 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 93 ************************************************** Saturday 01 March 2003 Number 93 ************************************************** Subjects for today 1 Re: Updating UX2BS : Maynard" 2 Re: GETTEXT install failure : Maynard" 3 Re: Updating UX2BS : brpms at earthlink.net 4 Re: GETTEXT install failure : John Poltorak 5 Re: New UX2BS - alternate command processors : Dave Saville" 6 Re: GETTEXT install failure : Maynard" 7 Re: GETTEXT install failure : Andreas Buening 8 Re: GETTEXT install failure : John Poltorak 9 Re: GETTEXT install failure : Maynard" 10 Re: GETTEXT install failure : Andreas Buening 11 Re: GETTEXT install failure : Maynard" 12 Updating UX2BS : John Poltorak 13 Re: GETTEXT install failure : John Poltorak 14 Re: GETTEXT install failure : John Poltorak 15 Re: GETTEXT install failure : John Poltorak 16 Re: GETTEXT install failure : John Poltorak 17 Re: GETTEXT install failure : John Poltorak 18 Re: GETTEXT install failure : John Poltorak 19 Re: GETTEXT install failure : Andreas Buening 20 Re: GETTEXT install failure : Andreas Buening **= Email 1 ==========================** Date: Sun, 02 Mar 2003 09:31:32 -0600 (CST) From: "Maynard" Subject: Re: Updating UX2BS John, Is the information on my page at http://warped.mentabolism.org/UnixOS2/updates.html accurate? Do you or others have suggestions for that content? Thanks, -- Maynard I'll soon have much reworking to do of the page at http://warped.mentabolism.org/UnixOS2/ux2bs_0.html _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Sun, 02 Mar 2003 09:46:54 -0600 (CST) From: "Maynard" Subject: Re: GETTEXT install failure John, Can you send me or point me to Andreas's patches? My guess would be that they apply only to ltmain.sh in order to correct the install procedure; perhaps there's more. Thanks, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Sun, 02 Mar 2003 12:22:45 -0700 From: brpms at earthlink.net Subject: Re: Updating UX2BS In <20030302145616.D83 at manninghammills.org>, on 03/02/03 at 02:56 PM, John Poltorak said: >Following a couple of people's reports, it looks like the UX2BS works OK, >so I propose to update it some time later today. >I'd suggest that everyone who has tried UX2BS upgrades to the new version > since the directory structure is slightly different and there will now >be a dependency on a fully integrated Posix/2. >You should be able to use your existing \unixos2 structure since there >are only a few files which are changed and there are no changes to the >archives directory so there is very little in way of new files which need > to be downloaded. Could you be a little more detailed about what procedure you expect to be run to update? Copmplete clean? No clean? TIA Paul Schwartz -- ----------------------------------------------------------- brpms at earthlink.net ----------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Sun, 2 Mar 2003 13:02:31 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 01:49:17PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Fri, Feb 28, 2003 at 10:27:55PM +0100, Andreas Buening wrote: > > > John Poltorak wrote: > > [snip] > > > > > The binaries are built in src\.libs. Is this the location one would expect > > > > them to be built in? > > > > > > No. Should be in src. Which gettext source did you use and what > > > exactly did you do? > > > > As it says above, v0.11.5. > > Which release? The source should be from gettext-0_11_5-r2.zip. > As Maynard analysed correctly there was a libtool bug that had this > side effect. I built it straight from the GNU source. Where do I find your version icluding patches? > [snip] > > > 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 5 ==========================** Date: Sun, 02 Mar 2003 13:08:57 +0000 (GMT) From: "Dave Saville" Subject: Re: New UX2BS - alternate command processors On Sat, 01 Mar 2003 09:53:37 -0600 (CST), Maynard wrote: >Dave, > >>That is why messing with env vars seemed to fail. But yaos gives >>build.cmd to cmd and build called the env stuff effectively under a >>cmd so it works. If you can follow that :-) > >I'm not sure! > >when I issue 'start /f' from an OS/2 shell, I get a \os2\cmd.exe shell: > >[F:\]ver /r & echo %comspec% & echo %os2_shell% > >The Operating System/2 Version is 4.50 >Revision 14.086 >U:\4OS225\4OS2.EXE >N:\OS2\CMD.EXE >There must be more to this than I'm understanding ;-} > Whilst I get in a yaos window The Operating System/2 Version is 4.50 Installed YAOS version is 1.8.1 Latest YAOS version is (cannot be determined) [D:\]echo %comspec% & echo %os2_shell% C:\OS2\CMD.EXE C:\OS2\CMD.EXE And in a cmd window The Operating System/2 Version is 4.50 Revision 14.062 C:\OS2\CMD.EXE C:\OS2\CMD.EXE I suspect that the various code paths use one or the other var . As I have changed neither I get away with it :-) -- Regards Dave Saville _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Sun, 02 Mar 2003 13:48:07 -0600 (CST) From: "Maynard" Subject: Re: GETTEXT install failure On Sun, 2 Mar 2003 15:50:24 +0000, John Poltorak wrote: >> Can you send me or point me to Andreas's patches? > >They are include here:- > >http://unix.os2site.com/sw/pub/source/gettext/gettext-0_11_5-r2.zip. To the original source distribution, I just applied the two patches configure.in.diff and ltmain.sh.diff then ran ./configure make make install and it looks to be totally successful. # ./configure && make && make install 2>&1 |tee \unixos2\logs\gettext.log I see no reason to doubt that applying the other patches should be worth doing. Thanks Andreas, -- Maynard _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Sun, 02 Mar 2003 13:49:17 +0100 From: Andreas Buening Subject: Re: GETTEXT install failure John Poltorak wrote: > > On Fri, Feb 28, 2003 at 10:27:55PM +0100, Andreas Buening wrote: > > John Poltorak wrote: [snip] > > > The binaries are built in src\.libs. Is this the location one would expect > > > them to be built in? > > > > No. Should be in src. Which gettext source did you use and what > > exactly did you do? > > As it says above, v0.11.5. Which release? The source should be from gettext-0_11_5-r2.zip. As Maynard analysed correctly there was a libtool bug that had this side effect. [snip] 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 8 ==========================** Date: Sun, 2 Mar 2003 14:02:38 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 02:33:18PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Sun, Mar 02, 2003 at 01:49:17PM +0100, Andreas Buening wrote: > > > John Poltorak wrote: > > [snip] > > > > > As it says above, v0.11.5. > > > > > > Which release? The source should be from gettext-0_11_5-r2.zip. > > > As Maynard analysed correctly there was a libtool bug that had this > > > side effect. > > > > I built it straight from the GNU source. Where do I find your version > > icluding patches? > > http://unix.os2site.com/sw/pub/source/gettext/ > > Hadn't we agreed to collect all sources and binary compilations > on _one_ ftp server? Where would I expect to find a binary compilation > of the famous perl or flex or whatever if it's not on hobbes? > And has there been any progress in attempt to create install packages? What I'm looking at is building apps from source using a standard build environment. I would like to incorporate a way of creating packages as part of that process, but I haven't found an easy way to do that yet. It's possible that the GNU Build System incorporates package building as part of the normal build process as I often see variables such as PACKAGE, but so far have not seen any use for them. > > 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: Sun, 02 Mar 2003 14:25:22 -0600 (CST) From: "Maynard" Subject: Re: GETTEXT install failure On Sun, 2 Mar 2003 20:08:56 +0000, John Poltorak wrote: >> I see no reason to doubt that applying the other patches should be worth doing. > >Why not give it a try? Is there an easy way to do that without batching patch <.diff> for each file ? Thanks, - Maynard _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Sun, 02 Mar 2003 14:33:18 +0100 From: Andreas Buening Subject: Re: GETTEXT install failure John Poltorak wrote: > > On Sun, Mar 02, 2003 at 01:49:17PM +0100, Andreas Buening wrote: > > John Poltorak wrote: [snip] > > > As it says above, v0.11.5. > > > > Which release? The source should be from gettext-0_11_5-r2.zip. > > As Maynard analysed correctly there was a libtool bug that had this > > side effect. > > I built it straight from the GNU source. Where do I find your version > icluding patches? http://unix.os2site.com/sw/pub/source/gettext/ Hadn't we agreed to collect all sources and binary compilations on _one_ ftp server? Where would I expect to find a binary compilation of the famous perl or flex or whatever if it's not on hobbes? And has there been any progress in attempt to create install packages? 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: Sun, 02 Mar 2003 14:49:32 -0600 (CST) From: "Maynard" Subject: Re: GETTEXT install failure On Sun, 2 Mar 2003 20:27:40 +0000, John Poltorak wrote: >unzip -p gettext-0_11_5-r2.zip gettext-0.11.5\diff-patches\* >gettext-0.11.5.diff followed by ....? to do the patching? Thanks, _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Sun, 2 Mar 2003 14:56:16 +0000 From: John Poltorak Subject: Updating UX2BS Following a couple of people's reports, it looks like the UX2BS works OK, so I propose to update it some time later today. I'd suggest that everyone who has tried UX2BS upgrades to the new version since the directory structure is slightly different and there will now be a dependency on a fully integrated Posix/2. You should be able to use your existing \unixos2 structure since there are only a few files which are changed and there are no changes to the archives directory so there is very little in way of new files which need to be downloaded. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Sun, 2 Mar 2003 15:04:32 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 02:33:18PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > On Sun, Mar 02, 2003 at 01:49:17PM +0100, Andreas Buening wrote: > > > John Poltorak wrote: > > [snip] > > > > > As it says above, v0.11.5. > > > > > > Which release? The source should be from gettext-0_11_5-r2.zip. > > > As Maynard analysed correctly there was a libtool bug that had this > > > side effect. > > > > I built it straight from the GNU source. Where do I find your version > > icluding patches? > > http://unix.os2site.com/sw/pub/source/gettext/ OK, I have added your patches into the GNU source, but the build stops with these errors:- config.status: executing default commands make cd . && u:/bin/sh /unixos2/workdir/gettext-0.11.5/missing --run aclocal -I m4 cd . && \ u:/bin/sh /unixos2/workdir/gettext-0.11.5/missing --run automake --gnu Makefile cd . && u:/bin/sh /unixos2/workdir/gettext-0.11.5/missing --run autoconf configure.in:229: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS' If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. u:/bin/sh ./config.status --recheck running u:/bin/sh ./configure --prefix=${UXRT}/usr --mandir=${UXRT}/usr/share/man --infodir=${UXRT}/usr/share/info CFLAGS= LDFLAGS= --no-create --no-recursion ./configure[1135]: cannot create config.log: Permission denied make: *** [config.status] Error 1 u:/bin/sh ./config.status --recheck running u:/bin/sh ./configure --prefix=${UXRT}/usr --mandir=${UXRT}/usr/share/man --infodir=${UXRT}/usr/share/info CFLAGS= LDFLAGS= --no-create --no-recursion ./configure[1135]: cannot create config.log: Permission denied make: *** [config.status] Error 1 Just using exactly the same process resulted in a successful build. The only problem was that the EXEs were built in the wrong directory. Do I need to do anything new when adding your patches? > 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 14 ==========================** Date: Sun, 2 Mar 2003 15:39:01 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 03:04:32PM +0000, John Poltorak wrote: > On Sun, Mar 02, 2003 at 02:33:18PM +0100, Andreas Buening wrote: > > John Poltorak wrote: > > > > > > On Sun, Mar 02, 2003 at 01:49:17PM +0100, Andreas Buening wrote: > > > > John Poltorak wrote: > > > > [snip] > > > > > > > As it says above, v0.11.5. > > > > > > > > Which release? The source should be from gettext-0_11_5-r2.zip. > > > > As Maynard analysed correctly there was a libtool bug that had this > > > > side effect. > > > > > > I built it straight from the GNU source. Where do I find your version > > > icluding patches? > > > > http://unix.os2site.com/sw/pub/source/gettext/ > > > OK, I have added your patches into the GNU source, but the build stops > with these errors:- > Do I need to do anything new when adding your patches? After further examination of your build, I see in README.OS2 that I need to run:- aclocal -I m4 automake autoconf autoheader Now I get these errors:- patching file `tests/tstngettext.c' misc/Makefile.am: required file `./elisp-comp' not found configure.in:229: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS' If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. ./configure --prefix=${UXRT}/usr --mandir=${UXRT}/usr/share/man --infodir=${UXRT}/usr/share/info ... rm -fr .libs/libintl.la .libs/intl.* .libs/intl.* print -r "LIBRARY intl INITINSTANCE" > .libs/intl.def print -r "DESCRIPTION \"intl\"" >> .libs/intl.def print -r "DATA MULTIPLE NONSHARED" >> .libs/intl.def print -r EXPORTS >> .libs/intl.def emxexp -u intl-compat.lo bindtextdom.lo dcgettext.lo dgettext.lo gettext.lo finddomain.lo loadmsgcat.lo localealias.lo textdomain.lo l10nflist.lo explodename.lo dcigettext.lo dcngettext.lo dngettext.lo ngettext.lo plural.lo plural-exp.lo localcharset.lo localename.lo osdep.lo >> .libs/intl.def gcc -Zdll -o .libs/intl.dll intl-compat.lo bindtextdom.lo dcgettext.lo dgettext.lo gettext.lo finddomain.lo loadmsgcat.lo localealias.lo textdomain.lo l10nflist.lo explodename.lo dcigettext.lo dcngettext.lo dngettext.lo ngettext.lo plural.lo plural-exp.lo localcharset.lo localename.lo osdep.lo .libs/intl.def emxbind: cannot export symbol libintl_nl_domain_bindings of type 9 ld: emxbind failed make[2]: *** [libintl.la] Error 1 make[2]: Leaving directory `U:/unixos2/workdir/gettext-0.11.5/intl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `U:/unixos2/workdir/gettext-0.11.5' make: *** [all] Error 2 ... rm -fr .libs/libintl.la .libs/intl.* .libs/intl.* print -r "LIBRARY intl INITINSTANCE" > .libs/intl.def print -r "DESCRIPTION \"intl\"" >> .libs/intl.def print -r "DATA MULTIPLE NONSHARED" >> .libs/intl.def print -r EXPORTS >> .libs/intl.def emxexp -u intl-compat.lo bindtextdom.lo dcgettext.lo dgettext.lo gettext.lo finddomain.lo loadmsgcat.lo localealias.lo textdomain.lo l10nflist.lo explodename.lo dcigettext.lo dcngettext.lo dngettext.lo ngettext.lo plural.lo plural-exp.lo localcharset.lo localename.lo osdep.lo >> .libs/intl.def gcc -Zdll -o .libs/intl.dll intl-compat.lo bindtextdom.lo dcgettext.lo dgettext.lo gettext.lo finddomain.lo loadmsgcat.lo localealias.lo textdomain.lo l10nflist.lo explodename.lo dcigettext.lo dcngettext.lo dngettext.lo ngettext.lo plural.lo plural-exp.lo localcharset.lo localename.lo osdep.lo .libs/intl.def emxbind: cannot export symbol libintl_nl_domain_bindings of type 9 ld: emxbind failed make[1]: *** [libintl.la] Error 1 make[1]: Leaving directory `U:/unixos2/workdir/gettext-0.11.5/intl' make: *** [install-recursive] Error 1 I don't seem to be having much success with your build... > > > 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 15 ==========================** Date: Sun, 2 Mar 2003 15:50:24 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 09:46:54AM -0600, Maynard wrote: > John, > > Can you send me or point me to Andreas's patches? They are include here:- http://unix.os2site.com/sw/pub/source/gettext/gettext-0_11_5-r2.zip. > Thanks, > > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 16 ==========================** Date: Sun, 2 Mar 2003 20:08:56 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 01:48:07PM -0600, Maynard wrote: > On Sun, 2 Mar 2003 15:50:24 +0000, John Poltorak wrote: > > >> Can you send me or point me to Andreas's patches? > > > >They are include here:- > > > >http://unix.os2site.com/sw/pub/source/gettext/gettext-0_11_5-r2.zip. > > To the original source distribution, I just applied the two patches configure.in.diff and ltmain.sh.diff then ran > ./configure Well configure.in.diff certainly won't make any difference in this case. Why not run autoconf so that it incorporates any changes made? > make > make install > and it looks to be totally successful. > > # ./configure && make && make install 2>&1 |tee \unixos2\logs\gettext.log > > I see no reason to doubt that applying the other patches should be worth doing. Why not give it a try? I don't understand why I am having all these frob after I apply all the diffs... > Thanks Andreas, > > -- Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 17 ==========================** Date: Sun, 2 Mar 2003 20:27:40 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 02:25:22PM -0600, Maynard wrote: > On Sun, 2 Mar 2003 20:08:56 +0000, John Poltorak wrote: > > >> I see no reason to doubt that applying the other patches should be worth doing. > > > >Why not give it a try? > > Is there an easy way to do that without batching > patch <.diff> > for each file ? unzip -p gettext-0_11_5-r2.zip gettext-0.11.5\diff-patches\* >gettext-0.11.5.diff > Thanks, > > - Maynard -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 18 ==========================** Date: Sun, 2 Mar 2003 21:24:24 +0000 From: John Poltorak Subject: Re: GETTEXT install failure On Sun, Mar 02, 2003 at 02:49:32PM -0600, Maynard wrote: > On Sun, 2 Mar 2003 20:27:40 +0000, John Poltorak wrote: > > >unzip -p gettext-0_11_5-r2.zip gettext-0.11.5\diff-patches\* >gettext-0.11.5.diff > > followed by ....? to do the patching? Depending on which files you have in which location you actually pipe the output straight into patch like so:- unzip -p gettext-0_11_5-r2.zip gettext-0.11.5\diff-patches\* | patch -px where x may be 2 if you are in the gettext directory. If not sure, use the --dry-run option with patch. > > Thanks, -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 19 ==========================** Date: Sun, 02 Mar 2003 22:45:28 +0100 From: Andreas Buening Subject: Re: GETTEXT install failure John Poltorak wrote: > > On Sun, Mar 02, 2003 at 03:04:32PM +0000, John Poltorak wrote: > > On Sun, Mar 02, 2003 at 02:33:18PM +0100, Andreas Buening wrote: > > > John Poltorak wrote: > > > > > > > > On Sun, Mar 02, 2003 at 01:49:17PM +0100, Andreas Buening wrote: > > > > > John Poltorak wrote: > > > > > > [snip] > > > > > > > > > As it says above, v0.11.5. > > > > > > > > > > Which release? The source should be from gettext-0_11_5-r2.zip. > > > > > As Maynard analysed correctly there was a libtool bug that had this > > > > > side effect. > > > > > > > > I built it straight from the GNU source. Where do I find your version > > > > icluding patches? > > > > > > http://unix.os2site.com/sw/pub/source/gettext/ > > > > > > OK, I have added your patches into the GNU source, but the build stops > > with these errors:- > > > Do I need to do anything new when adding your patches? > > After further examination of your build, I see in README.OS2 that I need > to run:- > > aclocal -I m4 > automake > autoconf > autoheader > > Now I get these errors:- > > patching file `tests/tstngettext.c' > misc/Makefile.am: required file `./elisp-comp' not found > configure.in:229: error: do not use LIBOBJS directly, use AC_LIBOBJ (see > section `AC_LIBOBJ vs LIBOBJS' > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. This will happen unless sombody fixes this in configure.in. > ./configure --prefix=${UXRT}/usr --mandir=${UXRT}/usr/share/man --infodir=${UXRT}/usr/share/info > > ... > > rm -fr .libs/libintl.la .libs/intl.* .libs/intl.* > print -r "LIBRARY intl INITINSTANCE" > .libs/intl.def > print -r "DESCRIPTION \"intl\"" >> .libs/intl.def > print -r "DATA MULTIPLE NONSHARED" >> .libs/intl.def > print -r EXPORTS >> .libs/intl.def > emxexp -u intl-compat.lo bindtextdom.lo dcgettext.lo dgettext.lo > gettext.lo finddomain.lo loadmsgcat.lo localealias.lo textdomain.lo > l10nflist.lo explodename.lo dcigettext.lo dcngettext.lo dngettext.lo > ngettext.lo plural.lo plural-exp.lo localcharset.lo localename.lo osdep.lo > >> .libs/intl.def > gcc -Zdll -o .libs/intl.dll intl-compat.lo bindtextdom.lo dcgettext.lo > dgettext.lo gettext.lo finddomain.lo loadmsgcat.lo localealias.lo > textdomain.lo l10nflist.lo explodename.lo dcigettext.lo dcngettext.lo > dngettext.lo ngettext.lo plural.lo plural-exp.lo localcharset.lo > localename.lo osdep.lo .libs/intl.def > emxbind: cannot export symbol libintl_nl_domain_bindings of type 9 > ld: emxbind failed I'm not sure but this doesn't look correctly. I compiled it with: export CPPFLAGS="-D__ST_MT_ERRNO__" export CFLAGS="-Os -Zomf -Zmt -Wall" export CXXFLAGS="$CFLAGS" export LDFLAGS="-s -Zcrtdll -Zlinker /exepack:2 -Zlinker /pm:vio -Zstack 0x8000" export LIBS="-liconv2 -lunixos2 -lgcc" export AR="emxomfar" export RANLIB="echo" ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ --with-included-gettext --disable-static make AR=emxomfar Don't forget --disable-static or --disable-shared as libtool can't build a static and a dynamic library at the same time on OS/2. Keep care which LIBS you use. It matters. If it's just for compilation it might be not that important whether your intl.dll works as expected. Keep care which env. vars you use. It matters. [snip] > I don't seem to be having much success with your build... It's hard to say from here what's the problem. There are so many ways to break libtool. :-( 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 20 ==========================** Date: Sun, 02 Mar 2003 23:21:42 +0100 From: Andreas Buening Subject: Re: GETTEXT install failure John Poltorak wrote: > > On Sun, Mar 02, 2003 at 02:49:32PM -0600, Maynard wrote: > > On Sun, 2 Mar 2003 20:27:40 +0000, John Poltorak wrote: > > > > >unzip -p gettext-0_11_5-r2.zip gettext-0.11.5\diff-patches\* >gettext-0.11.5.diff > > > > followed by ....? to do the patching? > > Depending on which files you have in which location you actually pipe the > output straight into patch like so:- > > unzip -p gettext-0_11_5-r2.zip gettext-0.11.5\diff-patches\* | patch -px > > where x may be 2 if you are in the gettext directory. > > If not sure, use the --dry-run option with patch. Ah. That way you apply the patches. A "simple" shell script could do the same. Something like this might work, too: cd diff-patches sh_subdirs() { dir /ad /s /b | sed -e 's,.*\\diff-patches\\,,g' | tr '\\\r\n' '/ '; } sourcedir="/somewhere/foo-1.2" dirs=`sh_subdirs` echo $dirs for i in $dirs; do for j in $i/*.diff; do file=`basename $j .diff`; patch --dry-run $sourcedir/$i/$file $j; done; done 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