歡迎您光臨本站 註冊首頁

求助:pam_mysql安裝時出錯

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

求助:pam_mysql安裝時出錯

安裝pam mysql時出錯了:wink:
系統是soalris10
pam_mysql是從CU上下載的
下面是安裝過程,請各位指點
bash-3.00# cd pam_mysql-0.7RC1
bash-3.00# ls
acinclude.m4       config.sub         install-sh         mkinstalldirs      README
aclocal.m4         configure          libtool            NEWS               stamp-h.in
ChangeLog          configure.in       ltmain.sh          pam_mysql.c
config.guess       COPYING            Makefile.am        pam_mysql.spec
config.h.in        CREDITS            Makefile.in        pam_mysql.spec.in
config.log         INSTALL            missing            pkg.m4
bash-3.00# ./configure --with-openssl=/usr/local/s
share/ ssl/   
bash-3.00# ./configure --with-openssl=/usr/local/ssl/ --with-mysql=/usr/local/mysql
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... bison -y
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking for gcc... gcc
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 how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... ./install-sh -c
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for working volatile... yes
checking for preprocessor stringizing operator... yes
checking for pid_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking ELOOP availability... yes
checking EOVERFLOW availability... yes
checking for socket in -lsocket... yes
checking for gethostbyname... no
checking for inet_ntop... no
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for strcasecmp... yes
checking for strdup... yes
checking PF_INET6 availability... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for gethostbyname_r... no
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking if "/usr/local/mysql" is a mysql_config script... no
checking mysql_config availability in /usr/local/mysql/bin... yes
checking for mysql_real_query... no
checking for mysql_real_escape_string... no
checking for make_scrambled_password_323... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking opensslv.h usability... no
checking opensslv.h presence... yes
configure: WARNING: opensslv.h: present but cannot be compiled
configure: WARNING: opensslv.h:     check for missing prerequisite headers?
configure: WARNING: opensslv.h: see the Autoconf documentation
configure: WARNING: opensslv.h:     section "Present But Cannot Be Compiled"
configure: WARNING: opensslv.h: proceeding with the preprocessor's result
configure: WARNING: opensslv.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to the pam_mysql lists.  ##
configure: WARNING:     ## ------------------------------------ ##
checking for opensslv.h... yes
checking for CRYPTO_free in -lcrypto... no
checking pam_appl.h usability... no
checking pam_appl.h presence... yes
configure: WARNING: pam_appl.h: present but cannot be compiled
configure: WARNING: pam_appl.h:     check for missing prerequisite headers?
configure: WARNING: pam_appl.h: see the Autoconf documentation
configure: WARNING: pam_appl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: pam_appl.h: proceeding with the preprocessor's result
configure: WARNING: pam_appl.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to the pam_mysql lists.  ##
configure: WARNING:     ## ------------------------------------ ##
checking for pam_appl.h... yes
checking pam_modules.h usability... no
configure: error: Cannot find pam headers. Please check if your system is ready for pam module development.
《解決方案》

各位老大,給點思路唄~:wink:
《解決方案》

提示說明:Cannot find pam headers
你下一個 pam-dev  開發包試試
《解決方案》

up
《解決方案》

請問老兄,你的問題是怎麼解決的?
我也這樣的問題了啊,
都弄了一個星期了!
《解決方案》

班竹頂一下

我也是這樣的問題,到現在都沒找到答案,鬱悶中
《解決方案》

回復 #5 南宮 的帖子

樓上的這個問題解決了沒有?我也是遇到這個問題了,是不是solaris跟pam_mysql不支持啊?我看到在linux下安裝pam_mysql是需要mysql_devel的,不知道solaris下是否需要。

[火星人 ] 求助:pam_mysql安裝時出錯已經有787次圍觀

http://coctec.com/docs/service/show-post-33511.html