Difference between revisions of "Talk:Build PyCEGUI from source for Linux"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
(blather)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
== Thoughts ==
 
A good topic, one close to my heart.
 
A good topic, one close to my heart.
  
Line 10: Line 11:
 
* If 'site-packages' is not empty, that command will fail; an 'rm -r' would be necessary, but in that case it means the directory might have valuable contents.
 
* If 'site-packages' is not empty, that command will fail; an 'rm -r' would be necessary, but in that case it means the directory might have valuable contents.
 
* Which leads to my next question: is deleting that directory a good idea? Could it cause future problems with some other arbitrary piece of software?
 
* Which leads to my next question: is deleting that directory a good idea? Could it cause future problems with some other arbitrary piece of software?
 +
- [[User:Crond|Crond]] 11:30, 10 July 2011 (UTC)
 +
 +
There should be a note about this, I agree. See, here's the problem: Ubuntu installs python in a non-standard location; dist-packages. Ubuntu's python doesn't add site-packages to the python path. This hack, provided there's no valuable contents in site-packages, is perfectly safe. (I've run into the problem, and used this solution, in a lot of installs. It even works across upgrades.)
 +
 +
Basically, the crux of all of this is that contents of site-packages needs to be copied over to dist-packages first, and then those steps can be performed. I'll make a note on the page.
 +
 +
- [[User:Morgul|Morgul]] 02:10, 06 Jan 2012 (UTC)

Latest revision as of 02:10, 7 January 2012

Thoughts

A good topic, one close to my heart.

I am curious, though; in this snippet:

sudo rmdir /usr/local/lib/python2.6/site-packages sudo ln -s /usr/local/lib/python2.6/dist-packages/ /usr/local/lib/python2.6/site-packages

  • If 'site-packages' is not empty, that command will fail; an 'rm -r' would be necessary, but in that case it means the directory might have valuable contents.
  • Which leads to my next question: is deleting that directory a good idea? Could it cause future problems with some other arbitrary piece of software?

- Crond 11:30, 10 July 2011 (UTC)

There should be a note about this, I agree. See, here's the problem: Ubuntu installs python in a non-standard location; dist-packages. Ubuntu's python doesn't add site-packages to the python path. This hack, provided there's no valuable contents in site-packages, is perfectly safe. (I've run into the problem, and used this solution, in a lot of installs. It even works across upgrades.)

Basically, the crux of all of this is that contents of site-packages needs to be copied over to dist-packages first, and then those steps can be performed. I'll make a note on the page.

- Morgul 02:10, 06 Jan 2012 (UTC)