免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2298 | 回复: 12
打印 上一主题 下一主题

make错误,请大家帮助一下.... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-04 22:10 |只看该作者 |倒序浏览
[root@linuxhome qpopper4.0.9]# ls
common       configure.in  Makefile.in  popper         update-copyright
conf.h       doc           man          README
config.h.in  GUIDE.pdf     misc.h       samples
config.log   install-sh    mmangle      temp-sed-edit
configure    License.txt   password     test

[root@linuxhome qpopper4.0.9]# ./configure
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for library containing strerror... none required
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for ar... ar
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for gperf... no
checking for cperf... no
./configure: line 2886: WARNING:: command not found
checking for gcc version 2.7.2.3... no
checking if gcc supports __attribute__ (format) ... yes
checking if ar chokes on -r... no
checking for getspnam... yes
Found getspnam(); using shadow passwords by default
Will NOT compile in debugging code
Defining SPEC_POP_AUTH
System name: Linux; System version: 2.4.21-4.EL
Set OS_DEFS = " -DLINUX -DUNIX"
Logging to facility: LOG_MAIL
Set AR_FLAG = " -r "; RANLIB_CMD = ""
checking for sendmail program... found at /usr/sbin/sendmail
checking for mail spool directory... "found at /var/mail"
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 whether sys_siglist is declared... no
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/security.h usability... no
checking sys/security.h presence... no
checking for sys/security.h... no
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking for sys/types.h... (cached) yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking sys/unistd.h usability... yes
checking sys/unistd.h presence... yes
checking for sys/unistd.h... yes
checking sys/netinet/in.h usability... no
checking sys/netinet/in.h presence... no
checking for sys/netinet/in.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for unistd.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking select.h usability... no
checking select.h presence... no
checking for select.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ndbm.h usability... no
checking ndbm.h presence... no
checking for ndbm.h... no
checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking dbm.h usability... no
checking dbm.h presence... no
checking for dbm.h... no
checking for t_accept in -lnsl... no
checking for socket in -lsocket... no
checking for res_init in -lresolv... no
checking for maillock in -lmail... no
checking for krb_recvauth in -lkrb... no
checking for clock_gettime in -lposix4... no
checking for crypt in -lcrypt... yes
checking for set_auth_parameters in -lsecurity... no
checking for dlopen in -ldl... yes
checking for pam_authenticate in -lpam... no
Can't use PAM: can't find libpam

[root@linuxhome qpopper4.0.9]# make
make: *** No targets specified and no makefile found.  Stop.

[root@linuxhome qpopper4.0.9]# make install
make: *** No rule to make target `install'.  Stop.

我是新手,不知道怎么解决这个问题,那位能帮帮我??谢谢!

论坛徽章:
0
2 [报告]
发表于 2006-04-05 00:41 |只看该作者
checking for pam_authenticate in -lpam... no
Can't use PAM: can't find libpam


请安装你用的 linux distro 提供的 pam-devel 或是 libpam-devel 这类 rpm package。

另外其实 linux distro 都一定会提供 pop3/imap 这类 daemon 服务软件包,若没啥特殊需求不用自己 tarball 安装这些东西。

==

论坛徽章:
0
3 [报告]
发表于 2006-04-05 09:11 |只看该作者
安装了pam-devel,已经安装上了,谢谢。
linux distro 提供的 pop3/imap 这类 daemon 服务软件包,有哪个?能否指教?

论坛徽章:
0
4 [报告]
发表于 2006-04-05 09:20 |只看该作者
原帖由 penny_r 于 2006-4-5 09:11 发表
安装了pam-devel,已经安装上了,谢谢。


那应该就可以继续编译了。

linux distro 提供的 pop3/imap 这类 daemon 服务软件包,有哪个?能否指教?


像是早期 rh 7/8/9 到 fedora linux 1 等版本,都有个内建的 "imap" 这个软件包可以安装,那就是有 pop3/imap 服务的档案。

而 fedora linux 目前版本是使用 dovecot 取代原本 imap 这个软件包,所以安装上 dovecot 软件包就可以了。

软件包都在 cd disc 内,自己找一下就知道。 若你用 fedora linux 的话,甚至用 yum 程式就可以透过预设设定好的 ftp/http 站台抓取软件包,也就是 yum install dovecot 等方式就可以完成安装。

==

[ 本帖最后由 kenduest 于 2006-4-5 09:22 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2006-04-05 09:53 |只看该作者
呵呵,了解了,我用的是AS4,里面的包都是cyrus-imapd,装这个应该也可以吧。谢谢了,CU的人真不错!

论坛徽章:
0
6 [报告]
发表于 2006-04-05 10:27 |只看该作者
原帖由 penny_r 于 2006-4-5 09:53 发表
呵呵,了解了,我用的是AS4,里面的包都是cyrus-imapd,装这个应该也可以吧。谢谢了,CU的人真不错!


用 cyrus-imap 那个软件包?可能不好,RHEL AS4 还是有 dovecot,用 dovecot 即可。

请不要使用 cyrus-imap,除非你确定你了解这个东西。因为 cyrus-imap 不是使用标准的 UNIX mailbox 格式储存 mailbox,而是使用专属格式。

再者若你要使用该项目的话,sendmail/postfix 那边都还要配置设定支援与该项目整合,要不然信件根本无法投递给实际主机上的帐号。

==

论坛徽章:
0
7 [报告]
发表于 2006-04-05 12:26 |只看该作者
好的,我试试dovecot,谢谢

论坛徽章:
0
8 [报告]
发表于 2006-04-05 12:30 |只看该作者
在这个帖子里问一下,我的机器sendmail装上了,telnet mail.xxx.com smtp没有问题。
机器有两个帐号,root和penny
用root给penny发邮件,#mail penny
输入标题和内容,再用penny登陆,
#mail显示没有penny的mail
再用root登陆,
#mail也显示没有root的mail
这是怎么回事?

论坛徽章:
0
9 [报告]
发表于 2006-04-05 12:55 |只看该作者
原帖由 penny_r 于 2006-4-5 12:30 发表
在这个帖子里问一下,我的机器sendmail装上了,telnet mail.xxx.com smtp没有问题。
机器有两个帐号,root和penny
用root给penny发邮件,#mail penny
输入标题和内容,再用penny登陆,
#mail显示没有penny的mail


这原因很多种。

先看 mail log 纪录如何?

/var/log/mail*

==

论坛徽章:
0
10 [报告]
发表于 2006-04-05 17:52 |只看该作者
新setup的一台linux AS4,
[root@linuxcomp log]# telnet 10.40.2.250 smtp
Trying 10.40.2.250...
telnet: connect to address 10.40.2.250: Connection refused
telnet: Unable to connect to remote host: Connection refused

[root@linuxcomp log]# service sendmail status
sendmail (pid 2164 2156) is running...

[root@linuxcomp log]#mail penny
......

[root@linuxcomp log]#more maillog

Apr  5 18:23:21 linuxcomp sendmail[3457]: k35ANLQh003457: from=root, size=31, cl
ass=0, nrcpts=1, msgid=<200604051023.k35ANLQh003457@localhost.localdomain>, rela
y=root@localhost

Apr  5 18:23:22 linuxcomp sendmail[3458]: k35ANLNw003458: from=<root@localhost.l
ocaldomain>, size=336, class=0, nrcpts=1, msgid=<200604051023.k35ANLQh003457@loc
alhost.localdomain>, proto=ESMTP, daemon=MTA, relay=linuxcomp [127.0.0.1]

Apr  5 18:23:22 linuxcomp sendmail[3457]: k35ANLQh003457: to=penny, ctladdr=root
(0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30031, relay=[127.0.0
.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k35ANLNw003458 Message accepted for deliv
ery)

Apr  5 18:23:22 linuxcomp sendmail[3459]: k35ANLNw003458: to=<penny@localhost.lo
caldomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:00, xdelay=0
0:00:00, mailer=local, pri=30549, dsn=2.0.0, stat=Sent


mail到是可以收到,但是在sendmail没有正常配置的情况下,是否并没有通过sendmail发呢?还是仅通过本机转发?

[ 本帖最后由 penny_r 于 2006-4-5 18:00 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP