Re: AIX 4.3.3
SNIP Using GCC (from UCLA's archives)... gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -DOPENPKG -DOPENPKG_AIX -I/tmp/openpkg-2.20060824/zlib-1.2.3 -I/tmp/openpkg-2.20060824/bzip2-1.0.3 -I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX -I/tmp/openpkg-2.20060824/zlib-1.2.3 -I/tmp/openpkg-2.20060824/bzip2-1.0.3 -I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT -MT rpmrpc.lo -MD -MP -MF .deps/rpmrpc.Tpo -c rpmrpc.c -o rpmrpc.o In file included from /usr/include/sys/pri.h:29, from /usr/include/sys/sched.h:38, from /usr/include/sched.h:52, from /usr/include/pthread.h:43, from rpmrpc.c:8: /usr/include/sys/proc.h:203: error: parse error before crid_t /usr/include/sys/proc.h:212: error: parse error before p_class /usr/include/sys/proc.h:355: error: parse error before '}' token rpmrpc.c: In function `ftpOpendir': rpmrpc.c:1249: warning: assignment makes pointer from integer without a cast rpmrpc.c: In function `Glob': rpmrpc.c:1457: warning: assignment from incompatible pointer type rpmrpc.c:1458: warning: assignment from incompatible pointer type rpmrpc.c:1459: warning: assignment from incompatible pointer type make[2]: *** [rpmrpc.lo] Error 1 As a blind guess I would say there is something like a #include sys/types.h missing somewhere... Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org I checked the proc.h file on AIX 5.3 AIX 4.3.3, same on both machines (only the one reference): #ifndef _H_PROC #define _H_PROC #ifdef __cplusplus extern C { #endif #include sys/types.h #include sys/ptrace.h #include sys/timer.h #include sys/resource.h #include sys/m_param.h #include sys/pri.h #include sys/lockl.h #include sys/limits.h #include sys/var.h #include sys/thread.h __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org
Bootstrap problem
Hi, I am trying to install openpkg on my Mac (darwin) I'm not very up on UNIX, so any help would be appreciated. I follow the instructions on the web site, and it has stopped here: ... Makefile is older than Makefile.org, Configure or config. Reconfigure the source tree (via './config' or 'perl Configure'), please. make: *** [Makefile] Error 1 + exit 2 + exit 2 ./openpkg.boot:ERROR: script returned non-null value You can download the entire install log here, if that helps: http://www.bizqwick.com/openpkglog.doc I tried, also, to install from the binary, but when I enter darwin as my platform I get no such directory Again, any help for a neophyte is much appreciated. Thanks, Joe -- Joe Boldt (858) 272-0211 Fax 272-4211 [EMAIL PROTECTED] http://www.bizqwick.com __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org
Re: Configuring Logfile rotation.
On Wednesday, 20. September 2006 at 10:04 am, Sascha Wilde[EMAIL PROTECTED] wrote: I'm seeking information on how to configure logfile rotation in OpenPKG, especially min size, and age of files to rotate, as well as the number of rotated versions to hold before deletion are of interest. It works almost identical for all packages supporting it. For package foo, look into $PREFIX/etc/rc.d/rc.foo file. You find some foo_log_* variables defined in the %config section and later on they are passed verbatim into shtool rotate in the %daily section. Have a look at openpkg man shtool-rotate Never modify the rc.foo file, it is not flagged config and will be overwritten on next update. Override the default by placing an identically named variable into $PREFIX/etc/rc.conf. I wasn't able to find documentation on that subject on http://www.openpkg.org/documentation/, in fact I couldn't find any decent information on the whole openpkg rc system. Have a look at openpkg man rc The faq mentions a handbook under OpenPKG breaks with a few things from the good old Unix days. Why? but I havn't found it. Oops. AFAIK the handbook has been removed because it was written for OpenPKG 1.x. However, the article [1] originally posted in Sysadmin Magazine some years ago received a major overhaul only one month ago and is very up to date now. Btw, Ralf refreshed the text after an inquiry by your collegue Bernhard R. ;-) I did find some variables in etc/rc.d/rc.fsl which look promising, but I'm unsure if fiddling with this file is TRTTD. (And having documentation of the variables would be neat in any case...) It is safe to modify the $PREFIX/etc/fsl/fsl.foo file. Everything you asked for in the first paragraph can be done with rc.conf. However, if you want to log to something else but files, do filtering or trickery like resuming logging after (re)moving the logfile without restarting the affected daemon etc., fsl is the place to go. Have a look at openpkg man fsl. Another useful command regarding the rc topic is openpkg rc --config [1] http://www.openpkg.org/documentation/article/ -- Thomas __ The OpenPKG Projectwww.openpkg.org User Communication List openpkg-users@openpkg.org