우분투에서 소스를 패키징 후 패키지 설치를 했는데 changelog만 남습니다.
글쓴이: kjh27814 / 작성시간: 수, 2013/08/14 - 4:36오후
안녕하세요.
패키징을 끝내 성공했는데 결과가 이상해서 질문 올립니다.
현재 qt로 작성한 소스를 패키징해서 그걸 설치했는데 changelog.gz라는 파일만 남아
어리둥절해서요.. 제가 rules파일을 잘못 설정했는지 (솔직히 작성하는 방법도 모르겠습니다 ㅜㅜ 다른 사이트에 있는거 제 컴퓨터에 맞게 조금씩 바꿔서 써놨거든요..)
#!/usr/bin/make -f # Sample debian/rules that uses debhelper. # This file is public domain software, originally written by Joey Hess. # # This version is for packages that are architecture dependent. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-stamp build-stamp: dh_testdir # Add here commands to compile the package. /home/kkangji/Qt5.1.0/5.1.0/gcc_64/bin/qmake -config release make touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. #$(MAKE) clean #$(MAKE) distclean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/<packagename> make INSTALL_ROOT=`pwd`/debian/minicam-1.0 install # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs #dh_installdocs #dh_installexamples dh_installman #dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install
이와 같이 작성하고
dpkg-buildpackage -rfakeroot 명령어를 통해서 패키지 파일을 만들었습니다.
dpkg -i install 패키지 로 설치도 완료 했구요.
그런데 install 지정 디렉토리로 들어가면 changelog.gz라는 파일만 자리잡고 있고
실행파일이라던지 그런건 보이질 않습니다.
이게 어찌된 일일까요 ㅜㅜ
여러분들의 도움 부탁드리겠습니다.
감사합니다.
Forums:
작업 환경은 12.04 LTS입니다. QMake를
작업 환경은 12.04 LTS입니다.
QMake를 실행해서 나오는 Makefile을 소스 폴더 안에 같이 넣고 dh_make 후에
rules파일을 위와 같이 수정 후 패키징 하였습니다.
댓글 달기