Thread: Problems with wxWidgets 2.6

Problems with wxWidgets 2.6

From
Vinicius Borges
Date:
Hello,<br /><br />I'm trying to install pgadmin3-1.4.3 and when I do<br /><br />$# ./configure<br /><br />appears an
error:<br/><br />...<br />checking libpq-fe.h presence... yes<br />checking for libpq-fe.h... yes<br />checking pgsql
in/usr/local/pgsql... ok<br /> checking for wxWidgets... yes<br /><br />  Warning: No config found to match:
/usr/local/bin/wx-config--cppflags --unicode=yes --debug=no --version=2.6<br />           in
/usr/local/lib/wx/config<br/>  If you require this configuration, please install the desired<br />   library build.  If
thisis part of an automated configuration<br />  test and no other errors occur, you may safely ignore it.<br />  You
mayuse wx-config --list to see all configs available in<br />  the default prefix.<br /><br /><br />  Warning: No
configfound to match: /usr/local/bin/wx-config --static=no --libs --unicode=yes --debug=no --version=2.6<br
/>          in /usr/local/lib/wx/config<br />  If you require this configuration, please install the desired<br />  
librarybuild.  If this is part of an automated configuration<br />  test and no other errors occur, you may safely
ignoreit.<br />  You may use wx-config --list to see all configs available in<br />  the default prefix.<br /><br /><br
/> Warning: No config found to match: /usr/local/bin/wx-config --static=no --libs stc,ogl --unicode=yes --debug=no
--version=2.6<br/>           in /usr/local/lib/wx/config<br />  If you require this configuration, please install the
desired<br/>   library build.  If this is part of an automated configuration<br />  test and no other errors occur, you
maysafely ignore it.<br />  You may use wx-config --list to see all configs available in<br />  the default prefix.<br
/><br/>configure: error: Your wxWidgets installation cannot support pgAdmin in the selected configuration. This may be
becauseit was configured without the --enable-unicode option, or the combination of dynamic/static linking and
debug/non-debuglibraries selected did not match any installed wxWidgets libraries.<br /><br />...<br /><br />How can I
solvethis? <br />I have installed the packages<br />-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0
-lgdk_pixbuf-2.0-lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 <br /><br />and wxWidgets 2.6.<br /><br />Thanks<br /><br /> 

Re: Problems with wxWidgets 2.6

From
Guillaume Lelarge
Date:
Le 11/03/2010 20:48, Vinicius Borges a écrit :
> Hello,
> 
> I'm trying to install pgadmin3-1.4.3 and when I do
> 

Why do you try to install pgAdmin 1.4 when the latest release is 1.10.2?

> $# ./configure
> 
> appears an error:
> 
> ...
> checking libpq-fe.h presence... yes
> checking for libpq-fe.h... yes
> checking pgsql in /usr/local/pgsql... ok
> checking for wxWidgets... yes
> 
>   Warning: No config found to match: /usr/local/bin/wx-config --cppflags
> --unicode=yes --debug=no --version=2.6
>            in /usr/local/lib/wx/config
>   If you require this configuration, please install the desired
>   library build.  If this is part of an automated configuration
>   test and no other errors occur, you may safely ignore it.
>   You may use wx-config --list to see all configs available in
>   the default prefix.
> 

It means your installed release of wxWidgets:
* doesn't support unicode (which pgAdmin needs)
* or is a debug release (and you didn't specify you want a debug release of pgAdmin)
* or is not a 2.6 release

According to the end of your message, I guess it is either 1 or 2. A
best guess is that your wxWidgets release isn't compiled with unicode
support. Can you tell us how you did configure wxWidgets?

>   Warning: No config found to match: /usr/local/bin/wx-config --static=no
> --libs --unicode=yes --debug=no --version=2.6
>            in /usr/local/lib/wx/config
>   If you require this configuration, please install the desired
>   library build.  If this is part of an automated configuration
>   test and no other errors occur, you may safely ignore it.
>   You may use wx-config --list to see all configs available in
>   the default prefix.
> 

I suppose the issue here is with unicode also.

>   Warning: No config found to match: /usr/local/bin/wx-config --static=no
> --libs stc,ogl --unicode=yes --debug=no --version=2.6
>            in /usr/local/lib/wx/config
>   If you require this configuration, please install the desired
>   library build.  If this is part of an automated configuration
>   test and no other errors occur, you may safely ignore it.
>   You may use wx-config --list to see all configs available in
>   the default prefix.
> 

I suppose the issue here is with unicode also.

I can also be that you didn't compile the contrib module of wxWidgets.

> 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.
> 
> ...
> 
> How can I solve this?

Tell us your configure line for wxWidgets. Use --enable-unicode if you
didn't.

> I have installed the packages
> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm
> -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig
> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> 
> and wxWidgets 2.6.
> 
> Thanks
> 


-- 
Guillaume.http://www.postgresqlfr.orghttp://dalibo.com


Re: Problems with wxWidgets 2.6

From
Ashesh Vashi
Date:
Hi,

Why do you want to build a older version of pgAdmin III?

Whatever..
What is the output of the following line?
"wx-config --list"

--
Ashesh Vashi
EnterpriseDB INDIA




On Fri, Mar 12, 2010 at 1:18 AM, Vinicius Borges <contatovrpb@gmail.com> wrote:
Hello,

I'm trying to install pgadmin3-1.4.3 and when I do

$# ./configure

appears an error:

...
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking pgsql in /usr/local/pgsql... ok
checking for wxWidgets... yes

  Warning: No config found to match: /usr/local/bin/wx-config --cppflags --unicode=yes --debug=no --version=2.6
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/local/bin/wx-config --static=no --libs --unicode=yes --debug=no --version=2.6
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/local/bin/wx-config --static=no --libs stc,ogl --unicode=yes --debug=no --version=2.6
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

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.

...

How can I solve this?
I have installed the packages
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 

and wxWidgets 2.6.

Thanks


Re: Problems with wxWidgets 2.6

From
Vinicius Borges
Date:
Guillaume,

when I type

#$ wx-config --unicode

  Warning: No config found to match: /usr/local/bin/wx-config --unicode
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

appears this message.

2010/3/12 Guillaume Lelarge <guillaume@lelarge.info>
Le 11/03/2010 20:48, Vinicius Borges a écrit :
> Hello,
>
> I'm trying to install pgadmin3-1.4.3 and when I do
>

Why do you try to install pgAdmin 1.4 when the latest release is 1.10.2?

> $# ./configure
>
> appears an error:
>
> ...
> checking libpq-fe.h presence... yes
> checking for libpq-fe.h... yes
> checking pgsql in /usr/local/pgsql... ok
> checking for wxWidgets... yes
>
>   Warning: No config found to match: /usr/local/bin/wx-config --cppflags
> --unicode=yes --debug=no --version=2.6
>            in /usr/local/lib/wx/config
>   If you require this configuration, please install the desired
>   library build.  If this is part of an automated configuration
>   test and no other errors occur, you may safely ignore it.
>   You may use wx-config --list to see all configs available in
>   the default prefix.
>

It means your installed release of wxWidgets:
* doesn't support unicode (which pgAdmin needs)
* or is a debug release (and you didn't specify you want a debug
 release of pgAdmin)
* or is not a 2.6 release

According to the end of your message, I guess it is either 1 or 2. A
best guess is that your wxWidgets release isn't compiled with unicode
support. Can you tell us how you did configure wxWidgets?

>   Warning: No config found to match: /usr/local/bin/wx-config --static=no
> --libs --unicode=yes --debug=no --version=2.6
>            in /usr/local/lib/wx/config
>   If you require this configuration, please install the desired
>   library build.  If this is part of an automated configuration
>   test and no other errors occur, you may safely ignore it.
>   You may use wx-config --list to see all configs available in
>   the default prefix.
>

I suppose the issue here is with unicode also.

>   Warning: No config found to match: /usr/local/bin/wx-config --static=no
> --libs stc,ogl --unicode=yes --debug=no --version=2.6
>            in /usr/local/lib/wx/config
>   If you require this configuration, please install the desired
>   library build.  If this is part of an automated configuration
>   test and no other errors occur, you may safely ignore it.
>   You may use wx-config --list to see all configs available in
>   the default prefix.
>

I suppose the issue here is with unicode also.

I can also be that you didn't compile the contrib module of wxWidgets.

> 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.
>
> ...
>
> How can I solve this?

Tell us your configure line for wxWidgets. Use --enable-unicode if you
didn't.

> I have installed the packages
> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm
> -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig
> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
>
> and wxWidgets 2.6.
>
> Thanks
>


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Re: Problems with wxWidgets 2.6

From
Vinicius Borges
Date:
Ashesh,<br /><br />It's a long history why I'm using the pgAdmin 1.4... the postgreSQL here it's 8.0.22.<br /><br
/>That'sthe output when I type<br /><br />#$ wx-config --list...<br /><br />Default config is gtk2-ansi-release-2.6<br
/><br/>  Default config will be used for output<br /><br />  Alternate matches:<br />    gtk2-ansi-release-2.8<br /><br
/><br/> 

Re: Problems with wxWidgets 2.6

From
Ashesh Vashi
Date:
pgAdmin 1.10 will satisfy your need for PostgreSQL 8.0.22.

On Fri, Mar 12, 2010 at 6:18 PM, Vinicius Borges <contatovrpb@gmail.com> wrote:
Ashesh,

It's a long history why I'm using the pgAdmin 1.4... the postgreSQL here it's 8.0.22.

That's the output when I type

#$ wx-config --list...

Default config is gtk2-ansi-release-2.6

  Default config will be used for output

  Alternate matches:
    gtk2-ansi-release-2.8
You need gtk2-unicode-release-2.6 in order to build pgAdmin III 1.4. 

--
Ashesh Vashi
EnterpriseDB INDIA