묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
apache configure 도중 에러메세지 입니다.
2003.07.26 03:35
[root@INTELLIGENT-ROBOT apache_1.3.27]# ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a --enable-rule=SHARED_CORE --enable-module=so --enable-shared=max
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ using system Expat
+ enabling generation of Apache core as DSO
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -fpic -DSHARED_CORE `./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 -rdynamic -L/usr/local/mysql/lib/mysql -lcrypt -lcrypt -lmysqlclient -lz -lresolv
-lm -ldl -lnsl -lcrypt -lcrypt -lm -lcrypt -lexpat -ldl
/usr/bin/ld: cannot find -lmodphp4
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
[root@INTELLIGENT-ROBOT apache_1.3.27]#
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ using system Expat
+ enabling generation of Apache core as DSO
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -fpic -DSHARED_CORE `./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 -rdynamic -L/usr/local/mysql/lib/mysql -lcrypt -lcrypt -lmysqlclient -lz -lresolv
-lm -ldl -lnsl -lcrypt -lcrypt -lm -lcrypt -lexpat -ldl
/usr/bin/ld: cannot find -lmodphp4
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
Aborting!
[root@INTELLIGENT-ROBOT apache_1.3.27]#
댓글 2
-
이창주
2003.07.26 03:49
-
이창주
2003.07.26 19:23
./configure
--prefix=/usr/local/apache
--activate-module=src/modules/php4/libphp4.a
--enable-rule=SHARED_CORE
--enable-module=so
--enable-shared=max
그런데 다시 libphp4.a 로 하니깐 또 되더군요. 참 신기하네요.
--prefix=/usr/local/apache
--activate-module=src/modules/php4/libmodphp4.a
--enable-rule=SHARED_CORE
--enable-module=so
--enable-shared=max
위의 libmodphp4.a 로 하니깐 되는데요. 이유를 모르겠네요. src/modules/php4 디렉토리 안에 원래 이 화일이 있었는데요. apm 설치 관련 자료를 보니 이 화일을 libphp4.a 로 이름을 바꿔서 설치를 하라고 하더군요. 왜 그런지는 모르겠지만..암튼, 그렇게 하면 위의 올린 내용대로 에러가 발생을 하더군요. 암튼 뭐가 맞는 건지는 모르겠지만...