On Fri, Sep 16, 2011 at 11:13, Jordi Sayol <[email protected]> wrote: > Al 16/09/11 17:06, En/na Tom Browder ha escrit: > >> Jordi, maybe your deb set up for cmake should be part of the BRL-CAD >> package if the package is required--otherwise I think my mods are >> needed. > > Tom, I think that You're mixing some thing here. > > Your mods are to check if needed binaries are present on the system. I think > it's a better idea to use the system-packages instead of install them > manually or by an script. > > I just compiled cmake v2.8.3 for Ubuntu 10.04 to make me able to compile > brlcad on this system, because the resulting brlcad packages should be > installable on the maximum computers as possible (Ubuntu 10.04 is the last > LTS). > People that wants to compile/build their own deb packages with make_deb.sh > script can do it on a system that has the required dependencies. There are > many dependencies to build brlcad, not just cmake v2.8.3, so I don't think > that this is
But the problem is that a user cannot get started without cmake (and a certain version). So at least the instructions must say that. Of course I'm looking at the situation in this confusing period between the autotools and the not-yet-ready-for-distribution cmake build system. > I think there are many tutorials on Internet to build deb packages, but I > cannot recommend You any one. > > There are several ways to build deb packages. Some of them: > > The "$ debian/rules binary" way. this is the way used with make_deb.sh to > create the package. You can check out misc/debian/rules to see how it works. > Needs "debhelper" package, at least... > > Another way is to create the structure of the package on a directory > (uncompress a deb package to check it as an example). Then just run "$ > dpkg-deb -b dir_name" where dir_name is the directory containing the > structure. Needs "dpkg" package. > > Another one, download the already prepared three sources files of the desired > program from Your distribution site. > As an example you can download cmake v2.8.3 source for Ubuntu from here: > http://packages.ubuntu.com/source/natty/cmake > Place them on a folder and from command line type "$ dpkg-source -x > cmake_2.8.3-3ubuntu7.dsc". Provably You'll need to modify the dependencies on > this file. > A "cmake-2.8.3" folder will be created. "$ cd cmake-2.8.3" and then "$ > fakeroot dpkg-buildpackage". > If everything goes fine, You'll get a couple of deb packages. Needs > "dpkg-dev" package. That's a good summary--thanks! Best regards, -Tom ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
