Can’t locate Time/HiRes.pm in @INC

  • 에러메시지 :
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/share/perl5/Sys/Statistics/Linux/Processes.pm line 177.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Sys/Statistics/Linux/Processes.pm line 177.
Compilation failed in require at /usr/local/nagios/libexec/check_linux_stats.pl line 36.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_linux_stats.pl line 36.
  • 해결방안 :
yum install perl-Time-HiRes
또는 yum install perl*로 해당 파일을 업데이트

Can’t locate ExtUtils/MakeMaker.pm in @INC

  • 에러메시지 :
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
  • 해결방안 :
yum install perl-ExtUtils-MakeMaker
또는 yum install perl*로 해당 파일을 업데이트

PHP 설치 오류

  • configure: error: xml2-config not found. Please check your libxml2 installation.
    > yum install libxml*
  • configure: error: Please reinstall the libcurl distribution –
    > yum -y install curl curl-devel
  • configure: error: libpng.(a|so) not found.
  • configure: error: libpng.(a|so) not found.
    > yum install libjpeg-devel
    > yum install libpng-devel
    > ln-s /usr/lib64/libjpeg.so /usr/lib
    > ln-s /usr/lib64/libpng.so /usr/lib
  • configure: error: libXpm.(a|so) not found
    > yum install xorg-x11-devel

리눅스에서 wmv 스트리밍은 어떻게 해야는겨??

도대체 리눅스에서 wmv 스트리밍을 하려면 어떻게 해야는거야?? Darwin으로 된데서 설치해봤더니 안되는거 같고;;; Darwin이 너무 쉽게 설치되서 그런지 된다 싶은 녀석들은 설명이나 설치 방법들이 너무 어렵고 원 ㅡㅡ;;; 리눅스에서 wmv랑 mp4 같이 스트리밍할 수 있는 방법 없으려나?? 젠장 ㅜㅜ

RHEL/CentOS 에 Darwin Streaming Server 설정 후기

리눅스에 Darwin Streaming Server 설치와 관련하여 검색을 통해 접하게 되는 대부분의 자료들은 Darwin Streaming Server 6.0.3 버전의 소스코드를 가지고 컴파일을 통하여 설치하는 과정에 대해 설명하고 있다. 하지만, 이번 테스트 과정에서 OS의 버전이 CentOS 5.9여서인지는 모르겠으나 여차저차해서 6.0.3 버전의 설치를 완료하였으나 rtsp 로 접근 및 재생이 제대로 이루어지지 않았다.
Darwin Streaming Server 사이트(http://dss.macosforge.org/)에서는 5.5.5 버전에 대해서만 리눅스용 파일을 별도로 배포하고 있어 결국 이 버전을 이용하여 설치를 진행하였고, 오히려 컴파일 과정도 필요 없이 바로 설치가 가능하였다. 물론 rtsp 로 접근 및 재생도 문제없이 완료!!
현재까지 테스트 결과로는 힌트처리를 한 mp4 파일들에 대한 재생은 문제가 없었으나, 일부 자료들에서 제공되듯이 wmv 재생을 지원하지는 않는것 같다. 그리고 테스트가 제대로된 플레이어도 VLC 뿐이라 다른 플레이어들에서는 어떨런지도 아직 미지수.

RHEL/CentOS에 ffmpeg 설치하기

1. Repository 파일 생성

# vim /etc/yum.repos.d/ffmpeg.repo

2. Repository 내용 등록. (다음 내용 입력하고 저장)

[ffmpeg]
name=FFmpeg RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el6/en/x86_64/dag/  (64 Bit OS)
# baseurl=http://apt.sw.be/redhat/el6/en/i386/dag/   (32 Bit OS)
gpgcheck=1
enabled=1  

3. rpmforge Rpository 설치

For 32 Bit OS :
# rmp -Uvh http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
For 64 Bit OS :
# rpm -Uvh http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

이 단계가 진행되지 않으면 yum 설치 할 때 다음과 같은 메시지 출력
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6  

4.\ ffmpeg & ffmpeg-devel 설치

# yum install ffmpeg ffmpeg-devel
또는
# yum install ffmpeg*

Ubuntu: 창의 제목표시줄이 사라졌을 때

img

요즘들어 우분투를 사용하면서 은근히 자주 접하는 문제들 중에 하나가 위 스크린샷처럼 창들의 제목표시줄이 사라져버리는 현상입니다. 창의 종료버튼도 없으니 프로그램을 종료시키거나 위치를 이동시키기도 참 애매한 상태지요;;;

이럴때는 다음 명령을 통해서 Compiz를 재구성시켜 보세요.

  1. 터미널 실행하시고
    ~$ copmiz --replace
  2. 한동안 조금만 기다리면 화면이 사라졌다 다시 나타나면서 창들이 제 모습을 갖추게 될겁니다.
  3. 그리고 터미널창에서의 명령이 멈춰버리게 될텐데 그때 그냥 터미널창을 강제로 종료시켜도 별다른 이상은 없어 보이네요
  4. 혹시나 에메랄드 테마 관리자까지 설치되신 상태라면 에메랄드도
    ~$ emerald --replace
  5. 근데 저는 에메랄드는 해봐도 그때 뿐인데다 들어있는 창테마들도 맘에들지 않아서 삭제해버렸습니다.