Chinaunix首页 | 论坛 | 博客
  • 博客访问: 185775
  • 博文数量: 9
  • 博客积分: 1722
  • 博客等级: 上尉
  • 技术积分: 225
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-09 11:13
文章分类
文章存档

2012年(1)

2011年(5)

2010年(3)

分类: C/C++

2011-05-10 23:01:59

编译c-client.tar.gz包时,用make slx & lnp效果是一样的,这东西是个邮件的客户端,我想用它的相关解信api实现我的一些需求!

报错如下:security/pam_appl.h:没有那个文件或目录

 后边就是一些相关的错误和警告了,先到根,然后查找是缺少哪个库吧

 

结果:安装pam-devel.rpm,解决了

我是在centos5上做的,用yum -y install pam-devel

Installed: pam-devel.i386 0:0.99.6.2-6.el5_5.2
Complete!

编译选择(在Makefile里可以看到)

# The following ports are bundled:
# a32   AIX 3.2 for RS/6000
# a41   AIX 4.1 for RS/6000
# aix   AIX/370 (not RS/6000!!)
# ami   AmigaDOS
# am2   AmigaDOS with a 68020
# ama   AmigaDOS using AS225R2
# amn   AmigaDOS with a 680x0 using "new" socket library
# aos   AOS for RT
# art   AIX 2.2.1 for RT
# asv   Altos SVR4
# aux   A/UX
# bs3   BSD/i386 3.0 and higher
# bsd   generic BSD 4.3 (as in ancient 1980s version)
# bsf   FreeBSD
# bsi   BSD/i386
# bso   OpenBSD (yes, yet another one...)
# cvx   Convex
# cyg   Cygwin
# d-g   Data General DG/UX prior to 5.4 (d41 port no longer exists)
# d54   Data General DG/UX 5.4
# do4   Apollo Domain/OS sr10.4
# dpx   Bull DPX/2 B.O.S.
# drs   ICL DRS/NX
# dyn   Dynix
# epx   EP/IX
# ga4   GCC AIX 4.x for RS/6000
# gas   GCC Altos SVR4
# gcs   GCC Solaris with Blastwave Community Open Source Software
# gh9   GCC HP-UX 9.x
# ghp   GCC HP-UX 10.x
# ghs   GCC HP-UX 10.x with Trusted Computer Base
# go5   GCC 2.7.1 (95q4 from Skunkware _not_ 98q2!) SCO Open Server 5.0.x
# gsc   GCC Santa Cruz Operation
# gsg   GCC SGI
# gso   GCC Solaris
# gsu   GCC SUN-OS
# gul   GCC RISC Ultrix (DEC-5000)
# h11   HP-UX 11i
# hpp   HP-UX 9.x (see gh9)
# hpx   HP-UX 10.x (see ghp, ghs, hxd, and shp)
# hxd   HP-UX 10.x with DCE security (see shp)
# isc   Interactive Systems
# ldb   Debian Linux
# lfd   Fedora Core 4
# ln8   Linux for Nokia N800
# lnx   Linux with traditional passwords and crypt() in the C library
#    (see lnp, sl4, sl5, and slx)
# lnp   Linux with Pluggable Authentication Modules (PAM)
# lmd   Mandrake Linux
# lr5   RedHat Enterprise 5 and later (same as lfd)
# lrh   RedHat Linux 7.2 and later
# lsu   SuSE Linux (same as lrh)
# lyn   LynxOS
# mct   MachTen
# mnt   Atari ST Mint (not MacMint)
# neb   NetBSD
# nec   NEC UX
# nto   QNX Neutrine RTP
# nxt   NEXTSTEP
# nx3   NEXTSTEP 3.x
# osf   OSF/1 (see sos, os4)
# os4   OSF/1 (Digital UNIX) 4
# osi   Apple iPhone and iPod Touch
# osx   Mac OS X
# oxp   Mac OS X with Pluggable Authentication Modules (PAM)
# ptx   PTX
# pyr   Pyramid
# qnx   QNX 4
# s40   SUN-OS 4.0 (*not* Solaris)
# sc5   SCO Open Server 5.0.x (see go5)
# sco   Santa Cruz Operation (see sc5, go5)
# shp   HP-UX with Trusted Computer Base
# sgi   Silicon Graphics IRIX
# sg6   Silicon Graphics IRIX 6.5
# sl4   Linux using -lshadow to get the crypt() function
# sl5   Linux with shadow passwords, no extra libraries
# slx   Linux using -lcrypt to get the crypt() function
# snx   Siemens Nixdorf SININX or Reliant UNIX
# soc   Solaris with /opt/SUNWspro/bin/cc
# sol   Solaris (won't work unless "ucbcc" works -- use gso instead)
# sos   OSF/1 with SecureWare
# ssn   SUN-OS with shadow password security
# sua   Windows Vista (Enterprise or Ultima) Subsystem for Unix Applications
# sun   SUN-OS 4.1 or better (*not* Solaris) (see ssn)
# sv2   SVR2 on AT&T PC-7300 (incomplete port)
# sv4   generic SVR4
# ult   RISC Ultrix (DEC-5000)
# uw2   UnixWare SVR4.2
# vul   VAX Ultrix
# vu2   VAX Ultrix 2.3 (e.g. for VAXstation-2000 or similar old version)

阅读(3180) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~