컴파일 하다 오류났다.
구글은 --with-included-apr 로 컴파일하면 된다고 하는데 안 된다. 누구는 apr을 별도로 깔고 apache를 컴파일 했다고 한다.
apr 바이너리가 안 만들어진 것 같아 직접 apr을 make(configure는 apache의 make에 의해 이미 되어 있음) 했다.
일단 컴파일이 된다. 원인 분석은 시간이 없어 생략.
./configure --prefix=/apache --with-ssl=/ssl --enable-so --enable-ssl
--enable-rewrite --with-mpm=prefork --enable-mods-shared=most
--with-included-apr
/httpd/srclib/apr/libtool --silent --mode=link gcc -g -O2 -L/ssl/lib dules/http/libmod_http.la modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la os/unix/libon/pack/httpd/srclib/apr-util/libaprutil-1.la /httpd/srclib/apr-util/xml/expat/lib/rt -lcrypt -ldl -lpthread
server/.libs/libmain.a(exports.o):(.data+0xa7c): undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
/httpd/srclib/apr/libtool --silent --mode=link gcc -g -O2 -L/ssl/lib dules/http/libmod_http.la modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la os/unix/libon/pack/httpd/srclib/apr-util/libaprutil-1.la /httpd/srclib/apr-util/xml/expat/lib/rt -lcrypt -ldl -lpthread
server/.libs/libmain.a(exports.o):(.data+0xa7c): undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
구글은 --with-included-apr 로 컴파일하면 된다고 하는데 안 된다. 누구는 apr을 별도로 깔고 apache를 컴파일 했다고 한다.
apr 바이너리가 안 만들어진 것 같아 직접 apr을 make(configure는 apache의 make에 의해 이미 되어 있음) 했다.
cd /httpd/srclib/apr; make
cd /httpd/srclib/apr-util; make
cd /httpd/srclib/apr-util; make
일단 컴파일이 된다. 원인 분석은 시간이 없어 생략.