Hi David, > Le 3 juil. 2015 à 12:04, David Chisnall <thera...@sucs.org> a écrit : > > Hi, > > I’m starting to look at packaging Étoilé for FreeBSD. To do this, I need to > be able to build each package individually. EtoileFoundation doesn’t seem to > build at all without etoile.make (though it uses -include, so it doesn’t > error out). Mostly the issues seem to be related to finding headers. > > Copying etoile.make into the directory almost works, though it requires this > line to be removed:
Each module requires etoile.make to build, usually it's expected to be in the in the Etoile root directory, but putting it in the module directory should work too. This last option has been tested for a while though. > export ADDITIONAL_INCLUDE_DIRS += -I/usr/include/`gcc -dumpmachine`/ > > (I don’t know if this is needed for Ubuntu still - if so it should be > conditional - but it definitely breaks on FreeBSD 10.x, where gcc is not > installed by default. Clang also supports dumpmachine, so changing gcc to > ${CC} would probably also work). iirc, it's for libffi, I don't remember if it's required for recent Ubuntu versions. Changing gcc to ${CC} seems like the best choice. Feel free to do so. > Is it possible to include a copy of etoile.make with each of the subprojects, > so that the github tarballs are self-contained? It should work, but this hasn't been tested for ages, so you might hit some issues. btw I don't have an Étoilé system currently (all my computers were stolen few months ago), I need to set up a VM to check what the Étoilé build status is. Cheers, Quentin. _______________________________________________ Etoile-dev mailing list Etoile-dev@gna.org https://mail.gna.org/listinfo/etoile-dev