[EMAIL PROTECTED] wrote:
> 
> While trying to compile midgard-php I got some funny errors.
> It complained about the varible  PHP3_MAX_SALT_LEN on line 134 of crypt.c
> not being declared.  I declared it and that fixed that problem now I have a
> new one.
That's not Midgard-related problem. It seems that your system lacks crypt function
support.
As I can understand from the following, you're using Slackware which might have
missing functionality during installation...

> 
> /var/lib/apache/bin/apxs -c -o libphp3.so  -I. -I. -I/usr/lib/glib/include
> -Wl,'-rpath /usr/local/lib' ./mod_php3.c libmodphp3-so.a -L/usr/local/lib
> -L/usr/local/lib -lexpat                             -lgdbm -lmidgard -lpam
> -lm -ldl -lcrypt  -lresolv -lglib -lexpat -lmysqlclient
> gcc -DLINUX=2 -DMOD_SSL=206102 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT
> -I../lib/expat-lite -fpic -DSHARED_MODULE -I/var/lib/apache/include -I. -I.
> -I/usr/lib/glib/include  -c ./mod_php3.c
> gcc -shared -o libphp3.so mod_php3.o libmodphp3-so.a -L/usr/local/lib
> -L/usr/local/lib -lexpat -lgdbm -lmidgard -lpam -lm -ldl -lcrypt -lresolv
> -lglib -lexpat -lmysqlclient -Wl,-rpath /usr/local/lib
> /usr/i386-slackware-linux/bin/ld: cannot open -lpam: No such file or
> directory
> collect2: ld returned 1 exit status
> apxs:Break: Command failed with rc=65536
> make: *** [libphp3.so] Error 1
> 
> Not really sure what to do about that one.  I can see that the gnu linker
> is getting passed a file called -lpam but I don't know why.
It means that PAM (Pluggable Authentication Modules) support was enabled but your
system lacks PAM. Again.

-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |    Aurora R&D team 
Minsk Linux Users Group |    www.minsk-lug.net    |  www.aurora-linux.com  
   IPLabs Linux Team    |     linux.iplabs.ru     | Architecte Open Source
-- I got vision, and the rest of the world wears bifocals.
                -- Butch Cassidy

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to