"configure" script needs some fixing up so it works on fbsd

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
GreaseMonkey
Peon
Peon
Posts: 1
Joined: 23 Dec 2008, 03:47

"configure" script needs some fixing up so it works on fbsd

Post by GreaseMonkey » 23 Dec 2008, 03:56

OK, this is what I have to do to get the ./configure script to work and to build correctly on my system, which runs FreeBSD 7.1-PRERELEASE:

Code: Select all

CXXFLAGS="-I/usr/local/include" CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure --disable-nls
That is a capital i in -I.

Without the --disable-nls, it will not link, but this is about the configure script, not linking issues. If you're curious, it complains about libintl_gettext() missing or something if I forget this. I have gettext v0.17, but I see no way of upgrading libintl.so.

If I forget to tell it to use the LDFLAGS, it will not detect guichan, even though it should. From my experience, autoconf knows where the libraries and the includes actually are, so something should be worked out about this. Same deal with the CFLAGS and CXXFLAGS.

Also, I note that it says 'configure complete, now type "make"'. On a FreeBSD system, GNU Make is "gmake", as the FreeBSD "make" will almost never work with a GNU Makefile. Your average FreeBSD user would know this, though, so this isn't a big issue, but still, it helps to be factually correct.

There appears to be no issues with the generated Makefile.
I greet C# with a big fat "no".
User avatar
trapdoor
Novice
Novice
Posts: 216
Joined: 18 Feb 2007, 13:36

Re: "configure" script needs some fixing up so it works on fbsd

Post by trapdoor » 23 Dec 2008, 11:14

Just use the FreeBSD port, thats what its there for.

--
trapdoor
Post Reply