{"id":513,"date":"2006-09-22T00:10:42","date_gmt":"2006-09-21T15:10:42","guid":{"rendered":"http:\/\/www.hits-net.com\/blog\/?p=513"},"modified":"2006-09-22T00:10:42","modified_gmt":"2006-09-21T15:10:42","slug":"%e5%80%8b%e4%ba%ba%e7%9a%84linux-%e3%83%a1%e3%83%a2-3","status":"publish","type":"post","link":"https:\/\/www.hits-net.com\/blog\/?p=513","title":{"rendered":"\u500b\u4eba\u7684Linux \u30e1\u30e2 &#8211; 3 &#8211;"},"content":{"rendered":"<p><span style=\"font-size:large;\">\u25a0Apache\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u7d9a\u304d<\/span><br \/>\u7d50\u5c40<br \/>gawk -f \/usr\/local\/src\/httpd-2.2.3\/build\/make_exports.awk `cat export_files` > exports.c<br \/>\u3053\u3053\u3067\u6b62\u307e\u308b\u307e\u307e\u89e3\u6c7a\u7b56\u304c\u898b\u3048\u305a\u3002<\/p>\n<p><a href=\"http:\/\/www.damapon.org\/blog\/index.php?itemid=40\" target=\"_blank\">http:\/\/www.damapon.org\/blog\/index.php?itemid=40<\/a><br \/>\u2191\u3053\u3046\u3044\u3046\u30a8\u30e9\u30fc\u304c\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u5206\u304b\u3063\u305f\u304c\u305d\u308c\u4ee5\u524d\u30fb\u30fb\u30fb\u3002<br \/>awk\u304c\u60aa\u3044\u306e\u304b\u4f55\u304c\u60aa\u3044\u306e\u304b\u3055\u3063\u3071\u308a\u3002<\/p>\n<p>\u3068\u8a00\u3046\u4e8b\u3067\u672c\u683c\u7684\u306brpm\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u308b\u3002<\/p>\n<p>\u30fbrpm\u30b3\u30de\u30f3\u30c9<br \/>[\u8a73\u7d30\u3092\u8868\u793a\u3057\u306a\u304c\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb]<br \/>rpm -ivh \u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/p>\n<p>\u4ee5\u4e0b\u306e\u4f9d\u5b58\u95a2\u4fc2\u306b\u554f\u984c\u3042\u308a\u3068\u306e\u3053\u3068<\/p>\n<blockquote><p>\/usr\/share\/magic.mime \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>apr >= 1.2.0 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>apr-util >= 1.2.0 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libapr-1.so.0 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libaprutil-1.so.0 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libcrypto.so.4 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libexpat.so.0 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>liblber-2.2.so.7 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libldap-2.2.so.7 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libpq.so.3 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libssl.so.4 \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>openldap \u306f httpd-2.2.3-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<\/p><\/blockquote>\n<p>\u3044\u308d\u3044\u308d\u63a2\u3057\u3066\u3044\u308b\u3068\u3069\u3046\u3082\u300clibtool\u300d\u3068\u300cautoconf\u300d\u3068\u8a00\u3046\u3082\u306e\u304c\u3042\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u305d\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u305d\u308c\u304c\u5fc5\u8981\u3089\u3057\u3044\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305aApache\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u4e00\u6642\u4e2d\u65ad\u3059\u308b\u3002<\/p>\n<p><span style=\"font-size:large;\">\u25a0autoconf\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><br \/>ftp:\/\/ftp.ring.gr.jp\/pub\/GNU\/autoconf\/<br \/>\u2191\u3053\u306e\u3078\u3093\u304b\u3089\u3044\u305f\u3060\u3044\u3066\u304f\u308b\u3002<br \/>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9(\u73fe\u6bb5\u968e\u3067autoconf-2.60.tar.gz\u304c\u6700\u65b0\u306e\u6a21\u69d8)<br \/>\u3042\u3068\u306f\u4f8b\u306b\u3088\u3063\u3066configure\u3068make<\/p>\n<p>congigure\u3067\u30a8\u30e9\u30fc\u767a\u751f\u3002<br \/>GNU M4 1.4 is required<br \/>\u3053\u306eM4\u3068\u3044\u3046\u306e\u306fautoconf\u306e\u5b9f\u73fe\u306b\u5fc5\u8981\u306a\u7269\u3067\u304b\u306a\u308a\u9ad8\u6a5f\u80fd\u306a\u30de\u30af\u30ed\u8a00\u8a9e\u3089\u3057\u3044\u3002<br \/>\uff08\u4e2d\u6bd2\u3092\u8d77\u3053\u3059\u304f\u3089\u3044\u3059\u3054\u3044\u3089\u3057\u3044\u3002\uff09<br \/>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u3001\u5148\u307b\u3069autoconf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30b5\u30a4\u30c8\u306e\u4e00\u3064\u4e0a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300cm4\u300d\u306e\u4e2d\u306b\u3042\u308b\u3002<br \/>\u3068\u308a\u3042\u3048\u305a\u73fe\u6642\u70b9\u6700\u65b0\u7248\u306e\u300cm4-1.4.6.tar.gz\u300d\u3092\u3044\u305f\u3060\u3044\u3066\u304d\u305f\u3002<\/p>\n<p>\u3053\u3044\u3064\u3092\u307e\u305f\u307e\u305f\u4f8b\u306b\u3088\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<p>\u3088\u3057\u3088\u3057\u3002\u3046\u307e\u304f\u8a00\u3063\u305f\u307d\u3044\u3002<\/p>\n<p>\u623b\u3063\u3066autoconf\u3092\u518d\u3073configure\u3002<br \/>configure    \u6210\u529f<br \/>make         \u6210\u529f<br \/>make install \u6210\u529f<\/p>\n<p><span style=\"font-size:large;\">\u25a0libtool\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><br \/>\u3053\u308c\u3082\u5148\u307b\u3069\u306e\u30b5\u30a4\u30c8\u306e\u304b\u3089\u3002(\u4e00\u3064\u4e0a\u306elibtool\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)<br \/>libtool-1.5.8.tar.gz\u3092\u3044\u305f\u3060\u304f\u3002<br \/>\u4f8b\u306b\u3088\u3063\u3066configure\u3068make\u3001make install<\/p>\n<p><span style=\"font-size:large;\">\u25a0Apache\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u7d9a\u304d \u305d\u306e2<\/span><br \/>\u3044\u3084\u3093\uff01<br \/>\u4f55\u306b\u3082\u304b\u308f\u3093\u306a\u3044\u3058\u3083\u3093\uff01<br \/>\u3048\u3048\u3048\u3048\u3048\u3048\u3048\u3048\u3048\u3048\u3048\u3002<\/p>\n<p>\u3044\u3051\u306d\uff57<br \/>yast\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3093\u3058\u3083\u306a\u304b\u3063\u305f\uff57<\/p>\n<p>\u306f\u3044\u3002\u518d\u8d77\u52d5\u3002<\/p>\n<p>rpm -ivh httpd-2.2.3-1.i386.rpm<\/p>\n<p>\u3061\u3087\uff57\uff57\uff57\uff57\uff57\uff57\uff57\u3063\u304a\u307e\uff57\uff57\uff57\uff57<\/p>\n<p>\u306d\u30fc\u3088\uff57\uff57\uff57\uff57\uff57\uff57\uff57\uff57\uff57<\/p>\n<p>\u30a4\u30f3\u30b9\u30b3\u3067\u304d\u306d\u30fc\u3088\uff57<\/p>\n<p>\u30a8\u30e9\u30fc\u5185\u5bb9\u540c\u3058\u3060\u3088\uff57\uff57\uff57\uff57\uff57\uff57<\/p>\n<p>\u4ed5\u65b9\u304c\u7121\u3044\u306e\u3067\u4e0a\u304b\u3089\u9806\u756a\u306b\u63a2\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\u30fbapr<br \/>apr\u3063\u3066\u306e\u306fApache Portable Runtime\u3067\u4e00\u7a2e\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3063\u307d\u3044\u3082\u306e\u307f\u305f\u3044\u3002<br \/>\u516c\u5f0f\u30da\u30fc\u30b8\uff1a<a href=\"http:\/\/apr.apache.org\/\" target=\"_blank\">http:\/\/apr.apache.org\/<\/a><\/p>\n<p>\u4eca\u5ea6\u306f<br \/>ftp.kaist.ac.kr\/pub\/Apache\/<br \/>\u2191\u3053\u306e\u3078\u3093\u304b\u3089\u3044\u305f\u3060\u304f\u3002<br \/>\u3068\u308a\u3042\u3048\u305a<br \/>apr-1.2.7.tar.gz<br \/>apr-util-1.2.7.tar.gz<br \/>\u3092\u3044\u305f\u3060\u3044\u3066\u304d\u305f\u3002<\/p>\n<p>apr\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6210\u529f<br \/>apr-util\u306ecofigure\u3092\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p>configure: error: APR could not be located. Please use the &#8211;with-apr option.<br \/>\u306f\u3044\u306f\u3044<br \/>sh configure &#8211;with-apr=\/usr\/local\/apr\/<br \/>\u3053\u308c\u3067\u3088\u30fc\u3054\u3056\u3093\u3059\u304b\uff1f<\/p>\n<p>\u3088\u30fc\u3054\u3056\u3093\u3059\uff57<\/p>\n<p>apr-util\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6210\u529f<\/p>\n<p>\u3053\u3053\u3067\u4e00\u5ea6Apache\u306econfigure\u3092\u5b9f\u884c\u3057\u3066\u898b\u308b\u3002<\/p>\n<p>\u306a\u3093\u304b\u306d\u3002<br \/>\u4ffa\u306d\u3001\u4eca\u306f\u307e\u3060\u826f\u304f\u308f\u304b\u3093\u306a\u3044\u3051\u3069\u305f\u3076\u3093\u3001<br \/>\u4f55\u304b\u58ee\u5927\u306a\u52d8\u9055\u3044\u304b\u9593\u9055\u3044\u3092\u3057\u3066\u308b\u3068\u601d\u3046\u3093\u3060\u3002<\/p>\n<p>\u3042\u3042\u3042\u3042\u3042\u3042\u3042\u3042\u3042\u3002<\/p>\n<p>\u3082\u3057\u304b\u3057\u3066\u3001rpm\u3067\u4f9d\u5b58\u95a2\u4fc2\u4e91\u3005\u8a00\u308f\u308c\u305f\u3089\u8db3\u308a\u306a\u3044\u3082\u306e\u3092rpm\u3067\u5165\u308c\u306a\u3044\u3068\u3060\u3081\u306a\u306e\u304b\uff01\uff1f<\/p>\n<p>\u305f\u3081\u3057\u306b\u300capr-util-1.2.7-1.i386.rpm\u300d\u3092\u843d\u3068\u3057\u3066\u304d\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u30fb\u30fb\u30fb<\/p>\n<p>\u3084\u3063\u3071\u308a\u30fb\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u3088\u304f\u3088\u304f\u8003\u3048\u308c\u3070\u305d\u3046\u3060\u3088\u306d\u3002<\/p>\n<p>\u3068\u3044\u3046\u8a33\u3067<br \/>\u300capr-util-1.2.7-1.i386.rpm\u300d\u3082\u3044\u305f\u3060\u3044\u3066\u304d\u305f\u3002<br \/>\u304c\u3001\u3053\u3053\u3067\u307e\u305f\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a8\u30e9\u30fc\u3002<\/p>\n<blockquote><p>libexpat.so.0 \u306f apr-util-1.2.7-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>liblber-2.2.so.7 \u306f apr-util-1.2.7-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libldap-2.2.so.7 \u306f apr-util-1.2.7-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<br \/>libpq.so.3 \u306f apr-util-1.2.7-1.i386 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<\/p><\/blockquote>\n<p>\u3075\u3080\u3002\u3044\u304f\u3064\u304bApache\u3068\u3082\u304b\u3076\u3063\u3066\u308b(\u5f53\u305f\u308a\u524d)\u306e\u3067\u307e\u305f\u4e00\u3064\u305a\u3064\u63a2\u3059\u3002<br \/>\u30fblibexpat<br \/>expat\u3063\u3066\u306e\u306fXML\u30d1\u30fc\u30b5\u30fc\u3089\u3057\u3044\u3002<br \/>\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u306e\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066lib\u30d5\u30a9\u30eb\u30c0\u306b\u30fb\u30fb\u30fb\u30fb\u30fb<br \/>\u3044\u3084rpm\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3002<\/p>\n<p>rpm\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u304b\u306a\u304b\u307f\u3064\u304b\u3093\u306a\u3044\u306a\u3041\u3002<\/p>\n<p>\u3060\u3081\u3082\u3068\u3067<br \/>http:\/\/jaist.dl.sourceforge.net\/sourceforge\/expat\/expat-2.0.0.tar.gz <br \/>\u2191\u3053\u3044\u3064\u3092\u3044\u305f\u3060\u3044\u3066\u304d\u3066\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3001make\u3002<br \/>\u518d\u8d77\u52d5\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>rpm -qa|grep xp<br \/>expat-2.0.0-11<br \/>\u3042\u308c\uff1f\u5165\u3063\u3066\u308b\u3002\u3042\u3001\u3082\u3068\u3082\u3068\u5165\u3063\u3066\u305f\u307d\u3044\u3002\u5148\u306b\u78ba\u8a8d\u3057\u308d\u3088\u3002<br \/>\u3051\u3069\u3001\u3053\u3046\u3044\u3046\u5834\u5408\u3069\u3046\u306a\u308b\u3093\u3060\u308d\u3002<\/p>\n<p>\u306a\u3093\u304b\u6b63\u76f4rpm\u3067\u5165\u308c\u305f\u306e\u3068\u3001\u30bd\u30fc\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u306e\u304c\u3054\u3063\u3061\u3083\u306b\u306a\u3063\u3066<br \/>\u6cb8\u3051\u5206\u304b\u3093\u306a\u304f\u306a\u3063\u3066\u304d\u305f\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u4eca\u65e5\u306f\u3053\u3053\u307e\u3067\u3002<br \/>\u660e\u65e5\u307e\u305frpm\u30d1\u30c3\u30b1\u30fc\u30b8\u63a2\u305d\u3046(CD\u306e\u4e2d\u306b\u3042\u308a\u305d\u3046\u3060\u3051\u3069\uff57)<\/p>\n<p>\u3084\u3063\u3071\u308a\u3061\u3083\u3093\u3068rpm\u3068\u304b\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u305b\u305a\u306b\u4f7f\u3063\u3066\u308b\u306e\u304c\u554f\u984c\u3060\u306d\u3002<br \/>\u3044\u308d\u3044\u308d\u52c9\u5f37\u3057\u306a\u3044\u3068\u3002<\/p>\n<p>\u60aa\u6226\u82e6\u95d8\u306e\u65e5\u3005\u306f\u7d9a\u304f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0Apache\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u7d9a\u304d\u7d50\u5c40gawk -f \/usr\/local\/src\/httpd-2.2.3\/build\/make_exports.awk `cat export_files` > exports.c\u3053\u3053\u3067 &hellip; <a href=\"https:\/\/www.hits-net.com\/blog\/?p=513\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u500b\u4eba\u7684Linux \u30e1\u30e2 &#8211; 3 &#8211;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5],"tags":[],"class_list":["post-513","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4WH5i-8h","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=513"}],"version-history":[{"count":0,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/513\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}