apache make時のエラーで困っています

このQ&Aのポイント
  • apache をソースからインストールする際のエラーについて困っています。
  • エラー内容を確認しましたが、解決策が見つかりません。
  • openSUSE 10.2でのapacheのソースからのインストールがうまくいかない問題です。
回答を見る
  • ベストアンサー

apache make時のエラーで困っています

お世話になります。 apache をソースからインストールしなければならないのですが、以下のエラーが出ており、解決できません。お力をお借りできますでしょうか。 ■エラー内容------------------------------------------------- In file included from /usr/include/apr-1/apr_ldap.h:120, from /home/***/httpd-2.2.6/include/util_ldap.h:31, from exports.c:38: /usr/include/apr-1/apr_ldap_init.h:112: error: expected declaration specifiers or '...' before 'LDAP' In file included from /usr/include/apr-1/apr_ldap.h:121, from /home/***/httpd-2.2.6/include/util_ldap.h:31, from exports.c:38: /usr/include/apr-1/apr_ldap_option.h:204: error: expected declaration specifiers or '...' before 'LDAP' /usr/include/apr-1/apr_ldap_option.h:226: error: expected declaration specifiers or '...' before 'LDAP' In file included from exports.c:38: /home/***/httpd-2.2.6/include/util_ldap.h:82: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:83: error: 'LDAP_DEREF_SEARCHING' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:84: error: 'LDAP_DEREF_FINDING' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:85: error: 'LDAP_DEREF_ALWAYS' undeclared here (not in a function) /home/***/httpd-2.2.6/include/util_ldap.h:90: error: expected specifier-qualifier-list before 'LDAP' make[2]: *** [exports.lo] エラー 1 make[2]: ディレクトリ `/home/***/httpd-2.2.6/server' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/home/***/httpd-2.2.6/server' から出ます make: *** [all-recursive] エラー 1 ------------------------------------------------------------------ OS:openSUSE 10.2 apacheのソース:httpd-2.2.6 ディレクトリ /home/***/下にソースを展開&makeしています。 openldapのインストールが必要かと思い、openldap2 2.3.27をインストールしてみましたが、変化がありませんでした。 また、configureオプションが問題かと思い、オプションを何もつけない状態で試しましたが、やはり同じエラーになります。 別環境のopenSUSE 10.0では、同じソースを使って問題なく、make、installができます。 原因として何が考えられますでしょうか。 よろしくお願いいたします。

質問者が選んだベストアンサー

  • ベストアンサー
  • kusa_mochi
  • ベストアンサー率76% (1599/2089)
回答No.1

必要なパッケージが何か足りないんじゃ?と思うがエラーメッセージだけではねぇ。 openSUSEにはパッケージマネージャは入っていないのだろうか? 何か理由があってソースからビルドするのだと思いますが、パッケージマネージャに一度何か足りないパッケージが無いか教えてもらうのはどうでしょうか。  ・パッケージマネージャを起動して、apacheのインストールを選択  ・パッケージマネージャ側で依存関係のチェックを行い、足りないパッケージを列挙すると思うので、そのパッケージ名とバージョンをメモ  ・実際にダウンロードせずに直前でキャンセル をすれば、何が足りないのかが分かるような気がするのですが。 (足りないものが見つかったなら、それはapache抜きでインストール) 足りないものが無いというなら、コンパイル時にそのライブラリにパスが通っていないとかの問題でしょうから、少なくとも今よりは問題箇所が正確に把握できるかと。

teketeket
質問者

お礼

早速のご返答ありがとうございます。 openSUSEにはyastというパッケージマネージャが入っています。 パッケージマネージャを使用した、デフォルトのセッティングでのインストール時には特に依存関係エラーはなかった(あっても解決済みのはず)ですが、起動ユーザと、インストールディレクトリを現在稼動中のapacheとは別に指定したいため、ソースからビルドしています。 確かにライブラリにパスが通っていない可能性が大きそうですが・・・すみません、ライブラリを特定する方法やパスの指定方法が分かりません><; ひとまず、apacheを2.0にしたところ問題ないようなので、そちらを使おうかと思っています。

関連するQ&A

  • Apacheのmake時にエラーが出ます。

    Apacheのmake時にエラーが出ます。 OS:CentOS 5.4上でSSL対応Apcaheをソースからインストールしてるのですが、Apacheのmakeを実行すると、下記のエラーが出ます。 ◎ぐぐったのですけど、解決策を見つけることはできませんでした。 ssl_util_ssl.c: In function ‘SSL_X509_isSGC’: ssl_util_ssl.c:297: error: ‘EXTENDED_KEY_USAGE’ undeclared (first use in this function) ssl_util_ssl.c:297: error: (Each undeclared identifier is reported only once ssl_util_ssl.c:297: error: for each function it appears in.) ssl_util_ssl.c:297: error: ‘sk’ undeclared (first use in this function) ssl_util_ssl.c:306: error: expected expression before ‘)’ token make[3]: *** [ssl_util_ssl.lo] エラー 1 make[3]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules/ssl' から出ます make[2]: *** [all-recursive] エラー 1 make[2]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules/ssl' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/usr/local/src/httpd-2.2.15/modules' から出ます make: *** [all-recursive] エラー 1 ○ここで停止 対応策をご存知の方、教えてください。 ◎コンフィグは、./configure --enable-ssl --with-ssl=/usr/local/ssl で実施してます。 なお、Open_sslは、configure ->make->make installまで完了しています。 Versionは、apache:2.2-15 openssl:0.9.6c です。 宜しくお願いします。

  • Apache インストール時のエラーについて

    CentOS4.6 に Apacheをインストールしようとしているのですが、make と make install で いつも このようなエラーがでて。。どうも上手いこといきません。  まだ初心者なので訳してみてもよくわからず、調べた結果、 /usr/local/apache/bin/ に apachectl が何度も挑戦しても、 作成されません。なぜでしょう・・・助けてください。 ※元々、OSインストール時にhttpdがインストールされてましたので、 yum remove httpdを実行しました。(元々のでも出来なかったので) 後、最終的にしたいことは、htdocsを作成してCGIとかperl とかで勉強したいのですが、apacheが、、、お願いします。 /usr/lib/libexpat.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[3]: *** [libaprutil-1.la] Error 1 make[3]: Leaving directory `/usr/local/src/httpd-2.2.8/srclib/apr-util' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/httpd-2.2.8/srclib/apr-util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/httpd-2.2.8/srclib' make: *** [all-recursive] Error 1

  • Apace2のインストールでエラー

    VMware PlayerにCentOS5をインストールしてApache2をソースファイルからインストールしようとしているのですが、Apacheのインストールができません。状況は下記の通りです。 # wget ftp://ftp.riken.jp/net/apache/httpd/httpd-2.2.4.tar.gz # tar -xvzf httpd-2.2.4.tar.gz # cd httpd-2.2.4 ここでapr/apr-utilをアップグレードする必要があるということで http://httpd.apache.org/docs/2.2/ja/install.html の「apr/apr-util >= 1.2」を参考にしながら下記の操作を行いました。 # cd srclib/apr # ./configure --prefix=/usr/local/apr-httpd/ # make # make install # make clean # cd ../apr-util # ./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/ # make # make install # make clean # cd ../../ # ./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/ (省略) /usr/local/apr-httpd//build-1/libtool --silent --mode=link gcc -g -O2 -pthread -L/usr/local/apr-util-httpd//lib -o htpasswd htpasswd.lo -lm /home/minoru/dl_app/httpd-2.2.4/srclib/pcre/libpcre.la /usr/local/apr-util-httpd//lib/libaprutil-1.la -lexpat /usr/local/apr-httpd//lib/libapr-1.la -lrt -lcrypt -lpthread -ldl /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlSizeOfUnknownEncoding' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlInitUnknownEncoding' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlInitEncodingNS' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlUtf8Encode' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlGetUtf8InternalEncoding' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlGetUtf8InternalEncodingNS' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlPrologStateInit' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlParseXmlDeclNS' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlInitUnknownEncodingNS' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlParseXmlDecl' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlInitEncoding' /usr/local/apr-util-httpd//lib/libexpat.so: undefined reference to `XmlPrologStateInitExternalEntity' collect2: ld returned 1 exit status make[2]: *** [htpasswd] エラー 1 make[2]: ディレクトリ `/home/minoru/dl_app/httpd-2.2.4/support' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/home/minoru/dl_app/httpd-2.2.4/support' から出ます make: *** [all-recursive] エラー 1 どなたかわかる方、御教示願います。

  • Apacheインストール時にエラー

    はじめまして。 Solaris10の環境で、OpenSSL9.8lをソースからインストールし Apache2.2.14の所でmakeエラーが発生しました。 Googleで調べたのですが、よくわかりません。 ご存知の方、教えていただけたら幸いです。 ./configure --enable-mods-shared=all--enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --with-included-apr make /usr/local/src/httpd-2.2.14/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/usr/local/src/httpd-2.2.14/srclib/pcre -I. -I/usr/local/src/httpd-2.2.14/os/unix -I/usr/local/src/httpd-2.2.14/server/mpm/prefork -I/usr/local/src/httpd-2.2.14/modules/http -I/usr/local/src/httpd-2.2.14/modules/filters -I/usr/local/src/httpd-2.2.14/modules/proxy -I/usr/local/src/httpd-2.2.14/include -I/usr/local/src/httpd-2.2.14/modules/generators -I/usr/local/src/httpd-2.2.14/modules/mappers -I/usr/local/src/httpd-2.2.14/modules/database -I/usr/local/src/httpd-2.2.14/srclib/apr/include -I/usr/local/src/httpd-2.2.14/srclib/apr-util/include -I/usr/local/src/httpd-2.2.14/modules/proxy/../generators -I/usr/local/ssl/include -I/usr/local/src/httpd-2.2.14/modules/ssl -I/usr/local/src/httpd-2.2.14/modules/dav/main -prefer-non-pic -static -c htpasswd.c && touch htpasswd.lo /usr/local/src/httpd-2.2.14/srclib/apr/libtool --silent --mode=link gcc -g -O2 -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib:-L/usr/sfw/lib:-L/usr/lib:-L/opt/sfw/lib:-L/usr/local/ssl/lib -o htpasswd htpasswd.lo -lm /usr/local/src/httpd-2.2.14/srclib/pcre/libpcre.la /usr/local/src/httpd-2.2.14/srclib/apr-util/libaprutil-1.la -lexpat -liconv /usr/local/src/httpd-2.2.14/srclib/apr/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread Undefined first referenced symbol in file atomic_swap_32 /usr/local/src/httpd-2.2.14/srclib/apr/.libs/libapr-1.so atomic_cas_ptr /usr/local/src/httpd-2.2.14/srclib/apr/.libs/libapr-1.so atomic_swap_ptr /usr/local/src/httpd-2.2.14/srclib/apr/.libs/libapr-1.so atomic_inc_32_nv /usr/local/src/httpd-2.2.14/srclib/apr/.libs/libapr-1.so atomic_dec_32_nv /usr/local/src/httpd-2.2.14/srclib/apr/.libs/libapr-1.so atomic_cas_32 /usr/local/src/httpd-2.2.14/srclib/apr/.libs/libapr-1.so ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd collect2: ld returned 1 exit status make[2]: *** [htpasswd] エラー 1 make[2]: ディレクトリ `/usr/local/src/httpd-2.2.14/support' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/usr/local/src/httpd-2.2.14/support' から出ます make: *** [all-recursive] エラー 1 よろしくお願いします。

  • RHE-r5.3にapache2をソースからインストールできない

    RHE-r5.3にapache2をソースからインストールできない はじめまして。 現在、ソースファイルからapache2(httpd-2.0.46)をインストールするとmake時点で 下記エラーが出力され、ソースコードをコンパイルできません…。 エラー内容より『[apr_socket_opt_set]関数の[SCTP_NODELAY]が宣言されてない』と 言うようなエラーになるかと思いますが、具体的にはどのように対応してよいか分かりません… お手数ですが、どなたかご教授いただけたらと思います。 ■エラー出力(抜粋) make[4]: ディレクトリ `/usr/local/src/httpd-2.0.46/srclib/apr/network_io/unix' に入ります /bin/sh /usr/local/src/httpd-2.0.46/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c sockopt.c && touch sockopt.lo sockopt.c: In function 'apr_socket_opt_set': sockopt.c:254: error: 'SCTP_NODELAY' undeclared (first use in this function) sockopt.c:254: error: (Each undeclared identifier is reported only once sockopt.c:254: error: for each function it appears in.) make[4]: *** [sockopt.lo] エラー 1 make[4]: ディレクトリ `/usr/local/src/httpd-2.0.46/srclib/apr/network_io/unix' から出ます make[3]: *** [all-recursive] エラー 1 make[3]: ディレクトリ `/usr/local/src/httpd-2.0.46/srclib/apr/network_io/unix' から出ます make[2]: *** [all-recursive] エラー 1 make[2]: ディレクトリ `/usr/local/src/httpd-2.0.46/srclib/apr' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/usr/local/src/httpd-2.0.46/srclib' から出ます make: *** [all-recursive] エラー 1 ■PC環境 OS:Red Hat Enterprise Linux Server release 5.3 apche:httpd-2.0.46 ■エラーが出力されている関数(http://apr.apache.org/docs/apr/0.9/group__apr__network__io.html#g08f5e505fa611005f56c12783269ffa9 より) apr_status_t apr_socket_opt_set ( apr_socket_t * sock, apr_int32_t opt, apr_int32_t on ) Setup socket options for the specified socket Parameters: sock The socket to set up. opt The option we would like to configure. One of: APR_SO_DEBUG -- turn on debugging information APR_SO_KEEPALIVE -- keep connections active APR_SO_LINGER -- lingers on close if data

  • Net-SNMPでのmake時のエラーについて

    はじめまして。kyosyouと申します。 Solaris(SunOS5.9)でNet-SNMPを使おうとしておりますが、 make時に下記エラーがでて頓挫しております。 google等で調べてみたのですが、類似事象が見つからず、ご質問させていただきます。 making all in /opt/net-snmp/net-snmp-5.4/snmplib make[1]: Entering directory `/opt/net-snmp/net-snmp-5.4/snmplib' /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../snmplib -g -O2 -Dsolaris2=solaris2 -c -o snmp_client.lo snmp_client.c gcc -I../include -I. -I../snmplib -g -O2 -Dsolaris2=solaris2 -c snmp_client.c -fPIC -DPIC -o .libs/snmp_client.o In file included from snmp_client.c:73: /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:181: warning: `NBBY' redefined /usr/include/sys/select.h:59: warning: this is the location of the previous definition In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:91, from /usr/include/sys/time.h:419, from /usr/include/sys/select.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:284, from /usr/include/sys/wait.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:91, from /usr/include/sys/time.h:419, from /usr/include/sys/select.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:284, from /usr/include/sys/wait.h:20, from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/siginfo.h:284: parse error before `int32_t' /usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:286: parse error before `}' /usr/include/sys/siginfo.h:286: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:288: parse error before `}' /usr/include/sys/siginfo.h:288: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:415: parse error before `int32_t' /usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:416: conflicting types for `__rctl' /usr/include/sys/siginfo.h:285: previous declaration of `__rctl' /usr/include/sys/siginfo.h:418: parse error before `}' /usr/include/sys/siginfo.h:418: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:420: parse error before `}' /usr/include/sys/siginfo.h:420: warning: data definition has no type or storage class /usr/include/sys/siginfo.h:424: parse error before `k_siginfo_t' /usr/include/sys/siginfo.h:424: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:428: parse error before `}' /usr/include/sys/siginfo.h:428: warning: data definition has no type or storage class In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/stdlib.h:17, from snmp_client.c:47: /usr/include/sys/wait.h:90: parse error before `siginfo_t' make[1]: *** [snmp_client.lo] Error 1 make[1]: Leaving directory `/opt/net-snmp/net-snmp-5.4/snmplib' make: *** [subdirs] Error 1 お分かりの方がいらっしゃいましたらよろしくお願い致します。

  • CGIへのコンパイルエラー

    初めまして。プログラミング暦はほとんどありません。javaを少しかじった程度です。今回Ajaxへ挑戦しようと思い、 http://itpro.nikkeibp.co.jp/article/COLUMN/20060115/227278/?ST=nettech の予測補完インタフェースを作成しよとしています。 環境はfedoracore5でXPからのputyからの遠隔です。 complete.cをcomplete.cgiへコンパイルするときに、 [root@localhost html]# gcc -Wall -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include complete.c -o complete.cgi -lglib-2.0 -lsary -lpthread complete.c:1: error: stray ‘\357’ in program complete.c:1: error: stray ‘\273’ in program complete.c:1: error: stray ‘\277’ in program complete.c:1: error: stray ‘#’ in program complete.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token In file included from complete.c:2: /usr/include/string.h:39: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:43: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:52: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:59: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:62: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:66: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:88: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:96: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:102: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strxfrm’ /usr/include/string.h:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strcspn’ /usr/include/string.h:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strspn’ /usr/include/string.h:242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlen’ /usr/include/string.h:270: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:288: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:292: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:296: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:299: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/string.h:329: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /usr/include/string.h:417, from complete.c:2: /usr/include/bits/string2.h:969: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’ /usr/include/bits/string2.h:971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’ /usr/include/bits/string2.h:979: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’ /usr/include/bits/string2.h:982: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’ /usr/include/bits/string2.h:991: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’ /usr/include/bits/string2.h:994: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’ とエラーがでます。どうしたらいいでしょうか?(文字数の関係で半分しか掲載できませんでした。)よろしくお願いいたします。

    • ベストアンサー
    • CGI
  • make時のエラーについて

    mantaflow(http://mantaflow.ethz.ch/install.html)をmakeしようとしたのですが 以下のエラーが出てしまいます。 ::syscallとは何の事でしょうか? 環境はubuntu 12.04 32bitです。 libtbb-devはインストールしてあります、解決法をご教示下さい。 /home/name/mantaflow/mantaflow/source/fluidsolver.cpp:15: /usr/include/tbb/machine/linux_common.h: 関数 ‘int tbb::internal::futex_wait(void*, int)’ 内: /usr/include/tbb/machine/linux_common.h:67:13: エラー: ‘::syscall’ has not been declared /usr/include/tbb/machine/linux_common.h: 関数 ‘int tbb::internal::futex_wakeup_one(void*)’ 内: /usr/include/tbb/machine/linux_common.h:76:13: エラー: ‘::syscall’ has not been declared /usr/include/tbb/machine/linux_common.h: 関数 ‘int tbb::internal::futex_wakeup_all(void*)’ 内: /usr/include/tbb/machine/linux_common.h:82:13: エラー: ‘::syscall’ has not been declared make[2]: *** [CMakeFiles/manta.dir/pp/source/fluidsolver.cpp.o] エラー 1 make[1]: *** [CMakeFiles/manta.dir/all] エラー 2 make: *** [all] エラー 2

  • Apache2のインストールに失敗する

    Solaris9でサーバを構築しています。Apache2をソースからインストールしようと考えていますが、makeすると以下のようなエラーが出てしまいます。 どのように対処したらよいでしょうか? ご教授お願いいたします。 make[2]: *** [exports.lo] Error 1 make[2]: Leaving directory `/usr/local/src/httpd-2.0.54/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/httpd-2.0.54/server' make: *** [all-recursive] Error 1

  • makeで出るエラーが解決出来ません

    centOS5.3にsqliteを入れようと思い、 http://d.hatena.ne.jp/sotarok/20080607/php_5_with_sqlite こちらを参考にインストールしてみたんですが、 「make」 でエラーとなり、インストールが出来ません・・・。 エラー内容は・・・ /bin/sh /usr/local/src/php-5.2.10/ext/sqlite/libtool --mode=compile gcc -I/usr/local/src/php-5.2.10/ext/sqlite/libsqlite/src -I./libsqlite/src -I/usr/include/php/ext -I. -I/usr/local/src/php-5.2.10/ext/sqlite -DPHP_ATOM_INC -I/usr/local/src/php-5.2.10/ext/sqlite/include -I/usr/local/src/php-5.2.10/ext/sqlite/main -I/usr/local/src/php-5.2.10/ext/sqlite -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c -o sqlite.lo mkdir .libs gcc -I/usr/local/src/php-5.2.10/ext/sqlite/libsqlite/src -I./libsqlite/src -I/usr/include/php/ext -I. -I/usr/local/src/php-5.2.10/ext/sqlite -DPHP_ATOM_INC -I/usr/local/src/php-5.2.10/ext/sqlite/include -I/usr/local/src/php-5.2.10/ext/sqlite/main -I/usr/local/src/php-5.2.10/ext/sqlite -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c -fPIC -DPIC -o .libs/sqlite.o /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:211:65: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:213:60: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:211: error: 'ZEND_ME_MAPPING' undeclared here (not in a function) /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:213: error: expected '}' before 'ZEND_ME_MAPPING' /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:214:64: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 ~略~ /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:265:45: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3 /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'sqlite_get_iterator': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: 'E_RECOVERABLE_ERROR' undeclared (first use in this function) /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: (Each undeclared identifier is reported only once /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: for each function it appears in.) /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: warning: passing argument 1 of 'zend_error' makes integer from pointer without a cast /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: At top level: /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1028: error: parameter 1 has incomplete type /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'PHP_GINIT_FUNCTION': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1028: error: parameter name omitted /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1030: error: invalid type argument of '->' /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1030: error: request for member 'assoc_case' in something not a structure or union /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'zm_startup_sqlite': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1051: warning: assignment from incompatible pointer type /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1059: warning: assignment from incompatible pointer type /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'php_sqlite_fetch': /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1463: warning: assignment makes pointer from integer without a cast make: *** [sqlite.lo] Error 1 です。 原因がお分かりの方がおられましたらご教授お願いいたします。