#44650 closed defect (invalid)
port installation failed
Reported by: | ciwong@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ci42)
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
Change History (3)
comment:1 Changed 10 years ago by ci42
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 10 years ago by ci42
The commands you've posted doesn't even install ImageMagick. They install freetype, librsvg and graphviz.
To install ImageMagick you can just run:
$magick> sudo port install ImageMagick
Or if you need graphvis support:
$magick> sudo port install ImageMagick +graphviz
comment:3 Changed 10 years ago by larryv (Lawrence Velázquez)
Specifically, MacPorts interprets this…
Replying to ciwong@…:
$magick> sudo port -v install +graphviz +gs +wmf +jbig +jpeg2 +lcms
…as a command to install a port from the current directory (the default behavior if no port name is specified) with the graphviz
, gs
, wmf
, jbig
, jpeg2
, and lcms
variants enabled.
The third command has a superfluous
+
before the port name (graphivz). It should be:The
+
sign denotes a port variant. Please have a look at the guide for help with the port command.In the future please remember to use wiki formating and fill in the port field.