Re: Scope of pgAdmin Project

Поиск
Список
Период
Сортировка
Искать

Re: Scope of pgAdmin Project

От:
"Strauch, Sheldon" <SStrauch@enovafinancial.com>
Дата:
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 the trunk and installed wxWidgets via Mac ports and attempted to compile pgAdmin. I get the following error:

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 it was configured without the --enable-unicode option, or the combination of dynamic/static linking and debug/non-debug libraries selected did not match any installed wxWidgets libraries.
Which seems not too unusual given what I found in the support archive. This is the output I get from wx-config:
sstrauch-macbook:pgadmin3 sstrauch$ wx-config --list
   Default config is mac-unicode-release-2.8
 Default config will be used for output
It seems it is built with unicode support, and isn't a debug version. Any further suggestions? Do I need to build wxWidgets from their trunk? Your help is greatly appreciated, Sheldon Strauch Sr. Database Developer sstrauch@enovafinancial.com

Re: Scope of pgAdmin Project

От:
Rick Dicaire <kritek@gmail.com>
Дата:
On Fri, Oct 21, 2011 at 7:02 PM, Strauch, Sheldon
 wrote:

> checking wxWidgets in /usr... failed

You didnt mention what ./configure args you used.

Is wxWidgets installed to /usr ?

From ./configure --help:



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=   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



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

От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
On Fri, 2011-10-21 at 19:25 -0400, Rick Dicaire wrote:
> On Fri, Oct 21, 2011 at 7:02 PM, Strauch, Sheldon
>  wrote:
> 
> > checking wxWidgets in /usr... failed
> 
> You didnt mention what ./configure args you used.
> 
> Is wxWidgets installed to /usr ?
> 
> From ./configure --help:
> 
> 
> 
> 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=   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
> 
> 
> 
> 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


FAQ