LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: David Drury <idavid@smug.adelaide.edu.au>
To : Richard Sharpe <sharpe@ns.aus.com>
Date: Sun, 6 Feb 2000 03:20:42 +1030 (CST)
Re: Logrotate Question
Hi,
> >Yes, I have the source RPM, but it won't compile under Solaris. I was
>
> Well, Slowaris is not all that different from Linux. Think of Linux as a
> better version of Slowaris :-)
Except when you want to take Solaris boxen to diferent init states, then
you dispair on the man page and anything else :) There ahve been very few
times I've wished I've been using Slowaris rather than Linux.
> What errors do you get? Are they simple ones like wrong include files?
> Since logrotate is not doing such a tricky job, it cannot be hard to get it
> to compile under Solaris ...
Under Solaris..
[16] :-)make
gcc -Wall -D_GNU_SOURCE -DVERSION=\"3.3\" -g -c logrotate.c -o
logrotate.o
logrotate.c:6: getopt.h: No such file or directory
logrotate.c:7: popt.h: No such file or directory
make: *** [logrotate.o] Error 1
under linux
[6] :-)make
cc -E -Wall -D_GNU_SOURCE -DVERSION=\"3.3\" -g -M logrotate.c log.c
config.c ba
senames.c > .depend
logrotate.c:7: popt.h: No such file or directory
make: *** [depend] Error 1
A quick check of the source says that GCC source includes the getopt.h
library, so I'll have to check out the GCC install, but both systems seem
to be devoid popt.h. Any idea where I might source it ?
Thanks
--
David Drury
_______________________________________
\ iddrury@teaching.cs.adelaide.edu.au \
\ idavid@smug.adelaide.edu.au \ __________ |
\ A "Civil" Engineer now resigned \ / \___-=O`/|O`/___|
\ from the Human Race. \_______\ / | / )
/ Apply to the above address for / `/-==__ _/__|/__=--|
/ Resignation Forms. / * \ | |
/ "Cogito cogito ergo cogito sum." / (o)
/______________________________________/
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page