UJP - 技術情報1

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

PHPでIMAP4とかPOP3を使うためのc-clientライブラリを入れる

PHPでIMAP4とかPOP3を使うためのc-clientライブラリを入れる


0.改訂履歴

  • 2006.04.12 新規作成
  • 2006.09.09 若干修正

1.はじめに

 このドキュメントでは,ワシントン大学で提供されている,IMAP用のCクライアントライブラリ(c-client)のインストール手順を説明する.  このライブラリでは,IMAPに関連したのもや,POP3やNNTP等のインタフェイスを提供するものとなる. 以下のようなRFCに準拠しているので,UW-IMAPだけでなく,他のIMAPサーバにも対応できる.

  • RFC2821: Simple Mail Transfer Protocol (SMTP).
  • RFC2822: Standard for ARPA internet text messages.
  • RFC2060: Internet Message Access Protocol (IMAP) Version 4rev1.
  • RFC1939: Post Office Protocol Version 3 (POP3).
  • RFC977: Network News Transfer Protocol (NNTP).
  • RFC2076: Common Internet Message Headers.
  • RFC2045 , RFC2046 , RFC2047 , RFC2048 & RFC2049: Multipurpose Internet Mail Extensions (MIME).

 なお,使用しているOSは,RedHat Linux ES上で稼働している.

2.モジュールの入手

[root@apollo Download]# wget ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
--18:19:39--  ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
           => `c-client.tar.Z'
Resolving ftp.cac.washington.edu... 140.142.15.201, 140.142.3.249
Connecting to ftp.cac.washington.edu[140.142.15.201]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /imap ... done.
==> PASV ... done.    ==> RETR c-client.tar.Z ... done.
Length: 2,246,713 (unauthoritative)

100%[=============================================================>] 2,246,713
    399.77K/s    ETA 00:00

18:19:47 (359.55 KB/s) - `c-client.tar.Z' saved [2,246,713]

[root@apollo Download]# 
  • 取得したアーカイブファイルを確認する.
[root@apollo Download]# ls -lah c-client*
-rw-r--r--    1 root     root         2.1M Apr 12 18:19 c-client.tar.Z
[root@apollo Download]# 
  • アーカイブファイルを展開する..Zなので,compressコマンドを利用する.
[root@apollo Download]# ls -lah c-client*
-rw-r--r--    1 root     root         2.1M Apr 12 18:19 c-client.tar.Z
[root@apollo Download]# uncompress c-client.tar.Z 
[root@apollo Download]# ls -lah c-client*
-rw-r--r--    1 root     root         6.4M Apr 12 18:19 c-client.tar
[root@apollo Download]# tar xf c-client.tar 
[root@apollo Download]# 

3.コンパイルする

  • 展開してできたディレクトリに移動する.
  • なお,バージョンによってディレクトリ名が変わる. 200xxとなっている模様.(昔の物は2000cとか)
  • ディレクトリの中を確認する.
[root@apollo Download]# cd imap-2004g

[root@apollo imap-2004g]# ls -la
total 76
drwxrwxr-x    5 104      wheel        4096 Sep 15  2005 .
drwxr-xr-x    8 root     root         4096 Apr 12 18:23 ..
-rw-rw-r--    1 104      wheel        2769 Dec  1  2004 CONTENTS
-rw-rw-r--    1 104      wheel        4072 Jan 18  2005 CPYRIGHT
drwxrwxr-x    4 104      wheel        4096 Sep 15  2005 docs
-rw-rw-r--    1 104      wheel       17737 Apr 30  2005 Makefile
-rw-rw-r--    1 104      wheel        1315 Jul  2  2002 makefile.nt
-rw-rw-r--    1 104      wheel        1327 Jul  2  2002 makefile.ntk
-rw-rw-r--    1 104      wheel        1063 Jul  2  2002 makefile.os2
-rw-rw-r--    1 104      wheel        1327 Feb 17  2004 makefile.w2k
-rw-rw-r--    1 104      wheel        1102 Jul  2  2002 makefile.wce
-rw-rw-r--    1 104      wheel        2260 Sep 14  2004 README
drwxrwxr-x   13 104      wheel        4096 May  9  2003 src
-rw-rw-r--    1 104      wheel         339 Jan 28  2004 SUPPORT
drwxrwxr-x    2 104      wheel        4096 Mar  4  2003 tools
[root@apollo imap-2004g]# 
  • makeを行う.
[root@apollo imap-2004g]# make
Not processed yet. In a first-time build, you must specify
the system type so that the sources are properly processed.
make: *** [c-client] Error 1
[root@apollo imap-2004g]#
  • エラーで停止した.
  • システムタイプを選択して実行する必要があるとのこと.
  • Makefileのファイルの中身を確認する.
[root@apollo imap-2004g]# head -n 40 Makefile|tail -n 20
# Normal command to build IMAP toolkit:
#  make <port> [EXTRAAUTHENTICATORS=xxx] [EXTRADRIVERS=xxx] [EXTRACFLAGS=xxx]
#              [PASSWDTYPE=xxx] [SSLTYPE=xxx] [IP=n]


# Port name.  These refer to the *standard* compiler on the given system.
# This means, for example, that the hpx port is for HP's compiler and not for
# a non-standard compiler such as gcc.
#
# If you are using gcc and it is not the standard compiler on your system, try
# using an ANSI port that is close to what you have.  For example, if your
# system is SVR4ish, try a32 or lnx; if it's more BSDish, try nxt, mct, or bsi.
#
# The following ports are bundled:
# a32   AIX 3.2 for RS/6000
# a41   AIX 4.1 for RS/6000
# aix   AIX/370 (not RS/6000!!)
# ami   AmigaDOS
# am2   AmigaDOS with a 68020+
# ama   AmigaDOS using AS225R2
[root@apollo imap-2004g]# 
  • ここにOSタイプとパラメータが記述されていることが確認できた.
  • 今回インストールしようとしているLinuxについて調べてみる.
[root@apollo imap-2004g]# grep Linux Makefile
# ldb   Debian Linux
# lnx   Linux with traditional passwords and crypt() in the C library
# lnp   Linux with Pluggable Authentication Modules (PAM)
# lmd   Mandrake Linux
# lrh   RedHat Linux 7.2 and later
# lsu   SuSE Linux
# sl4   Linux using -lshadow to get the crypt() function
# sl5   Linux with shadow passwords, no extra libraries
# slx   Linux using -lcrypt to get the crypt() function
# pam   PAM authentication (note: for Linux, you should use the "lnp" port
# Linux shadow password support doesn't build on traditional systems, but most
# Linux systems are shadow these days.
        @echo You are building for traditional Linux.  Most modern Linux
        @echo traditional Linux.  You will not see this message again.
[root@apollo imap-2004g]# 
  • いくつかあるが,今回はRedHatになるので,lrhをパラメータとすればよいことがわかる.
  • コンパイルを行う.
[root@apollo imap-2004g]# make lrh
make sslnopwd
make[1]: Entering directory `/root/DL/imap-2004g'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with RFC 3501 security
+ requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
make[1]: Leaving directory `/root/DL/imap-2004g'
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICAT
ORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnp ¥
SPECIALS="GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/o
penssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock" ¥
EXTRACFLAGS=" -I/usr/kerberos/include"
make[1]: Entering directory `/root/DL/imap-2004g'
Building c-client for lnp...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make lnp EXTRACFLAGS='-I/usr/kerberos/include'¥
 EXTRALDFLAGS=''¥
 EXTRADRIVERS='mbox'¥
 EXTRAAUTHENTICATORS=''¥
 PASSWDTYPE=std SSLTYPE=nopwd IP=4¥
 GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SS
LLIB=/usr/lib LOCKPGM=/usr/sbin/mlock 
make[2]: Entering directory `/root/DL/imap-2004g/c-client'
make build EXTRACFLAGS='-I/usr/kerberos/include' EXTRALDFLAGS='' EXTRADRIVERS=
'mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 `cat SPECIALS` 
OS=lnx ¥
 SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs ¥
 SPOOLDIR=/var/spool ¥
 ACTIVEFILE=/var/lib/news/active ¥
 RSHPATH=/usr/bin/rsh ¥
 BASECFLAGS="-g -fno-omit-frame-pointer -O2" ¥
 BASELDFLAGS="-lpam -ldl"
make[3]: Entering directory `/root/DL/imap-2004g/c-client'
sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.
o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -fno-omit-frame-pointer -O2 '-I/usr/kerberos/include' > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto ¥
 -DMAILSPOOL=¥"/var/spool/mail¥" ¥
 -DANONYMOUSHOME=¥"/var/spool/mail/anonymous¥" ¥
 -DACTIVEFILE=¥"/var/lib/news/active¥" -DNEWSSPOOL=¥"/var/spool/news¥" ¥
 -DRSHPATH=¥"/usr/bin/rsh¥" -DLOCKPGM=¥"/usr/sbin/mlock¥" > OSCFLAGS
echo -lpam -ldl  > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o sigloc
al.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o im
ap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranl
ib c-client.a" > ARCHIVE
echo lnx > OSTYPE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths  md5 pla log
make[4]: Entering directory `/root/DL/imap-2004g/c-client'
echo -DMD5ENABLE=¥"/etc/cram-md5.pwd¥" >> OSCFLAGS
make[4]: Leaving directory `/root/DL/imap-2004g/c-client'
ln -s os_lnx.h osdep.h
ln -s os_lnx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
ln -s ip4_unix.c ip_unix.c
sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco) && ln 
-s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c'
Standard password authentication
ln -s ckp_pam.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTOR
Y=¥"/usr/share/ssl/certs¥" -DSSL_KEY_DIRECTORY=¥"/usr/share/ssl/certs¥" >> OSC
FLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/lib -lssl -lcrypto  >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo "  mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make lnx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
`cat CCTYPE` -c `cat CFLAGS` mail.c
`cat CCTYPE` -c `cat CFLAGS` misc.c
`cat CCTYPE` -c `cat CFLAGS` newsrc.c
`cat CCTYPE` -c `cat CFLAGS` smanager.c
`cat CCTYPE` -c `cat CFLAGS` utf8.c
`cat CCTYPE` -c `cat CFLAGS` siglocal.c
`cat CCTYPE` -c `cat CFLAGS` dummy.c
`cat CCTYPE` -c `cat CFLAGS` pseudo.c
`cat CCTYPE` -c `cat CFLAGS` netmsg.c
`cat CCTYPE` -c `cat CFLAGS` flstring.c
`cat CCTYPE` -c `cat CFLAGS` fdstring.c
`cat CCTYPE` -c `cat CFLAGS` rfc822.c
`cat CCTYPE` -c `cat CFLAGS` nntp.c
`cat CCTYPE` -c `cat CFLAGS` smtp.c
`cat CCTYPE` -c `cat CFLAGS` imap4r1.c
`cat CCTYPE` -c `cat CFLAGS` pop3.c
`cat CCTYPE` -c `cat CFLAGS` unix.c
`cat CCTYPE` -c `cat CFLAGS` mbx.c
`cat CCTYPE` -c `cat CFLAGS` mmdf.c
`cat CCTYPE` -c `cat CFLAGS` tenex.c
`cat CCTYPE` -c `cat CFLAGS` mtx.c
`cat CCTYPE` -c `cat CFLAGS` news.c
news.c: In function `news_open':
news.c:347: warning: passing arg 3 of `scandir' from incompatible pointer type
`cat CCTYPE` -c `cat CFLAGS` phile.c
`cat CCTYPE` -c `cat CFLAGS` mh.c
mh.c: In function `mh_ping':
mh.c:688: warning: passing arg 3 of `scandir' from incompatible pointer type
mh.c: In function `mh_append':
mh.c:938: warning: passing arg 3 of `scandir' from incompatible pointer type
`cat CCTYPE` -c `cat CFLAGS` mx.c
mx.c: In function `mx_ping':
mx.c:647: warning: passing arg 3 of `scandir' from incompatible pointer type
sh -c 'rm -rf c-client.a || true'
ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o d
ummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.
o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-c
lient.a
make[3]: Leaving directory `/root/DL/imap-2004g/c-client'
make[2]: Leaving directory `/root/DL/imap-2004g/c-client'
echo lnp > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[2]: Entering directory `/root/DL/imap-2004g/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o mtest.
o mtest.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.
o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x7e5f): In function `ssl_onceonlyinit':
/root/DL/imap-2004g/c-client/osdep.c:300: the use of `tmpnam' is dangero
us, better use `mkstemp'
mtest.o(.text+0x1f86): In function `smtptest':
/root/DL/imap-2004g/mtest/mtest.c:766: the `gets' function is dangerous 
and should not be used.
make[2]: Leaving directory `/root/DL/imap-2004g/mtest'
cd ipopd;make
make[2]: Entering directory `/root/DL/imap-2004g/ipopd'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o ipop2d.
o ipop2d.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop
2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x7e5f): In function `ssl_onceonlyinit':
/root/DL/imap-2004g/c-client/osdep.c:300: the use of `tmpnam' is dangero
us, better use `mkstemp'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o ipop3d.
o ipop3d.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop
3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x7e5f): In function `ssl_onceonlyinit':
/root/DL/imap-2004g/c-client/osdep.c:300: the use of `tmpnam' is dangero
us, better use `mkstemp'
make[2]: Leaving directory `/root/DL/imap-2004g/ipopd'
cd imapd;make
make[2]: Entering directory `/root/DL/imap-2004g/imapd'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -DANOFILE=¥"
/etc/anonymous.newsgroups¥" -DALERTFILE=¥"/etc/imapd.alert¥" -DNNTPFILE=¥"/etc
/imapd.nntp¥" -DUSERALERTFILE=¥".imapalert¥" -DSHUTDOWNFILE=¥"/etc/nologin¥"   
-c -o imapd.o imapd.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -DANOFILE=¥"
/etc/anonymous.newsgroups¥" -DALERTFILE=¥"/etc/imapd.alert¥" -DNNTPFILE=¥"/etc
/imapd.nntp¥" -DUSERALERTFILE=¥".imapalert¥" -DSHUTDOWNFILE=¥"/etc/nologin¥" -
o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x7e5f): In function `ssl_onceonlyinit':
/root/DL/imap-2004g/c-client/osdep.c:300: the use of `tmpnam' is dangero
us, better use `mkstemp'
make[2]: Leaving directory `/root/DL/imap-2004g/imapd'
cd mailutil;make
make[2]: Entering directory `/root/DL/imap-2004g/mailutil'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o mailut
il.o mailutil.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil ma
ilutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x7e5f): In function `ssl_onceonlyinit':
/root/DL/imap-2004g/c-client/osdep.c:300: the use of `tmpnam' is dangero
us, better use `mkstemp'
make[2]: Leaving directory `/root/DL/imap-2004g/mailutil'
cd mlock;make || true
make[2]: Entering directory `/root/DL/imap-2004g/mlock'
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS`   -c -o mlock.o mlock.c
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o
make[2]: Leaving directory `/root/DL/imap-2004g/mlock'
cd dmail;make || true
make[2]: Entering directory `/root/DL/imap-2004g/dmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o dmail.
o dmail.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.
o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x7e5f): In function `ssl_onceonlyinit':
/root/DL/imap-2004g/c-client/osdep.c:300: the use of `tmpnam' is dangero
us, better use `mkstemp'
make[2]: Leaving directory `/root/DL/imap-2004g/dmail'
cd tmail;make || true
make[2]: Entering directory `/root/DL/imap-2004g/tmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o tmail.
o tmail.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.
o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x7e5f): In function `ssl_onceonlyinit':
/root/DL/imap-2004g/c-client/osdep.c:300: the use of `tmpnam' is dangero
us, better use `mkstemp'
make[2]: Leaving directory `/root/DL/imap-2004g/tmail'
make[1]: Leaving directory `/root/DL/imap-2004g'
  • 問題なく完了した模様.
  • ディレクトリの中身を確認する.
[root@apollo imap-2004g]# ls -lat
total 120
drwxrwxr-x   13 104      wheel        4096 Apr 12 19:16 .
drwxr-xr-x    2 root     root         4096 Apr 12 18:39 tmail
drwxr-xr-x    2 root     root         4096 Apr 12 18:39 dmail
drwxr-xr-x    2 root     root         4096 Apr 12 18:39 mlock
drwxr-xr-x    2 root     root         4096 Apr 12 18:39 mailutil
drwxr-xr-x    2 root     root         4096 Apr 12 18:39 imapd
drwxr-xr-x    2 root     root         4096 Apr 12 18:39 ipopd
drwxr-xr-x    2 root     root         4096 Apr 12 18:39 mtest
drwxr-xr-x    2 root     root         8192 Apr 12 18:39 c-client
-rw-r--r--    1 root     root            4 Apr 12 18:39 OSTYPE
lrwxrwxrwx    1 root     root            8 Apr 12 18:38 an -> tools/an
-rw-r--r--    1 root     root            1 Apr 12 18:38 SPECIALS
drwxr-xr-x    8 root     root         4096 Apr 12 18:27 ..
drwxrwxr-x    4 104      wheel        4096 Sep 15  2005 docs
-rw-rw-r--    1 104      wheel       17737 Apr 30  2005 Makefile
-rw-rw-r--    1 104      wheel        4072 Jan 18  2005 CPYRIGHT
-rw-rw-r--    1 104      wheel        2769 Dec  1  2004 CONTENTS
-rw-rw-r--    1 104      wheel        2260 Sep 14  2004 README
-rw-rw-r--    1 104      wheel        1327 Feb 17  2004 makefile.w2k
-rw-rw-r--    1 104      wheel         339 Jan 28  2004 SUPPORT
drwxrwxr-x   13 104      wheel        4096 May  9  2003 src
drwxrwxr-x    2 104      wheel        4096 Mar  4  2003 tools
-rw-rw-r--    1 104      wheel        1063 Jul  2  2002 makefile.os2
-rw-rw-r--    1 104      wheel        1327 Jul  2  2002 makefile.ntk
-rw-rw-r--    1 104      wheel        1102 Jul  2  2002 makefile.wce
-rw-rw-r--    1 104      wheel        1315 Jul  2  2002 makefile.nt
[root@apollo imap-2004g]# 
  • 色々な物が作成されていることがわかる.

4.インストール

  • インストール作業は,手作業となる.
  • まず,作成されたライブラリを確認する.
  • モジュールたちはc-clientディレクトリに保存されている.
[root@apollo imap-2004g]# cd c-client/
[root@apollo c-client]# ls -la *.a
-rw-r--r--    1 root     root      1525514 Apr 12 18:39 c-client.a
[root@apollo c-client]# 
  • コンパイルして作成されたファイルc-cliuent.aを,ライブラリ用ディレクトリに複写する.
[root@apollo c-client]# cp c-client.a /usr/local/lib/libc-client.a
[root@apollo c-client]# ls -la /usr/local/lib/libc-client.a
-rw-r--r--    1 root     root      1525514 Apr 12 19:34 /usr/local/lib/libc-client.a
[root@apollo c-client]# 
  • 次に,ヘッダファイルを確認する.
[root@apollo c-client]# ls  *.h
c-client.h  mbx.h     os_asv.h  os_isc.h  os_s40.h   os_vu2.h
dummy.h     mh.h      os_aux.h  os_lnx.h  os_sc5.h   pseudo.h
env.h       misc.h    os_bsd.h  os_lyn.h  os_sco.h   rfc822.h
env_unix.h  mx.h      os_bsf.h  os_mct.h  os_sgi.h   smtp.h
fdstring.h  netmsg.h  os_bsi.h  os_mnt.h  os_shp.h   sslio.h
 flockcyg.h  newsrc.h  os_cvx.h  os_nto.h  os_slx.h   tcp.h
flocksim.h  nl.h      os_cyg.h  os_nxt.h  os_soln.h  tcp_unix.h
flstring.h  nntp.h    osdep.h   os_os4.h  os_solo.h  unix.h
fs.h        os_a32.h  os_d-g.h  os_osf.h  os_sos.h   utf8.h
ftl.h       os_a41.h  os_do4.h  os_osx.h  os_sun.h
imap4r1.h   os_aix.h  os_drs.h  os_ptx.h  os_sv2.h
linkage.h   os_aos.h  os_dyn.h  os_pyr.h  os_sv4.h
mail.h      os_art.h  os_hpp.h  os_qnx.h  os_ult.h
[root@apollo c-client]# 
  • include用ディレクトリに複写する.
[root@apollo c-client]# cp *.h /usr/local/include/.
[root@apollo c-client]#
  • コピーした先のディレクトリを確認する.
[root@apollo c-client]# ls -lat /usr/local/include
total 420
drwxr-xr-x    3 root     root         4096 Apr 12 19:36 .
-rw-r--r--    1 root     root         1354 Apr 12 19:36 c-client.h
-rw-r--r--    1 root     root         1093 Apr 12 19:36 dummy.h
-rw-r--r--    1 root     root         1353 Apr 12 19:36 env.h
-rw-r--r--    1 root     root         3003 Apr 12 19:36 env_unix.h
-rw-r--r--    1 root     root          843 Apr 12 19:36 fdstring.h
-rw-r--r--    1 root     root         1147 Apr 12 19:36 flockcyg.h
-rw-r--r--    1 root     root         4087 Apr 12 19:36 flocksim.h
-rw-r--r--    1 root     root          571 Apr 12 19:36 flstring.h
-rw-r--r--    1 root     root          677 Apr 12 19:36 fs.h
-rw-r--r--    1 root     root          597 Apr 12 19:36 ftl.h
-rw-r--r--    1 root     root         6676 Apr 12 19:36 imap4r1.h
-rw-r--r--    1 root     root          454 Apr 12 19:36 linkage.h
-rw-r--r--    1 root     root        64484 Apr 12 19:36 mail.h
-rw-r--r--    1 root     root          657 Apr 12 19:36 mbx.h
-rw-r--r--    1 root     root          652 Apr 12 19:36 mh.h
-rw-r--r--    1 root     root         2935 Apr 12 19:36 misc.h
-rw-r--r--    1 root     root          712 Apr 12 19:36 mx.h
-rw-r--r--    1 root     root          759 Apr 12 19:36 netmsg.h
-rw-r--r--    1 root     root         1258 Apr 12 19:36 newsrc.h
-rw-r--r--    1 root     root          709 Apr 12 19:36 nl.h
-rw-r--r--    1 root     root         1395 Apr 12 19:36 nntp.h
-rw-r--r--    1 root     root         1000 Apr 12 19:36 os_a32.h
-rw-r--r--    1 root     root         1000 Apr 12 19:36 os_a41.h
-rw-r--r--    1 root     root          894 Apr 12 19:36 os_aix.h
-rw-r--r--    1 root     root         1064 Apr 12 19:36 os_aos.h
-rw-r--r--    1 root     root         1793 Apr 12 19:36 os_art.h
-rw-r--r--    1 root     root         1692 Apr 12 19:36 os_asv.h
-rw-r--r--    1 root     root          983 Apr 12 19:36 os_aux.h
-rw-r--r--    1 root     root         1131 Apr 12 19:36 os_bsd.h
-rw-r--r--    1 root     root          849 Apr 12 19:36 os_bsf.h
-rw-r--r--    1 root     root          831 Apr 12 19:36 os_bsi.h
-rw-r--r--    1 root     root          885 Apr 12 19:36 os_cvx.h
-rw-r--r--    1 root     root         1409 Apr 12 19:36 os_cyg.h
-rw-r--r--    1 root     root         1256 Apr 12 19:36 osdep.h
-rw-r--r--    1 root     root         1149 Apr 12 19:36 os_d-g.h
-rw-r--r--    1 root     root         1033 Apr 12 19:36 os_do4.h
-rw-r--r--    1 root     root         1183 Apr 12 19:36 os_drs.h
-rw-r--r--    1 root     root         1258 Apr 12 19:36 os_dyn.h
-rw-r--r--    1 root     root         1129 Apr 12 19:36 os_hpp.h
-rw-r--r--    1 root     root         1454 Apr 12 19:36 os_isc.h
-rw-r--r--    1 root     root         1256 Apr 12 19:36 os_lnx.h
-rw-r--r--    1 root     root          830 Apr 12 19:36 os_lyn.h
-rw-r--r--    1 root     root          827 Apr 12 19:36 os_mct.h
-rw-r--r--    1 root     root          977 Apr 12 19:36 os_mnt.h
-rw-r--r--    1 root     root         1450 Apr 12 19:36 os_nto.h
-rw-r--r--    1 root     root          822 Apr 12 19:36 os_nxt.h
-rw-r--r--    1 root     root          992 Apr 12 19:36 os_os4.h
-rw-r--r--    1 root     root          973 Apr 12 19:36 os_osf.h
-rw-r--r--    1 root     root          827 Apr 12 19:36 os_osx.h
-rw-r--r--    1 root     root         1470 Apr 12 19:36 os_ptx.h
-rw-r--r--    1 root     root         1184 Apr 12 19:36 os_pyr.h
-rw-r--r--    1 root     root         1276 Apr 12 19:36 os_qnx.h
-rw-r--r--    1 root     root          729 Apr 12 19:36 os_s40.h
-rw-r--r--    1 root     root         1462 Apr 12 19:36 os_sc5.h
-rw-r--r--    1 root     root         1508 Apr 12 19:36 os_sco.h
-rw-r--r--    1 root     root         1132 Apr 12 19:36 os_sgi.h
-rw-r--r--    1 root     root         1129 Apr 12 19:36 os_shp.h
-rw-r--r--    1 root     root         1256 Apr 12 19:36 os_slx.h
-rw-r--r--    1 root     root         1664 Apr 12 19:36 os_soln.h
-rw-r--r--    1 root     root         1632 Apr 12 19:36 os_solo.h
-rw-r--r--    1 root     root          992 Apr 12 19:36 os_sos.h
-rw-r--r--    1 root     root         1079 Apr 12 19:36 os_sun.h
-rw-r--r--    1 root     root         2681 Apr 12 19:36 os_sv2.h
-rw-r--r--    1 root     root         1540 Apr 12 19:36 os_sv4.h
-rw-r--r--    1 root     root          808 Apr 12 19:36 os_ult.h
-rw-r--r--    1 root     root         2168 Apr 12 19:36 os_vu2.h
-rw-r--r--    1 root     root          610 Apr 12 19:36 pseudo.h
-rw-r--r--    1 root     root         3815 Apr 12 19:36 rfc822.h
-rw-r--r--    1 root     root         2268 Apr 12 19:36 smtp.h
-rw-r--r--    1 root     root         2081 Apr 12 19:36 sslio.h
-rw-r--r--    1 root     root         1481 Apr 12 19:36 tcp.h
-rw-r--r--    1 root     root          996 Apr 12 19:36 tcp_unix.h
-rw-r--r--    1 root     root         6529 Apr 12 19:36 unix.h
-rw-r--r--    1 root     root        17290 Apr 12 19:36 utf8.h
drwxr-sr-x   16 root     root         4096 Apr  4 13:41 ..
-rw-r--r--    1 root     root         4990 Apr  4 13:41 courier_auth_config.h
-rw-r--r--    1 root     root         1047 Apr  4 13:41 courierauthdebug.h
-rw-r--r--    1 root     root         3583 Apr  4 13:41 courierauth.h
-rw-r--r--    1 root     root         2116 Apr  4 13:41 courierauthsaslclient.h
-rw-r--r--    1 root     root         2912 Apr  4 13:41 courierauthsasl.h
drwxr-xr-x    7 root     root         4096 Mar  5 22:09 php
[root@apollo c-client]# 
  • Cプログラムのソースを確認する.
[root@apollo c-client]# ls *.c
auth_gss.c  crx_nfs.c   koi8_r.c    opendir.c   os_nxt.c   siglocal.c
auth_log.c  crx_std.c   koi8_u.c    os_a32.c    os_os4.c   sig_psx.c
auth_md5.c  dummy.c     ksc_5601.c  os_a41.c    os_osf.c   sig_sv4.c
auth_pla.c  env_unix.c  linkage.c   os_aix.c    os_osx.c   smanager.c
auths.c     fdstring.c  log_bsi.c   os_aos.c    os_ptx.c   smtp.c
big5.c      flockcyg.c  log_cyg.c   os_art.c    os_pyr.c   ssl_none.c
ckp_1st.c   flocklnx.c  log_old.c   os_asv.c    os_qnx.c   sslstdio.c
ckp_2nd.c   flocksim.c  log_os4.c   os_aux.c    os_s40.c   ssl_unix.c
ckp_3rd.c   flstring.c  log_sec.c   os_bsd.c    os_sc5.c   strerror.c
ckp_a41.c   fs_unix.c   log_std.c   os_bsf.c    os_sco.c   strpbrk.c
ckp_afs.c   fsync.c     log_sv4.c   os_bsi.c    os_sgi.c   strstr.c
ckp_bsi.c   ftl_unix.c  mail.c      os_cvx.c    os_shp.c   strtok.c
ckp_cyg.c   gb_12345.c  mbx.c       os_cyg.c    os_slx.c   strtoul.c
ckp_dce.c   gb_2312.c   memmove2.c  osdepbas.c  os_sol.c   tcp_unix.c
ckp_gss.c   gethstid.c  memmove.c   osdep.c     os_sos.c   tenex.c
ckp_nul.c   getspnam.c  memset.c    osdepckp.c  os_sun.c   tis_620.c
ckp_os4.c   gr_wait4.c  mh.c        osdeplog.c  os_sv2.c   truncate.c
ckp_pam.c   gr_wait.c   misc.c      osdepssl.c  os_sv4.c   tz_bsd.c
ckp_pmb.c   gr_waitp.c  mmdf.c      os_d-g.c    os_ult.c   tz_nul.c
ckp_psx.c   ibm.c       mtx.c       os_do4.c    os_vu2.c   tz_sv4.c
ckp_sce.c   imap4r1.c   mx.c        os_drs.c    phile.c    unix.c
ckp_sec.c   ip4_unix.c  netmsg.c    os_dyn.c    pmatch.c   utf8.c
ckp_ssn.c   ip6_unix.c  news.c      os_hpp.c    pop3.c     utime.c
ckp_std.c   ipo_unix.c  newsrc.c    os_isc.c    pseudo.c   viscii.c
ckp_sv4.c   ip_unix.c   nfstest.c   os_lnx.c    rename.c   windows.c
ckp_svo.c   iso_8859.c  nfstnew.c   os_lyn.c    rfc822.c   write.c
ckp_ult.c   jis_0208.c  nfstold.c   os_mct.c    scandir.c
cns11643.c  jis_0212.c  nl_unix.c   os_mnt.c    setpgrp.c
crexcl.c    kerb_mit.c  nntp.c      os_nto.c    sig_bsd.c
[root@apollo c-client]# 
  • 複写した物を確認する.,
[root@apollo c-client]# ls -la /usr/local/lib/
total 4596
drwxr-xr-x    4 root     root         4096 Apr 12 20:13 .
drwxr-sr-x   16 root     root         4096 Apr  4 13:41 ..
-rw-r--r--    1 root     root        14326 Apr 12 20:13 auth_gss.c
-rw-r--r--    1 root     root         3270 Apr 12 20:13 auth_log.c
-rw-r--r--    1 root     root        16783 Apr 12 20:13 auth_md5.c
-rw-r--r--    1 root     root         4348 Apr 12 20:13 auth_pla.c
-rw-r--r--    1 root     root           66 Apr 12 20:13 auths.c
-rw-r--r--    1 root     root       113533 Apr 12 20:13 big5.c
-rw-r--r--    1 root     root         1292 Apr 12 20:13 ckp_1st.c
-rw-r--r--    1 root     root          660 Apr 12 20:13 ckp_2nd.c
-rw-r--r--    1 root     root          588 Apr 12 20:13 ckp_3rd.c
-rw-r--r--    1 root     root         1212 Apr 12 20:13 ckp_a41.c
-rw-r--r--    1 root     root         1663 Apr 12 20:13 ckp_afs.c
-rw-r--r--    1 root     root         1188 Apr 12 20:13 ckp_bsi.c
-rw-r--r--    1 root     root         1563 Apr 12 20:13 ckp_cyg.c
-rw-r--r--    1 root     root         2393 Apr 12 20:13 ckp_dce.c
-rw-r--r--    1 root     root         2161 Apr 12 20:13 ckp_gss.c
-rw-r--r--    1 root     root          837 Apr 12 20:13 ckp_nul.c
-rw-r--r--    1 root     root         1937 Apr 12 20:13 ckp_os4.c
-rw-r--r--    1 root     root         3694 Apr 12 20:13 ckp_pam.c
-rw-r--r--    1 root     root         3519 Apr 12 20:13 ckp_pmb.c
-rw-r--r--    1 root     root         3459 Apr 12 20:13 ckp_psx.c
-rw-r--r--    1 root     root         1396 Apr 12 20:13 ckp_sce.c
-rw-r--r--    1 root     root         1350 Apr 12 20:13 ckp_sec.c
-rw-r--r--    1 root     root         1394 Apr 12 20:13 ckp_ssn.c
-rw-r--r--    1 root     root          955 Apr 12 20:13 ckp_std.c
-rw-r--r--    1 root     root         3017 Apr 12 20:13 ckp_sv4.c
-rw-r--r--    1 root     root         2953 Apr 12 20:13 ckp_svo.c
-rw-r--r--    1 root     root          865 Apr 12 20:13 ckp_ult.c
-rw-r--r--    1 root     root       517134 Apr 12 20:13 cns11643.c
drwxr-xr-x    2 root     root         4096 Apr  4 13:41 courier-authlib
-rw-r--r--    1 root     root         2283 Apr 12 20:13 crexcl.c
-rw-r--r--    1 root     root         2283 Apr 12 20:13 crx_nfs.c
-rw-r--r--    1 root     root         1015 Apr 12 20:13 crx_std.c
-rw-r--r--    1 root     root        22081 Apr 12 20:13 dummy.c
-rw-r--r--    1 root     root        55662 Apr 12 20:13 env_unix.c
-rw-r--r--    1 root     root         2575 Apr 12 20:13 fdstring.c
-rw-r--r--    1 root     root         2840 Apr 12 20:13 flockcyg.c
-rw-r--r--    1 root     root         2088 Apr 12 20:13 flocklnx.c
-rw-r--r--    1 root     root        25156 Apr 12 20:13 flocksim.c
-rw-r--r--    1 root     root         2143 Apr 12 20:13 flstring.c
-rw-r--r--    1 root     root         1657 Apr 12 20:13 fs_unix.c
-rw-r--r--    1 root     root          682 Apr 12 20:13 fsync.c
-rw-r--r--    1 root     root          770 Apr 12 20:13 ftl_unix.c
-rw-r--r--    1 root     root        66136 Apr 12 20:13 gb_12345.c
-rw-r--r--    1 root     root        64621 Apr 12 20:13 gb_2312.c
-rw-r--r--    1 root     root          747 Apr 12 20:13 gethstid.c
-rw-r--r--    1 root     root         1360 Apr 12 20:13 getspnam.c
-rw-r--r--    1 root     root          853 Apr 12 20:13 gr_wait4.c
-rw-r--r--    1 root     root         1072 Apr 12 20:13 gr_wait.c
-rw-r--r--    1 root     root          853 Apr 12 20:13 gr_waitp.c
-rw-r--r--    1 root     root        16829 Apr 12 20:13 ibm.c
-rw-r--r--    1 root     root       191614 Apr 12 20:13 imap4r1.c
-rw-r--r--    1 root     root         5020 Apr 12 20:13 ip4_unix.c
-rw-r--r--    1 root     root         8516 Apr 12 20:13 ip6_unix.c
-rw-r--r--    1 root     root         4925 Apr 12 20:13 ipo_unix.c
-rw-r--r--    1 root     root         5020 Apr 12 20:13 ip_unix.c
-rw-r--r--    1 root     root        13990 Apr 12 20:13 iso_8859.c
-rw-r--r--    1 root     root        62601 Apr 12 20:13 jis_0208.c
-rw-r--r--    1 root     root        56908 Apr 12 20:13 jis_0212.c
-rw-r--r--    1 root     root         2654 Apr 12 20:13 kerb_mit.c
-rw-r--r--    1 root     root         1578 Apr 12 20:13 koi8_r.c
-rw-r--r--    1 root     root         1582 Apr 12 20:13 koi8_u.c
-rw-r--r--    1 root     root       182125 Apr 12 20:13 ksc_5601.c
-rw-r--r--    1 root     root      1525514 Apr 12 19:34 libc-client.a
-rw-r--r--    1 root     root         1072 Apr 12 20:13 linkage.c
-rw-r--r--    1 root     root         1351 Apr 12 20:13 log_bsi.c
-rw-r--r--    1 root     root         1043 Apr 12 20:13 log_cyg.c
-rw-r--r--    1 root     root          805 Apr 12 20:13 log_old.c
-rw-r--r--    1 root     root         1432 Apr 12 20:13 log_os4.c
-rw-r--r--    1 root     root          942 Apr 12 20:13 log_sec.c
-rw-r--r--    1 root     root          922 Apr 12 20:13 log_std.c
-rw-r--r--    1 root     root          899 Apr 12 20:13 log_sv4.c
-rw-r--r--    1 root     root       199791 Apr 12 20:13 mail.c
-rw-r--r--    1 root     root        59787 Apr 12 20:13 mbx.c
-rw-r--r--    1 root     root         1122 Apr 12 20:13 memmove2.c
-rw-r--r--    1 root     root          765 Apr 12 20:13 memmove.c
-rw-r--r--    1 root     root          782 Apr 12 20:13 memset.c
-rw-r--r--    1 root     root        34412 Apr 12 20:13 mh.c
-rw-r--r--    1 root     root        11848 Apr 12 20:13 misc.c
-rw-r--r--    1 root     root        83159 Apr 12 20:13 mmdf.c
-rw-r--r--    1 root     root        45623 Apr 12 20:13 mtx.c
-rw-r--r--    1 root     root        35700 Apr 12 20:13 mx.c
-rw-r--r--    1 root     root         2747 Apr 12 20:13 netmsg.c
-rw-r--r--    1 root     root        19112 Apr 12 20:13 news.c
-rw-r--r--    1 root     root        16766 Apr 12 20:13 newsrc.c
-rw-r--r--    1 root     root         1122 Apr 12 20:13 nfstest.c
-rw-r--r--    1 root     root         1122 Apr 12 20:13 nfstnew.c
-rw-r--r--    1 root     root          806 Apr 12 20:13 nfstold.c
-rw-r--r--    1 root     root         2393 Apr 12 20:13 nl_unix.c
-rw-r--r--    1 root     root        75849 Apr 12 20:13 nntp.c
-rw-r--r--    1 root     root         1763 Apr 12 20:13 opendir.c
-rw-r--r--    1 root     root         1244 Apr 12 20:13 os_a32.c
-rw-r--r--    1 root     root         1339 Apr 12 20:13 os_a41.c
-rw-r--r--    1 root     root         1304 Apr 12 20:13 os_aix.c
-rw-r--r--    1 root     root         1304 Apr 12 20:13 os_aos.c
-rw-r--r--    1 root     root         1947 Apr 12 20:13 os_art.c
-rw-r--r--    1 root     root         1512 Apr 12 20:13 os_asv.c
-rw-r--r--    1 root     root         1317 Apr 12 20:13 os_aux.c
-rw-r--r--    1 root     root         1304 Apr 12 20:13 os_bsd.c
-rw-r--r--    1 root     root         1142 Apr 12 20:13 os_bsf.c
-rw-r--r--    1 root     root         1142 Apr 12 20:13 os_bsi.c
-rw-r--r--    1 root     root         1189 Apr 12 20:13 os_cvx.c
-rw-r--r--    1 root     root         1426 Apr 12 20:13 os_cyg.c
-rw-r--r--    1 root     root         1133 Apr 12 20:13 osdepbas.c
-rw-r--r--    1 root     root        27984 Apr 12 20:13 osdep.c
-rw-r--r--    1 root     root         3694 Apr 12 20:13 osdepckp.c
-rw-r--r--    1 root     root          922 Apr 12 20:13 osdeplog.c
-rw-r--r--    1 root     root        22235 Apr 12 20:13 osdepssl.c
-rw-r--r--    1 root     root         1126 Apr 12 20:13 os_d-g.c
-rw-r--r--    1 root     root         1206 Apr 12 20:13 os_do4.c
-rw-r--r--    1 root     root         1196 Apr 12 20:13 os_drs.c
-rw-r--r--    1 root     root         1334 Apr 12 20:13 os_dyn.c
-rw-r--r--    1 root     root         1710 Apr 12 20:13 os_hpp.c
-rw-r--r--    1 root     root         1460 Apr 12 20:13 os_isc.c
-rw-r--r--    1 root     root         1133 Apr 12 20:13 os_lnx.c
-rw-r--r--    1 root     root         1127 Apr 12 20:13 os_lyn.c
-rw-r--r--    1 root     root         1090 Apr 12 20:13 os_mct.c
-rw-r--r--    1 root     root         1107 Apr 12 20:13 os_mnt.c
-rw-r--r--    1 root     root         1658 Apr 12 20:13 os_nto.c
-rw-r--r--    1 root     root         1106 Apr 12 20:13 os_nxt.c
-rw-r--r--    1 root     root         1191 Apr 12 20:13 os_os4.c
-rw-r--r--    1 root     root         1154 Apr 12 20:13 os_osf.c
-rw-r--r--    1 root     root         1090 Apr 12 20:13 os_osx.c
-rw-r--r--    1 root     root         2724 Apr 12 20:13 os_ptx.c
-rw-r--r--    1 root     root         1294 Apr 12 20:13 os_pyr.c
-rw-r--r--    1 root     root         1627 Apr 12 20:13 os_qnx.c
-rw-r--r--    1 root     root         1395 Apr 12 20:13 os_s40.c
-rw-r--r--    1 root     root         1366 Apr 12 20:13 os_sc5.c
-rw-r--r--    1 root     root         1426 Apr 12 20:13 os_sco.c
-rw-r--r--    1 root     root         1183 Apr 12 20:13 os_sgi.c
-rw-r--r--    1 root     root         1752 Apr 12 20:13 os_shp.c
-rw-r--r--    1 root     root         1160 Apr 12 20:13 os_slx.c
-rw-r--r--    1 root     root         1435 Apr 12 20:13 os_sol.c
-rw-r--r--    1 root     root         1200 Apr 12 20:13 os_sos.c
-rw-r--r--    1 root     root         1391 Apr 12 20:13 os_sun.c
-rw-r--r--    1 root     root         2662 Apr 12 20:13 os_sv2.c
-rw-r--r--    1 root     root         1413 Apr 12 20:13 os_sv4.c
-rw-r--r--    1 root     root         1069 Apr 12 20:13 os_ult.c
-rw-r--r--    1 root     root         1835 Apr 12 20:13 os_vu2.c
-rw-r--r--    1 root     root        16219 Apr 12 20:13 phile.c
drwxr-xr-x   15 root     root         4096 Mar  5 22:09 php
-rw-r--r--    1 root     root         2611 Apr 12 20:13 pmatch.c
-rw-r--r--    1 root     root        34220 Apr 12 20:13 pop3.c
-rw-r--r--    1 root     root         1042 Apr 12 20:13 pseudo.c
-rw-r--r--    1 root     root          918 Apr 12 20:13 rename.c
-rw-r--r--    1 root     root        68940 Apr 12 20:13 rfc822.c
-rw-r--r--    1 root     root         2119 Apr 12 20:13 scandir.c
-rw-r--r--    1 root     root          718 Apr 12 20:13 setpgrp.c
-rw-r--r--    1 root     root          726 Apr 12 20:13 sig_bsd.c
-rw-r--r--    1 root     root         1101 Apr 12 20:13 siglocal.c
-rw-r--r--    1 root     root         1101 Apr 12 20:13 sig_psx.c
-rw-r--r--    1 root     root          727 Apr 12 20:13 sig_sv4.c
-rw-r--r--    1 root     root         3435 Apr 12 20:13 smanager.c
-rw-r--r--    1 root     root        26401 Apr 12 20:13 smtp.c
-rw-r--r--    1 root     root         2400 Apr 12 20:13 ssl_none.c
-rw-r--r--    1 root     root         4018 Apr 12 20:13 sslstdio.c
-rw-r--r--    1 root     root        22235 Apr 12 20:13 ssl_unix.c
-rw-r--r--    1 root     root          753 Apr 12 20:13 strerror.c
-rw-r--r--    1 root     root          897 Apr 12 20:13 strpbrk.c
-rw-r--r--    1 root     root         1070 Apr 12 20:13 strstr.c
-rw-r--r--    1 root     root         1437 Apr 12 20:13 strtok.c
-rw-r--r--    1 root     root         2157 Apr 12 20:13 strtoul.c
-rw-r--r--    1 root     root        29505 Apr 12 20:13 tcp_unix.c
-rw-r--r--    1 root     root        48594 Apr 12 20:13 tenex.c
-rw-r--r--    1 root     root         1729 Apr 12 20:13 tis_620.c
-rw-r--r--    1 root     root          858 Apr 12 20:13 truncate.c
-rw-r--r--    1 root     root          761 Apr 12 20:13 tz_bsd.c
-rw-r--r--    1 root     root          659 Apr 12 20:13 tz_nul.c
-rw-r--r--    1 root     root          815 Apr 12 20:13 tz_sv4.c
-rw-r--r--    1 root     root        85850 Apr 12 20:13 unix.c
-rw-r--r--    1 root     root        51261 Apr 12 20:13 utf8.c
-rw-r--r--    1 root     root         1020 Apr 12 20:13 utime.c
-rw-r--r--    1 root     root         2635 Apr 12 20:13 viscii.c
-rw-r--r--    1 root     root        10800 Apr 12 20:13 windows.c
-rw-r--r--    1 root     root         1555 Apr 12 20:13 write.c
[root@apollo c-client]# 
  • 終了.


広告スペース
Google