hns - 日記自動生成システム - Version 2.19.9

先月 2010年05月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2010年05月28日(金) 旧暦 [n年日記] [更新:"2010/06/09 10:19:06"]

#1 [pkgsrc] mk/check/check-files.mk" line 80: Wrong number of words (2) ...

ubuntu@makoto 18:57:34/100528(..editors/emacs)% bmake clean && bmake package
bmake: "../../mk/check/../../mk/check/check-files.mk" line 80: 
	Wrong number of words (2) in .for substitution list with 4 vars
bmake: Fatal errors encountered -- cannot continue

bmake: stopped in /export/pkgsrc/editors/emacs
ubuntu@makoto 18:57:43/100528(..editors/emacs)% 
It come from following line of mk/check/check-files.mk
    81  .for d o g m in ${MAKE_DIRS_PERMS} ${OWN_DIRS_PERMS}
    82  CHECK_FILES_SKIP+=      ${d:C/^([^\/])/${PREFIX}\/\1/}.*
    83  .endfor
d o g m -> directory owner group mode

If I just disable these (listed above) lines (by adding # on line), then I got

shift: 1: can't shift that many
*** Error code 2
and for this second problem, it is nice to have following change. (to stop correctly ?) bsd.pkginstall.mk.patch

unfortunately (?) pkgsrc version of emacs on ubuntu has no x11:

My build of pkgsrc editors/emacs does not have x11 included. why ?
Simple open up emacs-23.2 ( at /export/local-src) and ./configure (without any argument), gives:
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          GTK
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use -lpng?                                   yes
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 no
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              yes
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   yes
  Does Emacs use toolkit scroll bars?                     yes
This problem turned out that my /etc/mk.conf was wrong. The (trace of) setup for Mac OS X were there,
PKG_OPTIONS.emacs_current = -dbus -gtk -svg -x11 -xft2 -xaw -motif 
#KG_OPTIONS.emacs_current+= nextstep
And I misunderstood that -x11 meaned enable x11 as like shell options. By removing this setup, emacs on unbuntu get x11 capability (2010/06/09 added).

#2 [database] (mysql) hostname is blocked because of many connection errors;

ttyp0:username@host 23:55:04/100528(~)> mysql -u hoge -h mysql database_name
ERROR 1129 (00000): Host 'example.com' is blocked because of many connection errors; \
unblock with 'mysqladmin flush-hosts'
I had problem of remembering password, so just mysql process restarted, and it is resolved.



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)