lovebak 发表于 2012-08-08 19:05

求救啊, FreeBSD安装不上SQUID编译不了提示make: no target to make帮我看看什么问啊

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc-g) works... yes
checking whether the C compiler (gcc-g) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking host system type... i386-unknown-freebsd8.0
checking for pkg-config... false
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for object suffix... o
Store modules built: ufs
Removal policies built: lru
Auth scheme modules built: basic
unlinkd enabled
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for sh... /bin/sh
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for perl... none
checking for ar... /usr/bin/ar
Perl is required to compile Squid
Please install Perl and then re-run configure
# make
make: no target to make.

lovebak 发表于 2012-08-08 19:09

squidnm# ./configure --prefix=/usr/local/squid
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... cfgaux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
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 whether gcc and cc understand -c and -o together... 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 build system type... i386-unknown-freebsd9.0
checking host system type... i386-unknown-freebsd9.0
checking simplified host os... freebsd (version 9.0)
checking whether to use loadable modules... yes, implicitly
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
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 ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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 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... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for library containing dlopen... (cached) none required
checking for dlerror... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... (cached) no
checking for ranlib... (cached) ranlib
checking whether compiler accepts -fhuge-objects... no
configure: Enabling all available DiskIO modules (default)...
configure: Autodetected AIO DiskIO module
configure: Autodetected Blocking DiskIO module
configure: Autodetected DiskDaemon DiskIO module
configure: Autodetected DiskThreads DiskIO module
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking for aio_read in -lrt... yes
configure: Native POSIX AIO support detected.
configure: Enabling AIO DiskIO module
configure: Enabling Blocking DiskIO module
configure: Enabling DiskDaemon DiskIO module
configure: Enabling DiskThreads DiskIO module
configure: IO Modules built:AIO Blocking DiskDaemon DiskThreads
configure: Store modules built:ufs
configure: Removal policies built: lru
checking whether to support eCAP... no, implicitly
checking for epoll_ctl in -lepoll... no
checking for epoll_ctl... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking for ioctl... yes
checking for write... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking if /dev/poll works... no
configure: Auth scheme modules built: ntlm basic digest negotiate
./helpers/basic_auth/DB/config.test: perl: not found
WARNING: Samba smbclient not found in default location. smb_auth may not work on this machine
configure: Basic auth helpers built:MSNT NCSA PAM POP3 SMB YP getpwnam multi-domain-NTLM squid_radius_auth
configure: NTLM auth helpers built:fakeauth no_check smb_lm
configure: Digest auth helpers built:password
* The following flags are included in the dbopen(3) call as part of the
* a problem.Wish I'd left another flags word in the dbopen call.
DB *dbopen(const char *, int, int, DBTYPE, const void *);
WARNING: Samba wbinfo not found in default location. wbinfo_group.pl may not work on this machine
configure: External acl helpers built:ip_user session unix_group
configure: unlinkd enabled
checking for cppunit-config... false
configure: WARNING: cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail.
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for sh... /bin/sh
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for chmod... /bin/chmod
checking for rm... /bin/rm
checking for egrep... (cached) /usr/bin/grep -E
checking for perl... none
configure: error: in `/home/ylf/app/squid-3.1.20-20120807-r10469':
configure: error: Perl is required to compile Squid. Please install Perl and then re-run configure
See `config.log' for more details
squidnm# make
make: no target to make.

lsstarboy 发表于 2012-08-08 19:37

为什么不用ports呢?

lovebak 发表于 2012-08-08 19:57

你们都用的是ports吗?   官方下源码包不行的吗, 我是新手

ahocat 发表于 2012-08-09 11:44

本帖最后由 ahocat 于 2012-08-09 11:45 编辑

configure: error: Perl is required to compile Squid. Please install Perl and then re-run configure
不是告诉你了要perl嘛
用ports就不用自己去装perl了,ports会自动把相关的东西都装上的

ulovko 发表于 2012-08-09 11:55

回复 4# lovebak


    ports会自动使用源码请参考:http://bbs.chinaunix.net/thread-3751530-1-1.html

macafee 发表于 2012-08-09 13:35

又一个没事找抽型的,如果楼主搞开发则另当别论。

fender0107401 发表于 2012-08-09 13:42

回复 7# macafee

搞开发的不会问这个的。
页: [1]
查看完整版本: 求救啊, FreeBSD安装不上SQUID编译不了提示make: no target to make帮我看看什么问啊