Thread: Re: Scope of pgAdmin Project

Re: Scope of pgAdmin Project

From
"Strauch, Sheldon"
Date:
Hi,

I am very much interested in using the Entity-Relationship tools that are set to come out in 1.16. I cloned a copy of
thetrunk and installed wxWidgets via Mac ports and attempted to compile pgAdmin. I get the following error: 

<pre>
checking wxWidgets version... ok
checking wxWidgets in /usr... failed
configure: error: Your wxWidgets installation cannot support pgAdmin in the selected configuration. This may be because
itwas configured without the --enable-unicode option, or the combination of dynamic/static linking and debug/non-debug
librariesselected did not match any installed wxWidgets libraries. 
</pre>

Which seems not too unusual given what I found in the support archive. This is the output I get from wx-config:

<pre>
sstrauch-macbook:pgadmin3 sstrauch$ wx-config --list
   Default config is mac-unicode-release-2.8
 Default config will be used for output
</pre>

It seems it is built with unicode support, and isn't a debug version. Any further suggestions? Do I need to build
wxWidgetsfrom their trunk? 

Your help is greatly appreciated,

Sheldon Strauch
Sr. Database Developer
sstrauch@enovafinancial.com





Re: Scope of pgAdmin Project

From
Rick Dicaire
Date:
On Fri, Oct 21, 2011 at 7:02 PM, Strauch, Sheldon
<SStrauch@enovafinancial.com> wrote:

> checking wxWidgets in /usr... failed

You didnt mention what ./configure args you used.

Is wxWidgets installed to /usr ?

From ./configure --help:

<SNIP>

Optional Packages: --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] --without-PACKAGE       do not use PACKAGE (same as
--with-PACKAGE=no)--with-pgsql=DIR      root directory for PostgreSQL installation --with-arch-i386      include an
i386image in an OS X Universal build --with-arch-x86_64    include an x86_64 image in an OS X Universal build
--with-arch-ppc      include a PPC image in an OS X Universal build --with-arch-ppc64     include a PPC64 image in an
OSX Universal build --with-wx-version=<version>   the wxWidgets version in major.minor
 
format (default: 2.8) --with-wx=DIR         root directory for wxWidgets installation --with-libxml2=DIR    root
directoryfor libxml2 installation --with-libxslt=DIR    root directory for libxslt installation
 

<SNIP>

Try with --with-wx=DIR root directory for wxWidgets installation.
If macports is anything like FreeBSD ports, that'd be /usr/local, not /usr

-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u


Re: Scope of pgAdmin Project

From
Guillaume Lelarge
Date:
On Fri, 2011-10-21 at 19:25 -0400, Rick Dicaire wrote:
> On Fri, Oct 21, 2011 at 7:02 PM, Strauch, Sheldon
> <SStrauch@enovafinancial.com> wrote:
> 
> > checking wxWidgets in /usr... failed
> 
> You didnt mention what ./configure args you used.
> 
> Is wxWidgets installed to /usr ?
> 
> From ./configure --help:
> 
> <SNIP>
> 
> Optional Packages:
>   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
>   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
>   --with-pgsql=DIR      root directory for PostgreSQL installation
>   --with-arch-i386      include an i386 image in an OS X Universal build
>   --with-arch-x86_64    include an x86_64 image in an OS X Universal build
>   --with-arch-ppc       include a PPC image in an OS X Universal build
>   --with-arch-ppc64     include a PPC64 image in an OS X Universal build
>   --with-wx-version=<version>   the wxWidgets version in major.minor
> format (default: 2.8)
>   --with-wx=DIR         root directory for wxWidgets installation
>   --with-libxml2=DIR    root directory for libxml2 installation
>   --with-libxslt=DIR    root directory for libxslt installation
> 
> <SNIP>
> 
> Try with --with-wx=DIR root directory for wxWidgets installation.
> If macports is anything like FreeBSD ports, that'd be /usr/local, not /usr
> 

My guess is that it lacked the --with-wx switch. And make sure you don't
try to compile the debug version as it is not a debug version of
wxWidgets.


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com