*This message was transferred with a trial version of CommuniGate(tm)
Pro*
Hi Shantonu
I followed your instructions below but at the command 'yum update' I'm
getting a:
[venus:~] root# yum update
Traceback (most recent call last):
File "/opt/local/bin/yum", line 23, in ?
import yummain
ImportError: Bad magic number in /opt/local/share/yum/yummain.pyc
Any thoughts?
This is a jaguar machine (10.2.8) and latest developer tools, and
prior to installing yum I checked out and installed the latest version
of dp.
Also I got this error below:
[venus:/opt/src] root# rpm -ivh
/opt/local/src/apple/RPMS/ppc/curl-7.10.8-0.ppc.rpm
error: failed to open /etc/mnttab: No such file or directory
Preparing...
########################################### [100%]
1:curl
########################################### [100%]
But I'm presuming that I can safely ignore this, mnttab is that a
'mount table'?
Thanks
Simon
On Thursday, February 5, 2004, at 01:14 am, Shantonu Sen wrote:
*This message was transferred with a trial version of CommuniGate(tm)
Pro*
I have the RPM 4.0.4 darwinport and yum working now. RPM 4.1 will be
updated at some point as well. In order to use this, you need to do
the following:
1) ${prefix}/bin needs to be at the front of your path.
2) "port install yum", to build all the dependencies for yum,
including python23 and rpm
3) Edit ${prefix}/bin/yum and yum-arch to use "#!/usr/bin/env python"
as the interpreter. You can use the full path to python too, but you
still need to do 1) above, because Python sucks, and searches your
$PATH to find itself when used as an interpreter. If you don't do
this, yum will crash.
4) Edit your ${prefix}/etc/yum.conf to point at an archive
5) If you do not have any RPMs installed, do:
rpm --initdb
port rpmpackage curl
rpm -ivh /opt/local/src/apple/RPMS/ppc/curl-7.10.8-0.ppc.rpm
yum needs at least one RPM installed (bad coders)
6) yum update
7) yum list
8) yum install
Shantonu
_______________________________________________
Darwinports mailing list
Darwinports@xxxxxxxxxxxxxx
http://www.opendarwin.org/mailman/listinfo/darwinports
--
Simon Cotsworth
Producer/Engineer/Programmer
==============================================
M: 07973 233390
E: simon@xxxxxxxxxxxxx
http://simon.cotsworth.com/
==============================================
_______________________________________________
Darwinports mailing list
Darwinports@xxxxxxxxxxxxxx
http://www.opendarwin.org/mailman/listinfo/darwinports