简体   繁体   English

makepkg输出软件包在哪里构建?

[英]Where are makepkg outputs packages built?

I'm trying to install a AUR package. 我正在尝试安装AUR软件包。 It seems easy, and I follow the Wiki description for it. 看起来很容易,我遵循Wiki的描述。 I downloaded the tarball, did makepkg -S to download the source and build it. 我下载了tarball,做了makepkg -S来下载源代码并构建它。

Apparently no error messages at output. 显然在输出处没有错误消息。 The process created some tar.gz files, that I tried to target when I use pacman -U But none of them is the file expected by this command, 该进程创建了一些tar.gz文件,这些文件是我在使用pacman -U时尝试定位的,但是这些命令都不是该命令所期望的文件,

'missing metadata package in' .... “缺少元数据包”...。

I did a research on web. 我在网络上进行了研究。 I found that the place that makepkg output the package for Pacman is set in makepkg.conf , using PKGDEST item. 我发现使用PKGDEST项目在makepkg.conf设置了makepkg输出Pacman软件包的位置。

I changed that in /etc/makepkg.conf . 我在/etc/makepkg.conf更改。 It didn't create any file in that place when I tried to make that AUR package again ( makepkg -S -f ). 当我尝试再次制作该AUR软件包( makepkg -S -f )时,它没有在该位置创建任何文件。

How to find the package for Pacman? 如何找到吃豆人的包裹? Did the build go wrong and have no obvious message? 生成错误并且没有明显的消息吗?

--Well .. after hours of search.. i give up and installed yaourt.. using that this to insall my package -好..经过数小时的搜索..我放弃并安装了yaourt ..使用它来安装我的包裹

According to https://wiki.archlinux.org/index.php/Makepkg and my firsthand experience, they are put into the working directory by default: 根据https://wiki.archlinux.org/index.php/Makepkg和我的第一手经验,它们默认情况下被放入工作目录中:

Next, one can configure where source files and packages should be placed and identify themselves as the packager. 接下来,可以配置源文件和软件包的放置位置,并将其标识为打包程序。 This step is optional; 此步骤是可选的; packages will be created in the working directory where makepkg is run by default . 软件包将在默认运行makepkg的工作目录中创建

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM