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



Stefano,
It looks like you don't have "install" in /usr/bin/ as 
the Makefile expects.
As a workaround, you can simply copy cronolog to its destination
manually:
# as root
cd /users/root/cronolog-1.6.2/
cp src/cronolog /usr/local/sbin
The warning "Nothing to be done for `all'" is not a problem.
It simply means that make has already built what it needs
to build in that dir, so it can move on to the next one.
That's normal make behavior.
You are getting an error with "/bin/sh: usr/bin/install: not found"
That tells you that you don't have "install" installed.
That program install in this case, is simply copying the cronolog
binary into the installation location, /usr/local/sbin/cronolog .
So you can just use cp as a workaround, like I mentioned above.
I thought that "install" was part of the Solaris installation, 
so I can't guess why it's not there.
ari
On Wed, Nov 13, 2002 at 05:55:31PM +0100, stefano ghisolfi wrote:
> 
> 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
-- 
---------------------------------------------------------------------
         Ari Jort * arijort@xxxxxxxxxxxxx
        B96D F190 7661 764E F454  2F23 9D78 1C2D A11D 4B36

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