Tag: 配置

使用Cygwin编译Corkscrew时获取配置错误

我正在尝试使用Cygwin在Windows机器上编译开瓶器。 现在,每次我尝试配置它时,都会收到一条错误,指出configure: error: cannot guess build type; you must specify one configure: error: cannot guess build type; you must specify one 以下是那些想要查看它的人的完整错误日志: – Blueelvis_RoXXX@PranavVJituri ~/corkscrew-2.0 $ ./configure checking for a BSD-compatible install… /usr/bin/install -c checking whether build environment is sane… yes checking whether make sets $(MAKE)… yes checking for working aclocal-1.4… found checking for working […]

如何在Eclipse CDT应用程序中分配输入文件而不是stdin?

我的应用程序是一个从命令行使用的简单可执行文件,并将stdin作为输入, stdout作为输出,因此它的行为与许多GNU工具一样。 为了测试它,我想设置一个Eclipse CDT DEBUG配置来将文件传递给stdin ,将另一个文件传递给stdout 。 我在DEBUG Configuration GUI中尝试了一些解决方案,但没有成功: 在Common / Standard Input and Output / Input File:我把inputfile.txt放在同一节Output file:我Output file: outputfile.txt 。 由于GUI指示工作目录是${workspace_loc:/myprogram} ,它应该没问题,但是当调试器启动时,它会发出警告: [Invalid file specified for console output: test/WittenACM87ArithmCoding-1.txt.coded] [Invalid file specified for stdin file: test/WittenACM87ArithmCoding-1.txt] 在Arguments我放了 outputfile.txt ,这显然不是为此设计的 当然,这两个文件都在工作目录中。 所有尝试都失败了ch = getc(stdin); 带有一些奇怪消息的代码行: Can’t find a source file at “/build/glibc-p3Km7c/glibc-2.24/io/../sysdeps/unix/syscall-template.S” Locate […]

无法正确安装rpy2

我尝试使用以下命令在R 3.1.1的计算机上安装rpy2: pip install rpy2 –user 它输出成功,但是当我尝试使用它进行测试时 python -m rpy2.tests 它给我以下错误 File “/mnt/work1/software/python/2.7/lib/python2.7/runpy.py”, line 162, in _run_module_as_main “__main__”, fname, loader, pkg_name) File “/mnt/work1/software/python/2.7/lib/python2.7/runpy.py”, line 72, in _run_code exec code in run_globals File “/mnt/work1/users/home2/stamaki/.local/lib/python2.7/site-packages/rpy2-2.6.0-py2.7-linux-x86_64.egg/rpy2/tests.py”, line 23, in import rpy2.tests_rpy_classic File “/mnt/work1/users/home2/stamaki/.local/lib/python2.7/site-packages/rpy2-2.6.0-py2.7-linux-x86_64.egg/rpy2/tests_rpy_classic.py”, line 3, in import rpy2.rpy_classic as rpy File “/mnt/work1/users/home2/stamaki/.local/lib/python2.7/site-packages/rpy2-2.6.0-py2.7-linux-x86_64.egg/rpy2/rpy_classic.py”, line 5, in import rpy2.rinterface as […]

C编译器无法在SUA / Interix上创建可执行文件

每当我尝试在Windows上使用Interix的GCC构建应用程序时,会发生以下情况: /tmp/grep-2.5.4-src/build$ ../configure –build=x86_64-pc-interix6 checking for a BSD-compatible install… /bin/install -c checking whether build environment is sane… yes checking for a thread-safe mkdir -p… ../install-sh -c -d checking for gawk… gawk checking whether make sets $(MAKE)… yes checking build system type… x86_64-pc-interix6 checking host system type… x86_64-pc-interix6 checking for gawk… (cached) gawk checking for gcc… […]