|
发表于 2003-3-29 20:19:19
|
显示全部楼层
mikeshi, 如何解压下载的 live.2003.03.28.tar.gz? 如何配置和编译?
live.come 上的文档,其中有一段:
How to configure and build the code on Unix (and QNX, and other Posix-compliant systems)
The source code package can be found (as a ".tar.gz" file) here. Use "tar -x" and "gunzip" (or "tar -xz", if available) to extract the package; then cd to the "live" directory. Then run
./genMakefiles <os-platform>
where <os-platform> is your target platform - e.g., "linux" or "solaris" - defined by a "config.<os-platform>" file. This will generate a Makefile in the "live" directory and each subdirectory. Then run "make".
* If the "make" fails, you may need to make small modifications to the appropriate "config.<os-platform>" file, and then re-run "genMakefiles <os-platform>". (E.g., you may need to add another "-I<dir>" flag to the COMPILE_OPTS definition.)
* Some systems' development tools get upset if the link target name immediately follows the "-o" flag in the Makefile. If this happens to you, you can edit each Makefile to replace each occurrence of ")$" with ") $". You can do this automatically by running
find . -name 'Makefile' -exec fix-makefile {} \;
(The "fix-makefile" script requires the presence of the "tclsh" shell.)
* Some people (in particular, Solaris users) have reported that the GNU version of "make") - often called "gmake" - works better than their default, pre-installed version of "make".
* If no "config.<os-platform>" file exists for your target platform, then try using one of the existing files as a template.
There's no official 'install' procedure; you can put the "live/" directory wherever you wish - but you must leave it intact. You may wish to do the following:
rm -rf /usr/lib/live ; cp -r live /usr/lib
live.com 网上的文档说: 用 tar -x 和 gunzip (或 tar -xz, 如果可用的话) ,解压压缩包,然后cd live ,输入命令:
./genMakefiles <os-platform> (这个命令是什么意思? 实际操作时,要填哪些参数,怎样输命令?) |
|