has anyone tried using pqxx with kdevelop? pls help...

Harald Fernengel harry at kdevelop.org
Fri Dec 26 17:00:48 GMT 2003


Hi,

On Friday 26 December 2003 17:25, Peggy Go wrote:
> What I did was to install the package for pqsql. Since
> I'll be using pqxx (for C++), I added the package
> pqxx. I've encountered some errors when I included the
> library (#include <pqxx/pqxx>) so the developer
> advised me to set the following:
>
> in CPPFLAGS text box: -I/usr/local/pqxx/include
> in LDFLAGS Additional flags:
>       -L/usr/local/pqxx/lib -lpqxx
>
> But whenever I clik on "okay", it runs configure
> right? There's an error message which says
>
> "checking whether the C compiler works... configure:
> error: cannot run C compiled programs. If you meant to
> cross compile, use `--host'. See `config.log' for more
> details. "

I would suggest that you call configure with "--with-extra-includes" and 
"--with-extra-libs", that's the prefered way to pass non-standard include 
paths and libraries.

Harald

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list