CONTENTS
Lastmodified 2024-01-26 (金) 09:34:52
freetds を portupgrade すると、
===> Registering installation for freetds-1.3.10,1 as automatic pkg-static: Unable to access file /usr/ports/databases/freetds/work/stage/usr/local/include/odbcss.h:No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/databases/freetds *** Error code 1
と言われてしまう。
ということで、freetds-devel というのを試してみる。
ま、案の定w?
===> Registering installation for freetds-devel-1.3.40,1 Installing freetds-devel-1.3.40,1... pkg-static: freetds-devel-1.3.40,1 conflicts with freetds-1.3.9,1 (installs files into the same place). Problematic file: /usr/local/bin/bsqldb *** Error code 1 Stop. make[2]: stopped in /usr/ports/databases/freetds-devel *** Error code 1 Stop. make[1]: stopped in /usr/ports/databases/freetds-devel *** Error code 1 Stop. make: stopped in /usr/ports/databases/freetds-devel ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20220426-28641-1xtdveb env make reinstall ** Fix the installation problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/freetds-devel (install error)
root@smb212:/usr/local/www/OpenPNE # pkg delete freetds-1.3.9,1 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 3 packages (of 0 packages in the universe): Installed packages to be REMOVED: freetds: 1.3.9,1 php80-extensions: 1.1 php80-pdo_dblib: 8.0.18 Number of packages to be removed: 3 The operation will free 15 MiB. Proceed with deinstalling packages? [y/N]: y
[1/3] Deinstalling php80-extensions-1.1... [2/3] Deinstalling php80-pdo_dblib-8.0.18... [2/3] Deleting files for php80-pdo_dblib-8.0.18: 100% [3/3] Deinstalling freetds-1.3.9,1... [3/3] Deleting files for freetds-1.3.9,1: 100%
status of this software, see the following webpage: http://www.freetds.org/ ===> Cleaning for freetds-devel-1.3.40,1
# cd /usr/ports/lang/php80-extensions # make install clean
これで、php80-pdo_dblib も一緒にインストールされる。
freetds がupgrade できない件は一件落着か?
pkg delete freetds-1.3.9,1 portinstall freetds-devel cd /usr/ports/lang/php80-extensions && make reinstall clean or cd /usr/ports/lang/php74-extensions && make reinstall clean
Total access 773:本日 1:昨日 2