[crossfire] Fwd: [Crossfire-devel] Compiling crossfire-server on FreeBSD 9.0
Nicolas Weeger
nicolas.weeger at laposte.net
Sun Feb 5 04:13:32 CST 2012
Hello.
Thanks for your tests.
Can you apply the attached patch (via "patch -p0 < freebsd.patch"), recompile,
relaunch, and send the error message?
Thanks
Nicolas
Le jeudi 02 février 2012 00:20:59, Rick Tanner a écrit :
> Cross post..
>
> ---------- Forwarded message ----------
> From: Kevin Zheng <kevinz5000 at gmail.com>
> Date: Fri, Jan 27, 2012 at 9:33 PM
> Subject: [Crossfire-devel] Compiling crossfire-server on FreeBSD 9.0
> To: crossfire-devel at lists.sourceforge.net
>
>
> 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).
>
> 5) Change the '-ldl' in server/Makefile to '-lc'
>
> 6) gmake install (instead of FreeBSD's default make)
>
> And it actually compiles. And here begins my 'bug report'. For me, it
> doesn't work. When I load up crossfire, everything starts out fine...
>
> Welcome to CrossFire, v1.60.trunk-runknown
> Copyright (C) 1994,2011 Mark Wedel & Crossfire Development Team
> Copyright (C) 1992 Frank Tore Johansen.
> 12/01/27 21:31:02 [Info] Reading highscore file
> /home/coolperson/cfroot/var/crossfire/highscore
> 12/01/27 21:31:02 [Info] Initializing plugins
> 12/01/27 21:31:02 [Info] Plugins directory is
> /home/coolperson/cfroot/lib/crossfire/plugins/
> 12/01/27 21:31:02 [Info] -> Loading plugin : citylife.so
> 12/01/27 21:31:02 [Info] -> Loading plugin : cfpython.so
> 12/01/27 21:31:02 [Info] -> Loading plugin : cfanim.so
> 12/01/27 21:31:02 [Info] -> Loading plugin : cflogger.so
> 12/01/27 21:31:02 [Info] Sqlite Logger Plugin 1.0 alpha init
> 12/01/27 21:31:02 [Info] Sqlite Logger Plugin 1.0 alpha post init
> 12/01/27 21:31:02 [Info] -> Loading plugin : cfnewspaper.so
> 12/01/27 21:31:02 [Info] Newspaper Plugin 1.0 alpha init
> 12/01/27 21:31:02 [Info] Newspaper Plugin 1.0 alpha post init
>
> But then...
>
> 12/01/27 21:31:02 [Error] select failed: Bad file descriptor
> 12/01/27 21:31:02 [Error] select failed: Bad file descriptor
> 12/01/27 21:31:02 [Error] select failed: Bad file descriptor
> 12/01/27 21:31:03 [Error] select failed: Bad file descriptor
>
> And that message repeats until I CTRL-C out. Now I need a little bit of
> help. I can play with configure scripts fine, but I need a little help
> with this.
>
> Thanks,
> Kevin Zheng
>
> ---------------------------------------------------------------------------
> --- Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Crossfire-devel mailing list
> Crossfire-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crossfire-devel
> _______________________________________________
> crossfire mailing list
> crossfire at metalforge.org
> http://mailman.metalforge.org/mailman/listinfo/crossfire
--
Mon p'tit coin du web - http://nicolas.weeger.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freebsd.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20120205/29fd290d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20120205/29fd290d/attachment.pgp>
More information about the crossfire
mailing list