标签: compiling

如何将现有的 deb 包从 64 位交叉编译到 32 位体系结构

我已经为我的 64 位计算机重建了一个带有自定义补丁的 deb 包。我是用的:

sudo apt-get -b source [package name]
Run Code Online (Sandbox Code Playgroud)

现在我的问题是,如何以类似的方式为 32 位机器交叉编译相同的包?

谢谢,尼古拉

64-bit apt compiling 32-bit deb

8
推荐指数
1
解决办法
764
查看次数

从源代码安装 kstars 时出现“kde-config not found”错误

我正在尝试从源代码安装 kstars,但在配置时出现以下错误

./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
Run Code Online (Sandbox Code Playgroud)

什么意思,我已经在我的电脑上安装了kde

compiling

8
推荐指数
2
解决办法
1万
查看次数

如何从 BZR 安装 Inkscape?

为了获得最新版本的 Inkscape,必须使用 BZR。

如何使用 BZR 安装inkscape 并将其正确安装在我的系统上?

详细的分步指南将是可取的。

compiling bazaar inkscape

8
推荐指数
2
解决办法
489
查看次数

“make”和“make install”永远不会工作

用于从提取的 tar 球安装程序的命令makemake install出于某种原因从不工作。

make命令给了我错误:

  make: *** No targets specified and no makefile found.  Stop.
Run Code Online (Sandbox Code Playgroud)

make install命令给了我错误:

  make: *** No rule to make target `install'.  Stop.
Run Code Online (Sandbox Code Playgroud)

为什么这些命令没有执行?我应该怎么做才能解决这个问题?

compiling make

8
推荐指数
1
解决办法
10万
查看次数

配置标志

Ubuntu 下载包的源代码然后在将特定标志传递给过程的配置部分的同时构建它的方法是什么?我希望我能正确解释我的意思。

从源代码安装几乎总是遵循以下过程:

./configure --FLAG-1 --FLAG-2
make && make install
Run Code Online (Sandbox Code Playgroud)

如何在配置过程中控制指定标志 1 和 2?

package-management compiling

8
推荐指数
1
解决办法
1474
查看次数

如何安装 X.org Radeon/ATI 驱动程序?

我最近从这个链接下载了 Radeon/ATI X.org 驱动程序的第 7 版:http : //cgit.freedesktop.org/xorg/driver/xf86-video-ati

我的问题是如何编译和安装它?我不喜欢使用官方的 AMD/ATI 驱动程序。

Ubuntu 版本是 12.10

xorg compiling ati graphics drivers

8
推荐指数
1
解决办法
2万
查看次数

Aircrack-ng SVN 错误 1

我已经从 SVN 存储库下载了 aircrack-ng,我正在尝试从源代码构建它,这就是我得到的:

make -C src all
make[1]: Entering directory `/home/chris/aircrack-ng/src'
gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2363  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  wpaclean.o osdep/radiotap/radiotap-parser.o -o wpaclean -Losdep -losdep -lnl-genl-3 -lnl-3  
/usr/bin/ld: cannot find -lnl-genl-3
collect2: error: ld returned 1 exit status
make[1]: *** [wpaclean] Error 1
make[1]: Leaving directory `/home/chris/aircrack-ng/src'
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)

我之前编译过它,但我对 linux mint 16 进行了升级的全新安装,但现在由于某种原因我遗漏了一些东西。任何帮助都会很棒!提前致谢!

compiling svn

8
推荐指数
1
解决办法
1万
查看次数

来自 Ubuntu 上的 Elementary OS 的 Maya 日历

Elementary OS的Maya 日历看起来非常好:

在此处输入图片说明

有没有人能够在 Ubuntu 上运行它?它在某个存储库上可用吗?安装依赖项后,当我尝试从源代码构建它时,我只会收到大量错误消息。官方页面上的这个问题还没有肯定的答案。

calendar compiling elementary 14.04

8
推荐指数
2
解决办法
8030
查看次数

如何解决“/lib/modules/3.13.0-27-generic/build: No such file or directory”错误信息?

我正在按照此页面上的说明进行操作,因此我可以向此错误报告模块提交有关我的机器的足够信息。

我被困在运行以下一些命令

git clone git://github.com/Lekensteyn/acpi-stuff.git
cd acpi-stuff/acpi_dump_info
make
sudo make load
cat /proc/acpi/dump_info > handles.txt
Run Code Online (Sandbox Code Playgroud)

我克隆了 Git 存储库,但无法运行make命令,我收到以下错误消息:

mg@MG-7520SE:~/workspace/HybridGraphicsCards$ cd acpi-stuff/acpi_dump_info
mg@MG-7520SE:~/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info$ make
make -C /lib/modules/3.13.0-27-generic/build M=/home/mg/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info modules
make[1]: *** /lib/modules/3.13.0-27-generic/build: No such file or directory.  Stop.
Makefile:9: recipe for target 'default' failed
make: *** [default] Error 2
mg@MG-7520SE:~/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info$ sudo make
[sudo] password for mg: 
make -C /lib/modules/3.13.0-27-generic/build M=/home/mg/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info modules
make[1]: *** /lib/modules/3.13.0-27-generic/build: No such file or directory.  Stop.
Makefile:9: recipe for target 'default' …
Run Code Online (Sandbox Code Playgroud)

compiling kernel bug-reporting make

8
推荐指数
2
解决办法
8万
查看次数

如何创建 32 位版本的 Atom?

新的Atom 1.0文本编辑器现已可用。但仅限于 64 位处理器。如何创建 32 位版本?

compiling 32-bit atom

7
推荐指数
1
解决办法
1万
查看次数