bugFreeciv - Bugs: bug #25498, compile error in luasql

Show feedback again

bug #25498: compile error in luasql

Submitted by:  Christian Knoke <chrisk>
Submitted on:  Wed Feb 8 10:08:28 2017  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: S3_0 R34994Operating System: GNU/Linux
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Feb 12 11:13:40 2017, comment #3:

Long answer: No, libpq-dev is not installed, but ./configure doesn't complain, and make fails. If I install libpq-dev, compilation works fine.

Full details attached.



(file #29822)

Christian Knoke <chrisk>
Project Member
Sun Feb 12 10:34:57 2017, comment #2:

~$ LANG= dpkg -s libpq-dev
dpkg-query: package 'libpq-dev' is not installed and no information is available

~$ apt-file -l show libpq-dev

This is Jessie.

Christian Knoke <chrisk>
Project Member
Sun Feb 12 08:20:10 2017, comment #1:

Do you have libpq-dev installed? For me this works correctly:
- If libpq-dev is not installer -> fails already at configure time
- If libpq-dev is installed -> builds fine

Marko Lindqvist <cazfi>
Project Administrator
Wed Feb 8 10:08:28 2017, original submission:

./autogen.sh --enable-svnrev --enable-gitrev --enable-testmatic --enable-debug=yes --enable-gprof --enable-efence --enable-ipv6=no --enable-aimodules=yes --enable-shared=yes --enable-xml-registry --enable-fcmp=gtk2,gtk3,cli --with-readline --enable-client=gtk2,gtk3,stub --enable-sys-lua=no --enable-fcweb --enable-sdl-mixer --enable-fcdb=mysql,postgres --enable-followtag --enable-ruledit=no --with-liblzma --with-libbz2 --with-missinglist
Making all in luasql
make[2]: Entering directory '/home/chris/Freeciv/svn/v3.0/dependencies/luasql'
Making all in src
make[3]: Entering directory '/home/chris/Freeciv/svn/v3.0/dependencies/luasql/src'
CCLD libluasql_base.la
CCLD libluasql_mysql.la
CC ls_postgres.lo
ls_postgres.c:15:22: fatal error: libpq-fe.h: No such file or directory
#include "libpq-fe.h"
compilation terminated.
Makefile:673: recipe for target 'ls_postgres.lo' failed
make[3]: *** [ls_postgres.lo] Error 1
make[3]: Leaving directory '/home/chris/Freeciv/svn/v3.0/dependencies/luasql/src'
Makefile:604: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/chris/Freeciv/svn/v3.0/dependencies/luasql'
Makefile:610: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/chris/Freeciv/svn/v3.0/dependencies'
Makefile:772: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Christian Knoke <chrisk>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #29822:  bug25498 added by chrisk (3kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by chrisk (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Feb 12 11:13:40 2017chriskAttached File-=>Added bug25498, #29822
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup