Main.SideBar (edit) |
Main /
InstallingOnFreeBSDWarning: this page is horribly outdated. It was written for Boson 0.10/CVS, the current version is 0.12 or subversion. Compiling boson 0.10 on FreeBSD 5:In general this is possible, follow all the instructions below, but you can skip the linking of the autotools and the Makefile.cvs thing (Makefile.cvs of boson 0.10 does NOT work without modifying admin/cvs.sh). Start right at the configure part - modifying configure is the same for 0.10 and CVS head. Compiling boson CVS on FreeBSD 5:Follow the steps on http://boson.sourceforge.net/download.php to download boson from CVS. Follow the instructions up to and including linking the admin directory from the "code" and "data" subdirectories. Now make sure that you have all dependencies installed. See http://boson.sourceforge.net/info.php for details. Regarding lib3ds: after installing it (/usr/ports/graphics/lib3ds) you need to modify the headers because they are buggy. As root, go to /usr/local/include/lib3ds and open each header file and look for the extern C { ... }; parantheses, remove the ; from the closing paranthese. This problem will be fixed by the lib3ds developers. You should also make sure that you have up-to-date versions of
automake and autoconf, autoconf259 and automake19 should work
fine. As these binaries are only available as "autoconf259", etc.
and not as "autoconf" you should create symbolic links in your
~/bin directory: The final rehash command reparses the all paths included in $PATH to find all available binaries. In this case the created links are now available. This is required if you use csh or tcsh as your shell. Finally, you need to set some LDFLAGS as the pthread library is not automatically used: for csh or tcsh: Do the following steps in both the "code" and the "data" subdirectories! Now, instead of executing make -f Makefile.cvs you need to use gmake -f Makefile.cvs. "gmake" is the GNU make tool which is a bit different from the BSD version of make. That's why gmake and make are seperately available on BSD systems. You should always use "gmake" instead of "make" for all builds that use the GNU autotools (that is, whenever you have a "configure" script). If you are in the code directory you need to modify the configure script to fix the not-working OpenGL detection. Execute the following: sed -e 's/bo_have_gl=\"no\"/bo_have_gl=\"yes\"/g' < configure | After that you have a new configure script called configure.new that detects OpenGL no matter what. You can view the differences between "configure" and "configure.new" by: To use the new configure script just type: The previous step created a "configure" script, which should now
be executed: Additionally you can use a custom prefix with a Then execute "gmake" and "gmake install" in both subdirectories. If any problem remains, contact the developers. See http://boson.sourceforge.net/contact.php for details. 3rd January 2005, |