我刚刚发现了 ubuntu-make,安装最新的 eclipse IDE 真的很有用(eclipse snap 已经过时,不是一个真正的选择)。
但是......我不确定 ubuntu-make 项目是否真的存在并得到维护......
有人对此有见解吗?
我刚刚发现了 ubuntu-make,安装最新的 eclipse IDE 真的很有用(eclipse snap 已经过时,不是一个真正的选择)。
但是......我不确定 ubuntu-make 项目是否真的存在并得到维护......
有人对此有见解吗?
在 Ubuntu 16.04 上,我umake
安装了/usr/bin/umake
. 当我运行umake --version
它报告
18.05
我只是用来snap install ubuntu-make --classic
安装最新版本的,这个安装在/snap/bin/ubuntu-make.umake
. 当我运行ubuntu-make.umake --version
它报告
20.04+snap678
我原以为较新的版本会覆盖原始版本并在 为自己创建别名,但现在我在两个不同/usr/bin/umake
的地方有两个副本。umake
我试过了sudo apt remove umake
,但这没有任何用处:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package umake
完整性检查:删除旧版本并为新版本创建符号链接是否有意义usr/bin/umake
?如果是这样,我如何卸载 18.05 版?
我已经ubuntu-make
安装在我的 Ubuntu 16.04.6 LTS 系统上。
Ubuntu Make 之前是使用Ubuntu wiki 页面从官方 PPA安装的。所以我有以下内容:
$ umake --version
18.05
$ which umake
/usr/bin/umake
$ dpkg -S /usr/bin/umake
ubuntu-make: /usr/bin/umake
$ apt-cache policy ubuntu-make
ubuntu-make:
Installed: 18.05~xenial1
Candidate: 18.05~xenial1
Version table:
*** 18.05~xenial1 500
500 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main amd64 Packages
500 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
16.02.1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
它一直按预期工作,直到今天我尝试用它安装 Eclipse 并出现错误:
$ umake ide eclipse
Choose installation path: /home/username/.local/share/umake/ide/eclipse
ERROR: Download page changed its syntax or is not parsable
Your currently installed version (18.05) differs from the latest release (20.04)
Many issues are usually fixed in more up to date versions.
To get the latest version you can read the instructions at https://github.com/ubuntu/ubuntu-make
该怎么办?
umake ide netbeans
一个月前,我使用命令安装了 Netbeans。我正在使用 IntelliJ Ultimate。我到处搜索以使用 umake 卸载 Netbeans,但没有找到任何可靠的东西。是否有一些umake命令可以卸载?我在部分中没有看到任何这样的命令umake --help
。
我正在尝试在 Ubuntu 16.04 版上安装 ChkTex。为此,我下载了手册和软件。我目前正在按照手册进行安装。但是,当我尝试使用 commandmake
时,它给了我以下错误:
gcc -lpcreposix -lpcre -o chktex ChkTeX.o FindErrs.o OpSys.o Resource.o Utility.o -ltermcap
FindErrs.o: In function `CheckSilentRegex':
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1256: undefined reference to `pcreposix_regcomp'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1277: undefined reference to `pcreposix_regexec'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1288: undefined reference to `pcreposix_regerror'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:1261: undefined reference to `pcreposix_regerror'
FindErrs.o: In function `CheckRest':
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:920: undefined reference to `pcreposix_regexec'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:931: undefined reference to `pcreposix_regerror'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:878: undefined reference to `pcreposix_regcomp'
/home/mala/Downloads/chktex-1.7.6/FindErrs.c:885: undefined reference to `pcreposix_regerror'
collect2: error: ld returned 1 exit status
Makefile:160: recipe for target 'chktex' failed
make: *** [chktex] Error 1
错误的原因是什么,我该如何删除它?
所以我在我的 Ubuntu 18.04.1 LTS 上安装了普通的 Firefox Quantum65.0。我想安装 Firefox 开发者版。
我已经尝试过:
sudo add-apt-repository ppa:ubuntu-mozilla-daily/firefox-aurora
sudo apt-get update
sudo apt-get install firefox
但它只是重新安装了普通的 Firefox。所以我尝试了:
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
当我运行时,当umake web firefox-dev
我Choose installation path: /home/me/.local/share/umake/web/firefox-dev
按 Enter 时,出现以下错误:
ERROR: One default was already registered, can't register a second one in that choices set: ['en-US', 'en-US', 'ach', 'af', 'sq', 'ar', 'an', 'hy-AM', 'as', 'ast', 'az', 'eu', 'be', 'bn-BD', 'bn-IN', 'bs', 'br', 'bg', 'my', 'ca', 'zh-CN', 'zh-TW', 'hr', 'cs', 'da', 'nl', 'en-GB', 'en-CA', 'en-ZA', 'en-US', 'eo', 'et', 'fi', 'fr', 'fy-NL', 'ff', 'gd', 'gl', 'ka', 'de', 'el', 'gn', 'gu-IN', 'he', 'hi-IN', 'hu', 'is', 'id', 'ia', 'ga-IE', 'it', 'ja', 'kab', 'kn', 'cak', 'kk', 'km', 'ko', 'lv', 'lij', 'lt', 'dsb', 'mk', 'mai', 'ms', 'ml', 'mr', 'ne-NP', 'nb-NO', 'nn-NO', 'oc', 'or', 'fa', 'pl', 'pt-BR', 'pt-PT', 'pa-IN', 'ro', 'rm', 'ru', 'sr', 'si', 'sk', 'sl', 'son', 'es-AR', 'es-CL', 'es-MX', 'es-ES', 'sv-SE', 'ta', 'te', 'th', 'tr', 'uk', 'hsb', 'ur', 'uz', 'vi', 'cy', 'xh']
ERROR: Unhandled exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/umake/tools.py", line 158, in wrapper
function(*args, **kwargs)
File "/usr/lib/python3/dist-packages/umake/frameworks/web.py", line 116, in get_metadata_and_check_license
UI.delayed_display(TextWithChoices(_("Choose language: {}".format(default_label)), languages, True))
File "/usr/lib/python3/dist-packages/umake/interactions/__init__.py", line 59, in __init__
raise BaseException(message)
BaseException: One default was already registered, can't register a second one in that choices set: ['en-US', 'en-US', 'ach', 'af', 'sq', 'ar', 'an', 'hy-AM', 'as', 'ast', 'az', 'eu', 'be', 'bn-BD', 'bn-IN', 'bs', 'br', 'bg', 'my', 'ca', 'zh-CN', 'zh-TW', 'hr', 'cs', 'da', 'nl', 'en-GB', 'en-CA', 'en-ZA', 'en-US', 'eo', 'et', 'fi', 'fr', 'fy-NL', 'ff', 'gd', 'gl', 'ka', 'de', 'el', 'gn', 'gu-IN', 'he', 'hi-IN', 'hu', 'is', 'id', 'ia', 'ga-IE', 'it', 'ja', 'kab', 'kn', 'cak', 'kk', 'km', 'ko', 'lv', 'lij', 'lt', 'dsb', 'mk', 'mai', 'ms', 'ml', 'mr', 'ne-NP', 'nb-NO', 'nn-NO', 'oc', 'or', 'fa', 'pl', 'pt-BR', 'pt-PT', 'pa-IN', 'ro', 'rm', 'ru', 'sr', 'si', 'sk', 'sl', 'son', 'es-AR', 'es-CL', 'es-MX', 'es-ES', 'sv-SE', 'ta', 'te', 'th', 'tr', 'uk', 'hsb', 'ur', 'uz', 'vi', 'cy', 'xh']
这里到底有什么问题,我该如何解决?任何帮助都会得到帮助。谢谢
任何人都可以帮助解决make error
我在安装Netgen 5.3.1时收到的问题。NETGEN 是一个自动 3d 四面体网格生成器。错误消息摘要是:
collect2: error: ld returned 1 exit status
Makefile:414: recipe for target 'netgen' failed
make[2]: *** [netgen] Error 1
make[2]: Leaving directory '/home/bjd/netgen-5.3.1/ng'
Makefile:354: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/bjd/netgen-5.3.1'
Makefile:285: recipe for target 'all' failed
make: *** [all] Error 2
Netgen mesher 安装说明是@Netgen Mesh Generator wiki
的输出configure
和结束make
:
bjd@brendan:~/netgen-5.3.1$ ls
aclocal.m4 config.sub install-sh mkinstalldirs
ar-lib configure libsrc NEWS
AUTHORS configure.ac ltmain.sh ng
ChangeLog depcomp m4 nglib
config.guess doc Makefile.am TODO
config.h.in INSTALL Makefile.in tutorials
config.log installing netgen-5.3.1 notes.txt missing windows
bjd@brendan:~/netgen-5.3.1$ ./configure --with-sysroot=/usr/lib/ --with-tcl=/usr/lib/tcl8.5/ --with-tk=/usr/lib/tk8.5/ --with-togl=/usr/lib/ --with-metis=/usr/lib/x86_64-linux-gnu/ --enable-nglib
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 for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for g++ option to support OpenMP... -fopenmp
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... /usr/lib/
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for correct TEA configuration... ok (TEA 3.9)
configure: configuring netgen 5.3.1
checking for Tcl configuration... found /usr/lib/tcl8.5/tclConfig.sh
checking for existence of /usr/lib/tcl8.5/tclConfig.sh... loading
checking for Tk configuration... found /usr/lib/tk8.5/tkConfig.sh
checking for existence of /usr/lib/tk8.5/tkConfig.sh... loading
checking for Tcl public headers... /usr/include/tcl8.5
checking for Tk public headers... /usr/include/tcl8.5
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsrc/Makefile
config.status: creating libsrc/csg/Makefile
config.status: creating libsrc/general/Makefile
config.status: creating libsrc/geom2d/Makefile
config.status: creating libsrc/gprim/Makefile
config.status: creating libsrc/include/Makefile
config.status: creating libsrc/interface/Makefile
config.status: creating libsrc/linalg/Makefile
config.status: creating libsrc/meshing/Makefile
config.status: creating libsrc/occ/Makefile
config.status: creating libsrc/stlgeom/Makefile
config.status: creating libsrc/visualization/Makefile
config.status: creating ng/Makefile
config.status: creating nglib/Makefile
config.status: creating tutorials/Makefile
config.status: creating doc/Makefile
config.status: creating windows/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
------------------------------------------------------------------------
netgen 5.3.1: Automatic configuration OK.
Enabled functionality:
OCC: ............... false
JPEGlib: ........... false
FFMPEG: ............ false
NGLIB: ............. true
GUI: ............... true
Building:
Type 'make' to compile netgen.
Type 'make install' to install netgen.
Example programs will be built but not installed.
------------------------------------------------------------------------
bjd@brendan:~/netgen-5.3.1$ make
make all-recursive
make[1]: Entering directory '/home/bjd/netgen-5.3.1'
Making all in libsrc
make[2]: Entering directory '/home/bjd/netgen-5.3.1/libsrc'
Making all in general
make[3]: Entering directory '/home/bjd/netgen-5.3.1/libsrc/general'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
...
...
I../libsrc/interface -DOPENGL -DTOGL_X11 -I"/usr/include/tcl8.5" -g -O2 -fopenmp -MT ngpkg.o -MD -MP -MF .deps/ngpkg.Tpo -c -o ngpkg.o ngpkg.cpp
mv -f .deps/ngpkg.Tpo .deps/ngpkg.Po
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fopenmp -export-dynamic -o netgen demoview.o ngappinit.o onetcl.o parallelfunc.o ngpkg.o ../libsrc/visualization/libvisual.la ../libsrc/csg/libcsgvis.la ../libsrc/csg/libcsg.la ../libsrc/interface/libinterface.la ../libsrc/meshing/libmesh.la -L/usr/lib/tk8.5/Togl1.7 -L/usr/lib/ -lTogl -lGLU -L/usr/lib/x86_64-linux-gnu -ltk8.5 -L/usr/lib/x86_64-linux-gnu -ltcl8.5 -lGL -lXmu -lX11
libtool: link: g++ -g -O2 -fopenmp -o .libs/netgen demoview.o ngappinit.o onetcl.o parallelfunc.o ngpkg.o -Wl,--export-dynamic ../libsrc/visualization/.libs/libvisual.a ../libsrc/csg/.libs/libcsgvis.so ../libsrc/csg/.libs/libcsg.so ../libsrc/interface/.libs/libinterface.so ../libsrc/meshing/.libs/libmesh.so -L/usr/lib/tk8.5/Togl1.7 -L/usr/lib/ -lTogl -lGLU -L/usr/lib/x86_64-linux-gnu -ltk8.5 -ltcl8.5 -lGL -lXmu -lX11 -fopenmp -Wl,-rpath -Wl,/opt/netgen/lib
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Makefile:414: recipe for target 'netgen' failed
make[2]: *** [netgen] Error 1
make[2]: Leaving directory '/home/bjd/netgen-5.3.1/ng'
Makefile:354: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/bjd/netgen-5.3.1'
Makefile:285: recipe for target 'all' failed
make: *** [all] Error 2
bjd@brendan:~/netgen-5.3.1$
我已阅读此解决方案 。
我希望 nodeman 作为 react-native 的依赖项
命令没有错误 ./configure
,它作为给定的解决方案工作正常
gd@gd10:/tmp$ git clone https://github.com/facebook/watchman.git
Cloning into 'watchman'...
remote: Counting objects: 18852, done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 18852 (delta 50), reused 64 (delta 27), pack-reused 18718
Receiving objects: 100% (18852/18852), 12.37 MiB | 1011.00 KiB/s, done.
Resolving deltas: 100% (12582/12582), done.
gd@gd10:/tmp$ cd watchman/
gd@gd10:/tmp/watchman$ git checkout v4.7.0
Note: checking out 'v4.7.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 93b67583 watchman: fixup recent test tweaks for windows
gd@gd10:/tmp/watchman$ sudo apt-get install -y autoconf automake build-essential python-dev libtool libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version (2.69-11).
automake is already the newest version (1:1.15.1-3ubuntu2).
build-essential is already the newest version (12.4ubuntu1).
libssl-dev is already the newest version (1.1.0g-2ubuntu4).
libtool is already the newest version (2.4.6-2).
python-dev is already the newest version (2.7.15~rc1-1).
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
gd@gd10:/tmp/watchman$ ./autogen.sh
configure.ac:21: installing './compile'
configure.ac:2: installing './config.guess'
configure.ac:2: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
gd@gd10:/tmp/watchman$ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
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... no
checking for mawk... mawk
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 for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for ranlib... ranlib
checking dependency style of gcc... gcc3
checking for arc... no
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for pcre-config... false
checking for PCRE using false... failed
checking for library containing pthread_create... -lpthread
checking for library containing socket... none required
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for mkostemp... yes
checking for kqueue... no
checking for port_create... no
checking for inotify_init... yes
checking for strtoll... yes
checking for localeconv... yes
checking for statfs... yes
checking for accept4... yes
checking for inotify_init1... yes
checking for getattrlistbulk... no
checking for openat... yes
checking for fdopendir... yes
checking for sys/vfs.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking CoreServices/CoreServices.h usability... no
checking CoreServices/CoreServices.h presence... no
checking for CoreServices/CoreServices.h... no
checking for FSEventStreamSetExclusionPaths... no
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for backtrace_symbols_fd... yes
checking for sys_siglist... yes
checking for memmem... yes
checking for struct statvfs.f_fstypename... no
checking for struct statvfs.f_basetype... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating thirdparty/jansson/jansson_config.h
config.status: creating config.h
config.status: executing depfiles commands
Your build configuration:
CPPFLAGS = -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
CFLAGS = -g -O2 -Wall -Wextra -Wdeclaration-after-statement -g -gdwarf-2 -fno-omit-frame-pointer
LDFLAGS =
prefix: /usr/local
version: 4.7.0
state directory: /usr/local/var/run/watchman
但在make
命令后开始出错。
gd@gd10:/tmp/watchman$ make
make all-am
make[1]: Entering directory '/tmp/watchman'
CC thirdparty/libart/src/art.o
AR libart.a
ar: `u' modifier ignored since `D' is the default (see `U')
CC thirdparty/libtap_a-tap.o
AR libtap.a
ar: `u' modifier ignored since `D' is the default (see `U')
CC thirdparty/wildmatch/wildmatch.o
AR libwildmatch.a
ar: `u' modifier ignored since `D' is the default (see `U')
CC thirdparty/jansson/libwmanjson_a-dump.o
CC thirdparty/jansson/libwmanjson_a-error.o
CC thirdparty/jansson/libwmanjson_a-hashtable.o
CC thirdparty/jansson/libwmanjson_a-load.o
CC thirdparty/jansson/libwmanjson_a-memory.o
CC thirdparty/jansson/libwmanjson_a-pack_unpack.o
CC thirdparty/jansson/libwmanjson_a-strbuffer.o
CC thirdparty/jansson/libwmanjson_a-strconv.o
CC thirdparty/jansson/libwmanjson_a-utf.o
CC thirdparty/jansson/libwmanjson_a-value.o
AR libwmanjson.a
ar: `u' modifier ignored since `D' is the default (see `U')
CC watchman-argv.o
CC watchman-envp.o
CC watchman-spawn.o
CC watchman-opt.o
CC watchman-cfg.o
CC watchman-clockspec.o
CC watchman-checksock.o
CC watchman-fstype.o
CC watchman-log.o
CC watchman-ignore.o
CC watchman-json.o
CC watchman-bser.o
CC watchman-expflags.o
CC watchman-hash.o
hash.c: In function ‘w_hash_bytes’:
hash.c:228:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 12: c+=((uint32_t)k[11])<<24;
~^~~~~~~~~~~~~~~~~~~~~~~
hash.c:229:7: note: here
case 11: c+=((uint32_t)k[10])<<16;
^~~~
hash.c:229:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 11: c+=((uint32_t)k[10])<<16;
~^~~~~~~~~~~~~~~~~~~~~~~
hash.c:230:7: note: here
case 10: c+=((uint32_t)k[9])<<8;
^~~~
hash.c:230:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 10: c+=((uint32_t)k[9])<<8;
~^~~~~~~~~~~~~~~~~~~~~
hash.c:231:7: note: here
case 9 : c+=k[8];
^~~~
hash.c:231:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 9 : c+=k[8];
~^~~~~~
hash.c:232:7: note: here
case 8 : b+=((uint32_t)k[7])<<24;
^~~~
hash.c:232:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 8 : b+=((uint32_t)k[7])<<24;
~^~~~~~~~~~~~~~~~~~~~~~
hash.c:233:7: note: here
case 7 : b+=((uint32_t)k[6])<<16;
^~~~
hash.c:233:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 7 : b+=((uint32_t)k[6])<<16;
~^~~~~~~~~~~~~~~~~~~~~~
hash.c:234:7: note: here
case 6 : b+=((uint32_t)k[5])<<8;
^~~~
hash.c:234:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 6 : b+=((uint32_t)k[5])<<8;
~^~~~~~~~~~~~~~~~~~~~~
hash.c:235:7: note: here
case 5 : b+=k[4];
^~~~
hash.c:235:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 5 : b+=k[4];
~^~~~~~
hash.c:236:7: note: here
case 4 : a+=((uint32_t)k[3])<<24;
^~~~
hash.c:236:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 4 : a+=((uint32_t)k[3])<<24;
~^~~~~~~~~~~~~~~~~~~~~~
hash.c:237:7: note: here
case 3 : a+=((uint32_t)k[2])<<16;
^~~~
hash.c:237:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
case 3 : a+=((uint32_t)k[2])<<16;
根据它的解决方案,我删除了目录,但它给出了同样的错误。
继最后一个问题“如何从 umake 安装 netbeans?” 我有一个简单的问题:
我应该使用哪个版本的 Ubuntu Make——来自 APT 还是来自 Snap?
贴近投票者的注意事项: 我们有插图表明 Ubuntu Make 的 Snap 版本已损坏,因此它不是基于意见的,而是针对主题的。
如何从 安装netbeans umake
?
thufir@dur:~$
thufir@dur:~$ umake ide netbeans
Choose installation path: /home/thufir/.local/share/umake/ide/netbeans
thufir@dur:~$
系统信息:
thufir@dur:~$
thufir@dur:~$ netbeans
Command 'netbeans' not found, but can be installed with:
sudo apt install netbeans
thufir@dur:~$
thufir@dur:~$ snap info ubuntu-make
name: ubuntu-make
summary: Setup your development environment on ubuntu easily
publisher: didrocks
license: unknown
description: |
Ubuntu Make provides a set of functionality to setup,
maintain and personalize your developer environment easily. It will handle
all dependencies, even those which aren't in Ubuntu itself, and install
latest versions of the desired and recommended tools.
.
This is the latest master from ubuntu make, freshly built from
https://github.com/ubuntu/ubuntu-make. It may contain even unreleased
features!
commands:
- ubuntu-make.umake
snap-id: GFBbjr1cRDoT3KSiuwGirj83ReKSSd1J
tracking: stable
refreshed: 2018-05-22T02:03:51-07:00
installed: master (367) 13MB classic
channels:
stable: master (367) 13MB classic
candidate: ↑
beta: ↑
edge: master (363) 13MB classic
thufir@dur:~$
thufir@dur:~$ sdk ls java
================================================================================
Available Java Versions
================================================================================
9.0.7-zulu
9.0.4-openjdk
> * 8.0.172-zulu
8.0.171-oracle
7.0.181-zulu
6.0.107-zulu
10.0.1-zulu
10.0.1-oracle
10.0.0-openjdk
1.0.0-rc1-graal
================================================================================
+ - local version
* - installed
> - currently in use
================================================================================
thufir@dur:~$
thufir@dur:~$ java -version
openjdk version "1.8.0_172"
OpenJDK Runtime Environment (Zulu 8.30.0.1-linux64) (build 1.8.0_172-b01)
OpenJDK 64-Bit Server VM (Zulu 8.30.0.1-linux64) (build 25.172-b01, mixed mode)
thufir@dur:~$
thufir@dur:~$ javac -version
javac 1.8.0_172
thufir@dur:~$
thufir@dur:~$
thufir@dur:~$ umake ide netbeans
Choose installation path: /home/thufir/.local/share/umake/ide/netbeans
thufir@dur:~$
thufir@dur:~$ netbeans
Command 'netbeans' not found, but can be installed with:
sudo apt install netbeans
thufir@dur:~$
thufir@dur:~$ snap info ubuntu-make
name: ubuntu-make
summary: Setup your development environment on ubuntu easily
publisher: didrocks
license: unknown
description: |
Ubuntu Make provides a set of functionality to setup,
maintain and personalize your developer environment easily. It will handle
all dependencies, even those which aren't in Ubuntu itself, and install
latest versions of the desired and recommended tools.
.
This is the latest master from ubuntu make, freshly built from
https://github.com/ubuntu/ubuntu-make. It may contain even unreleased
features!
commands:
- ubuntu-make.umake
snap-id: GFBbjr1cRDoT3KSiuwGirj83ReKSSd1J
tracking: stable
refreshed: 2018-05-22T02:03:51-07:00
installed: master (367) 13MB classic
channels:
stable: master (367) 13MB classic
candidate: ↑
beta: ↑
edge: master (363) 13MB classic
thufir@dur:~$
thufir@dur:~$ sdk ls java
================================================================================
Available Java Versions
================================================================================
9.0.7-zulu
9.0.4-openjdk
> * 8.0.172-zulu
8.0.171-oracle
7.0.181-zulu
6.0.107-zulu
10.0.1-zulu
10.0.1-oracle
10.0.0-openjdk
1.0.0-rc1-graal
================================================================================
+ - local version
* - installed
> - currently in use
================================================================================
thufir@dur:~$
thufir@dur:~$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
thufir@dur:~$
thufir@dur:~$ java -version
openjdk version "1.8.0_172"
OpenJDK Runtime Environment (Zulu 8.30.0.1-linux64) (build 1.8.0_172-b01)
OpenJDK 64-Bit Server VM (Zulu 8.30.0.1-linux64) (build 25.172-b01, mixed mode)
thufir@dur:~$
thufir@dur:~$ sudo update-alternatives --verbose --config java
update-alternatives: error: no alternatives for java
thufir@dur:~$
thufir@dur:~$ umake --version
18.05+snap367
thufir@dur:~$
thufir@dur:~$ javac -version
javac 1.8.0_172
thufir@dur:~$