2021年12月28日
父の葬儀と相続の記録 その5(最後)
2021年12月27日
Safariの仕様(スマート検索フィールドに入れた検索ワードの一部が…表示になる件)

2021年12月07日
GnuCashを使う~ Monterey + MacPorts + XCode betaでやるもうまくいかない
$ sudo port install gnucash
Error:
Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error: sudo xcode-select -switch /Users/xxxxx1/Downloads/Xcode-beta.app/Contents/Developer # version 13.2
Error:
Error: Port gnucash requires a full Xcode installation, which was not found on your system.
Error: You can install Xcode from the Mac App Store or https://developer.apple.com/xcode/
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port gnucash failed
となったので、以下を入力
$ sudo xcode-select -switch /Users/xxxxx1/Downloads/Xcode-beta.app/Contents/Developer
その後、$ sudo port install gnucash
---> Computing dependencies for gnucashWarning: cltversion: The Command Line Tools are installed, but MacPorts cannot determine the version.
Warning: cltversion: For a possible fix, please see: https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
The following dependencies will be installed:
Xft2
(中略)
zstd
Continue? [Y/n]: y
#ここでyをタイプして続けたログのWarning、Error、Failedとある部分抜粋。ここがうまくいってないところ?
---> Cleaning xpm
Warning: The macOS 12 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
---> Fetching archive for gd2
---> Attempting to fetch gd2-2.3.3_1+x11.darwin_21.arm64.tbz2 from https://packages.macports.org/gd2
---> Attempting to fetch gd2-2.3.3_1+x11.darwin_21.arm64.tbz2 from https://kmq.jp.packages.macports.org/gd2
---> Attempting to fetch gd2-2.3.3_1+x11.darwin_21.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/gd2
---> Fetching distfiles for gd2
---> Attempting to fetch libgd-2.3.3.tar.xz from https://distfiles.macports.org/gd2
---> Verifying checksums for gd2
---> Extracting gd2
---> Applying patches to gd2
---> Configuring gd2
Error: Failed to configure gd2: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3/config.log
Error: Failed to configure gd2: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gnucash failed
---> Some of the ports you installed have notes:
dbus has the following notes:
Startup items (named 'dbus-system, dbus-session') have been generated that will aid in starting dbus with
launchd. They are disabled by default. Execute the following command to start them, and to cause them to
launch at startup:
sudo port load dbus
libpsl has the following notes:
libpsl API documentation is provided by the port 'libpsl-docs'.
lzma has the following notes:
The LZMA SDK program is installed as "lzma_alone", to avoid conflict with LZMA Utils
python27 has the following notes:
To make this the default Python or Python 2 (i.e., the version run by the 'python' or 'python2' commands),
run one or both of:
sudo port select --set python python27
sudo port select --set python2 python27
python39 has the following notes:
To make this the default Python or Python 3 (i.e., the version run by the 'python' or 'python3' commands),
run one or both of:
sudo port select --set python python39
sudo port select --set python3 python39
(base)
2021年12月03日
GnuCashをM1 MacBook Airで使う(その1)
sudo cpan -i B::Keywords
sudo cpan -i Test2
sudo cpan -i DateTime
sudo cpan -i DateTime::Locale
sudo cpan -i DateTime::Format::Strptime
sudo cpan -i Mozilla::CA