From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 19:21:37 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3221905 for ; Wed, 11 Mar 2015 19:21:37 +0000 (UTC) Received: from lb2-smtp-cloud2.xs4all.net (lb2-smtp-cloud2.xs4all.net [194.109.24.25]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5371FEBA for ; Wed, 11 Mar 2015 19:21:36 +0000 (UTC) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud2.xs4all.net with ESMTP id 2KLP1q00507iGuj01KLQ4b; Wed, 11 Mar 2015 20:20:25 +0100 Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 1EE851243F; Wed, 11 Mar 2015 20:20:23 +0100 (CET) Date: Wed, 11 Mar 2015 20:20:23 +0100 From: Roland Smith To: Bernt Hansson Subject: Re: sysinfo.h Message-ID: <20150311192023.GA8178@slackbox.erewhon.home> Mail-Followup-To: Bernt Hansson , Michael Schuster , Polytropon , freeBSD Mailing List References: <55002A42.4070608@bananmonarki.se> <20150311125846.e1b7fdb5.freebsd@edvax.de> <550032C1.8040903@bananmonarki.se> <550039F1.2060603@bananmonarki.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <550039F1.2060603@bananmonarki.se> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Michael Schuster , Polytropon , 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 19:21:37 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 11, 2015 at 01:49:53PM +0100, Bernt Hansson wrote: >=20 >=20 > On 2015-03-11 13:32, Michael Schuster wrote: > > I'd expect you have more porting work ahead of you - after all, sysinfo= =2Eh > > most likely is not included just for fun :-) > > > > Try to find out what "questions" the code in question is trying to answ= er, > > then maybe you'll find FreeBSD-specific solutions to them easier than w= hen > > you attempt a line-for-line "port". > > > > regards > > Michael > > > > (admittedly, I haven't done any significant work on FreeBSD for ages ..= =2E so > > feel free to correct me if I'm wrong ;) >=20 > Not trying to port it, just trying to get it working. There are differences between different UNIX-like operating systems like *B= SD, Linux and OS-X, even though they all try to deliver more or less the same functionality. So in general, "getting it to work" means porting. Hence we have the "ports tree" in FreeBSD. :-) You should consider writing a port for freecad. This will help make sure th= at you have the required libraries installed, and you can put the necessary patches in the port's files directory. If you have never done any programming, porting a major program like this w= ill involve a non-trivial learning curve. But there are lots of examples in the ports tree, and you can reach out on the mailing lists for assistance. The following page that details how to compile FreeCAD might be of use: http://www.freecadweb.org/wiki/index.php?title=3DCompileOnUnix The dependencies eigen3 and opencascade, soqt and pivy are already in the ports tree as math/eigen3, cad/opencascade, x11-toolkits/soqt and graphics/py-pivy. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJVAJV3AAoJEED21dyjijPgwzkP/0uhRRNEAf9og8OBEvnDfDrc w5QJ+9unrxkYuYDHg0YrH0ZfPGebweBI1IY+SyrehFiRCv5aMLYh0/IypjDG7PRY 71IqKFxryBTgdNTlytYUH44vGwtyd/fTkvywHBs/UpoRDQOZLgDGIL3MgxWHctNO 5d52qEKPEPr98aHEm8tgFqekSc3mgstRMVf1Hv9U3MJUa8zBHj9fS3DR/DGb5Swo GC7m/nCLeKDZmiVMuhaPDgWhPFRmntkctGTKnqISXMdSL39XABS2rPeMTwsflJnk k8vgsLP7VhnbTayTocVkYZJ9DjHZ4m+WqP0dZFB2yHPQOG0MAczRb7m/JCJxFeRa mB16LEKWbS70cNoXvk2eJrjQOXDi3RAOx0IJ9uopzRDMtej3PClWnOTkj9NGvV7O O4s99myRUW8YOZAdQQKMlWlRN2CnyH5ShnJiqU04yn5TYvPRIFP7+7Vr5bklUSOn ADQgXIQ6+pQxerGYAZ3srpOzCHlQeXDRgzG+WRR3JPRDrEo0/QtXfpNSFH2mXEB9 Sw9EegH9/wYjzaDZmDvIFoXmxbN9PW/C26oVhawMSF6z4KszA7BQdX7cPbYVobTm 61DQgSRgZ2VIRiyFZedgTmRUdAY6TRNnRuR6DlnpaJkpodOwXQS8QIRq5WAcq/1F PsASoK2XNHYkPDrzy/1a =dqHU -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--