Date: Mon, 07 Mar 2005 10:47:26 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Ulrich =?ISO-8859-1?Q?Sp=F6rlein?= <q@uni.de> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/78416: [NEW PORT] sysutils/symon: Performance and information monitoring tool Message-ID: <1110188846.13461.12.camel@pav.hide.vol.cz> In-Reply-To: <20050307093750.GC778@galgenberg.net> References: <200503062350.j26NopRF010561@freefall.freebsd.org> <20050307090650.GA778@galgenberg.net> <1110186820.13461.7.camel@pav.hide.vol.cz> <20050307093750.GC778@galgenberg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-FwYmnzY3GXcwf/iV7z3M Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Ulrich Sp=F6rlein p=ED=B9e v po 07. 03. 2005 v 10:37 +0100: > On Mon, 07.03.2005 at 10:13:40 +0100, Pav Lucistnik wrote: > > > This could only happen, if you have the vm.nswapdev sysctl, which I > > > don't have on this 4.9 system > > > % sysctl vm.nswapdev > > > sysctl: unknown oid 'vm.nswapdev' > >=20 > > Could this be caused by building in 4.X jail on 5.X kernel? > > Are you actually doing any checks against live kernel, instead against > > header files? >=20 > Yes, this might be a problem, as the configure script is calling sysctl > to guess if vm.nswapdev is available, and then goes on to use the struct > xswdev. >=20 > Could you please take a quick look at > work/symon/platform/FreeBSD/conf.sh and tell me of other problems you > see with this approach? To allow crossbuilding, you should never ever run sysctl or uname directly. If you need to check a FreeBSD version for presence of any structure in headers, check when the structure was implemented, locate nearest OSVERSION according tohttp://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.htm= l and use sys/param.h header to check. That is also required to get packag= es built on package cluster. Or you can of course grep headers, or, better, try to compile a sample C snippet, like ./configure scripts do. > PS: I totally forgot to mention UID 115 in the PR. I'd like to get that > UID reserved for symon. Thanks. That's already arranged, don't worry. --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> A)bort, R)etry, H)it with big hammer --=-FwYmnzY3GXcwf/iV7z3M Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD4DBQBCLCMuntdYP8FOsoIRAuaoAJdsCjb2tOajJaF941UhDk4e5VuzAJ0e3b8P E2B6y1LGJvH5Yly7gE+1lw== =dvxs -----END PGP SIGNATURE----- --=-FwYmnzY3GXcwf/iV7z3M--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1110188846.13461.12.camel>