Date: Sat, 17 Apr 2004 00:07:04 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 304 ************************************************** Friday 16 April 2004 Number 304 ************************************************** Subjects for today 1 Re: What needs porting? : Anton Monroe 2 Re: What needs porting? : John Poltorak 3 Re: Too many open files : Rodney Pont" 4 Re: What needs porting? : Anton Monroe 5 Re: Too many open files : James Moe 6 Re: Too many open files : John Poltorak 7 Re: Too many open files : John Poltorak 8 Re: Too many open files : Rodney Pont" 9 Re: Too many open files : John Poltorak 10 Re: Too many open files : Rodney Pont" 11 Re: Too many open files : John Poltorak 12 Re: Too many open files : Rodney Pont" 13 Re: Any success? : Anton Monroe 14 Re: Any success? : John Poltorak 15 Re: Too many open files : John Poltorak **= Email 1 ==========================** Date: Thu, 15 Apr 2004 09:05:51 -0500 From: Anton Monroe Subject: Re: What needs porting? > I'll try that. The problem was that no Makefile was created. The archive > contains a Makefile.in.in in that directory and configure creates a > Makefile.in when it runs. Is that to be expected with PINFO? I don't think so. When I run "./configure", it creates in the po/ directory: POTFILES from POTFILES.in Makefile.in from Makefile.in.in Makefile from Makefile.in.in But it looks like Makefile is created by merging Makefile.in + POTFILES.in. So if POTFILES.in didn't get created, I suppose that could explain why you don't get a Makefile. If it will help any, I can post the Linux Makefile, configure's output, or whatever. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Thu, 15 Apr 2004 15:39:18 +0100 From: John Poltorak Subject: Re: What needs porting? On Thu, Apr 15, 2004 at 09:05:51AM -0500, Anton Monroe wrote: > > I'll try that. The problem was that no Makefile was created. The archive > > contains a Makefile.in.in in that directory and configure creates a > > Makefile.in when it runs. Is that to be expected with PINFO? > > I don't think so. When I run "./configure", it creates in the po/ > directory: > POTFILES from POTFILES.in > Makefile.in from Makefile.in.in > Makefile from Makefile.in.in > > But it looks like Makefile is created by merging Makefile.in + > POTFILES.in. That seems like a strange thing to do... Any idea how that is done? It may involve a procedure which doesn't translate directly to OS/2 and may need a slight change... > So if POTFILES.in didn't get created, I suppose that could > explain why you don't get a Makefile. POTFILES.in is already in the archive when you download it. > If it will help any, I can post > the Linux Makefile, configure's output, or whatever. That might be useful... -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Thu, 15 Apr 2004 16:42:29 +0100 (BST) From: "Rodney Pont" Subject: Re: Too many open files On Thu, 15 Apr 2004 13:48:48 +0100, John Poltorak wrote: >> I've done a 'sh autoconf --version' and it's showing 2.58 so I think >> that's ok but it is showing some errors at the start of the run: > >The start of which run? The start of 'sh autoconf --version'. >What I'd like to know is the current state of your UX2BS... maybe >update_base did not run correctly. > >Can you post 'dir \unixos2\logs' ? [L:\unixos2\logs]dir The volume label in drive L is L_JFS. The Volume Serial Number is 1763:3E04. Directory of L:\unixos2\logs 15-04-04 12:38a 1,173 ---- . 11-12-02 4:31p 693 a--- .. 10-04-04 3:51a 5,202 0 a--- autoconf-2.13.log 10-04-04 3:51a 9,629 0 a--- autoconf-2.50.log 14-04-04 11:21p 65,156 0 a--- autoconf.log 14-04-04 11:00p 12,585 0 a--- automake-1.4-p5.log 14-04-04 11:07p 1,973 0 a--- automake.log 10-04-04 4:21a 2,170 0 a--- byacc.log 10-04-04 3:36a 2,229 0 a--- crypt.log 10-04-04 4:21a 3,045 0 a--- flex.log 10-04-04 4:28a 47,104 0 a--- gettext.log 10-04-04 4:25a 2,576 0 a--- help2man.log 10-04-04 4:31a 1,844 0 a--- less.log 10-04-04 4:31a 10,950 0 a--- m4.log 10-04-04 3:51a 2,094 0 a--- make-3.76.1.log 10-04-04 3:53a 11,752 0 a--- make.log 14-04-04 10:17p 3,016 0 a--- mysqlcc.log 14-04-04 11:04p 2,763 0 a--- mysqlcpp.log 10-04-04 4:24a 84,655 0 a--- ncurses.log 10-04-04 3:36a 6,607 0 a--- pdksh.log 10-04-04 3:51a 716 0 a--- perl-test_results.log 10-04-04 3:51a 114,737 0 a--- perl.log 10-04-04 3:36a 1,934 0 a--- regex.log 10-04-04 4:31a 5,610 0 a--- sed.log 10-04-04 4:31a 2,328 0 a--- termcap.log 10-04-04 4:30a 23,522 0 a--- texinfo.log 15-04-04 12:39a 40,798 0 a--- trolltechqt.log 10-04-04 3:36a 1,883 0 a--- unzip.log 10-04-04 3:36a 1,336 0 a--- which.log 29 file(s) 468,214 bytes used 4,609,818 K bytes free >> I've found some documentation so I'll have a read. > >You've been lucky. I wasn't aware of any ;-)... For Qt... >What I'm trying to ensure at the moment is that the major building blocks >are buildable so that complex apps reliant on several libraries can be >built in due course. MySql say their source should be portable and said they use the client and Qt libraries so I though I'd give it a go but I do expect an application with X windowed output to be a bit much yet. Regards - Rodney Pont E-mail by PMMail - listm4 at infohitsystems.ltd.uk really weird out of context words courtesy of PMMail's spellchecker _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Thu, 15 Apr 2004 10:47:32 -0500 From: Anton Monroe Subject: Re: What needs porting? > > I don't think so. When I run "./configure", it creates in the po/ > > directory: > > POTFILES from POTFILES.in > > Makefile.in from Makefile.in.in > > Makefile from Makefile.in.in > > > > But it looks like Makefile is created by merging Makefile.in + > > POTFILES.in. > > That seems like a strange thing to do... > > Any idea how that is done? > > It may involve a procedure which doesn't translate directly to OS/2 and > may need a slight change... > > > So if POTFILES.in didn't get created, I suppose that could > > explain why you don't get a Makefile. > > POTFILES.in is already in the archive when you download it. Oops, I meant POTFILES. POTFILES is created from POTFILES.in, and (from a very brief look) MakeFile seems to have been created from Makefile.in with the contents of POTFILES merged into the middle of it. But I don't claim to know much more than how to type "./configure" and "make". (Does it make sense for there to be a target called 'Makefile' in the Makefile itself?) For what it's worth: ========== START output from "./configure": ========== creating cache ./config.cache checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for strerror in -lcposix... no checking for a BSD compatible install... /usr/bin/ginstall -c checking whether ln -s works... yes checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... gcc -E checking location of ncurses.h file Found ncurses on /usr/include/ncurses.h checking for ncurses version... 5.2 checking for KEY_END in curses... yes checking for working const... yes checking for getopt_long... yes checking for snprintf... yes checking for curs_set... yes checking for use_default_colors... yes checking for bkgdset... yes checking for sigblock... yes checking host system type... i686-suse-linux checking for ranlib... ranlib checking for ANSI C header files... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for GNU gettext in libc... yes checking for dcgettext... yes checking for msgfmt... no checking for xgettext... : checking for bison... bison checking version of bison... 1.28, ok checking for catalogs to be installed... pl cs sv de ru ja updating cache ./config.cache creating ./config.status creating Makefile creating doc/Makefile creating macros/Makefile creating src/Makefile creating pinfo.spec creating INSTALL creating po/Makefile.in creating intl/Makefile creating src/pinforc creating doc/pinfo.1 creating config.h creating po/POTFILES creating po/Makefile ========== END output from "./configure": ========== ========== START contents of po/POTFILES ========== ../src/colors.c \ ../src/datatypes.c \ ../src/filehandling_functions.c \ ../src/initializelinks.c \ ../src/keyboard.c \ ../src/mainfunction.c \ ../src/manual.c \ ../src/menu_and_note_utils.c \ ../src/parse_config.c \ ../src/readlinewrapper.c \ ../src/regexp_search.c \ ../src/signal_handler.c \ ../src/snprintf.c \ ../src/utils.c \ ../src/video.c \ ../src/pinfo.c ========== END contents of /po/POTFILES ========== ========== START contents of /po/Makefile.in ========== # Generated automatically from Makefile.in.in by configure. # Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. PACKAGE = pinfo VERSION = 0.6.8 # These two variables depend on the location of this directory. subdir = po top_builddir = .. SHELL = /bin/sh srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} datadir = ${prefix}/share localedir = $(datadir)/locale gettextsrcdir = $(datadir)/gettext/po INSTALL = /usr/bin/ginstall -c INSTALL_DATA = ${INSTALL} -m 644 MKINSTALLDIRS = ./mkinstalldirs mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac` CC = gcc GMSGFMT = MSGFMT = no XGETTEXT = : MSGMERGE = msgmerge DEFS = -DHAVE_CONFIG_H CFLAGS = -g -O2 CPPFLAGS = -DCONFIGDIR=\"${prefix}/etc/pinforc\" -DLOCALEDIR=\"$(prefix)/share/locale\" INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) POFILES = pl.po cs.po sv.po de.po ru.po ja.po GMOFILES = pl.gmo cs.gmo sv.gmo de.gmo ru.gmo ja.gmo DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \ $(POFILES) $(GMOFILES) POTFILES = \ CATALOGS = pl.gmo cs.gmo sv.gmo de.gmo ru.gmo ja.gmo ..SUFFIXES: ..SUFFIXES: .c .o .po .pox .gmo .mo ..c.o: $(COMPILE) $< ..po.pox: $(MAKE) $(PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox ..po.mo: $(MSGFMT) -o $ at $< ..po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) --statistics -o $$file $< all: all-yes all-yes: $(CATALOGS) all-no: # Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ --add-comments --keyword=_ --keyword=N_ \ --files-from=$(srcdir)/POTFILES.in \ && test ! -f $(PACKAGE).po \ || ( rm -f $(srcdir)/$(PACKAGE).pot \ && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) install: install-exec install-data install-exec: install-data: install-data-yes if test "$(PACKAGE)" = "gettext"; then \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi install-data-no: all install-data-yes: all $(mkinstalldirs) $(DESTDIR)$(datadir) at catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkinstalldirs) $(DESTDIR)$$dir; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $(srcdir)/$$cat as" \ "$(DESTDIR)$$dir/$(PACKAGE).mo"; \ fi; \ done # Define this as empty until I found a useful application. installcheck: uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \ done if test "$(PACKAGE)" = "gettext"; then \ rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi check: all dvi info tags TAGS ID: mostlyclean: rm -f core core.* *.pox $(PACKAGE).po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean at echo "This command is intended for maintainers to use;" at echo "it deletes files that may require special tools to rebuild." rm -f $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po at $(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: $(DISTFILES) dists="$(DISTFILES)"; \ for file in $$dists; do \ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ cp -p $$dir/$$file $(distdir); \ done update-po: Makefile $(MAKE) $(PACKAGE).pot if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \ cd $(srcdir); \ catalogs='$(GMOFILES)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ echo "$$lang:"; \ if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \ mv -f $$lang.new.po $$lang.po; \ else \ echo "msgmerge for $$cat failed!"; \ rm -f $$lang.new.po; \ fi; \ done $(MAKE) update-gmo update-gmo: Makefile $(GMOFILES) at : Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$ at .in CONFIG_HEADERS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. ..NOEXPORT: ========== END contents of /po/Makefile.in ========== ========== START contents of /po/Makefile ========== # Generated automatically from Makefile.in.in by configure. # Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. PACKAGE = pinfo VERSION = 0.6.8 # These two variables depend on the location of this directory. subdir = po top_builddir = .. SHELL = /bin/sh srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} datadir = ${prefix}/share localedir = $(datadir)/locale gettextsrcdir = $(datadir)/gettext/po INSTALL = /usr/bin/ginstall -c INSTALL_DATA = ${INSTALL} -m 644 MKINSTALLDIRS = ./mkinstalldirs mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac` CC = gcc GMSGFMT = MSGFMT = no XGETTEXT = : MSGMERGE = msgmerge DEFS = -DHAVE_CONFIG_H CFLAGS = -g -O2 CPPFLAGS = -DCONFIGDIR=\"${prefix}/etc/pinforc\" -DLOCALEDIR=\"$(prefix)/share/locale\" INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) POFILES = pl.po cs.po sv.po de.po ru.po ja.po GMOFILES = pl.gmo cs.gmo sv.gmo de.gmo ru.gmo ja.gmo DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \ $(POFILES) $(GMOFILES) POTFILES = \ ../src/colors.c \ ../src/datatypes.c \ ../src/filehandling_functions.c \ ../src/initializelinks.c \ ../src/keyboard.c \ ../src/mainfunction.c \ ../src/manual.c \ ../src/menu_and_note_utils.c \ ../src/parse_config.c \ ../src/readlinewrapper.c \ ../src/regexp_search.c \ ../src/signal_handler.c \ ../src/snprintf.c \ ../src/utils.c \ ../src/video.c \ ../src/pinfo.c CATALOGS = pl.gmo cs.gmo sv.gmo de.gmo ru.gmo ja.gmo ..SUFFIXES: ..SUFFIXES: .c .o .po .pox .gmo .mo ..c.o: $(COMPILE) $< ..po.pox: $(MAKE) $(PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox ..po.mo: $(MSGFMT) -o $ at $< ..po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) --statistics -o $$file $< all: all-yes all-yes: $(CATALOGS) all-no: # Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ --add-comments --keyword=_ --keyword=N_ \ --files-from=$(srcdir)/POTFILES.in \ && test ! -f $(PACKAGE).po \ || ( rm -f $(srcdir)/$(PACKAGE).pot \ && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) install: install-exec install-data install-exec: install-data: install-data-yes if test "$(PACKAGE)" = "gettext"; then \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi install-data-no: all install-data-yes: all $(mkinstalldirs) $(DESTDIR)$(datadir) at catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkinstalldirs) $(DESTDIR)$$dir; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $(srcdir)/$$cat as" \ "$(DESTDIR)$$dir/$(PACKAGE).mo"; \ fi; \ done # Define this as empty until I found a useful application. installcheck: uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \ done if test "$(PACKAGE)" = "gettext"; then \ rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi check: all dvi info tags TAGS ID: mostlyclean: rm -f core core.* *.pox $(PACKAGE).po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean at echo "This command is intended for maintainers to use;" at echo "it deletes files that may require special tools to rebuild." rm -f $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po at $(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: $(DISTFILES) dists="$(DISTFILES)"; \ for file in $$dists; do \ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ cp -p $$dir/$$file $(distdir); \ done update-po: Makefile $(MAKE) $(PACKAGE).pot if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \ cd $(srcdir); \ catalogs='$(GMOFILES)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ echo "$$lang:"; \ if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \ mv -f $$lang.new.po $$lang.po; \ else \ echo "msgmerge for $$cat failed!"; \ rm -f $$lang.new.po; \ fi; \ done $(MAKE) update-gmo update-gmo: Makefile $(GMOFILES) at : Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$ at .in CONFIG_HEADERS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. ..NOEXPORT: ========== END contents of /po/Makefile ========== _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Thu, 15 Apr 2004 09:32:44 -0700 From: James Moe Subject: Re: Too many open files Rodney Pont wrote: > I'm trying to build autoconf and I'm getting the error 'l:/bin/sh: too > many files open in shell'. > > Is there anything I can do about this? > I asked about a similar problem a while back. There was no useful conclusion. The problem was that each shell invocation in make was spawned rather than executed serially. So for the program I was working on I had upwards of 80 shell scripts running; it would always consume whatever file handles were available no matter how many I allowed. My workaround was to use the -n option for make, pipe the output to a cmd file, and execute the cmd. The shell scripts were run one at a time that way. -- jimoe at sohnen-moe dot com _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Thu, 15 Apr 2004 17:39:07 +0100 From: John Poltorak Subject: Re: Too many open files On Thu, Apr 15, 2004 at 04:42:29PM +0100, Rodney Pont wrote: > On Thu, 15 Apr 2004 13:48:48 +0100, John Poltorak wrote: > > >> I've done a 'sh autoconf --version' and it's showing 2.58 so I think > >> that's ok but it is showing some errors at the start of the run: > > > >The start of which run? > The start of 'sh autoconf --version'. Have you just run this from a normal OS/2 command line? UX2BS works within its own shell usiing its own enviornment. That is created when you run 'build foo'... If you just want to get a UX2BS shell then run build.cmd, then type path or set to verify that you have the correct environment. 'sh autoconf --version' should work then. > >Can you post 'dir \unixos2\logs' ? > > [L:\unixos2\logs]dir > > 10-04-04 3:51a 9,629 0 a--- autoconf-2.50.log > 14-04-04 11:21p 65,156 0 a--- autoconf.log > 14-04-04 11:00p 12,585 0 a--- automake-1.4-p5.log > 14-04-04 11:07p 1,973 0 a--- automake.log > 10-04-04 4:21a 2,170 0 a--- byacc.log > 10-04-04 3:36a 6,607 0 a--- pdksh.log All the logs are there but the sizes look a long way out... .... Looks like I've forgotten to put the '-q' option back into the WGET line... - OOPS! Having said that some of these look way too short, especially perl.log - mine's 400kB. Maybe you should check through some for any obvious errors. > Regards - Rodney Pont > E-mail by PMMail - listm4 at infohitsystems.ltd.uk -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Thu, 15 Apr 2004 17:46:07 +0100 From: John Poltorak Subject: Re: Too many open files On Thu, Apr 15, 2004 at 09:32:44AM -0700, James Moe wrote: > Rodney Pont wrote: > > I'm trying to build autoconf and I'm getting the error 'l:/bin/sh: too > > many files open in shell'. > > > > Is there anything I can do about this? > > > I asked about a similar problem a while back. There was no useful conclusion. > The problem was that each shell invocation in make was spawned rather > than executed serially. So for the program I was working on I had upwards of > 80 shell scripts running; it would always consume whatever file handles were > available no matter how many I allowed. I had this 'too many open files' problem about a year ago, and I'm sure it was resolved. I don't get it now. Can you remember in what circumstances it occurred? > > -- > jimoe at sohnen-moe dot com -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Thu, 15 Apr 2004 19:04:29 +0100 (BST) From: "Rodney Pont" Subject: Re: Too many open files On Thu, 15 Apr 2004 09:32:44 -0700, James Moe wrote: >> I'm trying to build autoconf and I'm getting the error 'l:/bin/sh: too >> many files open in shell'. >> >> Is there anything I can do about this? >> > I asked about a similar problem a while back. There was no useful conclusion. > The problem was that each shell invocation in make was spawned rather >than executed serially. So for the program I was working on I had upwards of >80 shell scripts running; it would always consume whatever file handles were >available no matter how many I allowed. > My workaround was to use the -n option for make, pipe the output to a cmd >file, and execute the cmd. The shell scripts were run one at a time that way. I've tried that and it still runs and gives the errors. From make --help it would be used as below, is this correct? make -n install "$MAKEPARM" > $1.mk4 Regards - Rodney Pont E-mail by PMMail - listm4 at infohitsystems.ltd.uk really weird out of context words courtesy of PMMail's spellchecker _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Thu, 15 Apr 2004 21:45:15 +0100 From: John Poltorak Subject: Re: Too many open files On Thu, Apr 15, 2004 at 07:04:29PM +0100, Rodney Pont wrote: > I've tried that and it still runs and gives the errors. Just a thought... Are you using an alternative command processor such as 4os2? When does the problem actually occur? > Regards - Rodney Pont > E-mail by PMMail - listm4 at infohitsystems.ltd.uk -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Thu, 15 Apr 2004 22:02:13 +0100 (BST) From: "Rodney Pont" Subject: Re: Too many open files On Thu, 15 Apr 2004 21:45:15 +0100, John Poltorak wrote: >Just a thought... Are you using an alternative command processor such as >4os2? No, standard eCS 1.14 up to date as of the beginning of the week. >When does the problem actually occur? Does this bit from the autoconf.log give you any ideas? It continues repeating the two lines beginning make[56] all the way down to make[1] with the count decrementing each time. l:/unixos2/bin/install.exe autom4te /usr/local/bin/autom4te l:/unixos2/bin/install.exe autoconf /usr/local/bin/autoconf l:/unixos2/bin/install.exe autoheader /usr/local/bin/autoheader l:/unixos2/bin/install.exe autoreconf /usr/local/bin/autoreconf l:/unixos2/bin/install.exe ifnames /usr/local/bin/ifnames l:/unixos2/bin/install.exe autoscan /usr/local/bin/autoscan l:/unixos2/bin/install.exe autoupdate /usr/local/bin/autoupdate make[58]: Nothing to be done for `install-data-am'. make[58]: Leaving directory `/unixos2/workdir/autoconf-2.58/bin' make[57]: Leaving directory `/unixos2/workdir/autoconf-2.58/bin' Making install in tests make[57]: Entering directory `/unixos2/workdir/autoconf-2.58/tests' make[58]: Entering directory `/unixos2/workdir/autoconf-2.58/tests' make[58]: Nothing to be done for `install-exec-am'. make[58]: Nothing to be done for `install-data-am'. make[58]: Leaving directory `/unixos2/workdir/autoconf-2.58/tests' make[57]: Leaving directory `/unixos2/workdir/autoconf-2.58/tests' Making install in . make[57]: Entering directory `/unixos2/workdir/autoconf-2.58' Making install in bin make[58]: Entering directory `/unixos2/workdir/autoconf-2.58/bin' make[59]: Entering directory `/unixos2/workdir/autoconf-2.58/bin' l:/bin/sh ../config/mkinstalldirs /usr/local/bin l:/bin/sh: cannot fork - try again make[59]: *** [install-binSCRIPTS] Error 1 make[59]: Leaving directory `/unixos2/workdir/autoconf-2.58/bin' make[58]: *** [install-am] Error 2 make[58]: Leaving directory `/unixos2/workdir/autoconf-2.58/bin' make[57]: *** [install-recursive] Error 1 make[57]: Leaving directory `/unixos2/workdir/autoconf-2.58' make[56]: *** [install-recursive] Error 1 make[56]: Leaving directory `/unixos2/workdir/autoconf-2.58' Regards - Rodney Pont E-mail by PMMail - listm4 at infohitsystems.ltd.uk really weird out of context words courtesy of PMMail's spellchecker _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Thu, 15 Apr 2004 22:15:04 +0100 From: John Poltorak Subject: Re: Too many open files On Thu, Apr 15, 2004 at 10:02:13PM +0100, Rodney Pont wrote: > On Thu, 15 Apr 2004 21:45:15 +0100, John Poltorak wrote: > > >Just a thought... Are you using an alternative command processor such as > >4os2? > > No, standard eCS 1.14 up to date as of the beginning of the week. > > >When does the problem actually occur? > > Does this bit from the autoconf.log give you any ideas? It continues > repeating the two lines beginning make[56] all the way down to make[1] > with the count decrementing each time. > make[58]: Leaving directory `/unixos2/workdir/autoconf-2.58/bin' > make[57]: Leaving directory `/unixos2/workdir/autoconf-2.58/bin' > Making install in tests > make[57]: Entering directory `/unixos2/workdir/autoconf-2.58/tests' > make[58]: Entering directory `/unixos2/workdir/autoconf-2.58/tests' > make[58]: Nothing to be done for `install-exec-am'. > make[58]: Nothing to be done for `install-data-am'. > make[58]: Leaving directory `/unixos2/workdir/autoconf-2.58/tests' > make[57]: Leaving directory `/unixos2/workdir/autoconf-2.58/tests' > Making install in . I have had exactly this same problem myself, but it was a long time ago. I'm looking through my archives to see if I can find out when it happened and how it was resolved. It drove me nuts at the time! > Regards - Rodney Pont > E-mail by PMMail - listm4 at infohitsystems.ltd.uk -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 12 ==========================** Date: Thu, 15 Apr 2004 23:20:08 +0100 (BST) From: "Rodney Pont" Subject: Re: Too many open files On Thu, 15 Apr 2004 22:15:04 +0100, John Poltorak wrote: >I have had exactly this same problem myself, but it was a long time ago. > >I'm looking through my archives to see if I can find out when it happened >and how it was resolved. It drove me nuts at the time! Thanks John. I'll hang on before I start again then. Regards - Rodney Pont E-mail by PMMail - listm4 at infohitsystems.ltd.uk really weird out of context words courtesy of PMMail's spellchecker _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 13 ==========================** Date: Thu, 15 Apr 2004 23:08:45 -0500 From: Anton Monroe Subject: Re: Any success? My OS/2 computer is running again, mostly. Here's a few glitches I found installing UX2BS: Wget fails downloading ftp://invisible-island.net/byacc/byacc.tar.gz with a "symlinks not supported" error. The wget docs seem to say that shouldn't happen when you give it a single file name on the command line. At any rate, I doubt if you intended to download a symlink anyway, because the ftp site could unexpectedly change the symlink to point to a newer version. In fact, invisible-island.net did that-- byacc.tar.gz now points to byacc-2004328.tgz instead of byacc-20001120.tgz. I expect you will want to change build.table to get either byacc-20001120.tgz or byacc-20040328.tgz. It looks like there is a "c:/ux2bs/" path hard-coded in the awk build somewhere. The awk.log says: c:/ux2bs/bin/install.exe awk.exe igawk.cmd pc/awklib/igawk M:/usr/bin /bin/sh: c:/ux2bs/bin/install.exe: not found make: *** [install] Error 127 Which leaves the old version of M:/usr/bin/awk.exe in place, but igawk and igawk.cmd don't get installed. At first I thought that might be the reason perl failed, but I don't see any files in the perl tree that mention igawk. Part of the perl.log says: [M:\unixos2\workdir\perl-5.8.3]make GNUmakefile:1250: warning: overriding commands for target `TAGS' GNUmakefile:1242: warning: ignoring old commands for target `TAGS' `sh cflags "optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s'" malloc.obj` -Zdll malloc.c CCCMD = gcc -DPERL_CORE -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -DEMX_BAD_SBRK -D_EMX_CRT_REV_=image -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -Wall malloc.c: In function `Perl_sbrk': malloc.c:2548: `SYSTEM_ALLOC_ALIGNMENT' undeclared (first use in this function) malloc.c:2548: (Each undeclared identifier is reported only once malloc.c:2548: for each function it appears in.) make: *** [malloc.obj] Error 1 Let me know if you need any more information. _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 14 ==========================** Date: Fri, 16 Apr 2004 10:40:49 +0100 From: John Poltorak Subject: Re: Any success? On Thu, Apr 15, 2004 at 11:08:45PM -0500, Anton Monroe wrote: > My OS/2 computer is running again, mostly. Here's a few glitches I > found installing UX2BS: I'm glad to see you up and running again. Maybe you can help get PINFO to build... > Wget fails downloading ftp://invisible-island.net/byacc/byacc.tar.gz > with a "symlinks not supported" error. The wget docs seem to say that > shouldn't happen when you give it a single file name on the command > line. At any rate, I doubt if you intended to download a symlink > anyway, because the ftp site could unexpectedly change the symlink to > point to a newer version. In fact, invisible-island.net did that-- > byacc.tar.gz now points to byacc-2004328.tgz instead of > byacc-20001120.tgz. I expect you will want to change build.table to get > either byacc-20001120.tgz or byacc-20040328.tgz. Thanks for that. I didn't realise there had been a change to BYACC. You are right about the amendmet to build.table but there is another change required. Previously BYACC just came with a Makefile rather than the usual GNU configure script so it was built using a BYACC build script, but now, with these changes it will fit the standard build pattern, so I need to do a bit of work ensuring its build environment is correct. > It looks like there is a "c:/ux2bs/" path hard-coded in the awk build > somewhere. The awk.log says: > c:/ux2bs/bin/install.exe awk.exe igawk.cmd pc/awklib/igawk M:/usr/bin > /bin/sh: c:/ux2bs/bin/install.exe: not found > make: *** [install] Error 127 OOPS! Sorry, that's my fault. Too big a hurry to add AWK after I got it to build. If you run ux2_refresh you should get an updated Makefile. > [M:\unixos2\workdir\perl-5.8.3]make > GNUmakefile:1250: warning: overriding commands for target `TAGS' > GNUmakefile:1242: warning: ignoring old commands for target `TAGS' > `sh cflags "optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s'" malloc.obj` -Zdll malloc.c > CCCMD = gcc -DPERL_CORE -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -DEMX_BAD_SBRK -D_EMX_CRT_REV_=image -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -Wall > malloc.c: In function `Perl_sbrk': > malloc.c:2548: `SYSTEM_ALLOC_ALIGNMENT' undeclared (first use in this function) > malloc.c:2548: (Each undeclared identifier is reported only once > malloc.c:2548: for each function it appears in.) > make: *** [malloc.obj] Error 1 This is from my perl.log:- [C:\unixos2\workdir\perl-5.8.3]make GNUmakefile:1250: warning: overriding commands for target `TAGS' GNUmakefile:1242: warning: ignoring old commands for target `TAGS' `sh cflags "optimize='-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s'" malloc.obj` -Zdll malloc.c CCCMD = gcc -DPERL_CORE -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -Wall but then it just continues without any error. I can't think what could be causing your error... maybe one of our Perl experts could intervene here... > Let me know if you need any more information. Did PDKSH build correctly? -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 15 ==========================** Date: Fri, 16 Apr 2004 10:51:52 +0100 From: John Poltorak Subject: Re: Too many open files On Thu, Apr 15, 2004 at 11:20:08PM +0100, Rodney Pont wrote: > On Thu, 15 Apr 2004 22:15:04 +0100, John Poltorak wrote: > > >I have had exactly this same problem myself, but it was a long time ago. > > > >I'm looking through my archives to see if I can find out when it happened > >and how it was resolved. It drove me nuts at the time! > > Thanks John. I'll hang on before I start again then. I've found the msgs about the same problem two years ago when trying to install autoconf 2.52h, but there is no indication of how it was resolved... How much stuff do you have running on your system? Maybe add this to ux2_local.cmd:- SET EMXOPT=-h2048 and increase it to 8192 if it doesn't do the trick. > Regards - Rodney Pont > E-mail by PMMail - listm4 at infohitsystems.ltd.uk -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs