bu不会编译ekho-5.7
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
@battyman
谢谢,等下再试试
根据你的提示我装了好几个,但是那个pulseaudio 装不上,或者我不知道装上没有. ./configue 成功了但是后面还是不行, 给看看有救么
回复
make过后再make install啊,然后得到的so以及可执行文件就都可以用了,你可以在configure的时候用--PREFIX来指定路径
引用来自“battyman”的评论
它的错误已经变了,现在是:
configure:17220: error: pulseaudio test failed (--without-pulseaudio to disable)
configure中的编译指南很清楚,你添加了-lpulse -lsndfile -lpthread来生成conftest,如果没有安装这三个库,就会报问题。把pulseaudio装一下,或者添加--without-pulseaudio。
源码安装的时候就是看configure的时候各种依赖是否都在,否则是不生成Makefile的,所以make也没有
它的错误已经变了,现在是:
configure:17220: error: pulseaudio test failed (--without-pulseaudio to disable)
configure中的编译指南很清楚,你添加了-lpulse -lsndfile -lpthread来生成conftest,如果没有安装这三个库,就会报问题。把pulseaudio装一下,或者添加--without-pulseaudio。
源码安装的时候就是看configure的时候各种依赖是否都在,否则是不生成Makefile的,所以make也没有
是这个么 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.