개발 환경과 관련해서 스트레스가 심해지고 있다..
이참에 한번 밀어볼까?
개발 환경과 관련해서 스트레스가 심해지고 있다..
이참에 한번 밀어볼까?
Ubuntu-14.10 공식 지원 기간이 종료된다.
LTS가 아닌 배포 버전들은 9개월의 공식 지원 기간을 가지게 된다. 종료 시기는 2015.07.23.
Ubuntu 에서 Evoland 실행시 다음과 같은 오류가 발생했다.
Flash Player PPAPI not detected in /opt/google/chrome/PepperFlash/libpepflashplayer
해결책은 다음 링크에 있었다.
http://steamcommunity.com/app/233470/discussions/0/617329150698258331/?insideModal=1
해결 방법이 몇가지 있었는데, 가장 쉽고 빠른 방법은 3번 방법으로 패치 파일을 적용하는 방법이었다.
링크에 걸려진 패치 파일을 다운 받아 Evoland 가 설치된 디렉토리에 덮어쓰기를 하면 된다.
보통은 다음의 위치에 설치되어 있다.
~/.steam/steam/steamapps/common/Evoland
혹시나 싶어 해당 파일을 같이 올려 놓는다.
프로젝트를 진행하면서 bsd-make(bmake)를 사용할 일이 생겼다.
당연히 ubuntu에서 사용가능한 bmake package 를 찾아봤으나… 아무래도 보이지 않았다.
한참을 찾고 찾아도 도저히 보이지 않아 결국, Chris 에게 도움을 요청했다.
내 설명을 들은 Chris가 구글에서 debian bmake 를 검색하니 바로 나왔다..(그동안 나는 ubuntu 와 bmake 키워드를 가지고 계속 삽질을 하고 있었다.)
결국 너무 늦은시간이라 회사에서는 해결을 못하고, 집에와서 다시금 찾아보니 답이 나왔다.
정답은…
$ sudo apt-get install pmake
pmake 였던 것이다.. -_-;;
$ man pmake
MAKE(1) BSD General Commands Manual MAKE(1)
NAME
pmake — maintain program dependencies
SYNOPSIS
pmake [-BeikNnqrstWX] [-D variable] [-d flags] [-f makefile] [-I directory] [-J private] [-j max_jobs] [-m directory] [-T file] [-V variable] [variable=value] [target …]
DESCRIPTION
pmake is a program designed to simplify the maintenance of other programs. Its input is a list of specifications as to the files upon which programs and other files depend. If the file ‘makefile’ exists, it is read for this
list of specifications. If it does not exist, the file ‘Makefile’ is read. If the file ‘.depend’ exists, it is read (see mkdep(1)).
This manual page is intended as a reference document only. For a more thorough description of pmake and makefiles, please refer to Make – A Tutorial.
Ubuntu 11.04 Kernel Version
Linux localhost.localdomain 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686 i686 i386 GNU/Linux
환경에서 Virtual Box 를 구동하려고 하니 다음과 같은 에러메시지가 나타났다.
“Failed to start the virtual machine WindowsXP.
Failed to open/create the internal network ‘HostInterfaceNetworking-eth0’ (you might need to modprobe vboxnetflt to make it accessible) (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Please install the virtualbox-ose-dkms package and execute ‘modprobe vboxdrv’ as root (VERR_SUPDRV_COMPONENT_NOT_FOUND).”
이유인즉, 두 개의 모듈 vboxnetflt 와 vboxdrv 이 적재 되지 않아서 발생하는 문제였다.
vboxdrv 의 경우,
$ sudo modprobe vboxdrv
의 명령어로 로딩시킬 수 있었지만, vboxnetflt 모듈의 경우에는 다음의 에러 메시지를 내며 로딩되지 않았다.
jonathan@jonathan-laptop:~$ sudo modprobe vboxnetflt
[sudo] password for jonathan:
FATAL: Error inserting vboxnetflt (/lib/modules/2.6.32-33-generic-pae/updates/dkms/vboxnetflt.ko): Invalid module format
한참을 고민하다가 해결책을 찾았는데, 너무도 간단했다.
다음의 명령어로 모듈을 업로드 할 수 있다.
$ modprobe /lib/modules/2.6.32-33-generic-pae/updates/dkms/vboxnetflt.ko
또한, 매 재부팅시 자동으로 모듈 업로드를 설정하기 위해서, /etc/modules 의 파일을 수정해야 한다.
</etc/modules>
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.lp
vboxdrv
/lib/modules/2.6.32-33-generic-pae/updates/dkms/vboxnetflt.ko