[root@server2 lsof_4.68]# cd lsof_4.68_src
[root@server2 lsof_4.68_src]# ./Configure
linux
Testing C library type with cc ... done
The C library type is glibc, version "-DGLIBCV=202".
This configuration step (the Inventory script)
takes inventory of
the lsof distribution. The script runs for
a minute or two while
it checks that all the subdirectories, information
files, scripts,
header files and source files that should
be present really are.
It's not absolutely necessary that you take
inventory, but it's a
good idea to do it right after the lsof distribution
has been
unpacked. Once the inventory has been taken,
this script creates
the file ./.ck00MAN as a signal that the
inventory step has been
done.
You can call the Inventory script directly
at any time to take
inventory. You can inhibit the inventory
step permanently by
creating the file ./.neverInv, and you can
tell the Configure script
to skip the inventory and customization steps
with the -n option.
Do you want to take inventory (y|n) [y]?
Conducting an inventory of the lsof distribution;
this will take a while.
Examining /usr/local/src/lsof_4.68/lsof_4.68_src:
OK
Examining dialects: OK
Examining dialects/aix: OK
Examining dialects/aix/aix5: OK
Examining dialects/aix/aix5/j2: OK
Examining dialects/bsdi: OK
Examining dialects/darwin: OK
Examining dialects/du: OK
Examining dialects/freebsd: OK
Examining dialects/freebsd/include: OK
Examining dialects/freebsd/include/procfs:
OK
Examining dialects/hpux: OK
Examining dialects/hpux/kmem: OK
Examining dialects/hpux/kmem/hpux11: OK
Examining dialects/hpux/pstat: OK
Examining dialects/linux: OK
Examining dialects/n+obsd: OK
Examining dialects/n+os: OK
Examining dialects/osr: OK
Examining dialects/osr/include: OK
Examining dialects/osr/include/sys: OK
Examining dialects/ou: OK
Examining dialects/ou/ou8: OK
Examining dialects/ou/ou8/sys: OK
Examining dialects/ou/ou8/sys/fs: OK
Examining dialects/ou/ou8/vm: OK
Examining dialects/sun: OK
Examining dialects/sun/include: OK
Examining dialects/sun/include/sys: OK
Examining dialects/uw: OK
Examining dialects/uw/uw21: OK
Examining dialects/uw/uw21/fs: OK
Examining dialects/uw/uw21/fs/proc: OK
Examining dialects/uw/uw21/fs/procfs: OK
Examining dialects/uw/uw21/sys: OK
Examining dialects/uw/uw21/sys/fs: OK
Examining dialects/uw/uw21/vm: OK
Examining dialects/uw/uw7: OK
Examining dialects/uw/uw7/fs: OK
Examining dialects/uw/uw7/fs/nsc_cfs: OK
Examining dialects/uw/uw7/fs/procfs: OK
Examining dialects/uw/uw7/sys: OK
Examining dialects/uw/uw7/sys/fs: OK
Examining dialects/uw/uw7/vm: OK
Examining lib: OK
Examining scripts: OK
Examining tests: OK
This lsof distribution seems to be complete.
rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c
dproc.c dproto.h dsock.c dstore.c kernelbase.h
machine.
h machine.h.old new_machine.h __lseek.s Makefile
./tests/config.cflags
rm -f ./tests/config.cc ./tests/config.xobj
./tests/config.ldflags
ln -s dialects/linux/dfile.c dfile.c
ln -s dialects/linux/dlsof.h dlsof.h
ln -s dialects/linux/dmnt.c dmnt.c
ln -s dialects/linux/dnode.c dnode.c
ln -s dialects/linux/dproc.c dproc.c
ln -s dialects/linux/dproto.h dproto.h
ln -s dialects/linux/dsock.c dsock.c
ln -s dialects/linux/dstore.c dstore.c
ln -s dialects/linux/machine.h machine.h
Makefile and lib/Makefile created.
./tests/config.cc created
./tests/config.cflags created
./tests/config.ldflags created
./tests/config.xobj created
You may now customize the machine.h header
file for this UNIX
dialect. The customizations will take effect
when you compile
lsof. You may also choose to skip customization
and proceed to
the compilation of lsof.
If you don't know if you need to customize
or want to know more
about what you can customize, consult the
00DCACHE, 00FAQ, 00PORTING,
and 00README files of the lsof distribution.
You might also find
it helpful to examine the machine.h header
file for the dialect
you're customizing.
You don't need to use this procedure to customize
lsof; you can
edit the machine.h header file directly.
If you later decide you
want to use this procedure to customize machine.h,
execute the
./Customize script.
Do you want to customize (y|n)
[y]?
Customizing ...
=====================================================================
When HASSECURITY is enabled, only the root
user may use lsof to
examine all open files; other users may examine
only the files
belonging to the real user ID of their lsof
process. If
HASNOSOCKSECURITY is also defined, anyone
may list anyone else's
open socket files, provided their listing
is selected with the "-i"
option.
When HASSECURITY is disabled, anyone may
use lsof to examine all
open files.
HASSECURITY is disabled.
Enable HASSECURITY (y|n) [n]?
HASSECURITY will not be changed.
=====================================================================
When WARNINGSTATE is enabled, lsof will will
issue whatever warning
messages it finds necessary. When WARNINGSTATE
is disabled, lsof
will issue no warning messages. For individual
uses of lsof, -w
disables warning state and +w enables it.
WARNINGSTATE is enabled.
Disable WARNINGSTATE? (y|n) [n]?
WARNINGSTATE will not be changed.
=====================================================================
When HASKERNIDCK is enabled, lsof compares
the identity of the
kernel where it was built to the identity
of the kernel where it
is running. This check can detect an lsof
executable inappropriate
for the system on which it is being run.
The kernel identity check can take considerable
time on some UNIX
dialects -- e.g., AIX -- so there may be
occasions when it is
desirable to disable it, in spite of the
increased risk of using
an inappropriate lsof executable.
HASKERNIDCK is disabled.
Enable HASKERNIDCK (y|n) [n]?
HASKERNIDCK will not be changed.
=====================================================================
A new machine.h file has been created in
"new_machine.h".
Do you want to rename machine.h to machine.h.old
and replace it with
new_machine.h (y|n) [y]?
You may now run the make command -- e.g.,
$ make
[root@server2 lsof_4.68_src]#
(y|n) [y]? と 質問されますが( ̄∇ ̄) Enterで 進めました。