Freeswitch安装出现问题make问题

在尝试安装Freeswitch时,执行'./configure'后成功,但运行'make'时遇到错误:'make: *** No targets specified and no makefile found. Stop.'。配置过程中显示了详细的编译环境检查信息,但最终make时未能找到makefile。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

麻烦大神们看看这是什么原因。谢谢啦!!

Freeswitch安装,执行./configure后下方显示结果。再执行make时则出现make: *** No targets specified and no makefile found. Stop.

=== configuring in libs/spandsp (/usr/local/src/fs1.6/libs/spandsp)
configure: running /bin/sh ./configure.gnu --disable-option-checking ‘–prefix=/usr/local/freeswitch’ ‘–with-modinstdir=/usr/local/freeswitch/mod’ 'CONFIGURE_CFLAGS=-g -O2 ’ 'CONFIGURE_CXXFLAGS=-g -O2 ’ ‘CONFIGURE_LDFLAGS=’ --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-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 for style of include used by make… GNU
checking dependency style of gcc… gcc3
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 how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking whether gcc needs -traditional… no
checking how to print strings… printf
checking for a sed that does not truncate output… /usr/bin/sed
checking for fgrep… /usr/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 x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format… func_convert_file_noop
checking how to convert x86_64-unknown-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 %s\n
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… no
checking if : is a manifest tool… no
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… no
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 -m elf_x86_64) supports shared libraries… yes
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… no
checking whether to build static libraries… yes
checking how to run the C++ preprocessor… g++ -E
checking for ld used by g++… /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld… yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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… no
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 -m elf_x86_64) supports shared libraries… yes
checking dynamic linker characteristics… (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking for C compiler vendor… gnu
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 for an ANSI C-conforming const… yes
checking for inline… inline
checking for working volatile… yes
checking for long long… yes
checking for long double… yes
checking return type of signal handlers… void
checking for error_at_line… yes
checking for vprintf… yes
checking for _doprnt… no
checking for working memcmp… yes
checking for memmove… yes
checking for working memmove… yes
checking for stdlib.h… (cached) yes
checking for GNU libc compatible realloc… yes
checking for stdlib.h… (cached) yes
checking for GNU libc compatible malloc… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking types of arguments for select… int,fd_set *,struct timeval *
checking for lrint… yes
checking for lrintf… yes
checking for llrint… yes
checking for llrintf… yes
checking if have C99 struct flexible array support… yes
checking checking for aligned_alloc… yes
checking for memalign… yes
checking for posix_memalign… yes
checking for memmove… (cached) yes
checking for memset… yes
checking for select… yes
checking for strcasecmp… yes
checking for strchr… yes
checking for strdup… yes
checking for strerror… yes
checking for strstr… yes
checking for strtol… yes
checking for gettimeofday… yes
checking for drand48… yes
checking for ANSI C header files… (cached) yes
checking for sys/wait.h that is POSIX.1 compatible… yes
checking whether time.h and sys/time.h may both be included… yes
checking socket.h usability… no
checking socket.h presence… no
checking for socket.h… no
checking for inttypes.h… (cached) yes
checking for stdint.h… (cached) yes
checking stdatomic.h usability… no
checking stdatomic.h presence… no
checking for stdatomic.h… no
checking stdbool.h usability… yes
checking stdbool.h presence… yes
checking for stdbool.h… yes
checking stdfix.h usability… yes
checking stdfix.h presence… yes
checking for stdfix.h… yes
checking for unistd.h… (cached) yes
checking for stdlib.h… (cached) yes
checking for string.h… (cached) yes
checking for strings.h… (cached) yes
checking malloc.h usability… yes
checking malloc.h presence… yes
checking for malloc.h… yes
checking math.h usability… yes
checking math.h presence… yes
checking for math.h… yes
checking float.h usability… yes
checking float.h presence… yes
checking for float.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking for sys/select.h… (cached) yes
checking sys/ioctl.h usability… yes
checking sys/ioctl.h presence… yes
checking for sys/ioctl.h… yes
checking sys/fcntl.h usability… yes
checking sys/fcntl.h presence… yes
checking for sys/fcntl.h… yes
checking sndfile.h usability… yes
checking sndfile.h presence… yes
checking for sndfile.h… yes
checking fenv.h usability… yes
checking fenv.h presence… yes
checking for fenv.h… yes
checking fftw3.h usability… no
checking fftw3.h presence… no
checking for fftw3.h… no
checking fftw.h usability… no
checking fftw.h presence… no
checking for fftw.h… no
checking pcap.h usability… no
checking pcap.h presence… no
checking for pcap.h… no
checking pthread.h usability… yes
checking pthread.h presence… yes
checking for pthread.h… yes
checking tgmath.h usability… yes
checking tgmath.h presence… yes
checking for tgmath.h… yes
checking X11/X.h usability… no
checking X11/X.h presence… no
checking for X11/X.h… no
checking for libxml/xmlmemory.h… checking libxml/xmlmemory.h usability… yes
checking libxml/xmlmemory.h presence… yes
checking for libxml/xmlmemory.h… yes
checking libxml/parser.h usability… yes
checking libxml/parser.h presence… yes
checking for libxml/parser.h… yes
checking libxml/xinclude.h usability… yes
checking libxml/xinclude.h presence… yes
checking for libxml/xinclude.h… yes
checking FL/Fl.H usability… no
checking FL/Fl.H presence… no
checking for FL/Fl.H… no
checking FL/Fl_Overlay_Window.H usability… no
checking FL/Fl_Overlay_Window.H presence… no
checking for FL/Fl_Overlay_Window.H… no
checking FL/Fl_Light_Button.H usability… no
checking FL/Fl_Light_Button.H presence… no
checking for FL/Fl_Light_Button.H… no
checking FL/fl_draw.H usability… no
checking FL/fl_draw.H presence… no
checking for FL/fl_draw.H… no
checking FL/Fl_Cartesian.H usability… no
checking FL/Fl_Cartesian.H presence… no
checking for FL/Fl_Cartesian.H… no
checking FL/Fl_Audio_Meter.H usability… no
checking FL/Fl_Audio_Meter.H presence… no
checking for FL/Fl_Audio_Meter.H… no
checking for /usr/local/freeswitch/lib64… no
checking for /usr/X11R6/lib64… no
checking for /usr/X11R6/lib… no
checking for cos in -lm… yes
checking for library containing sinf… none required
checking for library containing cosf… none required
checking for library containing tanf… none required
checking for library containing asinf… none required
checking for library containing acosf… none required
checking for library containing atanf… none required
checking for library containing atan2f… none required
checking for library containing ceilf… none required
checking for library containing floorf… none required
checking for library containing powf… none required
checking for library containing expf… none required
checking for library containing logf… none required
checking for library containing log10f… none required
checking for library containing open_memstream… none required
checking if x86_64-unknown-linux-gnu supports library symbol export… yes
yes
checking whether compiler supports -Wunused-but-set-variable… yes
yes
checking if x86_64-unknown-linux-gnu supports the ARM NEON instructions set… no
no
checking if x86_64-unknown-linux-gnu is fixed point only… no
checking if x86_64-unknown-linux-gnu fails on misaligned memory access… no
checking tiffio.h usability… yes
checking tiffio.h presence… yes
checking for tiffio.h… yes
checking for tif_dir.h… yes
checking for TIFFCreateCustomDirectory in -ltiff… yes
checking jpeglib.h usability… yes
checking jpeglib.h presence… yes
checking for jpeglib.h… yes
checking for jpeg_start_compress in -ljpeg… yes
checking that generated files are newer than configure… done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen
config.status: creating src/Makefile
config.status: creating src/spandsp.h
config.status: creating spandsp-sim/Makefile
config.status: creating test-data/Makefile
config.status: creating test-data/etsi/Makefile
config.status: creating test-data/etsi/fax/Makefile
config.status: creating test-data/itu/Makefile
config.status: creating test-data/itu/fax/Makefile
config.status: creating test-data/itu/tiff-fx/Makefile
config.status: creating test-data/local/Makefile
config.status: creating tests/Makefile
config.status: creating spandsp.pc
config.status: creating spandsp.spec
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

-------------------------- FreeSWITCH configuration --------------------------

Locations:

  prefix:          /usr/local/freeswitch
  exec_prefix:     /usr/local/freeswitch
  bindir:          ${exec_prefix}/bin
  confdir:         /usr/local/freeswitch/conf
  libdir:          ${exec_prefix}/lib
  datadir:         /usr/local/freeswitch
  localstatedir:   /usr/local/freeswitch
  includedir:      /usr/local/freeswitch/include/freeswitch

  certsdir:        /usr/local/freeswitch/certs
  dbdir:           /usr/local/freeswitch/db
  grammardir:      /usr/local/freeswitch/grammar
  htdocsdir:       /usr/local/freeswitch/htdocs
  fontsdir:        /usr/local/freeswitch/fonts
  logfiledir:      /usr/local/freeswitch/log
  modulesdir:      /usr/local/freeswitch/mod
  pkgconfigdir:    ${exec_prefix}/lib/pkgconfig
  recordingsdir:   /usr/local/freeswitch/recordings
  imagesdir:       /usr/local/freeswitch/images
  runtimedir:      /usr/local/freeswitch/run
  scriptdir:       /usr/local/freeswitch/scripts
  soundsdir:       /usr/local/freeswitch/sounds
  storagedir:      /usr/local/freeswitch/storage
  cachedir:        /usr/local/freeswitch/cache

[root@iZ2zee4674vayqrnltu6ujZ codecs]# make
make: *** No targets specified and no makefile found. Stop.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值