CONTENTS
Lastmodified 2024-01-26 (金) 09:34:52
portversion -vl'<' すると、
freetds-devel-1.3.40,1 < needs updating (port has 1.3.118,1)
と言われるので
portupgrade -r freetds-devel-1.3.40,1
すると、freetds の時と同じエラーがでるようになった。
===> Installing for freetds-devel-1.3.118,1 ===> Checking if freetds-devel is already installed ===> Registering installation for freetds-devel-1.3.118,1 pkg-static: Unable to access file /usr/ports/databases/freetds-devel/work/stage/usr/local/include/odbcss.h:No such file or directory *** Error code 1 Stop.
で、pkgupgrade してみたところ、
C # pkg upgrade freetds-devel Updating FreeBSD repository catalogue... Fetching packagesite.pkg: 100% 6 MiB 6.8MB/s 00:01 Processing entries: 100% FreeBSD repository update completed. 32289 packages processed. All repositories are up to date. Updating database digests format: 100% The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: freetds-devel: 1.3.40,1 -> 1.3.118,1 Number of packages to be upgraded: 1 1 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching freetds-devel-1.3.118,1.pkg: 100% 1 MiB 1.2MB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Upgrading freetds-devel from 1.3.40,1 to 1.3.118,1... [1/1] Extracting freetds-devel-1.3.118,1: 100%
# portversion -vl'<' [Reading data from pkg(8) ... - 518 packages found - done]
とCleanになった。
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