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: Problem compiling Cronolog on a SUN



Hi,
i made 'make clean'.
After ./configure the output is:
./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) $/usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... $/usr/bin/install -c
checking whether ln -s works... (cached) no
checking for ranlib... (cached) ranlib
checking for perl... (cached) /usr/bin/perl
checking how to run the C preprocessor... (cached) $gcc -E
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for strftime... (cached) yes
checking for vprintf... (cached) yes
checking for mkdir... (cached) yes
checking for mktime... (cached) yes
checking for putenv... (cached) yes
checking for strptime... (cached) yes
checking for localtime_r... (cached) yes
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating doc/Makefile
creating testsuite/Makefile
creating src/cronosplit
Some element are MISSING. Is it important?
then after the 'make'
Making all in lib
make[1]: Entering directory `/users/root/cronolog-1.6.2/lib'
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_
SYS_
TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
 -DH
AVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV
=1 -
DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1  -I. -I.      -g -O2 -c getopt.c
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_
SYS_
TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
 -DH
AVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV
=1 -
DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1  -I. -I.      -g -O2 -c getopt1.c
rm -f libutil.a
ar cru libutil.a getopt.o getopt1.o
ranlib libutil.a
make[1]: Leaving directory `/users/root/cronolog-1.6.2/lib'
Making all in src
make[1]: Entering directory `/users/root/cronolog-1.6.2/src'
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_
SYS_
TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
 -DH
AVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV
=1 -
DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1  -I. -I.  -I../lib    -g -O2 -c
cronotest.
c
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_
SYS_
TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
 -DH
AVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV
=1 -
DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1  -I. -I.  -I../lib    -g -O2 -c
cronoutils
.c
gcc  -g -O2  -o cronotest  cronotest.o cronoutils.o ../lib/libutil.a
gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DTIME_WITH_
SYS_
TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
 -DH
AVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV
=1 -
DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1  -I. -I.  -I../lib    -g -O2 -c
cronolog.c
gcc  -g -O2  -o cronolog  cronolog.o cronoutils.o ../lib/libutil.a
make[1]: Leaving directory `/users/root/cronolog-1.6.2/src'
Making all in doc
make[1]: Entering directory `/users/root/cronolog-1.6.2/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/users/root/cronolog-1.6.2/doc'
Making all in testsuite
make[1]: Entering directory `/users/root/cronolog-1.6.2/testsuite'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/users/root/cronolog-1.6.2/testsuite'
make[1]: Entering directory `/users/root/cronolog-1.6.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/users/root/cronolog-1.6.2'
What does it mean "make[1]: Nothing to be done for `all' "?
At the end with make install i've got the following:
make install
Making install in lib
make[1]: Entering directory `/users/root/cronolog-1.6.2/lib'
make[2]: Entering directory `/users/root/cronolog-1.6.2/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/users/root/cronolog-1.6.2/lib'
make[1]: Leaving directory `/users/root/cronolog-1.6.2/lib'
Making install in src
make[1]: Entering directory `/users/root/cronolog-1.6.2/src'
make[2]: Entering directory `/users/root/cronolog-1.6.2/src'
/bin/sh ../mkinstalldirs /usr/local/sbin
  usr/bin/install -c  cronolog /usr/local/sbin/cronolog
/bin/sh: usr/bin/install: not found
make[2]: *** [install-sbinPROGRAMS] Error 1
make[2]: Leaving directory `/users/root/cronolog-1.6.2/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/users/root/cronolog-1.6.2/src'
make: *** [install-recursive] Error 1
I don't really know what is the problem. I need to divide day by day my
Apache access_log file because it is too big and i have to analyse it  with
webtrend frequently.
Thank you
Stefano
----- Original Message -----
From: "Ari Jort" <arijort@xxxxxxxxxxxxx>
To: "stefano ghisolfi" <stefano.ghisolfi@xxxxxx>
Cc: "CRONOLOG" <cronolog-users@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 13, 2002 4:38 PM
Subject: Re: CRONOLOG: Problem compiling Cronolog on a SUN
>
> Stefano,
>
> Try doing a `make clean` first and then re-running the
>
> ./configure
> make
>
> It looks like your binaries in lib were already built.
> Perhaps they were built for some other platform?
>
> Running `make clean` will delete all those objects files
> so you can build them again for your target platform.
>
> ari
>
> On Wed, Nov 13, 2002 at 08:49:02AM +0100, stefano ghisolfi wrote:
> > Hi all,
> > I tried to compile cronolog on a Sun, but i received the following
output:
> >
> >
> > [~/cronolog-1.6.2]$ make
> > Making all in lib
> > make[1]: Entering directory `/users/root/cronolog-1.6.2/lib'
> > make[1]: Nothing to be done for `all'.
> > make[1]: Leaving directory `/users/root/cronolog-1.6.2/lib'
> > Making all in src
> > make[1]: Entering directory `/users/root/cronolog-1.6.2/src'
> > gcc  -g -O2  -o cronotest  cronotest.o cronoutils.o ../lib/libutil.a
> > /usr/local/bin/ld: cronotest.o: Relocations in generic ELF (EM: 3)
> > cronotest.o: could not read symbols: File in wrong format
> > collect2: ld returned 1 exit status
> > make[1]: *** [cronotest] Error 1
> > make[1]: Leaving directory `/users/root/cronolog-1.6.2/src'
> > make: *** [all-recursive] Error 1
> >
> > So..i cannot compile it. I saw that some element are missing but the
error is in the 'make'.
> > Thanks a lot
> > Stefano
>
> --
> ---------------------------------------------------------------------
>          Ari Jort * arijort@xxxxxxxxxxxxx
>         B96D F190 7661 764E F454  2F23 9D78 1C2D A11D 4B36
>

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