Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Portage on Other Distros
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Wed Jan 21, 2004 3:03 am    Post subject: Reply with quote

TwoSlick wrote:

EDIT****** Darn! I just realized you need to be root to use chroot. Any ideas on how to get around this?

- TwoSlick

I just found out that "ROOT=/opt emerge -p -O zlib" installs just zlib package in /opt, with its own /opt/usr, /opt/bin, /opt/var, /opt/etc ...etc., with its own separate database. If you can handle /opt/etc/env.d and /opt/etc/ld.so.conf, you can be the king of your portage system!! Good news for users who don't have root access!
Back to top
View user's profile Send private message
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Fri Jan 30, 2004 1:45 pm    Post subject: setup.py install fails Reply with quote

I am following the instructions given by devsk but I am getting the following when I do the setup.py install
Code:

kyle:/usr/src/portage-2.0.49-r21/src/python-missingos # ./setup.py install
running install
Traceback (most recent call last):
  File "./setup.py", line 22, in ?
    url = "",
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/core.py", line 138, in setup
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/dist.py", line 893, in run_commands
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/dist.py", line 912, in run_command
  File "/usr/lib/python2.2/cmd.py", line 112, in ensure_finalized
    line = self.cmdqueue[0]
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/command/install.py", line 267, in finalize_options
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/sysconfig.py", line 421, in get_config_vars
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/sysconfig.py", line 326, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.2/config/Makefile (No such file or directory)


I have tried touching the missing make file but that didn't help I got the following then
Code:

kyle:/usr/src/portage-2.0.49-r21/src/python-missingos # ./setup.py install
running install
running build
running build_ext
Traceback (most recent call last):
  File "./setup.py", line 22, in ?
    url = "",
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/core.py", line 138, in setup
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/dist.py", line 893, in run_commands
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/dist.py", line 913, in run_command
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/command/install.py", line 491, in run
  File "/usr/lib/python2.2/cmd.py", line 330, in run_command
    print "\n"
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/dist.py", line 913, in run_command
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/command/build.py", line 107, in run
  File "/usr/lib/python2.2/cmd.py", line 330, in run_command
    print "\n"
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/dist.py", line 913, in run_command
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/command/build_ext.py", line 231, in run
  File "/var/tmp/python-2.2.2-build//usr/lib/python2.2/distutils/sysconfig.py", line 142, in customize_compiler
TypeError: unsupported operand types for +: 'NoneType' and 'str'


Anyone any ideas?

I am doing this on Suse 8 installed straight from the cd's without real changes. I am using
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
could this be a problem (not with this but other things?
Back to top
View user's profile Send private message
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Fri Jan 30, 2004 3:26 pm    Post subject: fixed it Reply with quote

Suse doesn't install the python dev libraries as default, as soon as I added those it worked!
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum