From beyer at imb-jena.de Wed Jan 14 10:11:55 2004 From: beyer at imb-jena.de (Andreas Beyer) Date: Wed, 14 Jan 2004 10:11:55 +0100 Subject: statist: Bug in KS-Liliefors Test Message-ID: <400507DB.9030009@imb-jena.de> Hi, I have found a bug in the evaluation of the KS-Liliefors test of statist: Hypothesis 0 is rejected when the D-value is below the critical D-value. However, it should be the other way round: The hypothesis is accepted when the D-value is above the critical value. The problem is located in the function 'pks()'. I have not yet written a patch, but I will do so as soon as possible. Cheers, Andreas From bernhard at intevation.de Thu Feb 12 15:31:22 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 12 Feb 2004 15:31:22 +0100 Subject: statist: Bug in KS-Liliefors Test In-Reply-To: <400507DB.9030009@imb-jena.de> References: <400507DB.9030009@imb-jena.de> Message-ID: <20040212143122.GH11648@intevation.de> On Wed, Jan 14, 2004 at 10:11:55AM +0100, Andreas Beyer wrote: > I have found a bug in the evaluation of the KS-Liliefors test of > statist: Hypothesis 0 is rejected when the D-value is below the critical > D-value. However, it should be the other way round: The hypothesis is > accepted when the D-value is above the critical value. > The problem is located in the function 'pks()'. I have not yet written a > patch, but I will do so as soon as possible. Any progress on the patch? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040212/67dc9cb5/attachment.bin From sfronzek at gmx.net Mon Mar 29 10:55:48 2004 From: sfronzek at gmx.net (sfronzek@gmx.net) Date: Mon, 29 Mar 2004 10:55:48 +0200 (MEST) Subject: compilation of statist under cygwin Message-ID: <23378.1080550548@www63.gmx.net> Hello all, I am having problems to compile statist (v1.0.1) under cygwin, please see the error messages below. The same error messages occur also with the -DMSDOS flag. Can anybody help? Best regards, Stefan [fronzek at KK450 ...statist/src]$ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs gcc version 2.95.3-5 (cygwin special) [fronzek at KK450 ...statist/src]$ make gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN statist.c gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN menue.c gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN procs.c gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN funcs.c gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN data.c gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN plot.c gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN -c -o memory_handling.o memory_handling.c gcc -o statist statist.o menue.o procs.o funcs.o data.o plot.o memory_handling.o -lm statist.o(.text+0x59b):statist.c: undefined reference to `errno' statist.o(.text+0x753):statist.c: undefined reference to `errno' menue.o(.text+0x410c):menue.c: undefined reference to `errno' menue.o(.text+0x4238):menue.c: undefined reference to `errno' menue.o(.text+0x495a):menue.c: undefined reference to `errno' menue.o(.text+0x4aef):menue.c: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [statist] Error 1 -- +++ NEU bei GMX und erstmalig in Deutschland: T?V-gepr?fter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz From bernhard at intevation.de Mon Mar 29 11:41:24 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 29 Mar 2004 11:41:24 +0200 Subject: compilation of statist under cygwin In-Reply-To: <23378.1080550548@www63.gmx.net> References: <23378.1080550548@www63.gmx.net> Message-ID: <20040329094124.GB1081@intevation.de> Hello Stefan, actually errno should be defined by the compiler. Maybe adding the include will help, try adding the following line to the top of statist.h #include Let me know the results. Bernhard On Mon, Mar 29, 2004 at 10:55:48AM +0200, sfronzek at gmx.net wrote: > I am having problems to compile statist (v1.0.1) under cygwin, please see > the error messages below. The same error messages occur also with the -DMSDOS > flag. Can anybody help? > [fronzek at KK450 ...statist/src]$ gcc -v > Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs > gcc version 2.95.3-5 (cygwin special) > > [fronzek at KK450 ...statist/src]$ make > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN statist.c > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN menue.c > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN procs.c > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN funcs.c > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN data.c > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN plot.c > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN -c -o memory_handling.o > memory_handling.c > gcc -o statist statist.o menue.o procs.o funcs.o data.o plot.o > memory_handling.o > -lm > statist.o(.text+0x59b):statist.c: undefined reference to `errno' > statist.o(.text+0x753):statist.c: undefined reference to `errno' > menue.o(.text+0x410c):menue.c: undefined reference to `errno' > menue.o(.text+0x4238):menue.c: undefined reference to `errno' > menue.o(.text+0x495a):menue.c: undefined reference to `errno' > menue.o(.text+0x4aef):menue.c: more undefined references to `errno' follow > collect2: ld returned 1 exit status > make: *** [statist] Error 1 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040329/435618d2/attachment.bin From sfronzek at gmx.net Mon Mar 29 12:43:33 2004 From: sfronzek at gmx.net (sfronzek@gmx.net) Date: Mon, 29 Mar 2004 12:43:33 +0200 (MEST) Subject: compilation of statist under cygwin References: <4067F10B.9010805@imb-jena.de> Message-ID: <9424.1080557013@www63.gmx.net> Hi Andreas and Bernhard, thanks for your replies. With your suggestions, I managed to compile statist; however, about 200 warnings were issued similar to "plot.c:434: warning: passing arg 1 of `out_err' makes pointer from integer without a cast" And, even worse, the program now crashes each time I try to read in some data. Stefan > GNU lib-C doc says, that errno is defined in errno.h: > http://www.gnu.org/software/libc/manual/html_node/Checking-for-Errors.html#Checking%20for%20Errors > > errno.h is not explicitely included in statist.h, where errno is used. > Apparently this bug remained undetected, because errno.h gets included > by other header files on other platforms. > Add the line > #include > at the beginning of statist.h and iodefs.c. Does that help? > > Andreas > > sfronzek at gmx.net wrote: > > > Hello all, > > > > I am having problems to compile statist (v1.0.1) under cygwin, please > see > > the error messages below. The same error messages occur also with the > -DMSDOS > > flag. Can anybody help? > > > > Best regards, > > Stefan > > > > > > [fronzek at KK450 ...statist/src]$ gcc -v > > Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs > > gcc version 2.95.3-5 (cygwin special) > > > > [fronzek at KK450 ...statist/src]$ make > > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN statist.c > > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN menue.c > > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN procs.c > > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN funcs.c > > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN data.c > > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN plot.c > > gcc -c -Wall -DNO_GETTEXT -DLANG=LANG_EN -c -o memory_handling.o > > memory_handling.c > > gcc -o statist statist.o menue.o procs.o funcs.o data.o plot.o > > memory_handling.o > > -lm > > statist.o(.text+0x59b):statist.c: undefined reference to `errno' > > statist.o(.text+0x753):statist.c: undefined reference to `errno' > > menue.o(.text+0x410c):menue.c: undefined reference to `errno' > > menue.o(.text+0x4238):menue.c: undefined reference to `errno' > > menue.o(.text+0x495a):menue.c: undefined reference to `errno' > > menue.o(.text+0x4aef):menue.c: more undefined references to `errno' > follow > > collect2: ld returned 1 exit status > > make: *** [statist] Error 1 -- +++ NEU bei GMX und erstmalig in Deutschland: T?V-gepr?fter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz From bernhard at intevation.de Mon Mar 29 13:01:45 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 29 Mar 2004 13:01:45 +0200 Subject: compilation of statist under cygwin In-Reply-To: <9424.1080557013@www63.gmx.net> References: <4067F10B.9010805@imb-jena.de> <9424.1080557013@www63.gmx.net> Message-ID: <20040329110145.GJ1081@intevation.de> On Mon, Mar 29, 2004 at 12:43:33PM +0200, sfronzek at gmx.net wrote: > Hi Andreas and Bernhard, Andreas: Why didn't I see your reply on the list? :) Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040329/a2ef1bac/attachment.bin From bernhard at intevation.de Mon Mar 29 13:17:12 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 29 Mar 2004 13:17:12 +0200 Subject: compilation of statist under cygwin In-Reply-To: <9424.1080557013@www63.gmx.net> References: <4067F10B.9010805@imb-jena.de> <9424.1080557013@www63.gmx.net> Message-ID: <20040329111712.GK1081@intevation.de> On Mon, Mar 29, 2004 at 12:43:33PM +0200, sfronzek at gmx.net wrote: > thanks for your replies. With your suggestions, I managed to compile > statist; > however, about 200 warnings were issued similar to > "plot.c:434: warning: passing arg 1 of `out_err' makes pointer from integer > without a cast" Arg. Seems like there is an errno name clash. Try shifting the #include line directly in front of extern int errno; in statist.h Bernhard > And, even worse, the program now crashes each time I try to read in some > data. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040329/7ed0f11a/attachment.bin From bernhard at intevation.de Mon Mar 29 13:26:21 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 29 Mar 2004 13:26:21 +0200 Subject: compilation of statist under cygwin In-Reply-To: <20040329111712.GK1081@intevation.de> References: <4067F10B.9010805@imb-jena.de> <9424.1080557013@www63.gmx.net> <20040329111712.GK1081@intevation.de> Message-ID: <20040329112621.GL1081@intevation.de> On Mon, Mar 29, 2004 at 01:17:12PM +0200, Bernhard Reiter wrote: > On Mon, Mar 29, 2004 at 12:43:33PM +0200, sfronzek at gmx.net wrote: > > thanks for your replies. With your suggestions, I managed to compile > > statist; > > > however, about 200 warnings were issued similar to > > "plot.c:434: warning: passing arg 1 of `out_err' makes pointer from integer > > without a cast" > > Arg. > Seems like there is an errno name clash. > Try shifting the #include line > directly in front of > extern int errno; > in statist.h That is not enough, try the following patch against a fresh 1.0.1. -------------- next part -------------- Patch to resolve errno name clash issues. bernhard at intevation.de =================================================================== RCS file: /statistrepository/statist/CHANGES,v retrieving revision 1.3 diff -u -r1.3 CHANGES --- CHANGES 13 Jun 2003 13:40:35 -0000 1.3 +++ CHANGES 29 Mar 2004 11:23:49 -0000 @@ -1,4 +1,7 @@ Changes up to + * Resolved name clash with our_err errno, + discovered by Stefan Fronzek trying to compile on Cygwin. + * added hint for compilation with MinGW (Thanks to Andreas Beyer). Changes up to v1.0.1: Bernhard Reiter Index: src/statist.c =================================================================== RCS file: /statistrepository/statist/src/statist.c,v retrieving revision 1.6 diff -u -r1.6 statist.c --- src/statist.c 15 Nov 2001 20:28:55 -0000 1.6 +++ src/statist.c 29 Mar 2004 11:23:49 -0000 @@ -293,13 +293,12 @@ -void out_err(int errno, char *modulname, int lno, char *fmt, ...) { +void out_err(int errn, char *modulname, int lno, char *fmt, ...) { va_list argptr; - int error; char where[128]; va_start(argptr, fmt); - switch (errno) { + switch (errn) { case WAR: strcpy(line, _("> statist-warning ", "> statist-Warnung ") ); @@ -322,7 +321,6 @@ break; } - error = errno; if (lno != 0) { sprintf(where, _("(Modul %15s, line %i):\n ", @@ -340,12 +338,12 @@ strncat(line, "\a\n\n", 254-strlen(line)); } vfprintf(stderr, line, argptr); - if ( ((errno==MAT) || (errno==MWA)) && (log_set) ) { + if ( ((errn==MAT) || (errn==MWA)) && (log_set) ) { vfprintf(logfile, line, argptr); } va_end(argptr); - if (error == FAT) { + if (errn == FAT) { finish(); exit(1); } Index: src/statist.h =================================================================== RCS file: /statistrepository/statist/src/statist.h,v retrieving revision 1.12 diff -u -r1.12 statist.h --- src/statist.h 13 Jun 2003 13:40:36 -0000 1.12 +++ src/statist.h 29 Mar 2004 11:23:49 -0000 @@ -109,9 +109,9 @@ #ifdef SUNOS extern char *sys_errlist[]; -#define STRERROR(errno) sys_errlist[errno] +#define STRERROR(errn) sys_errlist[errn] #else -#define STRERROR(errno) strerror(errno) +#define STRERROR(errn) strerror(errn) #endif #ifdef DEBUG @@ -240,6 +240,7 @@ } SORTREC; +#include extern int errno; extern void mywait(); extern BOOLEAN myexist(char *name); @@ -252,7 +253,7 @@ #endif extern void out_d(char *fmt, ...); extern void out_r(char *fmt, ...); -extern void out_err(int errno, char *modul, int lno, char *fmt, ...); +extern void out_err(int errn, char *modul, int lno, char *fmt, ...); extern void print_histo(REAL x[], int y[], int n); extern void finish(); -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040329/8fd8b88c/attachment.bin From sfronzek at gmx.net Mon Mar 29 13:46:47 2004 From: sfronzek at gmx.net (sfronzek@gmx.net) Date: Mon, 29 Mar 2004 13:46:47 +0200 (MEST) Subject: compilation of statist under cygwin References: <20040329112621.GL1081@intevation.de> Message-ID: <5431.1080560807@www63.gmx.net> I moved the "extern int errno;" to the beginning of statist.h directly behind "#include " and now it seems to work. The compiler warnings have not disappeared, but the resulting executable seems to work correctly. Thanks a lot for your help, best regards, Stefan > On Mon, Mar 29, 2004 at 01:17:12PM +0200, Bernhard Reiter wrote: > > On Mon, Mar 29, 2004 at 12:43:33PM +0200, sfronzek at gmx.net wrote: > > > thanks for your replies. With your suggestions, I managed to compile > > > statist; > > > > > however, about 200 warnings were issued similar to > > > "plot.c:434: warning: passing arg 1 of `out_err' makes pointer from integer > > > without a cast" > > > > Arg. > > Seems like there is an errno name clash. > > Try shifting the #include line > > directly in front of > > extern int errno; > > in statist.h > > That is not enough, try the following patch against > a fresh 1.0.1. -- +++ NEU bei GMX und erstmalig in Deutschland: T?V-gepr?fter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz From bernhard at intevation.de Mon Mar 29 14:40:23 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 29 Mar 2004 14:40:23 +0200 Subject: compilation of statist under cygwin In-Reply-To: <5431.1080560807@www63.gmx.net> References: <20040329112621.GL1081@intevation.de> <5431.1080560807@www63.gmx.net> Message-ID: <20040329124023.GA2452@intevation.de> On Mon, Mar 29, 2004 at 01:46:47PM +0200, sfronzek at gmx.net wrote: > I moved the "extern int errno;" to the beginning of statist.h directly > behind "#include " and now it seems to work. > The compiler warnings have > not disappeared, but the resulting executable seems to work correctly. Can you also try the patch? The confirmation would be nice, then I know for sure that the patch solves the problems. Bernhard > > On Mon, Mar 29, 2004 at 01:17:12PM +0200, Bernhard Reiter wrote: > > > On Mon, Mar 29, 2004 at 12:43:33PM +0200, sfronzek at gmx.net wrote: > > > > thanks for your replies. With your suggestions, I managed to compile > > > > statist; > > > > > > > however, about 200 warnings were issued similar to > > > > "plot.c:434: warning: passing arg 1 of `out_err' makes pointer from > integer > > > > without a cast" > > > > > > Arg. > > > Seems like there is an errno name clash. > > > Try shifting the #include line > > > directly in front of > > > extern int errno; > > > in statist.h > > > > That is not enough, try the following patch against > > a fresh 1.0.1. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040329/4d7cdfe9/attachment.bin From bernhard at intevation.de Tue Mar 30 12:05:20 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Tue, 30 Mar 2004 12:05:20 +0200 Subject: compilation of statist under cygwin In-Reply-To: <15025.1080637737@www63.gmx.net> References: <20040329124023.GA2452@intevation.de> <15025.1080637737@www63.gmx.net> Message-ID: <20040330100520.GA16513@intevation.de> On Tue, Mar 30, 2004 at 11:08:57AM +0200, sfronzek at gmx.net wrote: > I tried with renaming all "errno" to "errno2" in all files (that's what you > have done in your patch, isn't it?), No, I have only renamed the ones for the macro and the out_err function. It should be easier to just untar 1.0.1 again and use the "patch" command cd statist-1.0.1 patch -d . < patch.diff on the file I have attached. > but it didn't solve the problem. > > On Mon, Mar 29, 2004 at 01:46:47PM +0200, sfronzek at gmx.net wrote: > > > I moved the "extern int errno;" to the beginning of statist.h directly > > > behind "#include " and now it seems to work. > > > The compiler warnings have > > > not disappeared, but the resulting executable seems to work correctly. > > > > Can you also try the patch? > > > > The confirmation would be nice, > > then I know for sure that the patch solves the problems. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040330/fb68da77/attachment.bin From sfronzek at gmx.net Fri Apr 2 08:22:41 2004 From: sfronzek at gmx.net (sfronzek@gmx.net) Date: Fri, 2 Apr 2004 08:22:41 +0200 (MEST) Subject: compilation of statist under cygwin References: <20040330100520.GA16513@intevation.de> Message-ID: <5725.1080886961@www63.gmx.net> Hi Bernhard, sorry for the long response time. Yes, your patch did the trick. The compiler gave no more warnings and statist works fine. Best regards, Stefan > On Tue, Mar 30, 2004 at 11:08:57AM +0200, sfronzek at gmx.net wrote: > > I tried with renaming all "errno" to "errno2" in all files (that's what > you > > have done in your patch, isn't it?), > > No, I have only renamed the ones for the macro > and the out_err function. > It should be easier to just > untar 1.0.1 again and use the "patch" command > > cd statist-1.0.1 > patch -d . < patch.diff > > on the file I have attached. > > > but it didn't solve the problem. > > > > On Mon, Mar 29, 2004 at 01:46:47PM +0200, sfronzek at gmx.net wrote: > > > > I moved the "extern int errno;" to the beginning of statist.h > directly > > > > behind "#include " and now it seems to work. > > > > The compiler warnings have > > > > not disappeared, but the resulting executable seems to work > correctly. > > > > > > Can you also try the patch? > > > > > > The confirmation would be nice, > > > then I know for sure that the patch solves the problems. > -- +++ NEU bei GMX und erstmalig in Deutschland: T?V-gepr?fter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz From bernhard at intevation.de Fri Apr 2 11:10:08 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Fri, 2 Apr 2004 11:10:08 +0200 Subject: compilation of statist under cygwin In-Reply-To: <5725.1080886961@www63.gmx.net> References: <20040330100520.GA16513@intevation.de> <5725.1080886961@www63.gmx.net> Message-ID: <20040402091008.GA631@intevation.de> On Fri, Apr 02, 2004 at 08:22:41AM +0200, sfronzek at gmx.net wrote: > Yes, your patch did the trick. The compiler gave no more warnings and > statist works fine. Stefan: Thanks for finding the bug and testing the solution! The patch is also commited to CVS. There is one more thing I like to add before releasing a new tarball and that would be gettext language support. Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040402/9dc77d59/attachment.bin From bernhard at intevation.de Thu Jun 10 22:27:45 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 10 Jun 2004 22:27:45 +0200 Subject: statist debian packages In-Reply-To: <20020517091835.GD4995@intevation.de> References: <20020311131239.A12554@fisher.ciencias.uniovi.es> <20020311182100.GA7561@intevation.de> <20020516201536.A9013@fisher.ciencias.uniovi.es> <20020517091835.GD4995@intevation.de> Message-ID: <20040610202745.GA23220@intevation.de> On Fri, May 17, 2002 at 11:18:35AM +0200, Bernhard Reiter wrote: > Can you also make the .src.deb available somewhere? Hi Carleos, did you actually publish this somewhere? Best, Bernhard > About the language issue, wouldn't it be more suitable to > give to give the packages different names. > Especially if we manage to do a gettext version sometime in the > future? > > E.G. like: > > statist-de-.. > statist-en-.. > On Thu, May 16, 2002 at 08:15:36PM +0200, Carleos Artime Fi wrote: > > This is my first attempt to build Debian packages of "statist". > > You may access this anonymous ftp server: > > ftp://fisher.ciencias.uniovi.es/pub/statist > > and try it out (i386 binaries). > > > > If no bugs are found, my intention is that statist be included > > in the main section of Debian in a near future... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040610/75b69f51/attachment.bin From bernhard at intevation.de Thu Jun 10 22:32:59 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Thu, 10 Jun 2004 22:32:59 +0200 Subject: Statist translations possible with CVS version In-Reply-To: <20020129083401.GA23845@intevation.de> References: <20020129085736.A32176@fisher.ciencias.uniovi.es> <20020129083401.GA23845@intevation.de> Message-ID: <20040610203259.GB23220@intevation.de> Hello Friends of statist, it has been a long time in coming: statist in CVS is prepared for gettext support. Using the CVS you can compile with gettext support with a fixed path to a localedir. However I did not create the necessary infrastructures for the message files yet, thus there is no release. The website tells you how to check out a CVS version: http://www.usf.uos.de/~breiter/tools/statist/index.en.html Best, Bernhard On Tue, Jan 29, 2002 at 09:34:01AM +0100, Bernhard Reiter wrote: > > On Tue, Jan 29, 2002 at 08:57:36AM +0100, ccarleos at fisher.ciencias.uniovi.es wrote: > > > > Hello. I intend to use "statist" as a replacement to closed software we > > use in our classes of statistics. I think I do need a translation to > > Spanish of the interface, so > > > > 1. I have read the mailing list and it seems nobody has contributed a > > "po" file to any language. Right? > > You are right. > We did not manage to use the real gettext version yet. > > > 2. I have never used "gettext" before. When trying to run "xgettext" on > > "statist" sources, messages longer than a line (I mean, that use a > > backslash to escape the carriage return) cause errors. Do not know how > > to manage that. > > I have to look into that. It might be the case that we need to > connect the lines or check if this is an error with xgettext. > However I do not know when I have time to deal with this, > so help is appreciated. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040610/dfbb6a65/attachment.bin From bernhard at intevation.de Mon Jun 14 12:00:37 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 14 Jun 2004 12:00:37 +0200 Subject: statist debian packages In-Reply-To: <20040611085916.GC29636@fisher.ciencias.uniovi.es> References: <20020311131239.A12554@fisher.ciencias.uniovi.es> <20020311182100.GA7561@intevation.de> <20020516201536.A9013@fisher.ciencias.uniovi.es> <20020517091835.GD4995@intevation.de> <20040610202745.GA23220@intevation.de> <20040611085916.GC29636@fisher.ciencias.uniovi.es> Message-ID: <20040614100037.GD21411@intevation.de> Carleos, yes, that answered my questions! I never saw the necessary debian files for building the packages. Probably I should place them in the CVS. Bernhard On Fri, Jun 11, 2004 at 10:59:16AM +0200, Carleos Artime wrote: > Je 2004-06-10-22-27-45 (+0200), Bernhard Reiter skribis: > > On Fri, May 17, 2002 at 11:18:35AM +0200, Bernhard Reiter wrote: > > > Can you also make the .src.deb available somewhere? > > > > Hi Carleos, > > did you actually publish this somewhere? > > Hi! > > Looking for "statist" in http://www.apt-get.org/main/ gives the > location of binaries and source packages (unofficial) for Debian. > Directly: ftp://fisher.ciencias.uniovi.es/debian/unstable/main/source/ > > Recall that Debian has not .src.deb, but .orig.tar.gz is the > original source file, and .diff.gz is the corresponding patch. > > I have registered "statist" as an "intent to package": > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=155073 > Now I have to find a "sponsor" to get it into Debian as an > "official package". > > I'm not sure I'm answering your question. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20040614/192af77e/attachment.bin From akgul at Bilkent.EDU.TR Mon Oct 18 13:10:25 2004 From: akgul at Bilkent.EDU.TR (Mustafa Akgul) Date: Mon, 18 Oct 2004 14:10:25 +0300 (EET DST) Subject: compile problem Message-ID: <200410181110.i9IBAPvV010834@firat.bcc.bilkent.edu.tr> Hello, I am having difficulty in compiling sttaist, StatistX, gtoolkit. This on mandrake 10.0 with gcc 3.3.2 I have found binaries for StatistX, libFoundation and gtoolkit. I could not find binaries and compilation gives gcc -o statist statist.o menue.o procs.o funcs.o data.o plot.o memory_handling.o -lm data.o(.text+0x7d): In function `makefilename': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' statist.o(.text+0x289): In function `main': : undefined reference to `errno' statist.o(.text+0x3c9): In function `finish': : undefined reference to `errno' menue.o(.text+0x272b): In function `data_menu': : undefined reference to `errno' menue.o(.text+0x2812): In function `data_menu': : undefined reference to `errno' menue.o(.text+0x2b7a): In function `manipulate_menu': : undefined reference to `errno' menue.o(.text+0x2c77): more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [statist] Error 1 Any suggestions? Regards Mustafa Akgul From beyer at imb-jena.de Mon Oct 18 18:51:51 2004 From: beyer at imb-jena.de (Andreas Beyer) Date: Mon, 18 Oct 2004 18:51:51 +0200 Subject: compile problem In-Reply-To: <200410181110.i9IBAPvV010834@firat.bcc.bilkent.edu.tr> References: <200410181110.i9IBAPvV010834@firat.bcc.bilkent.edu.tr> Message-ID: <4173F4A7.9040902@imb-jena.de> Hi, statist does not include the header file errno.h in which errno is defined. To me this seems to be a bug. I have attached a patch that should fix the problem. However, I cannot test it, because I don't have access to Mandrake. Please, Mustafa: Could you test the patch and report if you were successful? Thanks! To apply the patch go to statist-1.0.1/ and run: $ patch -p0 < errno.patch Andreas Mustafa Akgul wrote: > Hello, > > I am having difficulty in compiling sttaist, StatistX, gtoolkit. > This on mandrake 10.0 with gcc 3.3.2 > > I have found binaries for StatistX, libFoundation and gtoolkit. > > I could not find binaries and compilation gives > > gcc -o statist statist.o menue.o procs.o funcs.o data.o plot.o > memory_handling.o -lm > data.o(.text+0x7d): In function `makefilename': > : warning: the use of `tmpnam' is dangerous, better use `mkstemp' > statist.o(.text+0x289): In function `main': > : undefined reference to `errno' > statist.o(.text+0x3c9): In function `finish': > : undefined reference to `errno' > menue.o(.text+0x272b): In function `data_menu': > : undefined reference to `errno' > menue.o(.text+0x2812): In function `data_menu': > : undefined reference to `errno' > menue.o(.text+0x2b7a): In function `manipulate_menu': > : undefined reference to `errno' > menue.o(.text+0x2c77): more undefined references to `errno' follow > collect2: ld returned 1 exit status > make: *** [statist] Error 1 > > Any suggestions? > > Regards > Mustafa Akgul > > > -- -------------------------------------- Dr. Andreas Beyer - beyer at imb-jena.de http://www.imb-jena.de/~beyer -------------------------------------- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: errno.patch Url: http://www.intevation.de/pipermail/statist-list/attachments/20041018/43786442/errno.patch From akgul at Bilkent.EDU.TR Tue Oct 19 18:48:33 2004 From: akgul at Bilkent.EDU.TR (Mustafa Akgul) Date: Tue, 19 Oct 2004 19:48:33 +0300 (EET DST) Subject: compile problem Message-ID: <200410191648.i9JGmX1g006332@firat.bcc.bilkent.edu.tr> > > Hi, > > statist does not include the header file errno.h in which errno is > defined. To me this seems to be a bug. I have attached a patch that > should fix the problem. However, I cannot test it, because I don't have > access to Mandrake. > Please, Mustafa: Could you test the patch and report if you were > successful? Thanks! > To apply the patch go to statist-1.0.1/ and run: > $ patch -p0 < errno.patch > > Andreas > Thanks Andreas, It worked. It should work in all Linux's and possible all unix's. is there any english documentation ? Regards Mustafa Akgul From bernhard at intevation.de Wed Oct 20 15:33:31 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 20 Oct 2004 15:33:31 +0200 Subject: compile problem In-Reply-To: <200410191648.i9JGmX1g006332@firat.bcc.bilkent.edu.tr> References: <200410191648.i9JGmX1g006332@firat.bcc.bilkent.edu.tr> Message-ID: <20041020133331.GT1721@intevation.de> On Tue, Oct 19, 2004 at 07:48:33PM +0300, Mustafa Akgul wrote: > > statist does not include the header file errno.h in which errno is > > defined. To me this seems to be a bug. I have attached a patch that > > should fix the problem. However, I cannot test it, because I don't have > > access to Mandrake. > > Please, Mustafa: Could you test the patch and report if you were > > successful? Thanks! > > To apply the patch go to statist-1.0.1/ and run: > > $ patch -p0 < errno.patch > It worked. It should work in all Linux's and possible all > unix's. Hi Mustafa, this errno confusion is a know bug for 1.0.1. I have fixed it in CVS about 4 month ago. (You can see and download a CVS version as described on statist's homepage: http://www.usf.uni-osnabrueck.de/~breiter/tools/statist/index.en.html ) I have not released 1.0.2, because I wanted to include gettext support it it. This is mostly done, it only misses the Makefile structure to install the po files and the initiall po files. (Anybody feels like helping? ;) ) > is there any english documentation ? Unfortunately not, but most of the functions should be self explanatory. Please ask here otherwise. Best, Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20041020/5c6bdbb4/attachment.bin From michaeljgebhardt at web.de Mon Nov 15 09:51:49 2004 From: michaeljgebhardt at web.de (michaeljgebhardt@web.de) Date: Mon, 15 Nov 2004 09:51:49 +0100 Subject: Run-time problem Message-ID: <20041115095149.2f417f13@locust3.zoo.chemie.tu-muenchen.de> Hello all I have got a problem in running statist (and StatistX). Though statist compiles flawlessly, it complains with a "statist: relocation error: statist: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference" after being invoked. I am running SuSE 9.1 with a 2.6.5-7.111-default kernel. What does the error message mean, does anyone have a hint how to fix it? Thanks Michael ---------------------------------- Dr. Michael Gebhardt Lehrstuhl f. Zoologie, TU M?nchen Lichtenbergstr. 4 85748 Garching Tel.: +49 (0)89 289 13664 Fax: +49 (0)89 289 13674 Email: gebhardt at wzw.tum.de From beyer at imb-jena.de Mon Nov 15 10:22:39 2004 From: beyer at imb-jena.de (Andreas Beyer) Date: Mon, 15 Nov 2004 10:22:39 +0100 Subject: Run-time problem In-Reply-To: <20041115095149.2f417f13@locust3.zoo.chemie.tu-muenchen.de> References: <20041115095149.2f417f13@locust3.zoo.chemie.tu-muenchen.de> Message-ID: <4198755F.8040204@imb-jena.de> Hi Gebhardt: Do you use the unpatched statist 1.0.1, or do you use the current CVS version? The former has a problem with errno. Maybe you switch to the CVS version instead or you apply the patch from http://intevation.de/pipermail/statist-list/2004/000062.html Andreas michaeljgebhardt at web.de wrote: > I have got a problem in running statist (and StatistX). Though > statist compiles flawlessly, it complains with a "statist: > relocation error: statist: symbol errno, version GLIBC_2.0 not > defined in file libc.so.6 with link time reference" after being > invoked. > -- -------------------------------------- Dr. Andreas Beyer - beyer at imb-jena.de http://www.imb-jena.de/~beyer -------------------------------------- From michaeljgebhardt at web.de Mon Nov 15 11:09:42 2004 From: michaeljgebhardt at web.de (michaeljgebhardt@web.de) Date: Mon, 15 Nov 2004 11:09:42 +0100 Subject: Run-time problem In-Reply-To: <4198755F.8040204@imb-jena.de> References: <20041115095149.2f417f13@locust3.zoo.chemie.tu-muenchen.de> <4198755F.8040204@imb-jena.de> Message-ID: <20041115110942.13b01340@locust3.zoo.chemie.tu-muenchen.de> Hi Andreas I tried both. Applying the patch to statist 1.0.1 solved the compilation problems, so I got a binary which produces the error message. The CVS version compiled nicely right out of the box, but the binary again complains ("statist: relocation error: statist: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference"). Any more ideas? Michael > Do you use the unpatched statist 1.0.1, or do you use the current >CVS version? > The former has a problem with errno. Maybe you switch to the CVS >version instead or you apply the patch from > http://intevation.de/pipermail/statist-list/2004/000062.html ---------------------------------- Dr. Michael Gebhardt Lehrstuhl f. Zoologie, TU M?nchen Lichtenbergstr. 4 85748 Garching Tel.: +49 (0)89 289 13664 Fax: +49 (0)89 289 13674 Email: gebhardt at wzw.tum.de From bernhard at intevation.de Mon Nov 15 12:09:16 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 15 Nov 2004 12:09:16 +0100 Subject: Run-time problem, errno In-Reply-To: <20041115110942.13b01340@locust3.zoo.chemie.tu-muenchen.de> References: <20041115095149.2f417f13@locust3.zoo.chemie.tu-muenchen.de> <4198755F.8040204@imb-jena.de> <20041115110942.13b01340@locust3.zoo.chemie.tu-muenchen.de> Message-ID: <20041115110916.GC23373@intevation.de> Hi Michael, thanks for noting the problem. It seems that with the 2.6. kernels something changed regarding the errno handling. (I cannot say if this is a kernel or a statist bug as CVS is fine according to my documentation of errno.) Try the following LD_ASSUME_KERNEL=2.4.1 ./statist or export LD_ASSUME_KERNEL=2.4.1 in bash before starting statist. Best, Bernhard On Mon, Nov 15, 2004 at 11:09:42AM +0100, michaeljgebhardt at web.de wrote: > I tried both. Applying the patch to statist 1.0.1 solved the > compilation problems, so I got a binary which produces the error > message. > > The CVS version compiled nicely right out of the box, but > the binary again complains ("statist: relocation error: statist: > symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with > link time reference"). > > Any more ideas? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20041115/9313a8d1/attachment.bin From bernhard at intevation.de Mon Nov 15 13:14:59 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Mon, 15 Nov 2004 13:14:59 +0100 Subject: Run-time problem, errno In-Reply-To: <20041115110916.GC23373@intevation.de> References: <20041115095149.2f417f13@locust3.zoo.chemie.tu-muenchen.de> <4198755F.8040204@imb-jena.de> <20041115110942.13b01340@locust3.zoo.chemie.tu-muenchen.de> <20041115110916.GC23373@intevation.de> Message-ID: <20041115121459.GL23373@intevation.de> On Mon, Nov 15, 2004 at 12:09:16PM +0100, Bernhard Reiter wrote: > thanks for noting the problem. > It seems that with the 2.6. kernels something changed > regarding the errno handling. > (I cannot say if this is a kernel or a statist bug > as CVS is fine according to my documentation of errno.) I consider it a statist and Debian manual pages bug now and subsequently deleted the extern int errno; declaration in statist.h in CVS. Best, Bernhard > Try the following > LD_ASSUME_KERNEL=2.4.1 ./statist > or > export LD_ASSUME_KERNEL=2.4.1 > in bash before starting statist. > > On Mon, Nov 15, 2004 at 11:09:42AM +0100, michaeljgebhardt at web.de wrote: > > I tried both. Applying the patch to statist 1.0.1 solved the > > compilation problems, so I got a binary which produces the error > > message. > > > > The CVS version compiled nicely right out of the box, but > > the binary again complains ("statist: relocation error: statist: > > symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with > > link time reference"). -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.intevation.de/pipermail/statist-list/attachments/20041115/4c0937a1/attachment.bin From michaeljgebhardt at web.de Mon Nov 15 16:02:44 2004 From: michaeljgebhardt at web.de (michaeljgebhardt@web.de) Date: Mon, 15 Nov 2004 16:02:44 +0100 Subject: Run-time problem, errno Message-ID: <20041115160244.5b8e204a@locust3.zoo.chemie.tu-muenchen.de> Hello Bernhard I fetched the tarball from the CVS Repository, and statist compiled without any problem; it works fine without the workaround you had suggested earlier. Thanks a lot again! Michael > Note that CVS has the real fix, >> Try the following >> LD_ASSUME_KERNEL=2.4.1 ./statist >> or >> export LD_ASSUME_KERNEL=2.4.1 >> in bash before starting statist. ---------------------------------- Dr. Michael Gebhardt Lehrstuhl f. Zoologie, TU M?nchen Lichtenbergstr. 4 85748 Garching Tel.: +49 (0)89 289 13664 Fax: +49 (0)89 289 13674 Email: gebhardt at wzw.tum.de