아파치2 와 톰켓4 연동모듈 생성중 에러가 납니다. 3일째 삽질하

pro9dan의 이미지

아파치2 와 톰켓4를 연동하는 과정에서
모듈을 생성하는 과정이 있습니다.

./configure --with-apxs2=/usr/local/apache/bin/apxs

이런 명령을 사용하는데요. 여기서 아래와 같은 에러가 납니다.

no apxs given
need to check for Perl first, apxs depends on it...

어떤분은 perl이 설치가 안되서 그렇다 하는데 perl 5.6.1버전은
이미 깔려있습니다. 무슨 문제일까요?

sunyzero의 이미지

pro9dan wrote:
./configure --with-apxs2=/usr/local/apache/bin/apxs

이런 명령을 사용하는데요. 여기서 아래와 같은 에러가 납니다.

no apxs given
need to check for Perl first, apxs depends on it...

위의 apxs를 한번 열어보세요. 맨 윗줄의 매직키 부분이 보일겁니다. 그 부분에 perl이 위치하지 않았기 때문입니다. 예를 들어 #!/usr/bin/perl 이라고 되어있다고 치고, 실제 위치는 /usr/local/bin/perl 이 있다면 그 위치로 바꿔줘야 합니다. 이 부분을 꼭 확인해야 제대로 작동합니다.

========================================
* The truth will set you free.

pro9dan의 이미지

apxs를 열어서 맨 윗줄의 매직키 부분에 perl의 위치는 이상이 없는것 같습니다. 표시된 위치와 실제위치는 맞게 되어 있던데요.....

sunyzero의 이미지

에러는 분명 맞습니다.
그럼 perl이 여러개가 깔렸고, 그중 서로 다르게 path에 잡혔다든지 하는 경우가 있을수 있습니다.
perl이 제대로 작동하는지 간단한 프로그램 짜서 돌려보시기 바랍니다.

(혹시 권한이 잘못되어있는것은 아닌지?)

========================================
* The truth will set you free.

crazygt의 이미지

위 에러는 펄때문이 아닙니다.

libapr.so 혹은 이와 비슷한 명칭의 *.so 파일을 찾지 못해서
에러가 난 것입니다.

아파치 컴파일시
--enable-rule=SHARED_CORE --enable-module=so --enable-so

옵션을 주셔서 *.so 파일이 생성되도록 하셔야합니다..

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.