首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
How To "make install" w/ designated target folder/directory?
Type(Type) 2013/3/29 16:57

How To "make install" w/ designated target folder/directory?




If the package is with "./configure" suite
the it usually could be achieved by


代碼:

$ configure --help

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]




For Example
Assume you want to install @ /tmp/myfolder/

代碼:

$ rm -rf /tmp/myfolder/

$ ./configure --prefix=/tmp/myfolder/ --exec-prefix=/tmp/myfolder/

$ make

$ make install

$ ls /tmp/myfolder/
bin   sbin   includes   share

$

(2,036 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

"How To "make install" w/ designated target folder/directory?" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版 [ 登入/註冊 ]
© Vovo2000.com Mobile Version 小哈手機版 2024