From: laredotornado on
Hi,

I'm using Mac 10.6.3. When I try and run "port install", I'm getting
this error. What does it mean and how can i resolve it? Thanks, -
Dave

davea-mbp2:bin davea$ sudo port install sshfs
Warning: No default port source specified in /opt/local/etc/macports/
sources.conf, using last source as default
Error: Unable to open port: can't read "build.cmd": Failed to locate
'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/
usr/sbin' or at its MacPorts configuration time location, did you move
it?
Error: Unable to execute port: upgrade gettext failed
To report a bug, see <http://guide.macports.org/#project.tickets>


From: Michael Kallweitt on
laredotornado wrote:

> I'm using Mac 10.6.3. When I try and run "port install", I'm getting
> this error. What does it mean and how can i resolve it? Thanks, -
> Dave
>
> davea-mbp2:bin davea$ sudo port install sshfs
> Warning: No default port source specified in /opt/local/etc/macports/
> sources.conf, using last source as default

/opt/local/etc/macports/sources.conf should contain a pointer to a MacPorts
repository. The default one (from my local sources.conf) is:

rsync://rsync.macports.org/release/ports/ [default]

> Error: Unable to open port: can't read "build.cmd": Failed to locate
> 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/
> usr/sbin' or at its MacPorts configuration time location, did you move
> it?

/usr/bin/make comes with Xcode, Apple's developer package. You can install it
from your System DVD.


--
www.wasfuereintheater.com - Neue Theaterprojekte im Ruhrpott
"As an artist, I'm reporting the big things and the small things. And
sometimes you don't know which is which." Maira Kalman,
http://bit.ly/a53n2K
From: laredotornado on
On May 24, 9:59 am, Michael Kallweitt <M.Kallwe...(a)gmx.de> wrote:
> laredotornado wrote:
> > I'm using Mac 10.6.3.  When I try and run "port install", I'm getting
> > this error.  What does it mean and how can i resolve it?  Thanks, -
> > Dave
>
> > davea-mbp2:bin davea$ sudo port install sshfs
> > Warning: No default port source specified in /opt/local/etc/macports/
> > sources.conf, using last source as default
>
> /opt/local/etc/macports/sources.conf should contain a pointer to a MacPorts
> repository.  The default one (from my local sources.conf) is:
>
> rsync://rsync.macports.org/release/ports/ [default]
>
> > Error: Unable to open port: can't read "build.cmd": Failed to locate
> > 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/
> > usr/sbin' or at its MacPorts configuration time location, did you move
> > it?
>
> /usr/bin/make comes with Xcode, Apple's developer package.  You can install it
> from your System DVD.
>
> --www.wasfuereintheater.com- Neue Theaterprojekte im Ruhrpott
> "As an artist, I'm reporting the big things and the small things. And
> sometimes you don't know which is which." Maira Kalman,http://bit.ly/a53n2K


Thanks for this. I updated the file, /opt/local/etc/macports/
sources.conf, to include your entry ...

#file:///opt/mports/trunk/dports
rsync://rsync.macports.org/release/ports/

But now the message is ...

Warning: No default port source specified in /opt/local/etc/macports/
sources.conf, using last source as default
Warning: No index(es) found! Have you synced your source indexes?

How do I sync my source indexes? Thanks, - Dave
From: JF Mezei on
laredotornado wrote:

> How do I sync my source indexes? Thanks, - Dave


I am not sure of this, but you can try:

sudo port -v sync

( "man port" gives you various options you can use, there are some
debugging and tracing options as well)
From: Michael Kallweitt on
laredotornado wrote:

> On May 24, 9:59 am, Michael Kallweitt <M.Kallwe...(a)gmx.de> wrote:
>>
>> rsync://rsync.macports.org/release/ports/ [default]
^^^^^^^^^
> Thanks for this. I updated the file, /opt/local/etc/macports/
> sources.conf, to include your entry ...
>
> #file:///opt/mports/trunk/dports
> rsync://rsync.macports.org/release/ports/
>
> But now the message is ...
>
> Warning: No default port source specified in /opt/local/etc/macports/
> sources.conf, using last source as default

Note that the default entry is to be followed by "[default]" (without the quotes).

> Warning: No index(es) found! Have you synced your source indexes?

At first, do a

sudo port -d selfupdate



--
www.wasfuereintheater.com - Neue Theaterprojekte im Ruhrpott
"As an artist, I'm reporting the big things and the small things. And
sometimes you don't know which is which." Maira Kalman,
http://bit.ly/a53n2K
 |  Next  |  Last
Pages: 1 2 3 4
Prev: disabling animaged GIFs in Safari
Next: What is This?