From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 23:12:41 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91185F1A for ; Wed, 11 Mar 2015 23:12:41 +0000 (UTC) Received: from mail-qg0-f52.google.com (mail-qg0-f52.google.com [209.85.192.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EE04D2E for ; Wed, 11 Mar 2015 23:12:40 +0000 (UTC) Received: by qgfh3 with SMTP id h3so14056792qgf.13 for ; Wed, 11 Mar 2015 16:12:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ppxlY1Vf8HyMhOxECAQeLXj3XDUwHkROGZGN05YvGPQ=; b=Jstj9Zl+9JVsBcXu7W2ADM6Q1b8weFQyHf9jKu6HNiWwKtOjugf2rEEjKiq/UXYhqN 1ElfmjuJ7teMgeOntHJPZBp3rlSKjGCmko7tt3riEDWSo8BssaxIznU+6UWml1l26FF+ 1mj0aChk/TeRNIpYw5d+Y3dMgaTeYafwCLJKLKJfjc4dHHgHxoxGpN+HEABB9wVncynR HWgc4MgOIn6xD+QR2wBESpIQquylCEghfPB6Kyld1l5PWJWWUtJGbwXmwCql0V9/CIXc McKq+OGu5c8xId2xbLD1D0R757r0P6X0D5QtDok5K6GnhxSdQd2qxIa0L5jlQl3GOEKQ 0ZzQ== X-Gm-Message-State: ALoCoQlrzI972wJdo/dot7+/wjwezCgjEGObr5xI1/GT7cxtjw9EaMXt4V5RF+A7EOZzIHI3jQnU MIME-Version: 1.0 X-Received: by 10.55.23.84 with SMTP id i81mr16130469qkh.51.1426115553933; Wed, 11 Mar 2015 16:12:33 -0700 (PDT) Received: by 10.140.94.212 with HTTP; Wed, 11 Mar 2015 16:12:33 -0700 (PDT) In-Reply-To: <5500BDB3.2040605@bananmonarki.se> References: <55002A42.4070608@bananmonarki.se> <5500BDB3.2040605@bananmonarki.se> Date: Wed, 11 Mar 2015 16:12:33 -0700 Message-ID: Subject: Re: sysinfo.h FAILED From: Michael Sierchio To: Bernt Hansson Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 23:12:41 -0000 most of the things you find in the sysctl struct on Linux are sysctl MIB entries on FreeBSD. Example programs that display such info are /usr/bin/w and /sbin/sysctl. Look at the sources. - M On Wed, Mar 11, 2015 at 3:12 PM, Bernt Hansson wrote: > This is a to hard nut for me to crack. So i leave it to someone else. > > Thanks for all the input. > > On 2015-03-11 12:42, Bernt Hansson wrote: > >> Hello list! >> >> Trying to build a program (freecad) >> >> I have got cmake to find libs and other programs it needs. >> >> running cmake -DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release . >> >> results is this >> -- Configuring done >> -- Generating done >> -- Build files have been written to: >> /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_master-master/FreeCAD_sf_ >> master-master >> >> >> Then one should run make. >> >> make gives this error >> >> /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_master-master/FreeCAD_sf_ >> master-master/src/3rdParty/salomesmesh/src/SMDS/SMDS_ >> MemoryLimit.cpp:32:25: >> error: sys/sysinfo.h: No such file or directory >> >> Guess it's linuxism. >> >> What is sysinfo.h called in freebsd? >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" >