[MacPorts] #66690: ghc-prebuilt @9.4.4_0: configure fails with "sh: ./configure: No such file or directory"

MacPorts noreply at macports.org
Thu Feb 2 17:08:47 UTC 2023


#66690: ghc-prebuilt @9.4.4_0: configure fails with "sh: ./configure: No such file
or directory"
---------------------------+-----------------------
  Reporter:  larryv        |      Owner:  essandess
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.99
Resolution:                |   Keywords:
      Port:  ghc-prebuilt  |
---------------------------+-----------------------

Comment (by Leucanthemum):

 I could work around this problem by deleting the empty directory ghc-9.4.4
 replacing it with a symbolic link to ghc-9.4.4-aarch64-apple-darwin. (You
 should try this only on a developer system, because I don't know if this
 is a good idea)

 1. change to directory
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc
 /ghc-prebuilt/work

 2. delete directory ghc-9.4.4
 sudo rmdir ghc-9.4.4

 3. set symlink
 sudo ln -s ghc-9.4.4-aarch64-apple-darwin ghc-9.4.4

 4. next try to install pandoc
 sudo install pandoc

 now ghc-prebuilt is installed.

 And now the bad news:
 After installing some other dependencies, the process stops again, when it
 trys to install the port cabal, where the gets stuck during the applying
 patches process (unfortunately without any error message)

-- 
Ticket URL: <https://trac.macports.org/ticket/66690#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list