Re: PGXS problem with pdftotext

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PGXS problem with pdftotext
Date: 2009-07-03 19:10:16
Message-ID: 26095.1246648216@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> What does pg_config report for the various FLAGS variables?

> CPPFLAGS = -D_GNU_SOURCE -I/usr/include/libxml2
> CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> -fwrapv -g
> CFLAGS_SL = -fpic
> LDFLAGS = -Wl,-rpath,'/usr/local/pgsql-8.3.7/lib'
> LDFLAGS_SL =

Well, that looks about right, so the next question is why the CFLAGS
value isn't getting used in your build. What's the whole output of
make when you try to build your module?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-07-03 19:12:26 Re: PGXS problem with pdftotext
Previous Message Dimitri Fontaine 2009-07-03 19:08:21 Re: [HACKERS] commitfest.postgresql.org