Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Re: FC2 install cannot find libpq-fe.h

Re: FC2 install cannot find libpq-fe.h



Hi Raphael,

Installing the developer RPM for PostgreSQL fixed the problem, thanks for
the quick and accurate response.

For anyone who may read this, the next problem with the configure is that
it requires the following:

cd /usr/local/include
ln -s wx-2.5/wx .
./configure --with-wx=/usr/local

wxWindows RPM for FC2 installs in /usr/local/ instead of /usr and does not
create a directory named /usr/local/include/wx where pgadmin's configure
expects it.

That brings me to the next problem, which is this:

Making all in src
make[2]: Entering directory `/usr/share/pgadmin3/pgadmin3-1.0.2/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include -I -DSSL -I/usr/include
-I/usr/local/lib/wx/include/gtk2ud-2.5 -I/usr/local/include/wx-2.5
-D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/usr/local/include -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\"
-Wall -g -I../src/include -I -Wall -g -O0 -MT frmConnect.o -MD -MP -MF
".deps/frmConnect.Tpo" \
  -c -o frmConnect.o `test -f 'ui/frmConnect.cpp' || echo
'./'`ui/frmConnect.cpp; \
then mv ".deps/frmConnect.Tpo" ".deps/frmConnect.Po"; \
else rm -f ".deps/frmConnect.Tpo"; exit 1; \
fi
ui/frmConnect.cpp:35: error: invalid static_cast from type `void
   (frmConnect::*)(wxNotifyEvent&)' to type `void
   (wxEvtHandler::*)(wxCommandEvent&)'
make[2]: *** [frmConnect.o] Error 1

Any ideas?

Thanks,

Rick


                                                                                                                                               
                      Raphaël Enrici                                                                                                           
                      <blacknoz(at)club-internet(dot)f        To:       Richard_D_Levine(at)raytheon(dot)com                                                 
                      r>                               cc:       pgadmin-support(at)postgresql(dot)org                                                
                      Sent by:                         Subject:  Re: [pgadmin-support] FC2 install cannot find libpq-fe.h                      
                      pgadmin-support-owner(at)pos                                                                                                
                      tgresql.org                                                                                                              
                                                                                                                                               
                                                                                                                                               
                      09/14/2004 02:24 PM                                                                                                      
                                                                                                                                               
                                                                                                                                               




Hi Rick,

Richard_D_Levine(at)raytheon(dot)com wrote:
> I'm running Fedora Core 2 with PostgreSQL 7.4.5, and just installed
> wxWidgets 2.5 from the pgadmin mirrors as recommended.  I installed
> PostgreSQL using RPMs.  All of that went well and PostgreSQL is running
> nicely.
>
> When I try to install pgadmin the configure command fails looking for
> libpq-fe.h.  I did a 'find / -name libpq-fe.h' and it is surely not on
the
> machine.

In general linux distros separate headers from binaries so that you
don't waste disk space with non-wanted files.
You should install the devel package. Try to install postgresql-devel
rpm package, it should contain the files you need.

> I'm a Linux newbie, though not a Unix newbie, so don't worry about
> insulting my intelligence.  I ain't got none.

I heard someone around who told "there are only stupid answers, not
questions...". As I'm not an FC2 expert, I hope my answer was not too
stupid and that it will help you going further.

Regards,
Raphaël

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster








Home | Main Index | Thread Index

top