install wxPython on redhat 9

can u locate gkt-config using locate or find? I think
if its there so
the library path has to be added in ld.so.conf if im
not mistaken :smiley:

danu

CL WU wrote:

Hi, group,

            Recently I tried to build latest

wxPython on new upgraded

Redhat 9, but I got these error at configure step:

$./configure --prefix=$HOME --with-gtk

--enable-geometry

checking for GTK+ version...

checking for gtk-config... no

checking for GTK - version >= 1.2.7... no

*** The gtk-config script installed by GTK could not

be found

*** If GTK was installed in PREFIX, make sure

PREFIX/bin is in

*** your path, or set the GTK_CONFIG environment

variable to the

*** full path to gtk-config.

checking for gtk-config... (cached) no

checking for GTK - version >= 1.2.3... no

*** The gtk-config script installed by GTK could not

be found

*** If GTK was installed in PREFIX, make sure

PREFIX/bin is in

*** your path, or set the GTK_CONFIG environment

variable to the

*** full path to gtk-config.

configure: error:

Please check that gtk-config is in path, the

directory

where GTK+ libraries are installed (returned by

'gtk-config --libs' command) is in LD_LIBRARY_PATH

or

equivalent variable and GTK+ is version 1.2.3 or

above.

I think GTK 1.2 and GTK 2 are part of RH9 already,

but I didn't find

"gtk-config" at "/usr/bin". I also tried adding

"--disable-gtktest", but

didn't change anything.

I built wxPython without any problem on Redhat 7.1

before upgrade using

···

the same way.

Could anybody give me a help here? Thanks a lot.

Chunlei

---------------------------------------------------------------------

To unsubscribe, e-mail:

wxPython-users-unsubscribe@lists.wxwindows.org

For additional commands, e-mail:

wxPython-users-help@lists.wxwindows.org

__________________________________________________
Do You Yahoo!?
Faster. Easier. Search Contest.

I cannot find 'gtk-config' by:
$find /usr -name gtk-config
or
$find /lib -name gtk-config

but I hope this info may be useful:
$find /usr/ -name gtk\*.\*
.....
/usr/bin/gtk-query-immodules-2.0
/usr/lib/pkgconfig/gtk-engines-2.pc
/usr/lib/pkgconfig/gtk-thinice-engine-2.pc
/usr/lib/gtk-2.0
/usr/share/doc/gtk+-1.2.10
/usr/share/doc/gtk2-2.2.1
/usr/share/gtk-2.0
....
(i remove a lot output for gtk related doc file)

Thanks.

Chunlei

danu kusmana wrote:

···

can u locate gkt-config using locate or find? I think
if its there so the library path has to be added in ld.so.conf if im
not mistaken :smiley:

danu

CL WU wrote:

Hi, group,

           Recently I tried to build latest
   

wxPython on new upgraded

Redhat 9, but I got these error at configure step:

$./configure --prefix=$HOME --with-gtk
   

--enable-geometry

checking for GTK+ version...

checking for gtk-config... no

checking for GTK - version >= 1.2.7... no

*** The gtk-config script installed by GTK could not
   

be found

*** If GTK was installed in PREFIX, make sure
   

PREFIX/bin is in

*** your path, or set the GTK_CONFIG environment
   

variable to the

*** full path to gtk-config.

checking for gtk-config... (cached) no

checking for GTK - version >= 1.2.3... no

*** The gtk-config script installed by GTK could not
   

be found

*** If GTK was installed in PREFIX, make sure
   

PREFIX/bin is in

*** your path, or set the GTK_CONFIG environment
   

variable to the

*** full path to gtk-config.

configure: error:

Please check that gtk-config is in path, the
   

directory

where GTK+ libraries are installed (returned by

'gtk-config --libs' command) is in LD_LIBRARY_PATH
   

or

equivalent variable and GTK+ is version 1.2.3 or
   

above.

I think GTK 1.2 and GTK 2 are part of RH9 already,
   

but I didn't find

"gtk-config" at "/usr/bin". I also tried adding
   

"--disable-gtktest", but

didn't change anything.

I built wxPython without any problem on Redhat 7.1
   

before upgrade using

the same way.

Could anybody give me a help here? Thanks a lot.

Chunlei

---------------------------------------------------------------------

To unsubscribe, e-mail:
   

wxPython-users-unsubscribe@lists.wxwindows.org

For additional commands, e-mail:
   

wxPython-users-help@lists.wxwindows.org

__________________________________________________
Do You Yahoo!?
Faster. Easier. Search Contest. Yahoo is part of the Yahoo family of brands

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

I cannot find 'gtk-config' by:
$find /usr -name gtk-config
or
$find /lib -name gtk-config

Is the gtk+-devel package installed?
Something like

rpm -q gtk+-devel

should tell that.

Hope this helps.

···

--

  Anakim Border
  aborder@users.sourceforge.net
  http://pydc.sf.net

I checked. Both gtk+-devel and gtk2-devel were not installed. I think that's the reason.

I don't have the administrator privilege. I am wondering if it's possible install these packages under my home directory. Sorry for those beginner's questions.

Thanks.

Chunlei

Anakim Border wrote:

···

I cannot find 'gtk-config' by:
$find /usr -name gtk-config
or
$find /lib -name gtk-config
   
Is the gtk+-devel package installed?
Something like

rpm -q gtk+-devel

should tell that.

Hope this helps.

--

Anakim Border
aborder@users.sourceforge.net
http://pydc.sf.net

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

I don't have the administrator privilege. I am wondering if it's
possible install these packages under my home directory. Sorry for those
beginner's questions.

You can do that using sources. Download GTK+ tarball, extract it somewhere and
run

./configure --prefix=$HOME/something
make
make install

At that point you'll need to update environment variables:

export PATH=$HOME/something/bin:$PATH
export LD_LIBRARY_PATH=$HOME/something/lib:$LD_LIBRARY_PATH

(since you'll need that for the time being, I suggest you place those two
lines in your ~/.bashrc or equivalent config file)

···

--
  Anakim Border
  aborder@users.sourceforge.net
  http://pydc.sf.net