在deepin上安装gimp时,提示找不到make,请前辈指导
Tofloor
poster avatar
星罗秋旻
deepin
2020-04-21 16:49
Author
本帖最后由 mycctv 于 2020-4-21 08:50 编辑

申明:我是菜鸟。在网上看了 ./configure    make   make install的用法。

现在不晓得咋个回事,具体情况如下,请前辈指教:

hm@hm-PC:~/Downloads/gimp-2.10.0-RC2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with +std=c++11... no
checking whether g++ supports C++11 features with -h std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no
checking whether g++ supports C++11 features with +std=c++0x... no
checking whether g++ supports C++11 features with -h std=c++0x... no
configure: error: *** A compiler with support for C++11 language features is required.
hm@hm-PC:~/Downloads/gimp-2.10.0-RC2$ make
make: *** 没有指明目标并且找不到 makefile。 停止。


Reply Favorite View the author
All Replies
avatar
走钢丝
deepin
2020-04-21 16:59
#1
直接在商店或 apt 安装不好么?为啥要编译。。
Reply View the author
avatar
SamLukeYes
deepin
2020-04-21 16:59
#2
直接从软件源里安装吧
Reply View the author
avatar
星罗秋旻
deepin
2020-04-21 19:29
#3
https://bbs.deepin.org/post/192468
直接在商店或 apt 安装不好么?为啥要编译。。

刚学习linux,看很多软件包都是以tar.bz2的形式存在,于是找了一个软件,看一下能不能按网上的教程安装。
如果学会了,就可以安装一些商店里面没有的软件了
Reply View the author
avatar
SamLukeYes
deepin
2020-04-21 20:02
#4
https://bbs.deepin.org/post/192468
刚学习linux,看很多软件包都是以tar.bz2的形式存在,于是找了一个软件,看一下能不能按网上的教程安装。 ...

不同的软件源码包安装方式可能不同,不能全都归结为./configure && make && sudo make install,具体怎么编译安装要看软件的文档。只有.deb或者其他发行版相应格式的才是具有统一规范的安装方式的软件包。而且安装源码包是独立于系统的软件包管理系统的,管理起来会比较麻烦,最佳的方式还是从软件源安装软件。
Reply View the author
avatar
ksplite
deepin
2020-04-21 22:09
#5
自己编译需要g++
如果是菜鸟,不建议自己编译,可以用flatpak、appimage的gimp
Reply View the author
avatar
jingle
deepin
2020-04-22 04:53
#6
楼上正解!!
Reply View the author
avatar
ghostry
deepin
2020-04-22 06:16
#7
....gimp商店里不是有吗?

这些教程.都是有适用范围的.

照搬误事.
Reply View the author
avatar
星罗秋旻
deepin
2020-04-22 17:03
#8
谢谢楼上几位前辈
Reply View the author