Debian 维护者指南. . . . . . . . . . . . . . . . . . . 79 8.2 无 Makefile(shell,命令行界面) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 8.3 Makefile(shell,命令行界面) . . . . . . . . . . . . . . . . . setup.py(Python3,命令行界面) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 8.5 Makefile(shell,图形界面) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 8.6 setup . . . . . . . . . . . . . . . . . . . . 96 8.7 Makefile(单个二进制软件包) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 8.8 Makefile.in + configure(单个二进制软件包) . . . . . . . . . . .0 码力 | 142 页 | 1.11 MB | 1 年前3
Debian 新维护者手册软件包都必须,却可能对你有用, 或者你的软件包制作过程中会需要它们: • autoconf、automake 和 autotools-dev - 很多新程序使用 configure 脚本和 Makefile 文件来帮助预处理程序。 (参看 info autoconf、info automake)。autotools-dev 则用于保持指定的自动配置文件为最新,并带有关 于使用那些文件的最佳方法的文档。 3还有几个类似但更针对某一类软件的工具,如 dh-make-perl、dh-make-php 等。 Debian 新维护者手册 4 / 57 • xutils-dev - 一些通常用于 X11 的程序,使用其宏功能可以生成 Makefile 文件。(参看 imake(1)、xmkmf(1)) 以上给出的简短描述仅仅是为了使你对这些工具有一个基本的印象。在继续前请详细阅读每个程序(包括通过依赖关 系安装的程序,比如 make)的 不足道的软件包 hello-sh-1.0.tar.gz ,而且这会是一个非常好的开端:⁵ ⁵不用担心失踪的 Makefile。你可以参照第 5.11 节,简单地通过 debhelper 来安装 hello 程序,或者修改上游源代码来添加带有 install 目 标的新Makefile,参照第 3 章。 Debian 新维护者手册 9 / 57 $ mkdir -p hello-sh/hello-sh-10 码力 | 63 页 | 493.28 KB | 1 年前3
Debian 新維護人員手冊包雖不是對於所有軟件包都必須,卻可能對你有 用或被你的軟件包所需要: • autoconf、automake 和 autotools-dev - 很多新程序使用 configure 腳本和 Makefile 文件來幫助預處理程序。 (參看 info autoconf、info automake)。autotools-dev 則用於保持指定的自動配置文件爲最新,並帶有關 於使用那些文件的最佳方法的文檔。 ,如 dh-make-perl、dh-make-php 等。 Debian 新維護人員手冊 4 / 57 • xutils-dev - 一些通常用於 X11 的程序,用於使用其宏功能生成 Makefile 文件。(參看 imake(1)、xmkmf(1)) 以上給出的簡短描述僅僅是爲了使你對這些軟件包有一個基本的印象。在繼續前請詳細閱讀每個程序(包括通過依賴 關係安裝的程序,比如 make) 微不足道的軟體包 hello-sh-1.0.tar.gz ,而且這會是一個非常好的開端:⁵ ⁵不用擔心失蹤的 Makefile。你可以參照節 5.11 ,簡單地通過 debhelper 來安裝 hello 程序,或者修改上游源代碼來添加帶有 install 目標 的新Makefile,參照章 3 Debian 新維護人員手冊 9 / 57 $ mkdir -p hello-sh/hello-sh-10 码力 | 63 页 | 512.12 KB | 1 年前3
Linux Lab v1.3 ManualCreate the board directory . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.3 Clone a Makefile from an existing board . . . . . . . . . . . . . . . . . . . 49 5.4 Configure the variables from 6.4.3 linux-lab/configs: Permission denied . . . . . . . . . . . . . . . . . 62 6.4.4 scripts/Makefile.headersinst: Missing UAPI file . . . . . . . . . . . 62 6.4.5 unable to create file: net/netfilter/xt_dscp background at the same time. Check the board specific configuration: 1 $ cat boards/arm/vexpress-a9/Makefile Notes: More money are required to maintain this project, only one virtual board is free now, the0 码力 | 66 页 | 1.12 MB | 1 年前3
Linux Lab v1.2 ManualCreate the board directory . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.3 Clone a Makefile from an existing board . . . . . . . . . . . . . . . . . . . 49 5.4 Configure the variables from 6.4.3 linux-lab/configs: Permission denied . . . . . . . . . . . . . . . . . 62 6.4.4 scripts/Makefile.headersinst: Missing UAPI file . . . . . . . . . . . 62 6.4.5 unable to create file: net/netfilter/xt_dscp background at the same time. Check the board specific configuration: 1 $ cat boards/arm/vexpress-a9/Makefile Notes: More money are required to maintain this project, only one virtual board is free now, the0 码力 | 67 页 | 1.13 MB | 1 年前3
Linux Lab v1.1 ManualCreate the board directory . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.3 Clone a Makefile from an existing board . . . . . . . . . . . . . . . . . . . 47 5.4 Configure the variables from 6.4.3 linux-lab/configs: Permission denied . . . . . . . . . . . . . . . . . 60 6.4.4 scripts/Makefile.headersinst: Missing UAPI file . . . . . . . . . . . 60 6.4.5 unable to create file: net/netfilter/xt_dscp background at the same time. Check the board specific configuration: 1 $ cat boards/arm/vexpress-a9/Makefile Notes: More money are required to maintain this project, only one virtual board is free now, the0 码力 | 65 页 | 1.12 MB | 1 年前3
Linux Lab v1.1 中文手册创建开发板的目录 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.3 从一个已经支持的开发板中复制一份 Makefile . . . . . . . . . . . . . . . . . . 53 5.4 从头开始配置变量 . . . . . . . . . . . . . . . . . . . . . 6.4.3 linux-lab/configs: Permission denied . . . . . . . . . . . . . . . . . 66 6.4.4 scripts/Makefile.headersinst: Missing UAPI file . . . . . . . . . . . 66 6.4.5 unable to create file: net/netfilter/xt_dscp 用户组,联系微信:tinylab,公众号:泰晓科技 使用该命令允许在多个不同的终端中或者以后台方式同时运行多个开发板。 检查开发板特定的配置: 1 $ cat boards/arm/vexpress-a9/Makefile 说明:由于开发与维护的工作量巨大,目前仅开放了一款虚拟开发板,如需其他虚拟开发板, 可通过下一小节的介绍进行购买。 3.1.2.3 如何选购 所有适配过的开发板,包括真实开发板与虚拟开发板(即0 码力 | 70 页 | 1.53 MB | 1 年前3
Linux Lab v1.3 中文手册创建开发板的目录 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.3 从一个已经支持的开发板中复制一份 Makefile . . . . . . . . . . . . . . . . . . 56 5.4 从头开始配置变量 . . . . . . . . . . . . . . . . . . . . . 6.4.3 linux-lab/configs: Permission denied . . . . . . . . . . . . . . . . . 69 6.4.4 scripts/Makefile.headersinst: Missing UAPI file . . . . . . . . . . . 69 6.4.5 unable to create file: net/netfilter/xt_dscp 用户组,联系微信:tinylab,公众号:泰晓科技 使用该命令允许在多个不同的终端中或者以后台方式同时运行多个开发板。 检查开发板特定的配置: 1 $ cat boards/arm/vexpress-a9/Makefile 说明:由于开发与维护的工作量巨大,目前仅开放了一款虚拟开发板,如需其他虚拟开发板, 可通过下一小节的介绍进行购买。 3.1.2.3 如何选购 所有适配过的开发板,包括真实开发板与虚拟开发板(即0 码力 | 73 页 | 1.54 MB | 1 年前3
Linux Lab v1.2 中文手册创建开发板的目录 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.3 从一个已经支持的开发板中复制一份 Makefile . . . . . . . . . . . . . . . . . . 56 5.4 从头开始配置变量 . . . . . . . . . . . . . . . . . . . . . 6.4.3 linux-lab/configs: Permission denied . . . . . . . . . . . . . . . . . 69 6.4.4 scripts/Makefile.headersinst: Missing UAPI file . . . . . . . . . . . 69 6.4.5 unable to create file: net/netfilter/xt_dscp 用户组,联系微信:tinylab,公众号:泰晓科技 使用该命令允许在多个不同的终端中或者以后台方式同时运行多个开发板。 检查开发板特定的配置: 1 $ cat boards/arm/vexpress-a9/Makefile 说明:由于开发与维护的工作量巨大,目前仅开放了一款虚拟开发板,如需其他虚拟开发板, 可通过下一小节的介绍进行购买。 3.1.2.3 如何选购 所有适配过的开发板,包括真实开发板与虚拟开发板(即0 码力 | 73 页 | 1.53 MB | 1 年前3
Debian 套件打包教學指南 version 0.29一個原始碼套件可以產生多個平台架構 Architecture: any 以及 Architecture: all 二進制套件 Debian 套件打包教學指南 19 / 90 debian/rules ▶ Makefile ▶ 構建 Debian 套件的介面 ▶ 詳細文件在 Debian Policy, 章節 4.8中 https://www.debian.org/doc/debian-policy/ch- /usr/share/doc/cdbs/ ▶ 可支援 Perl, Python, Ruby, GNOME, KDE, Java, Haskell, . . . ▶ 但有些使用者不喜歡使用: ▶ 有時難以產生客製化套件: "makefile以及環境參數相當複雜" ▶ 比明文的 debhelper還慢 (會有許多不必要 dh_*相關的呼叫) #! / usr/bin/make -f include /usr/share/cdbs command line collect2: error: ld returned 1 exit status Makefile :376: recipe for target ’gnujump ’ failed 代表你需要加入-lm 到linker指令列: 編輯 src/Makefile.am並且替換 gnujump_LDFLAGS = $( all_libraries ) 成下列 gnujump_LDFLAGS0 码力 | 90 页 | 691.02 KB | 1 年前3
共 77 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













