|
|
便利なツール Emacs らくらく 入門 ![]() |
|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||
2023年12月31日(日) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [farmer] さといも収穫
全部
を収穫したつもり ( つっこみ )
2022年12月31日(土) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [NetBSD] NetBSD 10_BETA
I've trying to install NetBSD 10_BETA.
@ disabling PMS_SYNAPTICS_TOUCHPAD:h97@makoto 12:25:34/221231(..git-work/netbsd-src)% cat sys/arch/amd64/conf/GENERIC-no-SYNAPTICS # $NetBSD: XEN3_DOMU,v 1.75 2017/05/21 06:19:37 pgoyette Exp $ include "arch/amd64/conf/GENERIC" no options PMS_SYNAPTICS_TOUCHPAD options MSGBUFSIZE=131072 # ( つっこみ )
2021年12月31日(金) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#2 [pkgsrc] avr-libc won't generate refman.pdfgmake[4]: Leaving directory '/tmp/cross/avr-libc/work/avr-libc-2.0.0/doc/api/latex_src' true cp latex_src/refman.pdf avr-libc-user-manual.pdf cp: latex_src/refman.pdf: No such file or directory gmake[3]: *** [Makefile:640: avr-libc-user-manual.pdf] Error 1Searching my old diary, 2015/02/11 had similar problem. ( つっこみ )
#1 [pLaTeX] You can't use `\lower' in vertical mode.You can't use `\lower' in vertical mode. <recently read> \lower最近、これが出て、直した記憶があるが、どこか覚えていない ( つっこみ )
2019年12月31日(火) 旧暦 [n年日記] [更新:"2019/12/31 00:56:14"]#1 [pkgsrc][bulkbuild] graphics/adapta-gtk-theme-3.95.0.11nb225360 ? Is 0:00.05 | `-- sshd: root@notty 11372 ? Is 0:00.78 | `-- /usr/pkg_bulk/bin/pbulk-build -c 192.168.60.28:2002 -b /usr/pkg_bulk/ 15798 ? I 0:00.02 | `-- /bin/sh /usr/pkg_bulk/libexec/pbulk/pkg-build 16575 ? I 0:00.41 | `-- /usr/bin/make all BATCH DEPENDS_TARGET WRKLOG 29686 ? I 0:00.00 | `-- /bin/sh -c set -e;\t\t\t\t\t if test -n "" && /usr/sbin/pkg_in 16407 ? I 0:00.44 | `-- /usr/bin/make _MAKE OPSYS OS_VERSION LOWER_OPSYS _PKGSRCDIR P 1587 ? I 0:00.01 | `-- /usr/pkg/bin/gmake -j4 -f Makefile all 2471 ? I 0:00.00 | `-- /bin/sh -c fail=; \\\nif (target_option=k; case ${target_ 133 ? I 0:00.02 | `-- /usr/pkg/bin/gmake all 6639 ? I 0:00.39 | `-- /usr/pkg/bin/perl /usr/pkg/bin/parallel --null --no-n 4757 ? I 0:00.01 | |-- sleep 10101 8395 ? I 0:00.01 | |-- sleep 10101 13709 ? I 0:00.01 | `-- sleep 10101 ![]() cluster051% ps axlwwww |grep parallel parallel: Warning: Cannot figure out number of cpus. Using 1. ![]() @ thunderbird60-60.9.1.tgz:-rw-r--r-- 1 root wheel 46442904 Dec 30 19:07 thunderbird60-60.9.1.tgzthunderbird60 might have taken 15.2GB memory ( つっこみ )
2016年12月31日(土) 旧暦 [n年日記] [更新:"2016/12/31 14:44:21"]#1 [pkgsrc] dvipdfmxdvipdfmx hoge.dvi hoge.dvi -> hoge.pdf [1 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+199/600 --dpi 799 rml mktexpk: don't know how to create bitmap font for rml. mktexpk: perhaps rml is missing from the map file. kpathsea: Appending font creation commands to missfont.log. dvipdfmx:warning: Could not locate a virtual/physical font for TFM "rml". dvipdfmx:warning: >> There are no valid font mapping entry for this font. dvipdfmx:warning: >> Font file name "rml" was assumed but failed to locate that font. dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output... Output file removed. *** Error code 1Usually the file is under texmf-dist, but this time under texmf lets-note-N9@makoto 22:26:28/161231(..Manuals/hoge)% \ diff -u /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg.orig /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg --- /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg.orig 2016-12-27 22:24:54.000000000 +0900 +++ /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg 2016-12-31 22:26:23.000000000 +0900 @@ -215,7 +215,7 @@ %f psfonts.map %% Put additional fontmap files here (usually for Type0 fonts) -%f cid-x.map +f cid-x.map lets-note-N9@makoto 23:38:09/161231(~)% pulseaudio --verbose W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support. E: [(null)] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory ( つっこみ )
2015年12月31日(木) 旧暦 [n年日記] [更新:"2015/12/31 13:00:22"]#1 [NetBSD] Raid setup
最近 N3150 の機械に Software RAID を設定した。
@ 続いて DL320/G5p にも 同様に入れようと:
(以前どこまでやったか覚えていないので)
p400 controller のもの 1TB x 4 の構成 目印: 00:22:64:01:9c:64 # dmesg |grep ciss ciss0 at pci1 dev 0 function 0: HP Smart Array 3 ciss0: interrupting at ioapic0 pin 16 ciss0: 1 LD, HW rev 3, FW 2.08/2.08 scsibus0 at ciss0: 1 target, 1 lun per target ciss0: normal state on 'ciss0:0' (online) # | sd0 at scsibus0 target 0 lun 0: <HP, LOGICAL VOLUME, 2.08> disk fixed | sd0: 2794 GB, 65535 cyl, 255 head, 350 sec, 512 bytes/sect x 5860378032 sectors | sd0: GPT GUID: b07e7971-f757-11e2-a2a5-002264019c64 | sd0: bad GPT partition array CRC | sd0: async, 8-bit transfers, tagged queueing何だか変。最初からやり直す。Hardware RAID は(僕にとっては)ある意味取扱い難いので、 Software RAID にするつもり。 @ 別の E400 Controller の機械には:
DragonFly BSD 3.6.0 が入っていた (1GB Memory/ 80GB x 4 Disk)
目印 00:24:81:00:91:14 Disk を 1.5T x 4 に入替えて network 起動 sd0 at scsibus0 target 0 lun 0: <HP, LOGICAL VOLUME, 1.86> disk fixed sd0: 4191 GB, 65535 cyl, 255 head, 526 sec, 512 bytes/sect x 8790633264 sectors sd0: async, 8-bit transfers, tagged queueingとなってしまったので、やり直し。しかるべきところで F8 を押し、Delete Logical Drive をしたが、 これでは disk は一つも見えない。 止むを得ないので E400 Controller を外して SATA port から直結にした。 こんどは、次のように見える。 wd0: <WDC WD15EARS-00MVWB0> wd0: 1397 GB, 2907021 cyl, 16 head, 63 sec, 512 bytes/sect x 2930277168 sectors wd1 at atabus0 drive 1 wd1: <WDC WD15EARS-00MVWB0> wd1: 1397 GB, 2907021 cyl, 16 head, 63 sec, 512 bytes/sect x 2930277168 sectors wd2 at atabus1 drive 0 wd2: <WDC WD15EARS-00MVWB0> wd2: 1397 GB, 2907021 cyl, 16 head, 63 sec, 512 bytes/sect x 2930277168 sectors wd3 at atabus1 drive 1 wd3: <WDC WD15EARS-00MVWB0> wd3: 1397 GB, 2907021 cyl, 16 head, 63 sec, 512 bytes/sect x 2930277168 sectorsdisklabel wd0a # disklabel -i wd0a Enter '?' for help partition>P 4 partitions: # size offset fstype [fsize bsize cpg/sgs] a: 2930277168 0 4.2BSD 0 0 0 # (Cyl. 0 - 2907020) d: 2930277168 0 unused 0 0 # (Cyl. 0 - 2907020) partition>a Filesystem type [4.2BSD]: Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: 2048s Partition size ('$' for all remaining) [2907021c, 2930277168s, 1430799.375M]: 500MB a: 1024000 2048 4.2BSD 0 0 0 # (Cyl. 2*- 1017*) partition>e Filesystem type [unused]: RAID Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: a Partition size ('$' for all remaining) [0c, 0s, 0M]: 20000M e: 40960000 1026048 RAID # (Cyl. 1017*- 41652*) partition>f Filesystem type [unused]: RAID Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: f Partition size ('$' for all remaining) [0c, 0s, 0M]: partition>f Filesystem type [RAID]: Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: e Partition size ('$' for all remaining) [0c, 0s, 0M]: $ f: 2888291120 41986048 RAID # (Cyl. 41652*- 2907020) partition>P 6 partitions: # size offset fstype [fsize bsize cpg/sgs] a: 1024000 2048 4.2BSD 0 0 0 # (Cyl. 2*- 1017*) d: 2930277168 0 unused 0 0 # (Cyl. 0 - 2907020) e: 40960000 1026048 RAID # (Cyl. 1017*- 41652*) f: 2888291120 41986048 RAID # (Cyl. 41652*- 2907020) partition>W Label disk [n]?y Label written partition>Q #次のようにして、全ての disk に複製 # disklabel wd0a > /tmp/R # disklabel -R wd1d /tmp/R # disklabel -R wd2d /tmp/R # disklabel -R wd3d /tmp/R# newfs -O2 /dev/wd0a /dev/rwd0a: 500.0MB (1024000 sectors) block size 8192, fragment size 1024 using 11 cylinder groups of 45.46MB, 5819 blks, 10976 inodes. super-block backups (for fsck_ffs -b #) at: 144, 93248, 186352, 279456, 372560, 465664, 558768, 651872, 744976, 838080, 931184, # mount /dev/wd0a /mnt # ls /mnt # mkdir /mnt/etc # mkdir /mnt/etc/raid # cat > /mnt/etc/raid/raid0.conf START array # numRow numCol numSpare 1 4 0 START disks /dev/wd0e /dev/wd1e /dev/wd2e /dev/wd3e #START spare #/dev/wd3e START layout # sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level_1 128 1 1 5 START queue fifo 100 #2014/03/31 の日記 を見ながら # raidctl -C /mnt/etc/raid/raid0.conf raid0 raid0: Component /dev/wd0e being configured at col: 0 Column: 0 Num Columns: 0 Version: 0 Serial Number: 0 Mod Counter: 0 Clean: No Status: 0 Number of columns do not match for: /dev/wd0e /dev/wd0e is not clean! raid0: Component /dev/wd1e being configured at col: 1 Column: 0 Num Columns: 0 Version: 0 Serial Number: 0 Mod Counter: 0 Clean: No Status: 0 Column out of alignment for: /dev/wd1e Number of columns do not match for: /dev/wd1e /dev/wd1e is not clean! raid0: Component /dev/wd2e being configured at col: 2 Column: 0 Num Columns: 0 Version: 0 Serial Number: 0 Mod Counter: 0 Clean: No Status: 0 Column out of alignment for: /dev/wd2e Number of columns do not match for: /dev/wd2e /dev/wd2e is not clean! raid0: Component /dev/wd3e being configured at col: 3 Column: 0 Num Columns: 0 Version: 0 Serial Number: 0 Mod Counter: 0 Clean: No Status: 0 Column out of alignment for: /dev/wd3e Number of columns do not match for: /dev/wd3e /dev/wd3e is not clean! raid0: There were fatal errors raid0: Fatal errors being ignored. raid0: RAID Level 5 raid0: Components: /dev/wd0e /dev/wd1e /dev/wd2e /dev/wd3e raid0: Total Sectors: 122879616 (59999 MB) # # raidctl -I 2015123100 raid0 # raidctl -iv raid0 Initiating re-write of parity Parity Re-write status: 2% | | ETA: 08:24 - # raidctl -A hardroot raid0 raid0: New autoconfig value is: 1 raid0: New rootpartition value is: 1 raid0: Autoconfgure: Yes raid0: Root: Force #
@ /netbsd と /boot を /dev/wd0a に写しておく:# installboot -fv -o console=com0 speed=0 /dev/rwd0a bootxx_ffsv1 installboot: Opening file system `speed=0' read-write: No such file or directory # installboot -fv -o console=com0,speed=0 /dev/rwd0a bootxx_ffsv1 File system: /dev/rwd0a Primary bootstrap: bootxx_ffsv1 Boot options: timeout 5, flags 0, speed 0, ioaddr 0, console com0上記は boot しなかった。 # mount /dev/wd0a /mnt # installboot -fv -o console=com0,speed=0 /dev/rwd0a bootxx_ffsv1 /mnt/boot File system: /dev/rwd0a File system type: ffs (blocksize 8192, needswap 0) Primary bootstrap: bootxx_ffsv1 Secondary bootstrap: /mnt/boot Boot options: timeout 5, flags 0, speed 0, ioaddr 0, console com0 #boot しない # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/rwd0e /usr/mdec/bootxx_ffsv1 File system: /dev/rwd0e Primary bootstrap: /usr/mdec/bootxx_ffsv1 Ignoring PBR with invalid magic in sector 0 of `/dev/rwd0e' Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0boot しない # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/wd0a /usr/mdec/bootxx_ffsv2 /mnt/boot File system: /dev/rwd0a File system type: ffs (blocksize 8192, needswap 0) Primary bootstrap: /usr/mdec/bootxx_ffsv2 Secondary bootstrap: /mnt/boot Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0scan_ffs # stty erase ^H # mount /dev/raid0a /mnt # chroot /mnt # mount -a # stat_ffs /dev/wd0a stat_ffs: not found # scan_ffs /dev/wd0a Disk: WDC WD15EARS-00Mfictitious Total sectors on disk: 2930277168 FFSv2 at 0 size 1024000, last mounted on /mnt/mnt scan_ffs: pread: Invalid argument # newfs /dev/wd0a /dev/rwd0a: 500.0MB (1024000 sectors) block size 8192, fragment size 1024 using 11 cylinder groups of 45.46MB, 5819 blks, 11328 inodes. super-block backups (for fsck_ffs -b #) at: 32, 93136, 186240, 279344, 372448, 465552, 558656, 651760, 744864, 837968, 931072, # scan_ffs /dev/wd0a Disk: WDC WD15EARS-00Mfictitious Total sectors on disk: 2930277168 FFSv1 at 0 size 1024000, last mounted onffsv1 にしておいて、もう一度 installboot # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/wd0a /usr/mdec/bootxx_ffsv1 /mnt/boot File system: /dev/rwd0a File system type: ffs (blocksize 8192, needswap 0) Primary bootstrap: /usr/mdec/bootxx_ffsv1 Secondary bootstrap: /mnt/boot Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0 #boot しない # cd /usr/mdec # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/wd0a bootxx_ffsv1 /mnt/boot File system: /dev/rwd0a File system type: ffs (blocksize 8192, needswap 0) Primary bootstrap: bootxx_ffsv1 Secondary bootstrap: /mnt/boot Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0 # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/wd1a bootxx_ffsv1 /mnt/boot File system: /dev/rwd1a File system type: raw (blocksize 8192, needswap 0) Primary bootstrap: bootxx_ffsv1 Secondary bootstrap: /mnt/boot Ignoring PBR with invalid magic in sector 0 of `/dev/rwd1a' Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0 # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/wd2a bootxx_ffsv1 /mnt/boot File system: /dev/rwd2a File system type: raw (blocksize 8192, needswap 0) Primary bootstrap: bootxx_ffsv1 Secondary bootstrap: /mnt/boot Ignoring PBR with invalid magic in sector 0 of `/dev/rwd2a' Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0 # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/wd0e bootxx_ffsv1 /mnt/boot File system: /dev/rwd0e File system type: raw (blocksize 8192, needswap 0) Primary bootstrap: bootxx_ffsv1 Secondary bootstrap: /mnt/boot Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0 #boot しない # stty erase ^H # mount /dev/raid0a /mnt shc# ^U chroot /mnt # mount -a # cd /usr/mdec # mount /dev/wd0a /mnt # ls /mnt boot netbsd # installboot -o timeout=30 -v -o console=com0,speed=0 /dev/wd0d bootxx_ffsv1 /mnt/boot File system: /dev/rwd0d File system type: raw (blocksize 8192, needswap 0) Primary bootstrap: bootxx_ffsv1 Secondary bootstrap: /mnt/boot Ignoring PBR with invalid magic in sector 0 of `/dev/rwd0d' Boot options: timeout 30, flags 0, speed 0, ioaddr 0, console com0 # sync # sync # rebootboot した。wd0a でなく wd0d とする必要があった。 @ pkg_add pkgin:# export PKG_PATH=ftp://ftp.jp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.0_RC1_riz/All # pkg_add pkgin load: 1.44 cmd: pkg_add 5551 [biowait] 0.02u 0.00s 0% 3752k load: 1.32 cmd: pkg_add 5551 [biowait] 0.02u 0.00s 0% 3752k =========================================================================== $NetBSD: MESSAGE,v 1.6 2014/12/05 14:31:07 schmonz Exp $ You may wish to have the vulnerabilities file downloaded daily so that it remains current. This may be done by adding an appropriate entry to a user's crontab(5) entry. For example the entry # download vulnerabilities file 0 3 * * * /usr/pkg/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1 will update the vulnerability list every day at 3AM. You may wish to do this more often than once a day. In addition, you may wish to run the package audit from the daily security script. This may be accomplished by adding the following lines to /etc/security.local if [ -x /usr/pkg/sbin/pkg_admin ]; then /usr/pkg/sbin/pkg_admin audit fi Alternatively this can also be acomplished by adding an entry to a user's crontab(5) file. e.g.: # run audit-packages 0 3 * * * /usr/pkg/sbin/pkg_admin audit Both pkg_admin subcommands can be run as as an unprivileged user, as long as the user chosen has permission to read the pkgdb and to write the pkg-vulnerabilities to /var/db/pkg. The behavior of pkg_admin and pkg_add can be customised with pkg_install.conf. Please see pkg_install.conf(5) for details. If you want to use GPG signature verification you will need to install GnuPG and set the path for GPG appropriately in your pkg_install.conf. =========================================================================== @ /export は 4.0TB くらいあるので gpt:
2013/07/28 の日記
を見ながら。
( つっこみ )
2012年12月31日(月) 旧暦 [n年日記] [更新:"2013/05/20 06:53:29"]#1 [無線] LoTW Certificate 更新
三年前
に使い始めた LoTW の証明書を更新した。次のようなメールが来たTo: <ja1xms@..>
Subject: Your Logbook of the World certificate expires soon From: LoTW <lotw-admin@..> Date: Sat, 29 Dec 2012 06:01:27 GMT Message-Id: ... According to our records, your Logbook of the World digital certificate for: JA1XMS - JAPAN expires at: Jan 5 18:09:44 2013 GMT To continue submitting log data for this call sign and entity, you must renew your certificate. Instructions for doing so can be found at: -- The Logbook team上の URL を開いてから Go Now を選ぶと、PDF 形式の説明になる。 今の証明書が有効なうちに更新すれば、それで認証されるので、 とても簡単に出来る、とある。tqsl 用途別プログラムには tqsl と tqslcert があるが、こういう時には後者を使う。
@ *.tq6 がメールで届いた:
(送ったのが 01:30 頃、届いたのが 04:20 頃、所要 2:50)
しばらくすると署名された callsign.tq6 がメールで届いたので、これを保存する (この辺は最初の時と同じ、ここから先は、最初と同じなので、説明はその時のを参照する必要があるのかな) tqslcert を起動して Load Certificate を選び、送られて来たものを指定する。 @ *.tq12 を保存::
この後、これも最初と同じように *.tq12 形式を保存して、別の媒体にも保存しておく
いろいろ画面でやり取りがあった。
( つっこみ )
2011年12月31日(土) 旧暦 [n年日記] [更新:"2012/01/01 17:58:27"]#1 [pkgsrc][NetBSD] /usr/pkg/include/xorg を見てくれない
modular-xorg-server を package しようとしている
次のようにすると、確かに変。 modena@makoto 22:14:39/111231(~)% pkg_info -qL xorg-util-macros /usr/pkg/share/aclocal/xorg-macros.m4 /usr/pkg/share/pkgconfig/xorg-macros.pc /usr/pkg/share/util-macros/INSTALL modena@makoto 22:14:40/111231(~)% pkg-config --cflags xorg-macros.pc Failed to open 'xorg-macros.pc': No such file or directory No package 'xorg-macros.pc' found多分 -/usr/pkg/share/pkgconfig/xorg-macros.pc +/usr/pkg/lib/pkgconfig/xorg-macros.pcに入るべきなのだと思うが、自分で patch を作るのかな。
No package 'xorg-macros.pc' foundと言われて、調べたら share も lib も本来探してくれるので、「そういう問題ではない」らしい。 ああ、pkg-config xproto とかするので、pkg-config xproto.pc の pc は余計だった。 modena@makoto 23:13:57/111231(..wip/modular-xorg-server)% cat `find . -name xorg-server.pc` prefix=/usr/pkg exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include ${prefix}/include/xorg datarootdir=${prefix}/share moduledir=${exec_prefix}/lib/xorg/modules sdkdir=${prefix}/include/xorg sysconfigdir=${datarootdir}/X11/xorg.conf.dこのように includedir の ${prefix}/include/xorg を追加して見ているが、良く見ると sdkdir って、いつ使われるのだろう。 この変更をする前でも、次のように出ている。sdkdir が効いているのかな。 だとすると、名前 (xorg-server)の問題か ? modena@makoto 23:17:15/111231(..wip/modular-xorg-server)% pkg-config --cflags xorg-server -fvisibility=hidden -I/usr/pkg/include/xorg -I/usr/pkg/include -I/usr/pkg/include/pixman-1今出ているのは xf86-input-keyboard で次のような問題。 .. gmake[2]: Entering directory `/export/CHROOT /usr/pkgsrc/x11/xf86-input-keyboard/work/xf86-input-keyboard-1.6.0/src' CC kbd.lo kbd.c:21:25: error: xorg-server.h: No such file or directory kbd.c:26:18: error: xf86.h: No such file or directory kbd.c:28:25: error: xf86Privstr.h: No such file or directory kbd.c:32:24: error: extnsionst.h: No such file or directory kbd.c:33:21: error: extinit.h: No such file or directory kbd.c:34:22: error: inputstr.h: No such file or directory kbd.c:36:24: error: xf86Xinput.h: No such file or directory kbd.c:37:25: error: xf86_OSproc.h: No such file or directoryこれらは /usr/pkg/include/xorg の下にあるが、見えていないらしい。 modena@makoto 23:24:52/111231(..x11/xf86-input-keyboard)% find . -name xorg-server.h ./work/.buildlink/include/xorg/xorg-server.h試しに(中の) Makefile の CFLAGS の行に手で追加したら、完了した -CFLAGS = -O2 -I/usr/pkg/include +CFLAGS = -O2 -I/usr/pkg/include -I/usr/pkg/include/xorg -I/usr/pkg/include/pixman-1その時に見たのだけれど、次のような行があった。何か一部がうまく行っていないのだな。 XORG_LIBS = -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpixman-1 -lpciaccess同じような問題が xf86-input-mouse でも起きる。 次のようにすると、(手で Makefile を変更するのと同じ意味だけれど) 少し進む Index: Makefile =================================================================== RCS file: /e/cvsync/cvsync/pkgsrc/x11/xf86-input-mouse/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 14 Sep 2010 11:03:11 -0000 1.12 +++ Makefile 1 Jan 2012 03:06:26 -0000 @@ -9,6 +9,7 @@ MAINTAINER= joerg@NetBSD.org HOMEPAGE= http://xorg.freedesktop.org/ COMMENT= Modular Xorg mouse driver +CFLAGS+= -I${PREFIX}/include/xorg -I${PREFIX}/include/pixman-1 PKG_DESTDIR_SUPPORT= user-destdirが、まだ次のようになる libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../src -I/export/CHROOT/usr/pkgsrc/x11/xf86-input-mouse/work/.buildlink/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -O2 -I/export/CHROOT/usr/pkgsrc/x11/xf86-input-mouse/work/.buildlink/include/xorg -I/export/CHROOT/usr/pkgsrc/x11/xf86-input-mouse/work/.buildlink/include/pixman-1 -MT mouse.lo -MD -MP -MF .deps/mouse.Tpo -c mouse.c -fPIC -DPIC -o .libs/mouse.o mouse.c:128: error: expected declaration specifiers or '...' before 'IDevPtr' mouse.c:134: error: expected ')' before 'local' mouse.c:169: warning: initialization from incompatible pointer typeこういうのは、大抵、include が一つ読めないというような問題のはずなのだが。 modena@makoto 12:35:31/120101(..x11/xf86-input-mouse)% cat -n `find . -name mouse.c` | sed -n 120,130p 120 */ 121 int nib_table[NIB_COUNT][NIB_SIZE]; 122 123 } DragLockRec, *DragLockPtr; 124 125 126 127 static const OptionInfoRec *MouseAvailableOptions(void *unused); 128 static InputInfoPtr MousePreInit(InputDriverPtr drv, IDevPtr dev, int flags); 129 #if 0 130 static void MouseUnInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags);ということで結局、現在は、 patches/patch-aa は削除。 このような patch で package している。 ( Read More... (1) | つっこみ )
Comments related this article
2010年12月31日(金) 旧暦 [n年日記] [更新:"2011/01/01 03:02:39"]#3 [pkgsrc] process many SPECIAL_PERMS
good example is found at canna-dict/Makefile
REQD_DIRS_PERMS+= ${CANNA_DICTDIR} ${CANNA_USER} ${CANNA_GROUP} 0775 .for d in fuzokugo.cbd bushu.cld dics.dir iroha.cbd iroha.cld \ chimei.ctd hojomwd.ctd hojoswd.ctd kanasmpl.ctd katakana.ctd \ keishiki.ctd necgaiji.ctd number.ctd software.ctd suffix.ctd SPECIAL_PERMS+= ${CANNA_DICTDIR}/${d} ${CANNA_USER} ${CANNA_GROUP} 0664 .endfor ( つっこみ )
#2 [pkgsrc] libspt
Unfortunately, I am looking for libspt. Is the following part of libspt-1.1/configure.ac correct ? Calling sequence as 230th -> 216 th -> 197th lines 195 # Check for ptys 196 dnl SPT_DEFINE_PTY(TYPE) 197 AC_DEFUN([SPT_DEFINE_PTY],[ 198 if test "x$spt_cv_pty_$1" = xyes; then 199 dnl Don't quote AS_TR_CPP or autoheader fails! 200 AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_PTY_$1]),1,[Define to 1 if you have $1 pty.]) 201 spt_pty_found=yes 202 fi 203 ]) 204 dnl SPT_CHECK_PTY(TYPE, COMMAND, COMMAND-IF-CROSS) 205 dnl TYPE is small, COMMAND stores its result to spt_ptyval(default no) 206 AC_DEFUN([SPT_CHECK_PTY],[ 207 AC_CACHE_CHECK([for pty $1],[spt_cv_pty_$1],[ 208 spt_ptyval=no 209 if test "x$cross_compiling" = xyes; then 210 $3 211 else 212 $2 213 fi 214 spt_cv_pty_$1="$spt_ptyval" 215 ]) 216 SPT_DEFINE_PTY([$1]) 217 ]) 224 dnl SPT_CMD(COMMAND) 225 AC_DEFUN([SPT_CMD],[$1 && spt_ptyval=yes]) 230 SPT_CHECK_PTY([bsd],[SPT_CMD([test -c /dev/ptypa || test -c /dev/ptyva])], 231 [SPT_HOST([linux*|freebsd*|netbsd*|openbsd*|bsdi*|darwin*|hpux*])])in 230th line, if /dev/ptypa is there and it is char device, SPT_CHECK_PTY([bsd], true) is issued. And then ... ( つっこみ )
#1 [pkgrc] RCD_SCRIPTS を Makefile で設定すると
自分でも良く忘れてしまうので、書いておく
pkgsrc/*/*/Makefile の中に、次の行を書いて、 RCD_SCRIPTS= ja_freewnn起動手続として files/ja_freewnn を用意しておく、その一行目は #! @RCD_SCRIPTS_SHELL@にしておく これで、いろいろなことをしてくれる。
(make package-install の時に最後の表示が出ない) @ jserver: could not bind unix domain socket (Address already in use):
上の話とは変るが、/var/log/messages を見ると
Dec 31 08:43:56 modena jserver: could not bind unix domain socket (Address already in use)と出ている時には、
@ installed without execute permission; fixing (should use [BSD_]INSTALL_LIB):
これは何かな
=> Generating post-install file lists /export/pkgsrc/wip/ja-freewnn/work/.destdir/usr/pkg/lib/libcwnn.so.0.0: installed without execute permission; fixing (should use [BSD_]INSTALL_LIB) /export/pkgsrc/wip/ja-freewnn/work/.destdir/usr/pkg/lib/libjd.so.0.0: installed without execute permission; fixing (should use [BSD_]INSTALL_LIB) /export/pkgsrc/wip/ja-freewnn/work/.destdir/usr/pkg/lib/libkwnn.so.0.0: installed without execute permission; fixing (should use [BSD_]INSTALL_LIB) /export/pkgsrc/wip/ja-freewnn/work/.destdir/usr/pkg/lib/libwnn.so.0.0: installed without execute permission; fixing (should use [BSD_]INSTALL_LIB) => Checking file-check results for ja-FreeWnn-1.11a021 => Checking for non-existent script interpreters in ja-FreeWnn-1.11a021 @ IMDICTDIR:
NetBSD/pkgsrc で ja-FreeWnn を make すると、辞書は /var/dict/www/ja_JP 等を使う。
これはどこの設定かなと言うと、
pkgsrc/mk/defaults/mk.conf:IMDICTDIR?= ${VARBASE}/dictという行があって、 (今は) SEDSCRIPT+= -e 's|\([JCKT]\)\(WNNDICDIR = \).*|\1\2${IMDICTDIR}/wnn/$$(\1WNNLANG)|'ということで IMDICTDIR 変数を使うようにしているため。 ( つっこみ )
2007年12月31日(月) 旧暦 [n年日記] [更新:"2008/01/01 01:53:44"]#1 [無題] 神尾真由子さんで年越
部屋の片付けをしながら、第九とかを聞いている。
神尾真由子さんの Vn でチャイコフスキーを聞きながら
年越になった。
かわうちさんのところでは BBR-4MG の USB から起動出来たらしい。 素晴しい。 ( つっこみ )
2006年12月31日(日) 旧暦 [n年日記] [更新:"2007/01/01 19:07:40"]#1 [無題] 片付をしたら PowerMac 4400 が四台もあったPowerMac 4400 PowerMac 4400 (正面板なし) PowerMac 4400 PowerMac 4400 StarMax 3000/180 (Motorola 印) PowerMac 7200/120 (PowerPC 601) PowerMac 7600/200その他に StarMax 3000/180 x 1, PowerMac 7200/120, PowerMac 7600/200 (この一番下のものは多分電源を入れれば NetBSD がすぐ動くはず)。 4400 は、この他に NetBSD が動いているのが三台ある。つまり合計七台。 何でこのように何台もあるかと言うと、中に入っている G3/L2 cache CPU Card が欲しくてそのために Yahoo Auction で落札したものというのが多分二台はある。 同様に Memory も特殊なので、それを取るためにというのもあった。 下から三台目の StarMax は router の予備機。 多分これも電源を入れれば 4.99.3 が動くはず。 ( つっこみ )
2004年12月31日(金) 旧暦 [n年日記] [更新:"2005/01/02 15:26:21"]#2 [NetBSD][X11] X11R6 を作り直したら、落ちなくなった@ gnuplot を入替えたら色が:
もしかして、今までのは、一種の虫だったのだろうか。
@ Dec 31 22:12:07 st4200 /netbsd::
USB のついた電卓をつないだら
uhidev3: WELTREND USB KEYPAD CALCULATOR, rev 1.10/2.08, addr 5, iclass 3/1 ukbd1 at uhidev3: 8 modifier keys, 6 key codes wskbd1 at ukbd1 (mux ignored)こうなる。やはり mux は必要な気がする。Canon と書いてあるが中身は違う ? ( つっこみ )
#1 [無題] pear (php)
きょうはこんなところを見ている
@ pear remote-list; pear install:ttyp4:makoto@st4200 13:02:22/041231(...www/pear-HTML_Select)> pear remote-list |grep Form HTML_Form 1.1.0 HTML_QuickForm 3.2.4pl1 HTML_QuickForm_Controller 1.0.4 ttyp4:makoto@st4200 13:02:32/041231(...www/pear-HTML_Select)> sudo pear install HTML_Form Password: downloading HTML_Form-1.1.0.tar ... Starting to download HTML_Form-1.1.0.tar (-1 bytes) ..............................done: 140,288 bytes install ok: HTML_Form 1.1.0 ttyp4:makoto@st4200 13:02:56/041231(...www/pear-HTML_Select)>なかなか面白いしくみがあるものだ。 php-4.3.10 を入れているが、 ap-php4 の Makefile.php に mbstring の設定が追加されている。.. と思った のは勘違いで、自分で変更しただけか ? を見に行くと mbstring が必須とあるが、僕のところでは mbsting 無でも pukiwiki の日本語は表示されている(多分 1.4)。 ( つっこみ )
2003年12月31日(水) 旧暦 [n年日記]#1 [XFree86] 4.3.99 make World
最近こればかり
ttyp0:makoto@celeron 0:42:50/031231(/export/xc-4.3.99.902)> time make World >& log-make-world 2421.937u 518.694s 1:08:03.89 72.0% 0+0k 2056+111983io 1593pf+30wその場合の終り方: (WW) TRIDENT(0): remove MTRR 0 - 1000 (WW) Closing with PCVT (WW) Closing with WSCONS (WW) KDSETMODE rc(0) (WW) VT_GETMODE (WW) VT_SETMODE rc(0) (WW) Returning全く同じだなぁ。 ( つっこみ )
2002年12月31日(火) 旧暦 [n年日記]#3 [Emacs] pcl-cvs
pcl-cvs を殆んど使ったことがない...
(update だけは使ったことがある気がする)
( つっこみ )
#2 [MacOSX] MacOSX -- きのうの続き@ Epson TWAIN5 Vers 5.75J:
これは down load して install
@ MacLHA:
MacOSX 未対応
@ PDF:
/Application/Acrobat Reader 5.0.app/Contents/MacOS/WebBrowser Plug-in/PDFViewer
が
/Application/Netscape/Netscape.app/Contents/MacOS/Plug-ins/Default
に入る(入れる)ものだと思うが、入っていても Plug-ins にならない。
Helper Application で
application/pdf
に Acrobat Reader を登録すれば自動起動はするが、
Netscape 画面内 とはならない。
それ以外に Preview を使うという方法があるらしい。
@ RealPlayer:
どうも Shareware/Free Software の類いはないのかな ... 。
Realone
というのがあるが有料の気がする。
というのは、多分誤解で RealOne Player だけなら今まで通り、
Free のようだ。
試しに入れて WXQR を聞いたら こうもりをやっているような.. EMI CDMB 5 66223 2 らしい。 @ jedit:
これは入れていない。
@ Graphic Converter:
4.5.1J
4,300 円。
( つっこみ )
#1 [無題] この二三日、いろいろなことが..
さかのぼって、書加えることにする。
( つっこみ )
2001年12月31日(月) 旧暦 [n年日記]#5 [NetBSD] cdrecord
最近何枚かつぶしてしまったので、少し慎重になっている。
( つっこみ )
#4 [Emacs] Wanderlust kill 出来ない問題
Exit MIME editor mode. Sending... wl-draft-hide: Attempt to delete minibuffer or sole ordinary window ( つっこみ )
#3 [Todo] 積残し一覧
NetBSD
( つっこみ )
#2 [Netatalk] 譜名に # が含まれていると複写出来ない気がする。
「タイプ -37 のエラーが起きました」
(Mac 側に #1039 とかあるときの話)
( つっこみ )
#1 [Namazu] 英語の表示に変更があった時には
に自分で書いていた
@ itune と itunes とあった時に、やはりその違いは同じにはまとめて:
くれない。家人から「カイザ」と「カイザー」を見つけてくれないのも
さびしいと言われてしまった。
( つっこみ )
2000年12月31日(日) 旧暦 [n年日記]#3 [館山] 12/30 は富浦ロイヤルホテル
というところに一泊して来る。会社の補助があったのと,
夕食は外の、行きなれたところに行ったので、格安旅行。
海が見えて、気持のいい風呂があって、広い部屋で, なかなか良かった。 ( つっこみ )
#2 [NetBSD] NetBSD/iBook
が
GoogleBot
から見つからない。(のは変な気がする)という問題があって、
(例えば試したのは iBook NetBSD install など)
もしかしたら、自分で決めた .pml という接尾語の問題かなと
html に変更して見た。(でも入口は / で終っているから関係ない
気もする)
あれ googlebot でなくて google だったかな。 ( つっこみ )
#1 [Third_Party_Relay] MAPS-TSI
MAPS-TSI の結果
を見せていただきました。出直して見ます。
相手のやり方は、第三者中継というよりも、From: 詐称かも知れません。 From: tarawike@僕のドメイン というメールを沢山出したのではないかという気がします。 で、User Unknown とかがいくつか返って来る(一日五通くらい)。 12/28 8 12/29 3 12/30 3 12/31 3/etc/aliases に tarawike: /dev/nullと書いてしまいました。(でもその後も User Unknown が出ているので、変) ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||