Opened 2 years ago

Closed 2 years ago

#66191 closed defect (invalid)

xfig installation problem on mac running Monterey OS

Reported by: ssuslov7 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ssuslov7@…
Port: xfig

Description

Hi,

I tried to install xfig on my iMac (Retina 5K, 27-inch, Late 2015) running macOS Monterey version 12.6.1 by completing the following steps:

  1. Downloaded xfig from https://sourceforge.net/projects/mcj/ and unpacked the downloaded tarball in the Downloads directory on my Mac.
  2. Installed Xcode and the xcode Command line tools from the app store https://apps.apple.com/us/app/xcode/id497799835
  3. Executed the command "sudo xcodebuild -license" in the terminal window and agreed to Xcode license terms and conditions
  4. Installed MacPorts for Monterey from https://github.com/macports/macports-base/releases/download/v2.8.0/MacPorts-2.8.0-12-Monterey.pkg
  5. Executed "sudo port install xfig" in the terminal window.

At this point, I am getting a message: "Error: Port xfig not found".

Am I supposed to move files downloaded in step 1 to any specific directory? Am I supposed to issue the step 5 command inside that or some other specific directory? Is there anything I am doing incorrectly in the above steps? Thank you.

Change History (4)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Keywords: xfig installation problem Monterey removed

Step 1 is not needed; MacPorts will download the needed files when you install a port.

It looks like you don't have a ports tree installed. Can you run sudo port selfupdate?

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Cc: ssuslov7@… added; ssuslov7@… installation pr removed

comment:3 Changed 2 years ago by ssuslov7

Thank you, sudo port -v selfduplicate also returns an error message:

--->  Updating MacPorts base sources using rsync
rsync: read error: Operation timed out (60)
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Library/Caches/com.apple.xbs/Sources/rsync/rsync/io.c(604) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzvl --delete-after --include=/base.tar --include=/base.tar.rmd160 --exclude=* rsync://rsync.macports.org/macports/release/tarballs/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
Exit code: 12
Error: Error synchronizing MacPorts sources: command execution failed
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
Last edited 2 years ago by jmroot (Joshua Root) (previous) (diff)

comment:4 Changed 2 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

OK, looks like your network is not allowing access to our rsync server for some reason. That would explain why the installer was not able to download the ports tree. Please see wiki:FAQ#selfupdatefails for your options in this situation.

I'm closing this ticket since this is not a bug in the port. If you need help with using MacPorts, please use one of the channels listed at https://www.macports.org/contact.php.

Note: See TracTickets for help on using tickets.