IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Trying to install pywxwindows on RHEL3
And it sucks big time.

After numerous builds of python 2.4.3, the python -v continues to report 2.2. Until I get a new shell and pitch the old one. WTF?

It says I need glib1.1.10 so I built and installed it
gtk+1.2.10 - built and installed
python 2.4.3 - built and installed - but it keeps referencing /usr/lib/python2.2 - so I nuked it and rebuilt and installed. Seems to run.
wxGTK2.6.3 - this seems to be based on GTK1 - most things seem to want 2 - but I can't find 2 anywhere.

finally wxPython-src2.6.3.2 I fiddle the config to want gtk1 and try to build. I get

% sudo python setup.py install
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "setup.py", line 14, in ?
import sys, os
ImportError: No module named os

There must be an easier way.
% uname -a
Linux desktop 2.4.21-31.ELa1 #1 Tue Apr 26 17:11:31 PDT 2005 i686 i686 i386 GNU/Linux

Tips appreciated.



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New I'm not sure what you're trying to do.
Do you mean [link|http://www.wxpython.org/what.php|wxpython] rather than [link|http://www.google.com/search?q=pywxwindows&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official|pywxwindows]?

None of the various RPMs for wxpython for RedHat or Fedora work?

Re the GTK issues, [link|http://www.wxpython.org/recentchanges.php|Version 2.6.0.0] introduced a revised flag for changing between gtk 1.2 and gtk 2.x. You can get gtk 2.x [link|http://www.gtk.org/download/|here].

I'm just a gtk user who has played around a little with wxpython with ActiveState's [link|http://activestate.com/Products/ActivePython/more_information.plex|ActivePython] distro on win32. There's a Linux version as well. ActiveState seems to bundle everything one needs to get started, so it might be less painful to try their distro.

HTH a bit. Luck!

Cheers,
Scott.
New Trying to get wxpython working
and so far - none of the installations seems to be working.

Let me pause and rant briefly about installations that require me to follow dependency trees 17 levels deep and 6 levels wide. No wonder linux still loses on the desktop.

I have a RHEL3 system. Can't upgrade it. I'd install the windows binaries - only I don't have admin rights on windows.

So I thought I'd forge ahead with my proof of concept prototype on linux. But I've got 3 days of downloading and typing ./configure; make; sudo make install and still it doesn't work.

The mac install went great. I'll bet the windows install probably works fine too. The unix install has too many moving parts (and just upgrading python from 2.2 to 2.4 doesn't work).




[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Seems like a RH issue, not a Linux issue
Took a couple of apt-gets on Debian and I got it up and running.

Actually, when the glibc upgrade hit it scared the crap out of me.
Can't get much more low level than that, unless you are swapping out a kernel.

Is Debian an option for you?

New No other system is an option
its RHEL3 or nothing.

I figured on needing to build from source - but I expect source builds to work. They mostly pretend to - but don't.

Python building from source doesn't seem to install properly as it keeps digging back into 2.2 libs for various things when I'm building 2.4




[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Check the comments here.
[link|http://www.activegrid.com/try/idereadme.php|Active Grid] readme for the IDE. It has a lot of comments about getting Python running on RHEL3, and on installing wxPython.

HTH.

Cheers,
Scott.
(Who's glad he's never been tempted to run RedHat. ;-)
New Have you checked that the 'wrong' RPMs are removed?
We had that sort of problem with MySQL. The RH one was the wrong version and something that wanted the libraries kept picking the wrong include files. Because we were running MySQL from a tarball, we just removed the RPMs for the other version and redirected the other thing and it worked.

Wade.
"Insert crowbar. Apply force."
New Never mind
I found it -e (for erase?).

Only it can't do it - because about 20+ packages depend on it. Brilliant dependency management there. Freakin' great.

And there is no rpm upgrade package available so I guess I'm going to abandon this adventure. Thanks for the help.



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
Expand Edited by tuberculosis May 17, 2006, 01:00:45 PM EDT
New File a bug.
Not that that will fix it, but if you don't tell them, they won't know.

Wade.
"Insert crowbar. Apply force."
New With/against who?
wxPython? RedHat?



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Don't bother
RH: We support what is on our supported list.
WxPython: We TOLD you, you just need to replace lib x with lib y and it should work fine.
RH: If you replace lib x with lib y, then all the software we tested and support will no longer be supported. While it may work, don't bother calling us if it doesn't.

I've run into this situation several times. It is FAR easier (in my case) to get dispensation to run a Debian box for my projects than force our RH boxes to run them. The general rule is if it needs any vendor support it goes on the RH. If it doesn't, we try to place it on RH but we can then fall back.
New My point still stands.
Even if they have no interest in fixing any level of that specific problem, sooner or later someone will ask "how many bugs did we close that we don't want to or can't fix?". That, IMO, is why you should file a bug with RH.

Wade.
"Insert crowbar. Apply force."
New Bollocks.
The main reason I switched from RH to Debian (back in '02) was the following...I had a circular dependency situation going on between three different libs. No, I don't remember what they were. Basically, I couldn't install the latest version of some package because that would remove the older package, upon which other software relied upon that version and that version only.

Over the course of 6 months, I filed at least 3 bug reports with RH and up2date and wherever else I could find to submit bugs with these RPM packages.

None of them was ever even acknowledged -- much less "closed because [they] don't wanna look at it."

Once fed up enough, I switched from RH to Debian and haven't looked back.

Nothing I have heard in the intervening time makes me believe that RH has fixed ant of these problems inherent to the RPM review/dependency process. (NOTE: I'm not saying that it's the RPM format itself. It just all goes back to Debian's policy, and RPM-based-architectures' lack thereof.)
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New Ubuntu is also Python-friendly
Not that that helps here, alas.
New It's mostly an RH issue.
We see the same things on our RHEL servers. If it wasn't released with that version of RHEL, you get to compile from source and then it's a crap shoot.

Up2Date isn't any help - it seems RH want you to upgrade to a later EL! This causes considerable problems with dependancies, as you've discovered.

Wade.
"Insert crowbar. Apply force."
Expand Edited by static May 16, 2006, 10:25:10 PM EDT
New Sigh, looks like python isn't in the solution set then
back to the web browsers I guess.




[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New It's already been said, but RH != linux
I hate RedHat for getting things going.

The python install on Macs sucks compared to Ubuntu or Debian. I still haven't managed to get pygame running on my Mini for my son to try out.

(*goes to see what the package is named and install it*)

Oooers, wxPython is already installed on my Ubuntu box. Well, that makes it even easier. ;-)

You should probably stop with the ridiculous generalizations about Linux...
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Just makes the whole thing a balkanized nightmare
Because as far as I (and the average consumer) can see - its all linux.

No wonder it doesn't catch on among the masses.



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New *shrug*
Personally I don't care if ignorant people don't use Linux as a desktop. Makes not the slightest difference to my usage whatsoever.

And if you still see it as "all linux" then you're being willfully ignorant, since you've already been disabused of that notion here.

One final note, as far as "catching on among the masses" goes: at my company on the great unwashed retail sites we get about 25% more Linux users than Mac users.

What was that I was saying about you and generalizations? Oh yeah, don't do that.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New The opposite is true here wrt ratios



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New Even so...
It's hardly enough of a difference to make a stink over, non?
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New RedHat/CentOS/SuSE != Linux as a whole.
No wonder they are not the desktop of choice.

Debian and Ubuntu work wonders.

Pretty much, if it is in use and popular, it is in Debian (and mostly Ubuntu)

It just effing works.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
New Haha. You said tips...
With that Distro it is black magic to get it right.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Freedom is not FREE.
Yeah, but 10s of Trillions of US Dollars?
SELECT * FROM scog WHERE ethics > 0;

0 rows returned.
     Trying to install pywxwindows on RHEL3 - (tuberculosis) - (22)
         I'm not sure what you're trying to do. - (Another Scott) - (20)
             Trying to get wxpython working - (tuberculosis) - (19)
                 Seems like a RH issue, not a Linux issue - (broomberg) - (10)
                     No other system is an option - (tuberculosis) - (8)
                         Check the comments here. - (Another Scott)
                         Have you checked that the 'wrong' RPMs are removed? - (static) - (6)
                             Never mind - (tuberculosis) - (5)
                                 File a bug. - (static) - (4)
                                     With/against who? - (tuberculosis) - (3)
                                         Don't bother - (broomberg) - (2)
                                             My point still stands. - (static) - (1)
                                                 Bollocks. - (Yendor)
                     Ubuntu is also Python-friendly - (dws)
                 It's mostly an RH issue. - (static) - (1)
                     Sigh, looks like python isn't in the solution set then - (tuberculosis)
                 It's already been said, but RH != linux - (admin) - (4)
                     Just makes the whole thing a balkanized nightmare - (tuberculosis) - (3)
                         *shrug* - (admin) - (2)
                             The opposite is true here wrt ratios -NT - (tuberculosis) - (1)
                                 Even so... - (admin)
                 RedHat/CentOS/SuSE != Linux as a whole. - (folkert)
         Haha. You said tips... - (folkert)

The Doctor is IN.
193 ms