IT Japan

Innotop 설치 본문

카테고리 없음

Innotop 설치

swhwang 2014. 9. 24. 14:51
반응형

필요한 모듈

TermReadKey-2.30.tar.gz

perl-DBI-1.52-2.el5.x86_64.rpm

perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm

innotop-1.9.0.tar.gz

perl-5.8.8-27.el5.x86_64.rpm

mysql-5.0.95-1.el5_7.1.x86_64.rpm


1.

# rpm -ivh  perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm

경고: perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

오류: Failed dependencies:

        libmysqlclient.so.15()(64bit) is needed by perl-DBD-MySQL-3.0007-2.el5.x86_64

        libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by perl-DBD-MySQL-3.0007-2.el5.x86_64

        perl(DBI) is needed by perl-DBD-MySQL-3.0007-2.el5.x86_64

[root@kiro01 src]# rpm -ivh perl-DBI-1.52-2.el5.x86_64.rpm

경고: perl-DBI-1.52-2.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

준비 중...               ########################################### [100%]

   1:perl-DBI               ########################################### [100%]




# rpm -ivh mysql-5.0.95-1.el5_7.1.x86_64.rpm

경고: mysql-5.0.95-1.el5_7.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

준비 중...               ########################################### [100%]

   1:mysql                  경고: /etc/my.cnf(이)가 /etc/my.cnf.rpmnew(으)로 생성되었습니다

########################################### [100%]



[root@kiro01 src]# rpm -ivh perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm

경고: perl-DBD-MySQL-3.0007-2.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

준비 중...               ########################################### [100%]

   1:perl-DBD-MySQL         ########################################### [100%]



# tar xvf TermReadKey-2.30.tar.gz

TermReadKey-2.30/

TermReadKey-2.30/genchars.pl

TermReadKey-2.30/Makefile.PL

TermReadKey-2.30/Configure.pm

TermReadKey-2.30/test.pl

TermReadKey-2.30/ReadKey.pm

TermReadKey-2.30/META.yml

TermReadKey-2.30/ReadKey.xs

TermReadKey-2.30/ppport.h

TermReadKey-2.30/MANIFEST

TermReadKey-2.30/README



# cd TermReadKey-2.30



[root@kiro01 TermReadKey-2.30]# perl Makefile.PL

Checking if your kit is complete...

Looks good

Writing Makefile for Term::ReadKey



[root@kiro01 TermReadKey-2.30]# make

cp ReadKey.pm blib/lib/Term/ReadKey.pm

AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)

/usr/bin/perl -I/usr/lib/perl5/5.8.8 genchars.pl


Writing termio/termios section of cchars.h... Done.

Checking for sgtty...

        Sgtty NOT found.

Writing sgtty section of cchars.h... Done.

/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap  ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c

gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   ReadKey.c

In file included from ReadKey.xs:6:

ppport.h:230:1: warning: "PERL_UNUSED_DECL" redefined

In file included from ReadKey.xs:4:

/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:163:1: warning: this is the location of the previous definition

In file included from ReadKey.xs:375:

cchars.h: In function ‘XS_Term__ReadKey_GetControlChars’:

cchars.h:244: warning: unused variable ‘i’

ReadKey.xs: In function ‘ReadMode’:

ReadKey.xs:770: warning: unused variable ‘Perl___notused’

ReadKey.c: In function ‘XS_Term__ReadKey_SetTerminalSize’:

ReadKey.c:1999: warning: unused variable ‘targ’

Running Mkbootstrap for Term::ReadKey ()

chmod 644 ReadKey.bs

rm -f blib/arch/auto/Term/ReadKey/ReadKey.so

gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ReadKey.o  -o blib/arch/auto/Term/ReadKey/ReadKey.so     \

                \


chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.so

cp ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs

chmod 644 blib/arch/auto/Term/ReadKey/ReadKey.bs

Manifying blib/man3/Term::ReadKey.3pm


[root@kiro01 TermReadKey-2.30]# make install

Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Term/ReadKey/ReadKey.bs

Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Term/ReadKey/ReadKey.so

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree

Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Term/ReadKey/autosplit.ix

Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Term/ReadKey.pm

Installing /usr/share/man/man3/Term::ReadKey.3pm

Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Term/ReadKey/.packlist

Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod




[root@kiro01 src]# tar xvf innotop-1.9.0.tar.gz

innotop-1.9.0/

innotop-1.9.0/t/

innotop-1.9.0/t/InnoDBParser.t

innotop-1.9.0/t/innodb-status-001

innotop-1.9.0/t/innodb-status-002

innotop-1.9.0/t/innodb-status-003

innotop-1.9.0/t/innodb-status-004

innotop-1.9.0/t/innodb-status-005

innotop-1.9.0/t/innodb-status-006

innotop-1.9.0/t/innodb-status-007

innotop-1.9.0/innotop.spec

innotop-1.9.0/Makefile.PL

innotop-1.9.0/INSTALL

innotop-1.9.0/Changelog

innotop-1.9.0/innotop

innotop-1.9.0/COPYING

innotop-1.9.0/MANIFEST


[root@kiro01 src]# cd innotop-1.9.0

[root@kiro01 innotop-1.9.0]# ls -ltr

합계 500

-rw-rw-r-- 1 1046 513  19071  2월 10  2009 COPYING

-rw-rw-r-- 1 1046 513     89  2월 14  2009 MANIFEST

-rw-rw-r-- 1 1046 513    584  2월 24  2009 Makefile.PL

-rw-rw-r-- 1 1046 513   2379  2월 24  2009 INSTALL

-rw-rw-r-- 1 1046 513   3733  9월  8 03:51 innotop.spec

-rwxrwxr-x 1 1046 513 445421  9월  8 03:51 innotop

-rw-rw-r-- 1 1046 513  18576  9월  8 03:51 Changelog

drwxrwxr-x 2 1046 513   4096  9월  8 05:21 t


[root@kiro01 innotop-1.9.0]# perl Makefile.PL

Checking if your kit is complete...

Looks good

Writing Makefile for innotop

[root@kiro01 innotop-1.9.0]# make

cp innotop blib/script/innotop

/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/innotop

Manifying blib/man1/innotop.1

[root@kiro01 innotop-1.9.0]#

[root@kiro01 innotop-1.9.0]#

[root@kiro01 innotop-1.9.0]# make install

Installing /usr/share/man/man1/innotop.1

Installing /usr/bin/innotop

Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/innotop/.packlist

Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod

























반응형
Comments