Discussion:
A newbie question about installing ports
Leung, John C.H.
2012-09-13 19:54:51 UTC
Permalink
Hi,

I'm pretty new to using MacPorts. I've installed MacPorts using the Mac OS X Installer and I was trying to install the "openssl 1.0.1c" port listed in the available ports section. When I clicked on the link, it brings me to a page listing a portfile (I think?). But I have no idea how I'm supposed to install that. Any help is appreciated.

John
Jeremy Lavergne
2012-09-13 19:55:49 UTC
Permalink
I’m pretty new to using MacPorts. I’ve installed MacPorts using the Mac OS X Installer and I was trying to install the “openssl 1.0.1c” port listed in the available ports section. When I clicked on the link, it brings me to a page listing a portfile (I think?). But I have no idea how I’m supposed to install that. Any help is appreciated.
MacPorts is a command line program; you'll need to run it in Terminal.


`sudo port install openssl`
Leung, John C.H.
2012-09-13 19:58:43 UTC
Permalink
I tried that. I got back:

Error: Port openssl not found

Am I missing something?


-----Original Message-----
From: Jeremy Lavergne [mailto:***@lavergne.gotdns.org]
Sent: September-13-12 12:56 PM
To: Leung, John C.H.
Cc: macports-***@lists.macosforge.org
Subject: Re: A newbie question about installing ports
Post by Leung, John C.H.
I'm pretty new to using MacPorts. I've installed MacPorts using the Mac OS X Installer and I was trying to install the "openssl 1.0.1c" port listed in the available ports section. When I clicked on the link, it brings me to a page listing a portfile (I think?). But I have no idea how I'm supposed to install that. Any help is appreciated.
MacPorts is a command line program; you'll need to run it in Terminal.


`sudo port install openssl`
Jeremy Lavergne
2012-09-13 19:59:57 UTC
Permalink
Post by Leung, John C.H.
Error: Port openssl not found
Am I missing something?
Hmm, was that the only message? If it can't find things that makes it sound like it doesn't have an index of the ports available and should say something.

`sudo port selfupdate` and then try the install command again?
Leung, John C.H.
2012-09-13 20:20:10 UTC
Permalink
Post by Jeremy Lavergne
Hmm, was that the only message? If it can't find things that makes it
sound like it doesn't have an index of the ports available and should say something.
? `sudo port selfupdate` and then try the install command again?

I have problem with 'sudo port selfupdate' as well. Here's what I have if I used the -d to get more info:

For 'sudo port -d install openssl', I have:

DEBUG: Copying /Users/JohnLeung/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
Error: Port openssl not found


For 'sudo port -d selfupdate', I have:
DEBUG: Copying /Users/JohnLeung/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
---> Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base/tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
DEBUG: Error synchronizing MacPorts sources: command execution failed
While executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
Jeremy Lavergne
2012-09-13 20:23:41 UTC
Permalink
Post by Leung, John C.H.
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base/tar/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Ah, your network blocks rsync. That's annoying.

You can try using SVN instead:
http://trac.macports.org/wiki/howto/SyncingWithSVN

Continue reading on narkive:
Loading...