Problem building apache

Kato Fuerst <[email protected]> Sat, 30 Mar 2002 13:25:28 -0500
Newsgroups gmane.linux.redhat.sparc
Organization jackasscritics.com
Message-ID <02033013315602.04283@magneto>
Hello everyone,

I am attempting to build apache + php on my RedHat 6.2 Sparc machine. Not much
luck thus far.

PHP goes fine, and then I switch over to my apache source directory.

I then do:

./configure \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/usr/local/apache

I end up with the following error:

cd ..; gcc  -DLINUX=22 -I/home/fuerstma/build/php-4.1.2
-I/home/fuerstma/build/php-4.1.2/main -I/home/fuerstma/build/php-4.1.2/main
-I/home/fuerstma/build/php-4.1.2/Zend -I/home/fuerstma/build/php-4.1.2/Zend
-I/home/fuerstma/build/php-4.1.2/TSRM -I/home/fuerstma/build/php-4.1.2/TSRM
-I/home/fuerstma/build/php-4.1.2 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci`     -o helpers/dummy helpers/dummy.c  
-Wl,-rpath,/usr/local/mysql/lib/mysql  -rdynamic -L/usr/local/mysql/lib/mysql
-Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam  -ldl
-lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt   -lm -lcrypt
/usr/bin/ld: cannot find -lpam collect2: ld returned 1 exit status make: ***
[dummy] Error 1

So, something has gone wrong with the -lpam directive. I guess this has
something to do with PAM on RedHat, but am not much help beyond that. Any
ideas? I did a google groups search and came up empty for this.

Help would be excellent!

Matt


        --  -=-=-=-=-=-=-=-=-=-=-=-=-=-=- Kato Fuerst
[email protected]