2 Feb 2012 00:20
Fwd: [Crossfire-devel] Compiling crossfire-server on FreeBSD 9.0
Cross post.. ---------- Forwarded message ---------- From: Kevin Zheng <kevinz5000@...> Date: Fri, Jan 27, 2012 at 9:33 PM Subject: [Crossfire-devel] Compiling crossfire-server on FreeBSD 9.0 To: crossfire-devel@... Greetings everyone. Today I decided that I would take the latest trunk version of crossfire-server and compile it on FreeBSD 9.0 from source. For anyone interested in going through a similar experience, crossfire-server doesn't like compiling on FreeBSD, but with some modifications to the configure script and makefiles, seems to work fine. So, here's what I did. 0) Do all of the preparatory work (grabbing arch, map, server, linking arch into server/lib, etc.) 1) Created configure with the standard "sh autogen.sh" 2) Change the shebang in 'configure' from #!/bin/sh to #!/usr/local/bin/bash. FreeBSD's /bin/sh isn't at all like bash, and seems to choke when looking for Python. Bash seems to work fine. 3) Change all instances of '-ldl' to '-lc' in 'configure'. FreeBSD doesn't have a -ldl, because its dlopen() is in the standard C library. 4) ./configure with your favorite options (mine is --prefix).(Continue reading)
I looked at
RSS Feed