I looked in /var/log/ but there isn't any log files that records ports log, and I just found this person asking the same thing in other forum and get an answer which stating there is no such file. If that's the case how should I read error messages? with more?
Freebsd – find a log file that logs ports error messages in FreeBSD
bsd-portsfreebsd
Best Answer
There's
script(1)
command which makes typescript of terminal session:Then you can read the log:
If you omit the argument
file
, thenscript
saves all dialogue in the filetypescript
.Hope that helps.