From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 24 Sep 2002 04:37:11 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 327 ************************************************** Monday 23 September 2002 Number 327 ************************************************** Subjects for today 1 PostNuke : John Poltorak 2 Re: PostNuke : Steve Wendt 3 gcc 3.0.3: SIGFPE for div(0,x) ? : Thomas Hoffmann 4 Re: gcc 3.0.3: SIGFPE for div(0,x) ? : Franz Bakan" **= Email 1 ==========================** Date: Tue, 24 Sep 2002 10:32:38 +0100 From: John Poltorak Subject: PostNuke Has anyone successfully installed PostNuke? I've been trying to get it configured for the last few days but can't get the the admin panel to start, so don't have an opportunity to configure the system. There is an Installation FAQ which covers the problem I'm experiencing but none of the suggested solutions fix matters. Can I configure things manually by editing some text file? Does anyone have an email address for PostNuke support? Everything seems to be done via online forums, which I don't particularly like using. Alternatively, can anyone suggest a different Web Content Management System which is known to work on OS/2 (preferably with Xitami) ? -- John **= Email 2 ==========================** Date: Tue, 24 Sep 2002 18:07:55 -0700 (PDT) From: Steve Wendt Subject: Re: PostNuke On Tue, 24 Sep 2002, John Poltorak wrote: > Has anyone successfully installed PostNuke? No, but... > I've been trying to get it configured for the last few days but can't get > the the admin panel to start, so don't have an opportunity to configure > the system. ... I see it uses PHP, and I had a similar problem with something else that I figured out just today! The current version of PHP defaults the register_globals value to Off, and many php apps won't work without this On. Maybe you can try that? **= Email 3 ==========================** Date: Tue, 24 Sep 2002 22:54:26 +0100 From: Thomas Hoffmann Subject: gcc 3.0.3: SIGFPE for div(0,x) ? When running a simple program compiled with gcc 3.03 which uses the div() function with a numerator of 0, I get a SIGFPE. Can anybody try this with his/her installation of gcc 3.0.3? The file divtest.c: -----><8------ #include int main (void) { div_t q; q = div (0, -6); return 0; } -----><8------ [D:\thoffman\work\gcc]gcc -v -g -Wall divtest.c -lm Using builtin specs. Configured with: --enable-clh --enable-threads --disable-shared --enable-nls --w ithout-included-gettext --prefix=/usr Thread model: os2 gcc version 3.0.3 D:/USR/lib/gcc-lib/i386-pc-os2_emx/3.0.3/cc1.exe -lang-c -v -iprefix D:\USR/lib /gcc-lib/i386-pc-os2_emx/3.0.3/ -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLE VEL__=3 -D__32BIT__ -D__EMX__ -D__OS2__ -Dunix -D__32BIT__ -D__EMX__ -D__OS2__ - D__unix__ -D__unix -Asystem=unix -Asystem=posix -Asystem=emx -D__NO_INLINE__ -D_ _STDC_HOSTED__=1 -Wall -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__ tune_i386__ -D__cdecl=__attribute__((__cdecl__)) -D__stdcall=__attribute__((__st dcall__)) -D__optlink=__attribute__((__optlink__)) -D_cdecl=__attribute__((__cde cl__)) -D_stdcall=__attribute__((__stdcall__)) -D_optlink=__attribute__((__optli nk__)) divtest.c -quiet -dumpbase divtest.c -g -Wall -version -o - | as --traditional-format -o D:\TMP/cchFkuQy.o GNU CPP version 3.0.3 (cpplib) (80386, BSD syntax) GNU C version 3.0.3 (i386-pc-os2_emx) compiled by GNU C version 3.0.3. #include "..." search starts here: #include <...> search starts here: D:/USR/lib/gcc-lib/i386-pc-os2_emx/3.0.3/include D:/USR/include /usr/lib/gcc-lib/i386-pc-os2_emx/3.0.3/include /usr/include End of search list. ld -o divtest.exe d:/usr/lib/crt0.o -LD:/USR/lib/gcc-lib/i386-pc-os2_emx/3.0.3/ st -LD:/USR/lib/gcc-lib/i386-pc-os2_emx/3.0.3 -LD:/USR/lib/gcc-lib -Ld:/usr/lib/ st -Ld:/usr/lib -LD:/USR/lib/gcc-lib/i386-pc-os2_emx/3.0.3/st -LD:/USR/lib/gcc-l ib/i386-pc-os2_emx/3.0.3 -L/usr/lib/gcc-lib/i386-pc-os2_emx/3.0.3/st -L/usr/lib/ gcc-lib/i386-pc-os2_emx/3.0.3 -L/usr/lib/gcc-lib -LD:/USR/lib/gcc-lib/i386-pc-os 2_emx/3.0.3/st -LD:/USR/lib/gcc-lib/i386-pc-os2_emx/3.0.3 -LD:/USR/lib/gcc-lib - L/usr/lib/st D:\TMP/cchFkuQy.o -lm -lc_alias -lgcc -lc -lc_app -lgcc -lc -lemx - los2 -lemx2 [D:\thoffman\work\gcc]divtest Process terminated by SIGFPE core dumped SYS1808: The process has stopped. The software diagnostic code (exception code) is 009B. -- Thomas Hoffmann Telephone: 49-351-4598831 thoffman at zappa.sax.de Dresden, Germany ..sig under construction ... **= Email 4 ==========================** Date: Tue, 24 Sep 2002 23:23:34 +0200 (CEST) From: "Franz Bakan" Subject: Re: gcc 3.0.3: SIGFPE for div(0,x) ? On Tue, 24 Sep 2002 22:54:26 +0100, Thomas Hoffmann wrote: >When running a simple program compiled with gcc 3.03 which uses the >div() function >with a numerator of 0, I get a SIGFPE. > >Can anybody try this with his/her installation of gcc 3.0.3? ... same here, my steps: newgcc gcc test.c test Process terminated by SIGFPE core dumped Franz