pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bob Gustafson <bobgus@rcn.com>
To: pgsql-ports@postgresql.org
Subject: pgadmin3 on Fedora7 - can't run standard binary, can't compile from source..
Date: Sun, 07 Oct 2007 14:24:46 -0500
Message-ID: <1191785086.4767.16.camel@hoho2.chidig.com> (raw)

I am running Fedora7

I cannot run the stock binary installation of pgAdmin3,
see:

https://bugzilla.redhat.com/show_bug.cgi?id=319851
pgAdmin3 unable to run. Has relocation error - bad library

----------------------------------------------------------
In an effort to get around this problem, I tried to compile my own
version of pgadmin3 - but ran into problems:

[root@hoho2 pgadmin3-1.8.0-beta5]# cat /proc/version
Linux version 2.6.22.9-91.fc7
(kojibuilder@xenbuilder1.fedora.redhat.com) (gcc version 4.1.2 20070502
(Red Hat 4.1.2-12)) #1 SMP Thu Sep 27 23:10:59 EDT 2007


In addition to the Postgresql binaries that I have been using
successfully on this machine,

   [root@hoho2 pgadmin3-1.8.0-beta5]# rpm -q postgresql
   postgresql-8.2.4-1.fc7

I have downloaded the Fedora packages:

   [root@hoho2 pgadmin3-1.8.0-beta5]# rpm -q postgresql-devel
   postgresql-devel-8.2.4-1.fc7

   [root@hoho2 pgadmin3-1.8.0-beta5]# rpm -q wxGTK
   wxGTK-2.8.4-3.fc7

   [root@hoho2 pgadmin3-1.8.0-beta5]# rpm -q wxGTK-devel
   wxGTK-devel-2.8.4-3.fc7

   [root@hoho2 pgadmin3-1.8.0-beta5]# rpm -q wxGTK-gl
   wxGTK-gl-2.8.4-3.fc7

With pgadmin3-1.8.0-beta5, I went through the steps:
./configure
make

And encountered the error:

if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include -DSSL
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -O2 -DEMBED_XRC
-I/usr/include/libxml2 -I/usr/include/libxml2 -DDATA_DIR=
\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -Wno-non-virtual-dtor
-fno-strict-aliasing -I../pgadmin/include   -MT dlgProperty.o -MD -MP
-MF ".deps/dlgProperty.Tpo" -c -o dlgProperty.o `test -f
'./dlg/dlgProperty.cpp' || echo './'`./dlg/dlgProperty.cpp; \
        then mv -f ".deps/dlgProperty.Tpo" ".deps/dlgProperty.Po"; else
rm -f ".deps/dlgProperty.Tpo"; exit 1; fi
./dlg/dlgProperty.cpp: In constructor
‘dlgProperty::dlgProperty(pgaFactory*, frmMain*, const wxString&)’:
./dlg/dlgProperty.cpp:97: error: conversion from ‘int’ to ‘const
wxTreeItemId’ is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75: note: candidates are:
wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59: note:
wxTreeItemId::wxTreeItemId(void*)
./dlg/dlgProperty.cpp:98: error: conversion from ‘int’ to ‘const
wxTreeItemId’ is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75: note: candidates are:
wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59: note:
wxTreeItemId::wxTreeItemId(void*)
make[2]: *** [dlgProperty.o] Error 1
make[2]: Leaving directory
`/usr/local/src/pgadmin/pgadmin3-1.8.0-beta5/pgadmin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/pgadmin/pgadmin3-1.8.0-beta5'
make: *** [all] Error 2

-------

What should I do next?



view thread (7+ messages)  latest in thread

Message-ID: <1191785086.4767.16.camel@hoho2.chidig.com>
Permalink:  ../1191785086.4767.16.camel@hoho2.chidig.com/
Also on:    postgresql.org/message-id/1191785086.4767.16.camel@hoho2.chidig.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: bobgus@rcn.com
  Subject: Re: pgadmin3 on Fedora7 - can't run standard binary, can't compile from source..
  In-Reply-To: <1191785086.4767.16.camel@hoho2.chidig.com>
  References: <1191785086.4767.16.camel@hoho2.chidig.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox