我正在尝试了解有关make命令的一些内容,即使我已经阅读了手册,我仍然对它的用法有一些疑问。特别是,如果我在终端上使用“经典”命令序列安装程序(由许多包组成),即:
./configure -prefix /usr/bin/my_program (这里指的是一些软件通常提供的配置文件)
制作
须藤使安装
卸载该程序的逆操作是什么?删除之前选择的整个目录就足够了吗?(例如使用 sudo rm -r /usr/bin/my_program)。
感谢任何好心的人向我解释
我正在尝试在 ubuntu 18.04LTS 上安装 systemc-2.3.3。以前我尝试使用 20LTS,但由于某种原因无法正常工作。我遵循以下说明:安装 SystemC-2.3.3。我是新手,从不在ubuntu上安装任何软件。当我输入命令时,我收到以下错误:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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)... no
checking whether make supports nested variables... no
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) no
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 the C++ compiler works... no
configure: error: in `/home/radhe/tools':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
我无法理解我的配置文件。配置文件的链接是:配置文件 请帮助。
我正在~/.config/kaccessrc
使用脚本更新 kde 配置文件 ()。
我的脚本对文件进行了必要的更改,但系统上的设置未更新。我假设我必须告诉 KDE 重新读取配置文件,但我不知道如何。
经过一番研究,我尝试使用kwriteconfig5
它来修改文件,但系统仍然保留其旧行为。我希望kwriteconfig5
会触发 KDE 使用新配置。kwriteconfig5
似乎没有手册页,它的默认帮助页面没有提到任何关于此的内容:
Usage: kwriteconfig5 [options] value
Options:
-h, --help Displays this help.
--file <file> Use <file> instead of global config
--group <group> Group to look in. Use repeatedly for nested groups.
--key <key> Key to look for
--type <type> Type of variable. Use "bool" for a boolean, otherwise it is
treated as a string
Arguments:
value The value to write. Mandatory, on a shell use '' for empty
如果我注销并重新登录,则确实会发生所需的更改,但我需要在运行命令后立即进行更改。
我试过在线搜索,但找不到直接相关的场景。
我错过了什么?
更新:我正在努力实现的背景
我想要一个切换“键盘导航”又名“鼠标键”的脚本。一旦我有了脚本,我想在我的键盘上绑定一个键,这样我就可以随意打开和关闭它。目前,我每天通过系统设置对话框进行多次。
我经常使用它的原因是我使用的一些网站有非常依赖位置的on mouseover()
事件。例如,在显示天气预报模型运行的Meteociel上,您可以通过将鼠标移到时间戳上来更改您正在查看的时间。
我发现在这些网站上使用键盘移动鼠标非常有用,因为这意味着我可以密切关注图表并且知道鼠标将垂直移动,但其余时间却很烦人。
我想要一个键盘绑定来做到这一点,以使我的工作流程更加无缝。目前,我通过重新启动等离子外壳获得的延迟比使用设置对话框更能扰乱我的工作流程。
我尝试运行以下命令以继续安装程序:
$ . configure
但几秒钟后,Ubuntu 终端关闭,没有任何消息。发生了什么?
感谢您花时间处理我的问题
我正在考虑将 Ubuntu Server 用于非常低端的 x86_64 机器。我想知道有什么区别,发现了这个:
ubuntu server、minimal 和 desktop 之间的区别
我还有一个问题。我的理解是最小化和桌面共享软件存储库。这三个共享内核。
似乎服务器和其他软件包之间的软件包集有所不同。我的问题是:它们的配置和编译方式是否不同?
我一直是Gentoo用户。我的理解是,例如,Emacs 可以在有和没有 X 的情况下编译。桌面 Emacs 包似乎是用 X 构建的,而服务器 Emacs 不需要。Ubuntu 是否以不同方式编译包(例如 Emacs)?或者,Ubuntu 是否只是放弃了 Emacs for Server 并将其与 X for desktop 一起提供?
我对使用 Ubuntu(18.04 版)比较陌生,并且正在尝试安装一个软件包以进行研究工作。该包可以从https://github.com/chetzer-ncpa/ncpaprop获得当我尝试运行 ./configure 时,我得到这个作为响应:
checking for bash... /bin/bash
checking for perl... /usr/bin/perl
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for apt-get... apt-get
configure: enable-auto-dependencies =
configure: enable-library-guess =
checking for g++-4... no
checking for g++... g++
checking for gfortran... gfortran
checking for g++-4... no
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 gcc-4... no
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 for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking how to run the C preprocessor... gcc -E
configure: error: in `/home/trevor/Desktop/plz':
configure: error: g++ version cannot be determined
See `config.log' for more details
config.log 文件是:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by NCPA Propagation Modeling Suite configure 1.3.20, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = trevor-VirtualBox
uname -m = x86_64
uname -r = 5.0.0-31-generic
uname -s = Linux
uname -v = #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2288: checking for bash
configure:2306: found /bin/bash
configure:2318: result: /bin/bash
configure:2336: checking for perl
configure:2354: found /usr/bin/perl
configure:2366: result: /usr/bin/perl
configure:2438: checking for ranlib
configure:2454: found /usr/bin/ranlib
configure:2465: result: ranlib
configure:2521: checking build system type
configure:2535: result: x86_64-unknown-linux-gnu
configure:2555: checking host system type
configure:2568: result: x86_64-unknown-linux-gnu
configure:2650: checking for apt-get
configure:2666: found /usr/bin/apt-get
configure:2677: result: apt-get
configure:2698: enable-auto-dependencies =
configure:2700: enable-library-guess =
configure:2732: checking for g++-4
configure:2762: result: no
configure:2732: checking for g++
configure:2748: found /usr/bin/g++
configure:2759: result: g++
configure:2885: checking for gfortran
configure:2901: found /usr/bin/gfortran
configure:2912: result: gfortran
configure:3098: checking for g++-4
configure:3128: result: no
configure:3098: checking for g++
configure:3114: found /usr/bin/g++
configure:3125: result: g++
configure:3152: checking for C++ compiler version
configure:3161: g++ --version >&5
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3172: $? = 0
configure:3161: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure:3172: $? = 0
configure:3161: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3172: $? = 1
configure:3161: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:3172: $? = 1
configure:3192: checking whether the C++ compiler works
configure:3214: g++ conftest.cpp >&5
configure:3218: $? = 0
configure:3266: result: yes
configure:3269: checking for C++ compiler default output file name
configure:3271: result: a.out
configure:3277: checking for suffix of executables
configure:3284: g++ -o conftest conftest.cpp >&5
configure:3288: $? = 0
configure:3310: result:
configure:3332: checking whether we are cross compiling
configure:3340: g++ -o conftest conftest.cpp >&5
configure:3344: $? = 0
configure:3351: ./conftest
configure:3355: $? = 0
configure:3370: result: no
configure:3375: checking for suffix of object files
configure:3397: g++ -c conftest.cpp >&5
configure:3401: $? = 0
configure:3422: result: o
configure:3426: checking whether we are using the GNU C++ compiler
configure:3445: g++ -c conftest.cpp >&5
configure:3445: $? = 0
configure:3454: result: yes
configure:3463: checking whether g++ accepts -g
configure:3483: g++ -c -g conftest.cpp >&5
configure:3483: $? = 0
configure:3524: result: yes
configure:3601: checking for gcc-4
configure:3631: result: no
configure:3601: checking for gcc
configure:3617: found /usr/bin/gcc
configure:3628: result: gcc
configure:3659: checking for C compiler version
configure:3668: gcc --version >&5
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3679: $? = 0
configure:3668: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure:3679: $? = 0
configure:3668: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3679: $? = 1
configure:3668: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3679: $? = 1
configure:3683: checking whether we are using the GNU C compiler
configure:3702: gcc -c conftest.c >&5
configure:3702: $? = 0
configure:3711: result: yes
configure:3720: checking whether gcc accepts -g
configure:3740: gcc -c -g conftest.c >&5
configure:3740: $? = 0
configure:3781: result: yes
configure:3798: checking for gcc option to accept ISO C89
configure:3861: gcc -c -g -O2 conftest.c >&5
configure:3861: $? = 0
configure:3874: result: none needed
configure:3947: checking for gfortran
configure:3963: found /usr/bin/gfortran
configure:3974: result: gfortran
configure:4000: checking for Fortran compiler version
configure:4009: gfortran --version >&5
GNU Fortran (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4020: $? = 0
configure:4009: gfortran -v >&5
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure:4020: $? = 0
configure:4009: gfortran -V >&5
gfortran: error: unrecognized command line option '-V'
gfortran: fatal error: no input files
compilation terminated.
configure:4020: $? = 1
configure:4009: gfortran -qversion >&5
gfortran: error: unrecognized command line option '-qversion'; did you mean '--version'?
gfortran: fatal error: no input files
compilation terminated.
configure:4020: $? = 1
configure:4029: checking whether we are using the GNU Fortran compiler
configure:4042: gfortran -c conftest.F >&5
configure:4042: $? = 0
configure:4051: result: yes
configure:4057: checking whether gfortran accepts -g
configure:4068: gfortran -c -g conftest.f >&5
configure:4068: $? = 0
configure:4076: result: yes
configure:4110: checking how to run the C preprocessor
configure:4141: gcc -E conftest.c
configure:4141: $? = 0
configure:4155: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4155: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "NCPA Propagation Modeling Suite"
| #define PACKAGE_TARNAME "ncpaprop"
| #define PACKAGE_VERSION "1.3.20"
| #define PACKAGE_STRING "NCPA Propagation Modeling Suite 1.3.20"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4180: result: gcc -E
configure:4200: gcc -E conftest.c
configure:4200: $? = 0
configure:4214: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4214: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "NCPA Propagation Modeling Suite"
| #define PACKAGE_TARNAME "ncpaprop"
| #define PACKAGE_VERSION "1.3.20"
| #define PACKAGE_STRING "NCPA Propagation Modeling Suite 1.3.20"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4248: error: in `/home/trevor/Downloads/ncpaprop-master':
configure:4250: error: g++ version cannot be determined
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FCFLAGS_set=
ac_cv_env_FCFLAGS_value=
ac_cv_env_FC_set=
ac_cv_env_FC_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_fc_compiler_gnu=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_BASHPATH=/bin/bash
ac_cv_path_PERLPATH=/usr/bin/perl
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXX_TEST=g++
ac_cv_prog_FC_TEST=gfortran
ac_cv_prog_PACKMAN=apt-get
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_FC=gfortran
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_fc_g=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AWK=''
BASHPATH='/bin/bash'
CC='gcc'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXX_TEST='g++'
DEFS=''
DORUFLAGS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FC='gfortran'
FCFLAGS='-g -O2'
FC_TEST='gfortran'
GREP=''
INCLUDEFLAGS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MPICXX=''
OBJEXT='o'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='NCPA Propagation Modeling Suite'
PACKAGE_STRING='NCPA Propagation Modeling Suite 1.3.20'
PACKAGE_TARNAME='ncpaprop'
PACKAGE_URL=''
PACKAGE_VERSION='1.3.20'
PACKMAN='apt-get'
PATH_SEPARATOR=':'
PERLPATH='/usr/bin/perl'
PETSC_ARCH_COMPLEX=''
PETSC_ARCH_REAL=''
PETSC_DIR=''
PETSC_OS=''
PETSC_USE_MPI=''
PETSC_USE_SHARED_LIBRARIES='--with-shared-libraries'
PETSC_VERSION=''
POW_LIB=''
RANLIB='ranlib'
SHELL='/bin/bash'
SLEPC_DIR=''
SLEPC_USE_MPI=''
SLEPC_VERSION=''
STATICLIBS=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_FC='gfortran'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "NCPA Propagation Modeling Suite"
#define PACKAGE_TARNAME "ncpaprop"
#define PACKAGE_VERSION "1.3.20"
#define PACKAGE_STRING "NCPA Propagation Modeling Suite 1.3.20"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
configure: exit 1
对此的任何见解都将非常有帮助。
在启动/登录时,我的系统中启动了两个应用程序,我需要控制它们在屏幕上的位置。
我已经安装了compizconfig-settings-manager并找到了 Place Window 选项。但是我的无知太大了,无法继续。
我在这里搜索过,但不幸的是,提示和提示停止了关于我最终的位置。17.04 如何设置默认窗口屏幕位置是一个典型的例子。
我的问题:
1. 我应该使用三种替代方案中的哪一种?
2. 如何定义我要定位的窗口?
3. 如何计算 X 和 Y 坐标?(0,0) 是左上角吗?如何计算要定位在屏幕右下角的窗口的坐标?
这个三重问题的原因是我的系统的美味;我不敢在上面使用跟踪和错误。
我正在尝试根据此处的说明在 ubuntu 上安装 lalsuite:
https://pycbc.org/pycbc/latest/html/install_lalsuite.html
一切都很顺利,直到我跑了
./00boot
./configure --prefix=${VIRTUAL_ENV}/opt/lalsuite --enable-swig-python
我得到的错误是:
configure: error: could not find the zlib library
我正在使用 virtualenv 在虚拟环境中执行所有这些操作。我相当确定我有 zlib 库,因为我安装了它:
$ sudo apt install zlib1g
经过彻底搜索解决方案后,我发现有人遇到同样的问题:
https://ubuntuforums.org/showthread.php?t=2217198&page=2&s=3d14badd56b8ebb236dfc0970ba19435
但我不太了解他们的解决方案。我对他们的修复的解释是执行以下操作:
首先重新安装 pkg-config:
sudo apt-get update
sudo apt-get install pkg-config
然后写下答案建议的行:
echo 'export PKG_CONFIG=/usr/bin/pkg-config' >> ~/.bashrc
(顺便说一句,我在 virtualenv 中做这一切)。
然后重新启动一切并再次尝试相同的操作:
./00boot
./configure --prefix=${VIRTUAL_ENV}/opt/lalsuite --enable-swig-python
可悲的是出现了同样的错误。
任何帮助表示赞赏。
我正在尝试在 Ubuntu 18.04 上安装 gsl 2.5。遵循以下步骤:
1.从http://ftpmirror.gnu.org/gsl/下载最新的 gsl pkg 。使用归档管理器解压缩 tarball,创建一个名为“gsl-release-2-5”的文件夹,打开终端并 cd 到该文件夹。
2.
$ cd /home
$ cd ~/gsl_pkg/gsl-release-2-5
$ sudo apt install libgsl-dev
$ ./configure
error:: bash: ./configure: No such file or directory
收到上面的错误。
我现在应该采取哪些步骤来缓解这种情况并成功安装 gsl 2.5?
编辑:
还执行了 cmd :
$ autoreconf -i -f -v
结果如下-
autoreconf:configure.ac:不使用 Gettext
autoreconf:运行:aclocal --force
autoreconf:configure.ac:跟踪
autoreconf:configure.ac:不使用 Libtool