[Freeciv-Dev] (PR#39611) BETA6 cannot find libggz
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39611 [guest - Thu Nov 22 11:41:30 2007]: It's not as complicated as it seems to be :) Basically, AC_GGZ_CHECK is just a wrapper macro for all the other GGZ macros. The individual macros work fine, but AC_GGZ_CHECK called AC_GGZ_INIT without telling it to consider the default search directories such as /usr. I propose using the latest ggz.m4 from GGZ SVN. As a quick fix, make AC_GGZ_CHECK call AC_GGZ_INIT([defaults]). As for the Debian package, all the --with-blah-dir can now be removed if --prefix=/usr. On the other hand, please add support for registering Freeciv with the GGZ game module database by using the --enable-noregistry switch. Documentation for it: http://svn.ggzgamingzone.org/cgi-bin/trac.cgi/browser/trunk/docs/ggz- project/packagers (josef) Attaching ggz.m4 grabbed from GGZ's trunk/libggz/m4/ggz/ ~Daniel ggz.m4 Description: Binary data ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] (PR#39611) BETA6 cannot find libggz
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39611 [dmarks - Sun Nov 25 01:37:39 2007]: [guest - Thu Nov 22 11:41:30 2007]: It's not as complicated as it seems to be :) Basically, AC_GGZ_CHECK is just a wrapper macro for all the other GGZ macros. The individual macros work fine, but AC_GGZ_CHECK called AC_GGZ_INIT without telling it to consider the default search directories such as /usr. I propose using the latest ggz.m4 from GGZ SVN. As a quick fix, make AC_GGZ_CHECK call AC_GGZ_INIT([defaults]). As for the Debian package, all the --with-blah-dir can now be removed if --prefix=/usr. On the other hand, please add support for registering Freeciv with the GGZ game module database by using the --enable-noregistry switch. Documentation for it: http://svn.ggzgamingzone.org/cgi-bin/trac.cgi/browser/trunk/docs/ggz- project/packagers (josef) Attaching ggz.m4 grabbed from GGZ's trunk/libggz/m4/ggz/ ~Daniel And this is a diff against the one in S2_1. ~Daniel ggz.m4.diff Description: Binary data ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] (PR#39611) BETA6 cannot find libggz
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39611 Christian Prochaska wrote: URL: http://bugs.freeciv.org/Ticket/Display.html?id=39611 [jordi - So 28. Okt 2007, 23:47:27]: [chrisk - Vie. Ago. 24 13:36:50 2007]: configure doesn't look for ggzlib in the standard path: On plain Debian Etch: ./configure --enable-client=no --with-ggz-server checking for GGZ library: libggz... no For Freeciv 2.1 Debian packages, I'm adding the following to the configure call: --with-libggz-libraries=/usr/lib \ --with-libggz-includes=/usr/include \ --with-ggzmod-libraries=/usr/lib \ --with-ggzmod-includes=/usr/include \ --with-ggzdmod-libraries=/usr/lib \ --with-ggzdmod-includes=/usr/include \ --with-ggzconfig=/usr/bin \ which it seems to like: the binaries are linked to the relevant ggz libs. just adding --with-ggz-dir=/usr works as well, but there are still two other problems: - Freeciv must be configured with --prefix=/usr (where GGZ is installed) or the configure check for ggz-config will fail with the message dismissed due to different prefix Ugh. - on Debian testing the GGZ server (ggzd) is installed in /usr/sbin which means that it must be run as root and thus will start the Freeciv server as root, which is disallowed ggzd should not be run as root. Ever. -jason ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] (PR#39611) BETA6 cannot find libggz
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39611 [chrisk - Vie. Ago. 24 13:36:50 2007]: configure doesn't look for ggzlib in the standard path: On plain Debian Etch: ./configure --enable-client=no --with-ggz-server checking for GGZ library: libggz... no For Freeciv 2.1 Debian packages, I'm adding the following to the configure call: --with-libggz-libraries=/usr/lib \ --with-libggz-includes=/usr/include \ --with-ggzmod-libraries=/usr/lib \ --with-ggzmod-includes=/usr/include \ --with-ggzdmod-libraries=/usr/lib \ --with-ggzdmod-includes=/usr/include \ --with-ggzconfig=/usr/bin \ which it seems to like: the binaries are linked to the relevant ggz libs. ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] (PR#39611) BETA6 cannot find libggz
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39611 configure doesn't look for ggzlib in the standard path: On plain Debian Etch: ./configure --enable-client=no --with-ggz-server checking for GGZ library: libggz... no configure: error: Could not configure GGZ server support. See above messages. configure:16019: checking for GGZ library: libggz configure: 16080: /usr/local/include/ggz.h tried /usr/local/lib configure:16136: result: no configure:16463: error: Could not configure GGZ server support. See above messages. $ locate ggz-config /usr/bin/ggz-config /usr/share/locale/de/LC_MESSAGES/ggz-config.mo /usr/share/man/man6/ggz-config.6.gz ./configure --enable-client=no --with-ggz-server --with-ggzconfig=/usr/bin/ggz-config doesn't solve it: checking for GGZ library: libggz... no configure: error: Could not configure GGZ server support. See above messages. configure:16019: checking for GGZ library: libggz configure: 16080: /usr/local/include/ggz.h tried /usr/local/lib configure:16136: result: no configure:16463: error: Could not configure GGZ server support. See above messages. -- Christian Knoke* * *http://cknoke.de * * * * * * * * * Ceterum censeo Microsoft esse dividendum. ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev