[MacPorts] #44650: port installation failed

MacPorts noreply at macports.org
Thu Aug 14 12:55:44 PDT 2014


#44650: port installation failed
-----------------------+--------------------------------
  Reporter:  ciwong@…  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.1
Resolution:  invalid   |   Keywords:
      Port:            |
-----------------------+--------------------------------
Changes (by ciserlohn@…):

 * status:  new => closed
 * resolution:   => invalid


Old description:

> Hello,
>
> I am trying to install ImageMagick, and the installation file has
> instructed me to:
>
> Install MacPorts. Download and install http://www.macports.org/ and type
> the
>   following commands:
>
>     $magick> sudo port -v install freetype +bytecode
>     $magick> sudo port -v install librsvg
>     $magick> sudo port -v install +graphviz +gs +wmf +jbig +jpeg2 +lcms
>

> I was able to install MacPorts and run the first two commands.
> When trying to run the 3rd command, I get the following error:
>
> Can't map the URL 'file://.' to a port description file ("Could not find
> Portfile in /Users/corinnewong").
> Please verify that the directory and portfile syntax are correct.
> Error: A default port name could not be supplied.
> Error: Unable to open port: Could not find Portfile in /Users/corinnewong
>
> I have a MacBook Pro with OS X version 10.8.5. I updated Xcode (v5.1.1).
> I installed MacPorts-2.3.1-10.8-MountainLion.pkg.
> Upon installation, I was getting the 'port command not found error' so I
> modified my .cshrc file with the following:
>
> set path = (/opt/local/bin/ $path)
> set path = (/opt/local/sbin/ $path)
>
> Any help would be greatly appreciated.
>
> Thank you,
> Corinne

New description:

 Hello,

 I am trying to install ImageMagick, and the installation file has
 instructed me to:

 Install MacPorts. Download and install http://www.macports.org/ and type
 the
   following commands:
 {{{
     $magick> sudo port -v install freetype +bytecode
     $magick> sudo port -v install librsvg
     $magick> sudo port -v install +graphviz +gs +wmf +jbig +jpeg2 +lcms
 }}}

 I was able to install MacPorts and run the first two commands.
 When trying to run the 3rd command, I get the following error:
 {{{
 Can't map the URL 'file://.' to a port description file ("Could not find
 Portfile in /Users/corinnewong").
 Please verify that the directory and portfile syntax are correct.
 Error: A default port name could not be supplied.
 Error: Unable to open port: Could not find Portfile in /Users/corinnewong
 }}}
 I have a MacBook Pro with OS X version 10.8.5. I updated Xcode (v5.1.1). I
 installed MacPorts-2.3.1-10.8-MountainLion.pkg.
 Upon installation, I was getting the 'port command not found error' so I
 modified my .cshrc file with the following:

 set path = (/opt/local/bin/ $path)
 set path = (/opt/local/sbin/ $path)

 Any help would be greatly appreciated.

 Thank you,
 Corinne

--

Comment:

 The third command has a superfluous {{{+}}} before the port name
 (graphivz). It should be:
 {{{
 $magick> sudo port -v install graphviz +gs +wmf +jbig +jpeg2 +lcms
 }}}
 The {{{+}}} sign denotes a port variant. Please have a look at the
 [https://guide.macports.org/#using.port guide] for help with the port
 command.

 In the future please remember to use [WikiFormatting wiki formating] and
 fill in the port field.

-- 
Ticket URL: <https://trac.macports.org/ticket/44650#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list