bu不会编译ekho-5.7

发布于 2021-11-23 23:51:54 字数 7292 浏览 818 评论 8

dengwo@dengwo-ThinkPad-Edge-E530:~/gonggong/kubuntu/ekho-5.7$ ./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 how to create a pax tar archive... gnutar

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking how to print strings... printf

checking for style of include used by make... GNU

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 dependency style of gcc... gcc3

checking dependency style of gcc... (cached) 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 i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop

checking how to convert i686-pc-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 %sn

checking for ar... ar

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... no

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) 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... yes

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency style of g++... gcc3

checking dependency style of g++... (cached) gcc3

checking how to run the C++ preprocessor... g++ -E

checking for ld used by g++... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld) 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) supports shared libraries... yes

checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ISO C89... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking dependency style of gcc... (cached) gcc3

checking whether make sets $(MAKE)... (cached) yes

checking for main in -lpthread... yes

checking for dirent.h that defines DIR... yes

checking for library containing opendir... none required

checking for ANSI C header files... (cached) yes

checking locale.h usability... yes

checking locale.h presence... yes

checking for locale.h... yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking for unistd.h... (cached) yes

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for size_t... yes

checking whether closedir returns void... no

checking for stdlib.h... (cached) yes

checking for GNU libc compatible malloc... yes

checking for working strtod... yes

checking for memset... yes

checking for setlocale... yes

checking for strstr... yes

checking for main in -lsndfile... no

configure: error: in `/home/dengwo/gonggong/kubuntu/ekho-5.7':

configure: error: sndfile test failed

See `config.log' for more details

dengwo@dengwo-ThinkPad-Edge-E530:~/gonggong/kubuntu/ekho-5.7$ make

make: *** No targets specified and no makefile found.  Stop.

dengwo@dengwo-ThinkPad-Edge-E530:~/gonggong/kubuntu/ekho-5.7$ 

dengwo@dengwo-ThinkPad-Edge-E530:~/gonggong/kubuntu/ekho-5.7$ sudo apt-get install dlltool

[sudo] password for dengwo: 

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Unable to locate package dlltool

#怎么弄......make 提示没有文件

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

无法言说的痛 2021-11-30 01:46:40
dengwo@dengwo-ThinkPad-Edge-E530:~/gonggong/kubuntu/ekho-5.7$ sudo make
make  all-am
make[1]: Entering directory `/home/dengwo/gonggong/kubuntu/ekho-5.7'
make[1]: Leaving directory `/home/dengwo/gonggong/kubuntu/ekho-5.7'
dengwo@dengwo-ThinkPad-Edge-E530:~/gonggong/kubuntu/ekho-5.7$ sudo make install
make[1]: Entering directory `/home/dengwo/gonggong/kubuntu/ekho-5.7'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /bin/bash ./libtool   --mode=install /usr/bin/install -c test_ekho ekho '/usr/local/bin'
libtool: install: /usr/bin/install -c test_ekho /usr/local/bin/test_ekho
libtool: install: /usr/bin/install -c ekho /usr/local/bin/ekho
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
 /usr/bin/install -c -m 644 src/ekho.h src/ekho_dict.h src/character.h src/phonetic_symbol.h src/zhy_symbol_map.h src/zh_symbol_map.h '/usr/local/include'
make  install-data-hook
make[2]: Entering directory `/home/dengwo/gonggong/kubuntu/ekho-5.7'
mkdir -p /usr/local/share/ekho-data
cp -rLf ./ekho-data/jyutping ./ekho-data/pinyin ./ekho-data/alphabet ./ekho-data/hakka ./ekho-data/tibetan ./ekho-data/ngangien ./ekho-data/hangul /usr/local/share/ekho-data/
install ./ekho-data/zhy_list ./ekho-data/zh_list ./ekho-data/zh_listx ./ekho-data/zhy.dict ./ekho-data/zh.dict ./ekho-data/ka_list ./ekho-data/bo_list ./ekho-data/ko_list ./ekho-data/ngangien_list /usr/local/share/ekho-data/
cp -rf ./ekho-data/festival /usr/local/share/ekho-data/
make[2]: Leaving directory `/home/dengwo/gonggong/kubuntu/ekho-5.7'
make[1]: Leaving directory `/home/dengwo/gonggong/kubuntu/ekho-5.7'

把回忆走一遍 2021-11-30 00:48:58

谢谢,等下再试试

牵你的手,一向走下去 2021-11-30 00:44:37

根据你的提示我装了好几个,但是那个pulseaudio 装不上,或者我不知道装上没有. ./configue 成功了但是后面还是不行, 给看看有救么

凡尘雨 2021-11-29 21:46:57

回复
make过后再make install啊,然后得到的so以及可执行文件就都可以用了,你可以在configure的时候用--PREFIX来指定路径

情场扛把子 2021-11-29 20:32:36

引用来自“battyman”的评论

它的错误已经变了,现在是:

configure:17220: error: pulseaudio test failed (--without-pulseaudio to disable)

configure中的编译指南很清楚,你添加了-lpulse  -lsndfile -lpthread来生成conftest,如果没有安装这三个库,就会报问题。把pulseaudio装一下,或者添加--without-pulseaudio。

源码安装的时候就是看configure的时候各种依赖是否都在,否则是不生成Makefile的,所以make也没有

勿忘初心 2021-11-29 11:08:15

它的错误已经变了,现在是:

configure:17220: error: pulseaudio test failed (--without-pulseaudio to disable)

configure中的编译指南很清楚,你添加了-lpulse  -lsndfile -lpthread来生成conftest,如果没有安装这三个库,就会报问题。把pulseaudio装一下,或者添加--without-pulseaudio。

源码安装的时候就是看configure的时候各种依赖是否都在,否则是不生成Makefile的,所以make也没有

眼眸 2021-11-27 01:22:00

是这个么 sudo apt-get install libsndfile1-dev 装了还不行呢... 这是提示: dengwo@dengwo-ThinkPad-Edge-E530:~/gonggong/kubuntu/ekho-5.7$ make make: *** No targets specified and no makefile found. Stop.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文