pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help needed


From: Harry Thijssen
Subject: Re: help needed
Date: Sun, 20 Mar 2016 18:18:18 +0100

Hi

PG_config  doesn't seem the problem.  From the config.log

configure:18606: checking for pg_config
configure:18625: found /usr/bin/pg_config
configure:18637: result: /usr/bin/pg_config
configure:18651: checking for PQexec in -lpq
configure:18676: i686-w64-mingw32-gcc -o conftest.exe -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -I/usr/i686-w64-mingw32/sys-root/mingw/include -mms-bitfields -I/usr/i686-w64-mingw32/sys-root/mingw/include/pango-1.0 -I/usr/i686-w64-mingw32/sys-root/mingw/include/cairo -I/usr/i686-w64-mingw32/sys-root/mingw/include/glib-2.0 -I/usr/i686-w64-mingw32/sys-root/mingw/lib/glib-2.0/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/pixman-1 -I/usr/i686-w64-mingw32/sys-root/mingw/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/freetype2 -I/usr/i686-w64-mingw32/sys-root/mingw/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16  -Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory conftest.c -lpq  /usr/i686-w64-mingw32/sys-root/mingw/lib/libintl.dll.a -L/usr/i686-w64-mingw32/sys-root/mingw/lib  >&5
/usr/lib64/gcc/i686-w64-mingw32/5.1.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lpq
collect2: error: ld returned 1 exit status
configure:18676: $? = 1
configure: failed program was:
| /* confdefs.h */

What can I do about this?

Have fun

2016-03-20 17:58 GMT+01:00 Ben Pfaff <address@hidden>:
On Sun, Mar 20, 2016 at 05:30:51PM +0100, Harry Thijssen wrote:
> It seems I am lost. I now even patch configure so PSQL support is always
> "yes".  But still the installed version reports that PostGres support is
> not included in the compiled version.
>
> What trigger can PSPP used to decide if it will compile with PostGres
> support after configure sets it to yes.

configure also must find the pg_config program.  If it can't find it,
you can specify its location on the configure command line:

    ./configure PG_CONFIG=...path...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]