[ukai] A crow may be drowned by aping a cormorant
Fumitoshi UKAI's hacking life

Fri, 15 Jul 2005

w3m 0.5.1-4 upload

I rebuild w3m using latest version of libgc-dev (for libgc1c2) for GCC 4.0 ABI transition.

First I build w3m in sid chroot without /proc mounted, then I got this errors and failed to build w3m.

GC Warning: Couldn't read /proc/stat
GC Warning: GC_get_nprocs() returned -1
Couldn't read /proc/self/stat
/bin/sh: line 1: 22169 Aborted                 ./mktable 100 functable.tab >functable.c
make[1]: *** [functable.c] Error 134
make[1]: Leaving directory `/tmp/w3m-0.5.1'
make: *** [build-stamp] Error 2
debuild: fatal error at line 765:
dpkg-buildpackage failed!

Hmm, it seems libgc1 requires /proc mounted to run the application. So, I mount /proc, and retry. I see several warnings with gcc -Wall. Hmm, it should be fixed.

I successfully build w3m with libgc1c2, but it is too slow to startup. For example,

% time w3m
(snip)
real    0m24.086s
user    0m0.013s
sys     0m0.004s

This is because w3mimgdisplay takes too much time to abandon to connect the display in chroot environment. So, unset DISPLAY makes it faster to start up w3m.

[16:23] | [debian/w3m] | # | TB| G



Name:


E-mail:


URL:


Comment:


< July 2005 >
SuMoTuWeThFrSa
      1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930
31      

Categories

Archives

My Sites
ukai.jp
mu
me
Diary
[rss]

Web Sites
Debian
Debian JP
snapshot.debian.net
Japan Linux Association
Free Software Initiative of Japan

powered by pyblosxom