libpng-1.2.33.tar.gz インストール

前へ| 次へ

libpng-1.2.33.tar.gz make and make install

へたら

make

# make 2>&1 | tee log-make 
...

make install

# touch /tmp/20081109mark ; sleep 1

ほんでもって

# make install 2>&1 | tee log_install

集める

# find / -cnewer /tmp/20081109mark ! -type d -print >/tmp/colectionfileall
find: /proc/3718/fd/4: No such file or directory
# pwd
/usr/local/src/104_libpng/libpng-1.2.33
# cd
# pwd
/root
# cp /tmp/colectionfileall colectionfileall-libpng-1233
# wc -l colectionfileall-libpng-1233 
   2059 colectionfileall-libpng-1233
# sed -e '/^\/proc/d' colectionfileall-libpng-1233 | wc -l
     27
# sed -e '/^\/proc/d' colectionfileall-libpng-1233 >qqqqq 
# mv qqqqq colectionfileall-libpng-1233 
# vi colectionfileall-libpng-1233
# cat colectionfileall-libpng-1233
/usr/local/bin/libpng12-config
/usr/local/bin/libpng-config
/usr/local/lib/pkgconfig/libpng12.pc
/usr/local/lib/pkgconfig/libpng.pc
/usr/local/lib/libpng12.a
/usr/local/lib/libpng.a
/usr/local/lib/libpng.so.3
/usr/local/lib/libpng.so
/usr/local/lib/libpng12.so.0
/usr/local/lib/libpng12.so
/usr/local/lib/libpng12.so.0.33.0
/usr/local/lib/libpng12.la
/usr/local/lib/libpng.so.3.33.0
/usr/local/lib/libpng.la
/usr/local/include/libpng12/png.h
/usr/local/include/libpng12/pngconf.h
/usr/local/include/png.h
/usr/local/include/pngconf.h
/usr/local/share/man/man3/libpng.3
/usr/local/share/man/man3/libpngpf.3
/usr/local/share/man/man5/png.5

tgz を 作成

# cd -
/usr/local/src/104_libpng/libpng-1.2.33
# cd ../
# mkdir tgz
# cd tgz/
# ls -a
./  ../
# cp /root/colectionfileall-libpng-1233 .
# tar -T colectionfileall-libpng-1233 -cvzf libpng-1.2.33.tgz 2>&1 | tee log-tgz-gather
tar: Member names contain `..'
tar: Removing leading `/' from member names
usr/local/bin/libpng12-config
usr/local/bin/libpng-config
usr/local/lib/pkgconfig/libpng12.pc
usr/local/lib/pkgconfig/libpng.pc
usr/local/lib/libpng12.a
usr/local/lib/libpng.a
usr/local/lib/libpng.so.3
usr/local/lib/libpng.so
usr/local/lib/libpng12.so.0
usr/local/lib/libpng12.so
usr/local/lib/libpng12.so.0.33.0
usr/local/lib/libpng12.la
usr/local/lib/libpng.so.3.33.0
usr/local/lib/libpng.la
usr/local/include/libpng12/png.h
usr/local/include/libpng12/pngconf.h
usr/local/include/png.h
usr/local/include/pngconf.h
usr/local/share/man/man3/libpng.3
usr/local/share/man/man3/libpngpf.3
usr/local/share/man/man5/png.5
# ls -l
total 804
-rw-r--r--    1 root     root          638 Nov  9 15:34 colectionfileall-libpng-1233
-rw-r--r--    1 root     root       807024 Nov  9 15:36 libpng-1.2.33.tgz
-rw-r--r--    1 root     root          692 Nov  9 15:36 log-tgz-gather

本来これで良い筈ですが 印刷試験すると

$ PIPS Error : libpng.so: 共有オブジェクトファイルを開けません: 
そのようなファイルやディレクトリはありません: Can not find library.
PIPS Error : 
/home/1001_serch/v_data/sample.png: 
Format conversion error
lpr: stdin: empty input file

やはり 不都合の 様です。まあ 何事も やってみないと わからないのです。

にゃんたろう 拝!

2008年10月25日 (土) 21:09:48 JST 作成


前へ| 次へ

libpng-1.2.33.tar.gz インストール

Copyright © 2006.-2008. nyantarou All Rights Reserved.