Assume the name of the package that gets stuck in configuration is NAME. Below are the steps that I performed as a workaround.
-
Go to the package folder in the working directory. The full path can be obtained from port with debugging messages (-d).
# cd ......
- Configure the package manually. The full configuration command can be obtained from port with debugging messages (-d).
# ./configure ......
- Go to the working directory.
# cd `port work NAME`
- Modify
.macports.NAME.state
by appending the following line.target: org.macports.configure
- Install the package via port.
# port -d install NAME
/usr/bin/make -j2 -w all
, appended target: org.macports.build
to .macports.bison.state
, and then installed bison successfully.
2 意見:
hey man, you really should use brew, and brew tap that place https://github.com/mht208/homebrew-formal
That is created by me.
張貼留言