sysinfo.h

Roland Smith rsmith at xs4all.nl
Wed Mar 11 19:21:37 UTC 2015


On Wed, Mar 11, 2015 at 01:49:53PM +0100, Bernt Hansson wrote:
> 
> 
> On 2015-03-11 13:32, Michael Schuster wrote:
> > I'd expect you have more porting work ahead of you - after all, sysinfo.h
> > most likely is not included just for fun :-)
> >
> > Try to find out what "questions" the code in question is trying to answer,
> > then maybe you'll find FreeBSD-specific solutions to them easier than when
> > you attempt a line-for-line "port".
> >
> > regards
> > Michael
> >
> > (admittedly, I haven't done any significant work on FreeBSD for ages ... so
> > feel free to correct me if I'm wrong ;)
> 
> Not trying to port it, just trying to get it working.

There are differences between different UNIX-like operating systems like *BSD,
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 that
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 will
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=CompileOnUnix

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
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150311/69c1819c/attachment.sig>


More information about the freebsd-questions mailing list