On Wed 29/Mar/2017 13:17:12 +0200 Sam Varshavchik wrote:
> Alessandro Vesely writes:
>> On Fri 17/Mar/2017 01:25:36 +0100 Sam Varshavchik wrote:
>>> This should now be fixed in 20170316. All packages rebuilt, including
>>> courier-authlib which was also affected.
>> Compiling still fails for the missing C++ flags, as noted in
>> http://www.mail-archive.com/courier-users@lists.sourceforge.net/msg38753.html
>> That patch can work on the configure script directly (removing .ac from the
>> filename), then it compiles fine...
>> Out of curiosity, am I the only one stumbling on that?
> Only the courier-authlib package?


> I don't see anything in courier-authlib that needs C++. I think it's only the
> configure script in courier-authlib that's broken. Try build 20170329.

Could't find 20170329, where is it?

The error I get on make is this:

/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I
liblock    -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -DNDEBUG
-g -O2 -Wall -Ilibs -I./libs -MT authpgsqllib.lo -MD -MP -MF
.deps/authpgsqllib.Tpo -c -o authpgsqllib.lo authpgsqllib.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I liblock -I/usr/include/mysql
-DBIG_JOINS=1 -fno-strict-aliasing -g -DNDEBUG -g -O2 -Wall -Ilibs -I./libs -MT
authpgsqllib.lo -MD -MP -MF .deps/authpgsqllib.Tpo -c authpgsqllib.cpp  -fPIC
-DPIC -o .libs/authpgsqllib.o
authpgsqllib.cpp:14:22: fatal error: libpq-fe.h: No such file or directory
 #include <libpq-fe.h>
compilation terminated.
Makefile:1352: recipe for target 'authpgsqllib.lo' failed

I reckon anyone having PostgreSQL should experience this error.  The include
file /usr/include/postgresql/libpq-fe.h cannot be found without a proper -I,
which is in CFLAGS but not CXXFLAGS.  The last authpgsqllib.c I have is in
courier-authlib- and named .cpp thereafter.


Attachment: signature.asc
Description: OpenPGP digital signature

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
courier-users mailing list
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to