Hi, All this can now be put to rest. Gentoo is at fault and I am going to talk to Gentoo people
Thank you to everyone who helped. Thank you. On Mon, Jul 11, 2022 at 12:23 PM <to...@tuxteam.de> wrote: > > On Mon, Jul 11, 2022 at 08:50:47AM -0500, Igor Korot wrote: > > And hi i Debian afe fiing he innclde line: > > > > [code] > > igor@debian:~/dbhandler/Debug/libpostgres$ make clean && make V=1 > > test -z "libpostgres.la" || rm -f libpostgres.la > > rm -f ./so_locations > > rm -rf .libs _libs > > rm -f *.o > > rm -f *.lo > > OK let's take this one apart. > > > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H > > -I. -I../../libpostgres -I.. -D__WXGTK__ -I../../dbinterface > > `pg_config --includedir` -g -O0 -MT > > -I. > # search includes in current dir > -I../../libpostgres > # search includes in some local postgres lib around. This looks > # fishy (it isn't at the error's root, but might indicate > # some misunderstanding between your build system and you) > # note that this might be one difference to the Gentoo install. > -I.. > # search includes one level up > -D__WXTTK > # pre-define something for the compiler > -I../../dbinterface > # search includes there, too > `pg_config --includedir? > # This is definitely wrong. It should have an '-I' in front. > > I think Thomas is right. > > Cheers > -- > t