cnfigure 시 sanity check 에러가 나옵니다.

snu21의 이미지

지금 현재 페도라 코어 4를 사용하고 있습니다.

libiconv을 설치할 필요가 있어서
설치하려고 보니, libiconv는 rpm 화일을 구하려고 해도 데비안이나, 레드햇엔터프라이즈 용 밖에 없더군요.
rpmbuild 하기 귀찮아서 gnu 홈페이지에 있는 최신 release source 화일로 설치하려고
홈페이지 설명 있는대로

./configure --prefix=/usr/local 하니.

configure: error: C++ preprocessor "/lib/cpp" fails sanity check

이런 에러메세지를 보내고 죽어 버리네요.

해결방법을 알고 계시다면 좀 알려 주시기 바랍니다.
감사합니다.
현재 gcc 버젼은 4.0.2 입니다.

wariua의 이미지

그 다음에 나오는 메시지 대로 config.log 파일을 살펴보면 아시겠지만 C++ 전처리기가 설치되어 있지 않아서 발생하는 문제입니다. gcc-c++ 패키지를 설치해 주시면 됩니다.

뱀발: 그나저나 별도로 libiconv를 설치하신다니, glibc에 기본적으로 포함되어 있는 iconv가 마음에 들지 않으신가 봅니다-?
----
$PWD `date`

$PWD `date`

snu21의 이미지

제가 깐것이 아니고 후배녀석에 설치하라고 한 것이라
뭐가 있는지 살펴보지도 않았네요.
iconv가 기본으로 깔려 있나요 ?
웹메일 시스템 설치하려고 하는데 필요하다고 해서 깔려고 하는데요
rpm -qa | grep iconv 해도 아무것도 안 나오길래
없는 줄 알고 깔려고 한것입니다.
리눅스를 마음대로 할때까지

----------------
리눅스를 마음대로 할때까지

wariua의 이미지

보통 glibc(GNU C library)에 기본적으로 포함되어 있습니다.
(PHP로 작성된 웹메일 시스템이라고 맘대로 가정하자면) PHP에도 이미 iconv에 대한 지원이 포함되어 있을 테니 별다른 설치 없이 그냥 사용하셔도 될 듯합니다. 물론 'WITHOUT ANY WARRANTY'입니다 :)
----
$PWD `date`

$PWD `date`

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.