Linux-尝试安装fig2dev

Linux-尝试安装fig2dev,linux,installation,Linux,Installation,我安装了xfig,现在正在尝试安装fig2dev,以便将数据导出为pdf格式。我从源代码处下载了zip文件并将其解压缩,但在运行安装文件中列出的install命令时,我不断遇到错误。谁能告诉我底层代码哪里出错了?如果有帮助的话,操作系统是LinuxMint。我可以使用apt-get-install命令下载xfig,但我似乎无法使用该命令获得fig2dev robert@robert-Aspire-E5-575G ~/Downloads/fig2dev-3.2.6a $ sudo ./config

我安装了xfig,现在正在尝试安装fig2dev,以便将数据导出为pdf格式。我从源代码处下载了zip文件并将其解压缩,但在运行安装文件中列出的install命令时,我不断遇到错误。谁能告诉我底层代码哪里出错了?如果有帮助的话,操作系统是LinuxMint。我可以使用apt-get-install命令下载xfig,但我似乎无法使用该命令获得fig2dev

robert@robert-Aspire-E5-575G ~/Downloads/fig2dev-3.2.6a $ sudo ./configure CFLAGS='-O2 -Wno-parentheses'; make -j install-strip
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 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 for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for ranlib... ranlib
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether ln -s works... yes
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
checking for library containing cos... -lm
checking how to run the C preprocessor... gcc -E
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 iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing iconv... none required
checking for limits.h... yes
checking for netinet/in.h... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for library containing png_read_info... no
checking for png in /opt/local/lib /sw/lib... no
checking for X... libraries , headers 
checking for library containing XpmReadFileToXpmImage... -lXpm
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for gethostname... yes
checking for strerror... yes
checking for getpwuid... yes
checking for _setmode... no
checking for isascii... yes
checking for strstr... yes
checking for strchr... yes
checking for strrchr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strndup... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating man/fig2dev.1
config.status: creating fig2dev/Makefile
config.status: creating fig2dev/dev/Makefile
config.status: creating fig2dev/bitmaps/Makefile
config.status: creating fig2dev/i18n/Makefile
config.status: creating fig2dev/tests/Makefile
config.status: creating fig2dev/tests/atlocal
config.status: creating transfig/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing fig2dev/tests/atconfig commands
configure: Results:
  preprocessor      CPP:        gcc -E
  preprocessor flags    CPPFLAGS:   <empty>
  compiler      CC:     gcc
  compiler flags    CFLAGS:     -O2 -Wno-parentheses
  linker flags      LDFLAGS:    <empty>
  libraries     LIBS:       -lXpm -lm 
  install location  prefix:     /usr/local

Files will be installed under /usr/local.
if test -z ''; then \
  make  INSTALL_PROGRAM="/bin/bash /home/robert/Downloads/fig2dev-3.2.6a/install-sh -c -s" \
    install_sh_PROGRAM="/bin/bash /home/robert/Downloads/fig2dev-3.2.6a/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
      install; \
else \
  make  INSTALL_PROGRAM="/bin/bash /home/robert/Downloads/fig2dev-3.2.6a/install-sh -c -s" \
    install_sh_PROGRAM="/bin/bash /home/robert/Downloads/fig2dev-3.2.6a/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
    "INSTALL_PROGRAM_ENV=STRIPPROG=''" install; \
fi
make[1]: Entering directory '/home/robert/Downloads/fig2dev-3.2.6a'
Making install in fig2dev
make[2]: Entering directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev'
Making install in dev
make[3]: Entering directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev'
make[4]: Entering directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev'
make[3]: Leaving directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev'
Making install in bitmaps
make[3]: Entering directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/bitmaps'
make[4]: Entering directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/bitmaps'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/share/fig2dev/bitmaps'
/bin/mkdir: cannot create directory ‘/usr/local/share/fig2dev’: Permission denied
Makefile:289: recipe for target 'install-dist_bitmapsDATA' failed
make[4]: *** [install-dist_bitmapsDATA] Error 1
make[4]: Leaving directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/bitmaps'
Makefile:359: recipe for target 'install-am' failed
make[3]: *** [install-am] Error 2
make[3]: Leaving directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/bitmaps'
Makefile:560: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/robert/Downloads/fig2dev-3.2.6a/fig2dev'
Makefile:381: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/robert/Downloads/fig2dev-3.2.6a'
Makefile:682: recipe for target 'install-strip' failed
make: *** [install-strip] Error 2
robert@robert-Aspire-E5-575G~/Downloads/fig2dev-3.2.6a$sudo./configure CFLAGS='-O2-Wno括号';make-j安装条
正在检查BSD兼容的安装/usr/bin/install-c
正在检查生成环境是否正常。。。对
正在检查线程安全的mkdir-p/bin/mkdir-p
正在检查是否有呆滞。。。目瞪口呆
正在检查make是否设置$(make)。。。对
正在检查make是否支持嵌套变量。。。对
正在检查gcc。。。海湾合作委员会
正在检查C编译器是否工作。。。对
正在检查C编译器的默认输出文件名。。。a、 出去
正在检查可执行文件的后缀。。。
正在检查我们是否正在交叉编译。。。不
正在检查对象文件的后缀。。。o
正在检查我们是否正在使用GNU C编译器。。。对
正在检查gcc是否接受-g。。。对
正在检查gcc选项以接受ISO C89。。。不需要
正在检查gcc是否同时理解-c和-o。。。对
正在检查make使用的包含样式。。。GNU
正在检查gcc的依赖项样式。。。gcc3
正在检查gcc选项以接受ISO C99。。。不需要
检查gcc选项以接受ISO标准C。。。(缓存)不需要
正在检查ranlib。。。兰利布
正在检查ar。。。应收账
正在检查archiver(ar)接口。。。应收账
正在检查ln-s是否工作。。。对
正在检查处理长线和-e的grep/bin/grep
正在检查fgrep/bin/grep-F
正在检查包含cos的库-lm
正在检查如何运行C预处理器。。。gcc-E
正在检查白鹭/bin/grep-E
正在检查ANSI C头文件。。。对
正在检查sys/types.h。。。对
正在检查sys/stat.h。。。对
正在检查stdlib.h。。。对
正在检查字符串。h。。。对
正在检查内存。h。。。对
正在检查字符串。h。。。对
正在检查IntType.h。。。对
正在检查stdint.h。。。对
正在检查unistd.h。。。对
正在检查iconv.h可用性。。。对
正在检查iconv.h是否存在。。。对
正在检查iconv.h。。。对
正在检查包含iconv的库。。。不需要
检查限制。h。。。对
正在检查netinet/in.h。。。对
正在检查sys/file.h。。。对
正在检查系统/参数h。。。对
正在检查包含png\u read\u信息的库。。。不
正在/opt/local/lib/sw/lib中检查png。。。不
正在检查X。。。库、标题
正在检查包含XPMReadFileToxpImage的库-lXpm
正在检查X11/xpm.h可用性。。。对
正在检查X11/xpm.h是否存在。。。对
正在检查X11/xpm.h。。。对
正在检查符合ANSI C标准的常数。。。对
正在检查内联。。。内联
正在检查字节顺序是否为bigendian。。。不
正在检查stdbool.h是否符合C99。。。对
正在检查\u Bool。。。对
正在检查大小\u t。。。对
正在检查stdlib.h。。。(缓存)是的
正在检查GNU libc兼容的malloc。。。对
正在检查stdlib.h。。。(缓存)是的
正在检查GNU libc兼容的realloc。。。对
正在检查gethostname。。。对
正在检查strerror。。。对
正在检查getpwuid。。。对
正在检查_setmode。。。不
检查isascii。。。对
正在检查strstr。。。对
正在检查strchr。。。对
正在检查strrchr。。。对
正在检查strcasecmp。。。对
正在检查strncasecmp。。。对
正在检查strdup。。。对
正在检查strndup。。。对
正在检查生成的文件是否比“配置”更新。。。完成
配置:创建./config.status
config.status:正在创建Makefile
config.status:正在创建man/Makefile
配置状态:创建man/fig2dev.1
config.status:正在创建fig2dev/Makefile
config.status:正在创建fig2dev/dev/Makefile
config.status:正在创建fig2dev/bitmaps/Makefile
config.status:正在创建图2dev/i18n/Makefile
config.status:正在创建fig2dev/tests/Makefile
config.status:创建图2dev/tests/atlocal
config.status:正在创建transfig/Makefile
config.status:正在创建config.h
config.status:config.h保持不变
config.status:正在执行depfiles命令
config.status:执行fig2dev/tests/atconfig命令
配置:结果:
预处理器CPP:gcc-E
预处理器标志CPPFALGS:
编译器CC:gcc
编译器标志CFLAGS:-O2-Wno括号
链接器标志LDFLAGS:
库库库:-lXpm-lm
安装位置前缀:/usr/local
文件将安装在/usr/local下。
如果测试-z';然后\
制作安装程序=“/bin/bash/home/robert/Downloads/fig2dev-3.2.6a/INSTALL-sh-c-s”\
install_sh_PROGRAM=“/bin/bash/home/robert/Downloads/fig2dev-3.2.6a/install-sh-c-s”install_STRIP_FLAG=-s\
安装\
否则\
制作安装程序=“/bin/bash/home/robert/Downloads/fig2dev-3.2.6a/INSTALL-sh-c-s”\
install_sh_PROGRAM=“/bin/bash/home/robert/Downloads/fig2dev-3.2.6a/install-sh-c-s”install_STRIP_FLAG=-s\
“安装程序”\u ENV=STRIPPROG=''安装\
fi
make[1]:输入目录“/home/robert/Downloads/fig2dev-3.2.6a”
在fig2dev中进行安装
make[2]:输入目录“/home/robert/Downloads/fig2dev-3.2.6a/fig2dev”
在dev中进行安装
make[3]:输入目录“/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev”
make[4]:输入目录“/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev”
make[4]:对“install exec am”不做任何操作。
make[4]:对“安装数据am”不做任何操作。
make[4]:离开目录“/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev”
make[3]:离开目录“/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/dev”
在位图中进行安装
make[3]:输入目录“/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/bitmaps”
make[4]:输入目录“/home/robert/Downloads/fig2dev-3.2.6a/fig2dev/bitmaps”
make[4]:insta不需要做任何事情