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

先月 2000年09月 来月
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
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2000年09月07日(木) 旧暦 [n年日記]

#1 [Unix] MRTG,snmpd, とか僕には役に立つ

http://www3.digitalworks.com/~jean/newb/UNIX
(何故か見付からなくなってしまった)

#2 [Namazu] 2000-09-06 libintl.h missing etc

○ configure にかかった時間
creating config.h
16.350u 96.574s 2:24.62 78.0%   0+0k 567+2992io 238pf+0w
makoto@scgj■ 15:32:23/000907(...making/namazu-2000-09-06)> 
 
○ time make すると libintl.h がないと言う
time make
In file included from alias.c:44:
i18n.h:8: libintl.h: No such file or directory
*** Error code 1

○ gettext のものが /usr/local/include/libintl.h にあったので、
( cd nmz; ln -s /usr/local/include/libintl.h . )
とする

○ gettext 関係の名前が解決出来ないと言うので
mkdir .libs

gcc -g -O2 -Wall -pedantic -o .libs/namazu form.o namazu.o output.o
rcfile.o result.o usage.o namazu-cmd.o ../nmz/.libs/libnmz.so -lm
../lib/libnmzut.a -lm -Wl,--rpath -Wl,/usr/local/lib
../nmz/.libs/libnmz.so: warning: reference to compatibility
setlocale(); include <locale.h> for correct reference

output.o: In function `print_page_index':
/E/making/namazu-2000-09-06/src/output.c:493: undefined reference to `gettext'
output.o: In function `print_current_range':
/E/making/namazu-2000-09-06/src/output.c:538: undefined reference to `gettext'
output.o: In function `print_hitnum_all_idx':
/E/making/namazu-2000-09-06/src/output.c:586: undefined reference to `gettext'
output.o: In function `print_hitnum':
/E/making/namazu-2000-09-06/src/output.c:596: undefined reference to `gettext'
/E/making/namazu-2000-09-06/src/output.c:603: undefined reference to `gettext'
output.o:/E/making/namazu-2000-09-06/src/output.c:662: more undefined references to `gettext' follow
collect2: ld returned 1 exit status
*** Error code 1

○次のように src に行って

makoto@scgj■ 15:54:34/000907(...namazu-2000-09-06/src)> gcc -g -O2
-Wall -pedantic -o .libs/namazu form.o namazu.o output.o rcfile.o
result.o usage.o namazu-cmd.o ../nmz/.libs/libnmz.so -lm
../lib/libnmzut.a -lm -L/usr/local/lib -lintl -Wl,--rpath
-Wl,/usr/local/lib

../nmz/.libs/libnmz.so: warning: reference to compatibility
setlocale(); include <locale.h> for correct reference

makoto@scgj■ 15:54:48/000907(...namazu-2000-09-06/src)> 

○実行して見ると
makoto@scgj■ 15:59:12/000907(...making/namazu-2000-09-06)>  ~makoto/public_html/diary/namazu.cgi
Cannot open "../nmz/.libs/libnmz.so"

○ src/Make file を
少し変更して
作り直し。

makoto@scgj■ 16:05:54/000907(...namazu-2000-09-06/src)> gcc -g -O2
-Wall -pedantic -o .libs/namazu.cgi form.o namazu.o output.o rcfile.o
result.o usage.o cgi.o namazu-cgi.o -lnmz -lm ../lib/libnmzut.a -lm
-L/usr/local/lib -lintl -Wl,--rpath -Wl,/usr/local/lib
/usr/local/lib/libnmz.so: warning: reference to compatibility
setlocale(); include <locale.h> for correct reference

makoto@scgj■ 16:06:15/000907(...namazu-2000-09-06/src)> 



最近の日記
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)