cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [CRONOLOG]: Cronolog 1.6.2 for WIndows


  • To: <cronolog-users@xxxxxxxxxxxxxxxx>
  • Subject: RE: [CRONOLOG]: Cronolog 1.6.2 for WIndows
  • From: "Ian Huynh" <ianh@xxxxxxxxxxx>
  • Date: Thu, 16 Sep 2004 11:05:03 -0700
  • Thread-index: AcScC1hNYf4LBzL5Tx6c8xf3L9ebVQAC6JuQ
  • Thread-topic: [CRONOLOG]: Cronolog 1.6.2 for WIndows

Hi Matthew

Yes I did download the latest MinGW and MSYS (comes with gcc -v = 3.2.3)
I also updated the MinGW Runtime to 3.3


I am still getting a strptime.h file missing.. It seems to work on cygwin with gcc -v = 3.2.3 but there's no strptime.h found in cygwin install. ??

Just for grin, I googled for strptime.h and found a copy of strptime.h and copied to the source dir.
Now it complains with another error below when i run ./configure and make under MSYS from MinGW


gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_                                          TIME=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -D                                          HAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1  -I. -I.  -I../lib                                              -g -O2 -c cronoutils.c
cronoutils.c: In function `create_subdirs':
cronoutils.c:170: `S_IRWXG' undeclared (first use in this function)
cronoutils.c:170: (Each undeclared identifier is reported only once
cronoutils.c:170: for each function it appears in.)
cronoutils.c:170: `S_IROTH' undeclared (first use in this function)
cronoutils.c:170: `S_IXOTH' undeclared (first use in this function)
cronoutils.c:170: too many arguments to function `_mkdir'
cronoutils.c: At top level:
cronoutils.c:183: warning: parameter names (without types) in function declarati                                          on
cronoutils.c:183: warning: data definition has no type or storage class
cronoutils.c:185: parse error before '}' token
make[1]: *** [cronoutils.o] Error 1
make[1]: Leaving directory `/c/cronolog-1.6.2/src'
make: *** [all-recursive] Error 1

>-----Original Message-----
>From: Matthew Grosso [mailto:mgrosso@xxxxxxxxxxxxx]
>Sent: Thursday, September 16, 2004 9:34 AM
>To: Ian Huynh
>Cc: cronolog-users@xxxxxxxxxxxxxxxx
>Subject: Re: [CRONOLOG]: Cronolog 1.6.2 for WIndows
>
>
>
>Ian,
>
>You might want to try MinGW. Its basically cygwin minus the 
>compatibility layer
>dll. Not all of the the posix functions are there, but 
>cronolog is pretty
>small, so there's a good chance it will still compile, and if 
>not ifdefing the
>missing functionality shouldnt be too hard.  http://www.mingw.org
>
>Matt
>
>On Sep 13 0923, Ian Huynh wrote:
>> Andrew
>> Thanks.  It does work with Cygwin out of the box but the 
>.exe has a dependency on cygwin1.dll which
>> is not desirable
>> 
>> I've tried to use GCC option  -mno-cygwin but that created a 
>whole set of other problems with missing header file (e.g. langinfo.h)
>> 
>> Ian.
>> 
>> 
>> >-----Original Message-----
>> >From: Andrew Ford [mailto:A.Ford@xxxxxxxxxxxxxxxx]
>> >Sent: Saturday, September 11, 2004 11:39 PM
>> >To: Ian Huynh; cronolog-users@xxxxxxxxxxxxxxxx
>> >Subject: Re: [CRONOLOG]: Cronolog 1.6.2 for WIndows
>> >
>> >
>> >Ian Huynh wrote:
>> >
>> >>
>> >>Will there be a 1.6.2 build for Win2K?  If not, are there 
>> >>instructions on how to build for Win2K ?
>> >>Thanks.
>> >>
>> >>  
>> >>
>> >I don't do the builds for Windows, and don't actually know 
>how to -- 
>> >although I suspect that cronolog, like many programs designed for 
>> >Unix-like operating systems, would compile straightforwardly under 
>> >Cygwin on Windows.  The existing Windows version was 
>contributed.  If 
>> >someone contributes a Windows build of a newer version I will 
>> >put it up too.
>> >
>> >Andrew
>> >
>> >-- 
>> >Andrew Ford,  Director    Pauntley Prints / Ford & Mason Ltd
>> >A.Ford@xxxxxxxxxxxxxxxx   South Wing Compton House 
>> >pauntley-prints.co.uk     Compton Green, Redmarley  Tel: +44 
>> >1531 829900
>> >ford-mason.co.uk          Gloucester GL19 3JB       Fax: +44 
>> >1531 829901
>> >refcards.com/cronolog.org Great Britain          Mobile: +44 
>> >7785 258278
>> >
>> >
>> 
>> ---------------------------------------------------------------------
>> cronolog-users mailing list
>> --------------------------
>> Send messages to "cronolog-users@xxxxxxxxxxxxxxxx"
>> To unsubscribe send email to "majordomo@xxxxxxxxxxxxxxxx" 
>with the command:
>> "unsubscribe cronolog-users"
>> in the body of the message.
>
>-- 
>#######################################################################
># Matt Grosso mgrosso@xxxxxxxxxxxxx   w(201)963-2024 c(201)780-9592   #
># pgp public key is at http://www.falconweb.com/~mattg/publickey.pgp  #
>#######################################################################
>



Copyright © 1996-2004 Andrew Ford and Ford & Mason Ltd