CMake 컴파일 설치 에러 포함

2024. 8. 5. 17:48·Linux/Rocky 8.10

Rocky에서 CMake 컴파일 설치 과정

https://cmake.org/download/

 

Download CMake

You can either download binaries or source code archives for the latest stable or previous release or access the current development (aka nightly) distribution through Git. This software may not be exported in violation of any U.S. export laws or regulatio

cmake.org

나는 파일질라를 이용해서 옮겼음

더 편한 설치방법도 있지만 외부 통신이 불가능 하다는 가정

경로는 /usr/local/compile_util로 지정을 했음

# tar -zxvf cmake.tar.gz

cmake 디렉터리에 가서

# ./bootstrap --prefix=/usr/local/compile_util/cmake && make && make install

경로를 cmake 디렉터리에 잡아주면서 동시에 설치 실행까지 한번에 

기본적으로 configure / make / make install 과정의 기본 경로는

/usr/local로 지정되어 있기 때문에 경로 변경을 원한다면 

configure 과정에서 --prefix='경로' 옵션을 추가해주면 됨 

configure 설치 중 없는 프로그램 및 라이브러리는 오류 메시지를 보고 해결 가능

configure 옵션을 잘못 주었을 경우

#make distclean

컴파일까지 완료한 설치파일을 제거할 때 쓰는 명령어

# make uninstall
저작자표시 비영리 (새창열림)

'Linux > Rocky 8.10' 카테고리의 다른 글

[Rocky 8.10] PHPMYADMIN 설치  (0) 2024.08.13
[Rocky 8.10] DNS 서버 구축  (0) 2024.08.08
[Rocky 8.10] NPM Source 설치  (0) 2024.08.07
Linux 리눅스 mv 명령어, 파일 이동, 파일명 변경  (0) 2024.08.02
[sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old  (0) 2024.08.02
'Linux/Rocky 8.10' 카테고리의 다른 글
  • [Rocky 8.10] DNS 서버 구축
  • [Rocky 8.10] NPM Source 설치
  • Linux 리눅스 mv 명령어, 파일 이동, 파일명 변경
  • [sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old
ssnong
ssnong
캠핑 맛집 여행 윈도우 리눅스 PHP DB 등 기록 공간입니다
  • ssnong
    호슐랭
    ssnong
  • 전체
    오늘
    어제
    • 분류 전체보기 (42)
      • Linux (21)
        • ubuntu (4)
        • Rocky 8.10 (16)
      • Windows (5)
      • git (3)
      • Lang (3)
        • javascript (3)
        • PHP (0)
      • Database (3)
        • MySQL8.0 (2)
        • MariaDB (1)
        • PostgreSQL(17.2) (0)
      • AWS (1)
      • ERROR! (4)
  • 링크

    • 일상은 여기서!
  • 공지사항

  • 인기 글

  • 태그

    rocky 8 postgresql 설치
    rocky
    linux postgresql설치
    Linux
    nginx php 소켓통신
    linux nft
    리눅스 nft
    git pull
    리눅스
    centos nftables
    nftables
    rocky postgresql설치
    linux nftables
    hyper-v vm 생성
    pg_hba.conf 설정
    ssh 접속
    git push
    리눅스 nftables
    postgresql.conf 설정
    rocky nftables
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
ssnong
CMake 컴파일 설치 에러 포함
상단으로

티스토리툴바