Cracklib on Solaris 8

From: Daniel Prieto (prieto@cse.usf.edu)
Date: Fri Oct 26 2007 - 13:41:45 EDT


Hello,

I'm trying to compile cracklib v2.8.12 on my Solaris box and I get this
error:

-I/usr/local/include -g -O2 -MT fascist.lo -MD -MP -MF .deps/fascist.Tpo
-c fascist.c -fPIC -DPIC -o .libs/fascist.o
fascist.c: In function `FascistGecos':
fascist.c:521: too many arguments to function `getpwuid_r'
fascist.c:521: warning: assignment makes integer from pointer without a cast
make[2]: *** [fascist.lo] Error 1
make[2]: Leaving directory `/var/tmp/dan/cracklib-2.8.12/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/dan/cracklib-2.8.12'
make: *** [all] Error 2

I saw on this mailing list
(http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2007-01/msg00816.html)
the same error posted. They talked about adding the flag
"-D_POSIX_PTHREAD_SEMANTIC" to fix the problem. My question is what is
the syntax to add that to "./configure". I tried:

$env CFLAGS="-D_POSIX_PTHREAD_SEMANTIC" ./configure

but didn't work...

Thanks for your help.

-- 
Daniel
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:28 EDT