Date: Mon, 8 May 2006 00:01:11 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 694 ************************************************** Sunday 07 May 2006 Number 694 ************************************************** Subjects for today 1 nanosleep : Dave Bamford 2 Re: nanosleep : Dave Yeo" 3 Re: nanosleep : Dave Bamford 4 Re: nanosleep : Dave Bamford 5 automake 1.9.6 : Andreas =?iso-8859-1?Q?B=FCning?= 6 GNU make 3.81 : Andreas =?iso-8859-1?Q?B=FCning?= 7 Re: nanosleep : Andreas =?iso-8859-1?Q?B=FCning?= **= Email 1 ==========================** Date: Sat, 06 May 2006 16:57:51 +0100 From: Dave Bamford Subject: nanosleep Trying configure I get this error. Is there a library containing nanosleep? checking build system type... i386-pc-os2-emx checking host system type... i386-pc-os2-emx checking target system type... i386-pc-os2-emx checking for C++ compiler default output file name... conftest.exe checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether the compiler supports exceptions... yes checking whether the compiler implements namespaces... yes checking for library containing nanosleep... no configure.: error: cannot find a short sleep function (nanosleep) Thanks Dave Bamford **= Email 2 ==========================** Date: Sat, 06 May 2006 14:25:54 -0800 From: "Dave Yeo" Subject: Re: nanosleep On Sat, 06 May 2006 16:57:51 +0100, Dave Bamford wrote: >Trying configure I get this error. Is there a library containing nanosleep? > > >checking build system type... i386-pc-os2-emx >checking host system type... i386-pc-os2-emx >checking target system type... i386-pc-os2-emx >checking for C++ compiler default output file name... conftest.exe >checking whether the C++ compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... .exe >checking for suffix of object files... o >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking whether the compiler supports exceptions... yes >checking whether the compiler implements namespaces... yes >checking for library containing nanosleep... no >configure.: error: cannot find a short sleep function (nanosleep) It is in Innotek_libc 6.1 but in include/time.h it says * at todo Implement clock_getres(), clock_gettime(), clock_settime(), nanosleep(). posix2 might also have it using the hrtimer driver. Unluckily stock OS/2 has only 32 ms granuality Dave **= Email 3 ==========================** Date: Sun, 07 May 2006 10:19:22 +0100 From: Dave Bamford Subject: Re: nanosleep Dave Yeo wrote: >On Sat, 06 May 2006 16:57:51 +0100, Dave Bamford wrote: > > > >>Trying configure I get this error. Is there a library containing nanosleep? >> >> >>checking build system type... i386-pc-os2-emx >>checking host system type... i386-pc-os2-emx >>checking target system type... i386-pc-os2-emx >>checking for C++ compiler default output file name... conftest.exe >>checking whether the C++ compiler works... yes >>checking whether we are cross compiling... no >>checking for suffix of executables... .exe >>checking for suffix of object files... o >>checking whether we are using the GNU C++ compiler... yes >>checking whether g++ accepts -g... yes >>checking whether the compiler supports exceptions... yes >>checking whether the compiler implements namespaces... yes >>checking for library containing nanosleep... no >>configure.: error: cannot find a short sleep function (nanosleep) >> >> > >It is in Innotek_libc 6.1 but in include/time.h it says > * at todo Implement clock_getres(), clock_gettime(), clock_settime(), nanosleep(). >posix2 might also have it using the hrtimer driver. >Unluckily stock OS/2 has only 32 ms granuality >Dave > > Thanks for that. The configure I used was pregenerated for another OS because I can't get the autoconf to work. There is a file called bootstrap which contains these 3 lines aclocal -I infrastructure/m4 autoheader autoconf But when I run this I get.. # ./bootstrap /usr/bin/m4.exe: configure.in: No such file or directory mv: cannot move `autoh1048' to `config.h.in': Permission denied autoconf: configure.in: No such file or directory There is no configure.in only configure.ac, so I tried copying .ac to .in and got this # cp configure.ac configure.in # ./bootstrap aclocal: both `configure.ac' and `configure.in' present: ignoring `configure.in' FATAL ERROR: Autoconf version 2.59 or higher is required for this script mv: cannot move `autoh1088' to `config.h.in': Permission denied FATAL ERROR: Autoconf version 2.59 or higher is required for this script I am a newbie to all this so where do I go from here? Thanks Dave Bamford. **= Email 4 ==========================** Date: Sun, 07 May 2006 10:45:34 +0100 From: Dave Bamford Subject: Re: nanosleep Dave Bamford wrote: > Dave Yeo wrote: > >> On Sat, 06 May 2006 16:57:51 +0100, Dave Bamford wrote: >> >> >> >>> Trying configure I get this error. Is there a library containing >>> nanosleep? >>> >>> >>> checking build system type... i386-pc-os2-emx >>> checking host system type... i386-pc-os2-emx >>> checking target system type... i386-pc-os2-emx >>> checking for C++ compiler default output file name... conftest.exe >>> checking whether the C++ compiler works... yes >>> checking whether we are cross compiling... no >>> checking for suffix of executables... .exe >>> checking for suffix of object files... o >>> checking whether we are using the GNU C++ compiler... yes >>> checking whether g++ accepts -g... yes >>> checking whether the compiler supports exceptions... yes >>> checking whether the compiler implements namespaces... yes >>> checking for library containing nanosleep... no >>> configure.: error: cannot find a short sleep function (nanosleep) >>> >> >> >> It is in Innotek_libc 6.1 but in include/time.h it says >> * at todo Implement clock_getres(), clock_gettime(), >> clock_settime(), nanosleep(). >> posix2 might also have it using the hrtimer driver. >> Unluckily stock OS/2 has only 32 ms granuality >> Dave >> >> > Thanks for that. The configure I used was pregenerated for another OS > because > I can't get the autoconf to work. There is a file called bootstrap > which contains > these 3 lines > > aclocal -I infrastructure/m4 > autoheader > autoconf > > But when I run this I get.. > # ./bootstrap > /usr/bin/m4.exe: configure.in: No such file or directory > mv: cannot move `autoh1048' to `config.h.in': Permission denied > autoconf: configure.in: No such file or directory > > There is no configure.in only configure.ac, so I tried copying .ac to .in > and got this > # cp configure.ac configure.in > # ./bootstrap > aclocal: both `configure.ac' and `configure.in' present: ignoring > `configure.in' > > FATAL ERROR: Autoconf version 2.59 or higher is required for this script > mv: cannot move `autoh1088' to `config.h.in': Permission denied > FATAL ERROR: Autoconf version 2.59 or higher is required for this script > > I am a newbie to all this so where do I go from here? > > Thanks > > Dave Bamford. My problem boils down to not having autoconf 2.59 autoheader worked when I added aclocal.m4 as the file to work on. Anyone know where I can get autoconf binaries for os2? Dave. **= Email 5 ==========================** Date: Sun, 07 May 2006 12:32:57 +0200 From: Andreas =?iso-8859-1?Q?B=FCning?= Subject: automake 1.9.6 Hello! I've uploaded automake 1.9.6 to http://unixos2.com/pub/source/automake-1.9.6.zip. I had to fix a bug with aclocal and drive letters. It seems to work now. Bye, Andreas **= Email 6 ==========================** Date: Sun, 07 May 2006 12:33:20 +0200 From: Andreas =?iso-8859-1?Q?B=FCning?= Subject: GNU make 3.81 Hello! GNU make 3.81 has been relased! It's the first "official" release of GNU make since OS/2 support was added. AFAIK the only relevant change to earlier beta versions is the handling of backslash newline for POSIX conformance. Binaries: http://unixos2.com/pub/binary/make-3.81-bin.zip (with NLS, requires intl.dll) http://unixos2.com/pub/binary/make-3.81-bin-static.zip (no NLS, requires emx only). Sources: http://unixos2.com/pub/source/make-3.81.zip Bye, Andreas **= Email 7 ==========================** Date: Sun, 07 May 2006 12:40:23 +0200 From: Andreas =?iso-8859-1?Q?B=FCning?= Subject: Re: nanosleep Dave Bamford schrieb: > > Dave Bamford wrote: > > Thanks for that. The configure I used was pregenerated for another OS Usually, configure should be system-independent. I guess, it won't help you if you recreate configure on your OS/2 system. > My problem boils down to not having autoconf 2.59 > autoheader worked when I added aclocal.m4 as the file > to work on. > > Anyone know where I can get autoconf binaries for os2? There are no "binaries" because autoconf is a shell/perl script. You can get the sources, e.g. from: http://unixos2.com/pub/source/autoconf/ (and you might also need a recent automake) but as I told above it might not solve your problem. Bye, Andreas