From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Mon, 6 May 2002 04:25:44 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 209 ************************************************** Sunday 05 May 2002 Number 209 ************************************************** Subjects for today 1 Re: couldn't fork: not enough memory : Dave and Natalie" 2 Re: couldn't fork: not enough memory : Henry Sobotka 3 Re: LaTeX Packages : Jack Troughton 4 Re: couldn't fork: not enough memory : IanM" 5 LaTeX Packages : Adrian Gschwend" 6 Re: LaTeX Packages : Christian Hennecke" 7 Re: LaTeX Packages : Adrian Gschwend" 8 Re: couldn't fork: not enough memory : Holger Veit 9 Re: LaTeX Packages : Stefan Neis 10 Re: couldn't fork: not enough memory : Dave and Natalie" 11 Re: couldn't fork: not enough memory : Dave and Natalie" **= Email 1 ==========================** Date: Mon, 06 May 2002 08:08:36 -0800 From: "Dave and Natalie" Subject: Re: couldn't fork: not enough memory On Mon, 06 May 2002 15:57:32 +1000 (EST), IanM wrote: >Hi Dave > >>I'm trying to build and run xscreensaver. Built rather easily but when I try to run >xscreensaver.exe it exits with >>the time and couldn't fork: not enough memory. > >I added this to config.sys, I think this is what Apache use to do >with to many virtual domains, and this fixed it. > >SET EMXOPT=-c -n -h2048 > >You can but try. Already had SET EMXOPT=-h2048 in config,sys. Changed it to above, no difference. Dave **= Email 2 ==========================** Date: Mon, 06 May 2002 11:19:43 -0400 From: Henry Sobotka Subject: Re: couldn't fork: not enough memory Dave and Natalie wrote: > > I'm trying to build and run xscreensaver. Built rather easily but when I try to run > xscreensaver.exe it exits with the time and couldn't fork: not enough memory. A fork() call in a program built with -Zomf or linked with OMF DLLs will fail with ENOMEM. h~ **= Email 3 ==========================** Date: Mon, 06 May 2002 12:02:01 -0400 From: Jack Troughton Subject: Re: LaTeX Packages Adrian Gschwend wrote: > On Mon, 06 May 2002 17:21:04 +0200 (CEST), Christian Hennecke wrote: > > >>emTeX/TDS and VTeX/2 are still maintained, the rest is not AFAIK. If >>you only want to generate PDFs anyway, then VTeX/2 is the way to go. It >>should be easy to create PDFs with links with VTeX/2, too. > > > Sounds good, where is VTeX/2 available? http://www.micropress-inc.com/os2/ > Is it also free/opensource? Some parts are, some aren't. LaTeX is included, so it is, but there stuff (PDF generator) is not. They are very nice guys over there, judging by their email correspondance on their mail list. -- ------------------------------------------------------------------- * Jack Troughton jake at consultron.ca * * http://consultron.ca irc.ecomstation.ca * * Laval Qu‚bec Canada news://news.consultron.ca * ------------------------------------------------------------------- **= Email 4 ==========================** Date: Mon, 06 May 2002 15:57:32 +1000 (EST) From: "IanM" Subject: Re: couldn't fork: not enough memory Hi Dave >I'm trying to build and run xscreensaver. Built rather easily but when I try to run xscreensaver.exe it exits with >the time and couldn't fork: not enough memory. I added this to config.sys, I think this is what Apache use to do with to many virtual domains, and this fixed it. SET EMXOPT=-c -n -h2048 You can but try. Cheers IanM http://www.os2site.com/ **= Email 5 ==========================** Date: Mon, 06 May 2002 16:51:05 +0200 (CDT) From: "Adrian Gschwend" Subject: LaTeX Packages Hi all, I have a question regarding LaTeX on OS/2. Right now I write my project work at university (which will lead to the diploma work later). The documentation is written in XML DocBook (www.docbook.org). So far I use a Java XML parser to convert it to HTML, this also works on OS/2. But like this I can't transform it to PDF because the creation of PDF's is still done with LaTeX. That means the XML File is converted to LaTeX and then to PS or PDF. The XML to LaTeX transform is done with Jade, which seems to compile without big problems on OS/2. Now I would have to set up LaTeX again here (quite some time ago when I wrote LaTeX, I just use DocBook nowadays), the question is which distribution makes most sense? Are there any pros/contras for the different distros we have (IIRC we have two or three of them). I would be happy for feedback because I consider to write unixos2 packages for Jade and the DocBook stuff (DTD's and so on). cu Adrian -- Adrian Gschwend at OS/2 Netlabs ICQ: 22419590 ktk at netlabs.org ------- The OS/2 OpenSource Project: http://www.netlabs.org **= Email 6 ==========================** Date: Mon, 06 May 2002 17:21:04 +0200 (CEST) From: "Christian Hennecke" Subject: Re: LaTeX Packages On Mon, 06 May 2002 16:51:05 +0200 (CDT), Adrian Gschwend wrote: >Now I would have to set up LaTeX again here (quite some time ago when I >wrote LaTeX, I just use DocBook nowadays), the question is which >distribution makes most sense? Are there any pros/contras for the >different distros we have (IIRC we have two or three of them). emTeX/TDS and VTeX/2 are still maintained, the rest is not AFAIK. If you only want to generate PDFs anyway, then VTeX/2 is the way to go. It should be easy to create PDFs with links with VTeX/2, too. Christian Hennecke **= Email 7 ==========================** Date: Mon, 06 May 2002 17:32:16 +0200 (CDT) From: "Adrian Gschwend" Subject: Re: LaTeX Packages On Mon, 06 May 2002 17:21:04 +0200 (CEST), Christian Hennecke wrote: >emTeX/TDS and VTeX/2 are still maintained, the rest is not AFAIK. If >you only want to generate PDFs anyway, then VTeX/2 is the way to go. It >should be easy to create PDFs with links with VTeX/2, too. Sounds good, where is VTeX/2 available? Is it also free/opensource? cu Adrian -- Adrian Gschwend at OS/2 Netlabs ICQ: 22419590 ktk at netlabs.org ------- The OS/2 OpenSource Project: http://www.netlabs.org **= Email 8 ==========================** Date: Mon, 6 May 2002 17:44:52 +0200 From: Holger Veit Subject: Re: couldn't fork: not enough memory On Mon, May 06, 2002 at 11:19:43AM -0400, Henry Sobotka wrote: > Dave and Natalie wrote: > > > > I'm trying to build and run xscreensaver. Built rather easily but when I try to run > > xscreensaver.exe it exits with the time and couldn't fork: not enough memory. > > A fork() call in a program built with -Zomf or linked with OMF DLLs will > fail with ENOMEM. Not exactly. If this were the case, xinit.exe would not be able to fork the X server because it links against X11.dll which was made with emxomf/link386 (xinit.exe itself is a.out, converted to LX). You need some more properties like multiple heaps to be created by the DLL to have fork fail due to a DLL built with an OMF toolset. If the DLL is finally in memory, it is almost indistinguishable from a one built as a.out (besides the stack flaw of certain ld.exe versions). The first part of the sentence is true, though. Holger -- Please update your tables to my new e-mail address: holger.veit$ais.fhg.de (replace the '$' with ' at ' -- spam-protection) **= Email 9 ==========================** Date: Mon, 6 May 2002 19:15:12 +0200 (CEST) From: Stefan Neis Subject: Re: LaTeX Packages On Mon, 6 May 2002, Christian Hennecke wrote: > emTeX/TDS and VTeX/2 are still maintained, the rest is not AFAIK. If > you only want to generate PDFs anyway, then VTeX/2 is the way to go. It > should be easy to create PDFs with links with VTeX/2, too. Somebody is doing a good job at mind reading out there. :-) Thanks for reminding me to ask a question about VTeX/2 which I installed this weekend for generating a PPower4 (which essentially says that it wants pdflatex to be used) presentation. I have something, which essentially looks like \documentclass[25pt,landscape,pdftex]{foils} \usepackage{hyperref} \begin{document} .... \end{document} and VTeX/2 chokes on hyperref style files so badly that it enters an endless loop. Looking up the origin, I found that this hyperref stuff is included in the VTeX/2 distribution! :-o Any idea what's going wrong? It's not a big problem as I don't really need the hyperref package anyway, but it leaves me wondering ... Regards, Stefan **= Email 10 ==========================** Date: Mon, 06 May 2002 21:29:49 -0800 From: "Dave and Natalie" Subject: Re: couldn't fork: not enough memory On Tue, 07 May 2002 01:23:38 +1000 (EST), IanM wrote: >Hi Dave > >>>>the time and couldn't fork: not enough memory. >>>SET EMXOPT=-c -n -h2048 >>Already had SET EMXOPT=-h2048 in config,sys. Changed it to above, no difference. >>Dave > >Something from the dim past is clanging away in this rusty brain, >what compile switchs did you use ? I cant claim to know the right >or wrong ones, but I have this distant memory that it could be either >that, or you are using an include file that is incorrect, or needs an >alteration. I would check the compile switches though. > >In my limited porting attempts, I've found that I cant always >use the same switches. I have CC = gcc -Wall -Wstrict-prototypes -Wnested-externs -Wno-format -std=c89 -U__STRICT_ANSI__ CFLAGS = -D__EMX__ -DOS2 -Zmtd -D__ST_MT_ERRNO__ -O2 LDFLAGS = -Zmtd -D__ST_MT_ERRNO__ -O2 -s -Zsysv-signals -Zstack 512 -Zexe -L${exec_prefix}/lib of which my config.site supplied the CFLAGS AND LDFLAGS except -Zexe which I just added as it seems hit and miss whether exes were created. and the -L$ was added by the configure process. Dave ps same error after rebuilding with -Zexe **= Email 11 ==========================** Date: Mon, 06 May 2002 21:30:08 -0800 From: "Dave and Natalie" Subject: Re: couldn't fork: not enough memory On Mon, 06 May 2002 11:19:43 -0400, Henry Sobotka wrote: >Dave and Natalie wrote: >> >> I'm trying to build and run xscreensaver. Built rather easily but when I try to run >> xscreensaver.exe it exits with the time and couldn't fork: not enough memory. > >A fork() call in a program built with -Zomf or linked with OMF DLLs will >fail with ENOMEM. Most of the libs are standard emx and X11 ones. I am using lesstiff but I'd imagine Alex would of built them forking safe. Dave Dave