hi,
>> I am using Fedora4test3, the Gcc is 4.0, when I tried to compile the
>> pgadmin 1.2.2 source codes, I got the following errors by configure:
>>
>> checking pgsql in /usr/lib/pgsql... failed
>> configure: error: you must specify a valid pgsql installation with
>> --with-pgsql=DIR
>>
>> I changed the DIR to be /usr/share/pgsql and /usr/lib/pgsql, but the
>> errors still occured.
>>
>> There is a post in the mailing list which fixed the bug, but in my
>> instance, it seems don't work.
>>
>> Can anybody help me?
just a guess/hunch ....
have you tried EXPLICITLY defining BOTH:
--with-pgsql-include=/usr/lib/pgsql
--with-pgsql-include=/usr/...path..to..wherever../pgsql/include
richard