{"id":85,"date":"2007-05-08T11:57:03","date_gmt":"2007-05-08T11:57:03","guid":{"rendered":"http:\/\/newblog.mix1009.net\/?p=85"},"modified":"2007-05-08T11:57:03","modified_gmt":"2007-05-08T11:57:03","slug":"gnu-autoconf-automake","status":"publish","type":"post","link":"https:\/\/mix1009.net\/?p=85","title":{"rendered":"GNU autoconf, automake"},"content":{"rendered":"<p>\uc624\ud508\uc18c\uc2a4 \ud504\ub85c\uadf8\ub7a8\ub4e4\uc740 \ub300\ubd80\ubd84 \ub9ac\ub205\uc2a4\uc5d0\uc11c \uc544\ub798\ucc98\ub7fc \ucef4\ud30c\uc77c\ud560\uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\">$ <span style=\"font-weight: bold\">.\/configure<\/span><br \/>\n$ <span style=\"font-weight: bold\">make<\/span><br \/>\n$ <span style=\"font-weight: bold\">sudo make install<\/span><\/div>\n<p>\nconfigure \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc2e4\ud589\ud558\uc5ec \uc2dc\uc2a4\ud15c\uc5d0 \ub9de\uac8c \ucef4\ud30c\uc77c \ub418\ub3c4\ub85d Makefile\uc744 \uc0dd\uc131\ud574\uc90d\ub2c8\ub2e4. \uc720\ub2c9\uc2a4\uac00 \uc885\ub958\uac00 \ub9ce\uace0 \ub2e4\uc591\ud558\uae30 \ub54c\ubb38\uc5d0 \uadf8 \ubaa8\ub450\ub97c Makefile \ud558\ub098\ub85c\ub9cc \uc9c0\uc6d0\ud558\uae30\ub294 \uc5b4\ub835\uc2b5\ub2c8\ub2e4. autoconf\uc640 automake\ub97c \uc774\uc6a9\ud558\uba74, \uc790\ub3d9\uc73c\ub85c \ud0c0\ucf13 \uc2dc\uc2a4\ud15c\uc744 \ubd84\uc11d\ud574\uc8fc\uace0, Makefile\uc744 \uc790\ub3d9\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc90d\ub2c8\ub2e4. configure\ub97c \uc2e4\ud589\ud558\uba74 Makefile\uacfc config.h \ud30c\uc77c\uc774 \uc0dd\uc131\ub418\ub294\ub370, config.h\uc5d0 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc81c\uacf5\ub418\ub294 \uae30\ub2a5\uc5d0 \ub300\ud574\uc11c \ub9e4\ud06c\ub85c\ub85c \uc815\uc758\ub97c \ud574\uc90d\ub2c8\ub2e4. \uc18c\uc2a4 \ud30c\uc77c\uc5d0\uc11c config.h\ub97c include\ud558\uace0 \ub9e4\ud06c\ub85c\uc5d0 \ub530\ub77c \ud2b9\uc815 \uae30\ub2a5\uc774 \uc9c0\uc6d0 \uc548\ub418\uba74 \ub2e4\ub978 \ubc29\ubc95\uc73c\ub85c \uad6c\ud604\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc758 \uc774\uc2dd\uc131\uc744 \ub192\uc77c\uc218 \uc788\uc2b5\ub2c8\ub2e4. autoconf\uc640 automake\ub97c \uc4f0\ub294\uac83\ub9cc\uc73c\ub85c \ud504\ub85c\uadf8\ub7a8 \uc790\uccb4\uc758 \uc774\uc2dd\uc131\uc774 \ub192\uc544\uc9c0\uc9c0\ub294 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc800\ub294 \uc8fc\ub85c FreeBSD\uc5d0\uc11c ports\ub97c \uc0ac\uc6a9\ud558\uace0, \uac1c\ubc1c\ub3c4 Berkeley Parallel make\ub97c \uc774\uc6a9\ud558\uae30 \ub54c\ubb38\uc5d0 autoconf\uc640 automake\ub97c \ubc30\uc6b8 \ud544\uc694\ub97c \ubabb\ub290\uaf08\uc5c8\uc2b5\ub2c8\ub2e4. \uc0ac\uc2e4 cross platform\uc774 \uc911\uc694\ud558\uc9c0 \uc54a\uace0 \uc18c\uc2a4\uc758 \uad6c\uc870\uac00 \ubcf5\uc7a1\ud558\uc9c0 \uc54a\uc73c\uba74 make\uc758 \uae30\ubcf8 \uae30\ub2a5\uc73c\ub85c\ub3c4 \ud070 \ubd88\ud3b8\uc5c6\uc774 \uac1c\ubc1c\ud560\uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc694\uc998 \ube4c\ub4dc \uc2dc\uac04\ub3c4 \uc9e7\uc73c\ub2c8 dependency\ub3c4 \ud06c\uac8c \uc2e0\uacbd\uc548\uc4f0\uace0 \ud56d\uc0c1 make clean;make \ud574\ub3c4 \uac1c\ubc1c \uc790\uccb4\uac00 \ud06c\uac8c \ub290\ub824\uc9c0\uc9c0\ub294 \uc54a\ub354\uad70\uc694. \uc81c\uac00 \uc720\ub2c9\uc2a4\uc5d0\uc11c \uac1c\ubc1c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc740 \ub300\ubd80\ubd84 5000 \ub77c\uc778 \uc774\ud558\uc758 \ub370\ubaac \ud504\ub85c\uadf8\ub7a8\ub4e4\uc785\ub2c8\ub2e4. \uac70\uc758 C\uc5d0 \uac00\uae4c\uc6b4 C++ \ud504\ub85c\uadf8\ub7a8\uc774\uc8e0.<\/p>\n<p>\uc694\uc998 AMD64 \uc11c\ubc84\ub4e4\uc5d0 \ub9ac\ub205\uc2a4\ub97c \uae54\uace0 \uc11c\ubc84 \ud504\ub85c\uadf8\ub7a8\ub4e4\uc744 \ub9ac\ub205\uc2a4\uc640 \ud504\ube44\uc5d0\uc11c \ub3d9\uc2dc\uc5d0 \uc9c0\uc6d0\ud558\uae30 \uc704\ud574\uc11c \uc791\uc5c5\uc744 \ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ucc98\uc74c\uc5d0\ub294 Makefile.linux\ub97c \ub530\ub85c \ub9cc\ub4e4\uc5c8\ub294\ub370 Makefile\uc744 \ub530\ub85c \uad00\ub9ac\ud558\uae30 \ubcf4\ub2e4\ub294 autoconf\uc640 automake\ub97c \uc774\uc6a9\ud558\uba74 \ub354 \ud3b8\ud560\uac83 \uac19\uc544\uc11c, autoconf, automake\ub97c \uc801\uc6a9\ud574\ubcf4\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>configure \uc2a4\ud06c\ub9bd\ud2b8\uac00 \ub9cc\ub4e4\uc5b4\uc9c0\uae30 \uae4c\uc9c0 \uc5ec\ub7ec\uac00\uc9c0 \uba85\ub839\uc744 \uc21c\uc11c\ub300\ub85c \uc2e4\ud589\ud574\uc57c \ud574\uc11c \ucc98\uc74c\uc5d0\ub294 \ubcf5\uc7a1\ud558\uac8c \ub290\uaef4\uc9c0\uc9c0\ub9cc \uc870\uae08 \uc775\uc219\ud574\uc9c0\uba74 \uc5b4\ub835\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \uc9c1\uc811 \ub9cc\ub4e4\uc5b4\uc918\uc57c\ud558\ub294 \ud30c\uc77c\uc740 <span style=\"font-weight: bold\">Makefile.am<\/span>\uacfc <span style=\"font-weight: bold\">configure.ac<\/span> \ub450\uac1c\uc785\ub2c8\ub2e4. \ub098\uba38\uc9c0\ub294 \ubd80\uc218\uc801\uc778 \ud30c\uc77c\ub4e4\ub85c autoconf, automake \ub3d9\uc791\uc5d0 \ud070 \uc601\ud5a5\uc744 \uc8fc\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. (AUTHORS, README, COPYING \ub4f1)<\/p>\n<p><span style=\"font-weight: bold\">libevent\ub97c \uc774\uc6a9\ud55c echo server<\/span>\ub97c C++\ub85c \uc608\uc81c \ud504\ub85c\uc81d\ud2b8\ub85c \ub9cc\ub4e4\uc5b4\ubd24\uc2b5\ub2c8\ub2e4.<\/p>\n<p><span style=\"font-weight: bold\">Makefile.am<\/span>\uc5d0\uc11c\ub294 \uc2e4\ud589\ud30c\uc77c\uacfc \uc2e4\ud589\ud30c\uc77c\uc744 \ub9cc\ub4e4\uae30 \uc704\ud55c \uc18c\uc2a4\ub97c \uc9c0\uc815\ud574\uc90d\ub2c8\ub2e4. \uc544\uc8fc \uac04\ub2e8\ud569\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\">bin_PROGRAMS = echo_server<br \/>\necho_server_SOURCES = echo_server.cpp<\/div>\n<p>\n<span style=\"font-weight: bold\">configure.ac<\/span>\ub294 \uc870\uae08 \ubcf5\uc7a1\ud569\ub2c8\ub2e4. \ud504\ub85c\uadf8\ub7a8 \uc774\ub984, \ubc84\uc804, \uc774\uba54\uc77c \ub4f1\uc744 \uc801\uc5b4\uc8fc\uace0 \uc0ac\uc6a9\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc5d0 \ub300\ud574\uc11c \uae30\uc220\ud558\ub3c4\ub85d \ub418\uc5b4\uc788\uc2b5\ub2c8\ub2e4. <span style=\"color: rgb(0, 0, 255)\">libevent\uc5d0 \uad00\ub828\ud55c \ub0b4\uc6a9(\ud30c\ub780\uc0c9)<\/span>\uc774 \ub300\ubd80\ubd84\uc778\ub370 \uc774 \ubd80\ubd84\uc740 memcached \uc5d0 \ud3ec\ud568\ub41c configure.ac \ud30c\uc77c\uc744 \ucc38\uace0\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\">AC_INIT(echo_server_libevent, 1.0, mix1009@gmail.com)<br \/>\nAM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)<br \/>\nAM_CONFIG_HEADER(config.h)<\/p>\n<p>AC_PROG_CXX<br \/>\nAC_PROG_INSTALL<\/p>\n<p><span style=\"color: rgb(0, 0, 255)\">AC_ARG_WITH(libevent,<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\"> &nbsp;&nbsp; AC_HELP_STRING([&#8211;with-libevent=DIRECTORY],[base directory for libevent]))<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\">if test &#8220;$with_libevent&#8221; != &#8220;no&#8221;; then<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\"> &nbsp;&nbsp; CFLAGS=&#8221;$CFLAGS -I$with_libevent\/include&#8221;<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\"> &nbsp;&nbsp; CXXFLAGS=&#8221;$CXXFLAGS -I$with_libevent\/include&#8221;<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\"> &nbsp;&nbsp; LDFLAGS=&#8221;$LDFLAGS -L$with_libevent\/lib&#8221;<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\">fi<\/span><br style=\"color: rgb(0, 0, 255)\"\/><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\">LIBEVENT_URL=http:\/\/www.monkey.org\/~provos\/libevent\/<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\">AC_CHECK_LIB(event, event_set, ,<\/span><br style=\"color: rgb(0, 0, 255)\"\/><span style=\"color: rgb(0, 0, 255)\"> &nbsp;&nbsp; [AC_MSG_ERROR(libevent is required.&nbsp; You can get it from $LIBEVENT_URL)])<\/span><\/p>\n<p>AC_CONFIG_FILES(Makefile)<br \/>\nAC_OUTPUT\n<\/div>\n<p>\n\uc774 \uc678\uc5d0\ub3c4 \ubd80\uc218\uc801\uc73c\ub85c \uc900\ube44\ud574\uc57c\ud558\ub294 \ud30c\uc77c\ub4e4\uc774 \uba87\uac1c\uc788\uc2b5\ub2c8\ub2e4. NEWS, README, AUTHORS, ChangeLog\ub294 \ud544\uc218\uc801\uc73c\ub85c \uc788\uc5b4\uc57c\ud558\ub294 \ud30c\uc77c\ub4e4\uc774\uace0, \uba87\uac00\uc9c0\ub294 automake\ub97c \uc2e4\ud589\ud560\ub54c &#8211;add-missing\uc744 \uc778\uc790\ub85c \uc8fc\uba74 \uc790\ub3d9\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc90d\ub2c8\ub2e4.<\/p>\n<p>\uc81c\uac00 \uc0ac\uc6a9\ud558\ub294 FreeBSD 6.2 \uae30\uc900\uc73c\ub85c \uc124\uba85\ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4. autoconf, automake \uc5ec\ub7ec\ubc84\uc804\uc774 \uc124\uce58\ub420\uc218 \uc788\ub294\ub370, \uc81c\uac00 \uc0ac\uc6a9\ud55c \ubc84\uc804\uc740 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009&gt;<\/span><span style=\"color: rgb(0, 102, 153)\"> <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">pkg_info | grep auto<\/span><br \/>\nautoconf-2.59_2 &nbsp; &nbsp; Automatically configure source code on many Un*x platforms<br \/>\nautomake-1.9.6 &nbsp; &nbsp;&nbsp; GNU Standards-compliant Makefile generator (1.9)<\/div>\n<p>\n\uc544\ub798\uc640 \uac19\uc774 \uc2e4\ud589\ud558\uba74 configure\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">ls -l<\/span><br \/>\ntotal 8<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp;&nbsp; 66 May&nbsp; 8 13:39 Makefile.am<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; 650 May&nbsp; 8 13:39 configure.ac<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel&nbsp; 3027 May&nbsp; 8 13:39 echo_server.cpp<br \/>\n<span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">aclocal19<\/span><br style=\"color: rgb(0, 102, 153)\"\/><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">autoheader259<\/span><br style=\"color: rgb(0, 102, 153)\"\/><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">autoconf259<\/span><br style=\"color: rgb(0, 102, 153)\"\/><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">touch README AUTHORS NEWS ChangeLog<\/span><br style=\"color: rgb(0, 102, 153)\"\/><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">automake19 &#8211;add-missing<\/span><br style=\"color: rgb(23, 127, 205)\"\/>configure.ac: installing `.\/install-sh&#8217;<br \/>\nconfigure.ac: installing `.\/missing&#8217;<br \/>\nMakefile.am: installing `.\/INSTALL&#8217;<br \/>\nMakefile.am: installing `.\/COPYING&#8217;<br \/>\nMakefile.am: installing `.\/depcomp&#8217;<br \/>\n<span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">ls -l<\/span><br \/>\ntotal 210<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp; &nbsp; 0 May&nbsp; 8 13:40 AUTHORS<br \/>\nlrwxr-xr-x&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp;&nbsp; 35 May&nbsp; 8 13:41 COPYING@ -&gt; \/usr\/local\/share\/automake19\/COPYING<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp; &nbsp; 0 May&nbsp; 8 13:40 ChangeLog<br \/>\nlrwxr-xr-x&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp;&nbsp; 35 May&nbsp; 8 13:41 INSTALL@ -&gt; \/usr\/local\/share\/automake19\/INSTALL<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp;&nbsp; 66 May&nbsp; 8 13:39 Makefile.am<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; 17475 May&nbsp; 8 13:41 Makefile.in<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp; &nbsp; 0 May&nbsp; 8 13:40 NEWS<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp; &nbsp; 0 May&nbsp; 8 13:40 README<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; 31538 May&nbsp; 8 13:40 aclocal.m4<br \/>\ndrwxr-xr-x&nbsp; 2 mix1009&nbsp; wheel &nbsp; &nbsp; 512 May&nbsp; 8 13:41 autom4te.cache\/<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp; 640 May&nbsp; 8 13:40 config.h.in<br \/>\n-rwxr-xr-x&nbsp; 1 mix1009&nbsp; wheel&nbsp; 150289 May&nbsp; 8 13:40 configure*<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp; 650 May&nbsp; 8 13:39 configure.ac<br \/>\nlrwxr-xr-x&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp;&nbsp; 35 May&nbsp; 8 13:41 depcomp@ -&gt; \/usr\/local\/share\/automake19\/depcomp<br \/>\n-rw-r&#8211;r&#8211;&nbsp; 1 mix1009&nbsp; wheel &nbsp;&nbsp; 3027 May&nbsp; 8 13:39 echo_server.cpp<br \/>\nlrwxr-xr-x&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp;&nbsp; 38 May&nbsp; 8 13:41 install-sh@ -&gt; \/usr\/local\/share\/automake19\/install-sh<br \/>\nlrwxr-xr-x&nbsp; 1 mix1009&nbsp; wheel &nbsp; &nbsp;&nbsp; 35 May&nbsp; 8 13:41 missing@ -&gt; \/usr\/local\/share\/automake19\/missing<span style=\"font-style: italic\"><\/span>\n<\/div>\n<p>\n\ucc98\uc74c \uc5c6\ub294 \ud30c\uc77c\ub4e4\uc744 \ub9cc\ub4e4\uae30 \uc704\ud55c \uba85\ub839\uc778 touch\uc640 automake \uc2e4\ud589\ud560\ub54c &#8211;add-missing\uc740 \ud30c\uc77c\uc774 \ub9cc\ub4e4\uc5b4\uc9c4 \uc774\ud6c4\ub85c\ub294 \uc778\uc790\ub97c \uc8fc\uc9c0 \uc54a\uc544\ub3c4 \ub429\ub2c8\ub2e4. \ud30c\uc77c\uc774 \ubaa8\ub450 \ub9cc\ub4e4\uc5b4\uc9c4 \uc774\ud6c4\ub85c\ub294 \uc544\ub798\uc640\uac19\uc740 \uba85\ub839\ub9cc \uccd0\uc8fc\uba74 \ub429\ub2c8\ub2e4.<\/p>\n<p><span style=\"color: rgb(0, 102, 153)\"><\/span><\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">aclocal19<\/span><br style=\"color: rgb(0, 102, 153)\"\/><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">autoheader259<\/span><br style=\"color: rgb(0, 102, 153)\"\/><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">autoconf259<\/span><br style=\"color: rgb(0, 102, 153)\"\/><span style=\"color: rgb(0, 102, 153)\"><\/span><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">automake19<\/span><\/div>\n<p><span style=\"font-weight: bold; color: rgb(0, 102, 153)\"><\/span><br \/>\n\uadf8\ub9ac\uace0 &#8211;add-missing\uc73c\ub85c \ud30c\uc77c\uc744 \uc0dd\uc131\ud560\ub54c \uc2ec\ubcfc\ub9ad \ub9c1\ud06c\ub85c \uc0dd\uc131\ub418\ub294\ub370 \uc18c\uc2a4\ub97c \ubc30\ud3ec\ud558\uac70\ub098 CVS\uc5d0 commit\ud558\uae30 \uc804\uc5d0, \ud30c\uc77c\uc744 \uc9c1\uc811 \ubcf5\uc0ac\ud558\ub294\uac8c \uc88b\uc2b5\ub2c8\ub2e4. <\/p>\n<p>configure \uc2a4\ud06c\ub9bd\ud2b8\uac00 \uc0dd\uc131\ub418\uba74, \uc544\ub798\uc640 \uac19\uc774 \ud0c0\ucf13 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ucef4\ud30c\uc77c\ud560\uc218 \uc788\uc2b5\ub2c8\ub2e4. configure\uac00 \ub9cc\ub4e4\uc5b4\uc9c0\uae30 \uc804\uae4c\uc9c0\ub294 \ud558\ub098\uc758 \uc11c\ubc84\uc5d0\uc11c \uc2e4\ud589\ud574\uc11c \uacb0\uacfc \ud30c\uc77c\ub4e4(configure, Makefile.in, config.h.in \ub4f1)\uc744 \ubc30\ud3ec\ud558\uba74 \ub418\uc9c0\ub9cc, \uc774\ud6c4 \ubd80\ubd84\ubd80\ud130\ub294 \ud0c0\ucf13 \ud50c\ub81b\ud3fc\uc5d0\uc11c \uc2e4\ud589\ud574\uc57c \ud569\ub2c8\ub2e4. configure\uac00 \uc2e4\ud589\ub420\ub54c \ud0c0\ucf13 \uc2dc\uc2a4\ud15c\uc5d0 \ud2b9\uc815 \uae30\ub2a5\uc774 \uad6c\ud604\ub418\uc5c8\ub294\uc9c0\ub97c \uac80\uc0ac\ud558\uace0 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc124\uce58\uc5ec\ubd80\ub4f1\uc744 \uac80\uc0ac\ud569\ub2c8\ub2e4. \uadf8 \uacb0\uacfc\uc5d0 \ub530\ub77c\uc11c config.h \ud30c\uc77c\uc744 \ub9cc\ub4e4\uc5b4\uc90d\ub2c8\ub2e4.<\/p>\n<p>\uc544\ub798\ucc98\ub7fc \ud0c0\uac9f \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ucef4\ud30c\uc77c\ud558\uace0 \uc124\uce58\ud560\uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"><span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">.\/configure &#8211;with-libevent=\/usr\/local<\/span><br \/>\nchecking for a BSD-compatible install&#8230; \/usr\/bin\/install -c<br \/>\nchecking whether build environment is sane&#8230; yes<br \/>\n<span style=\"font-style: italic\">(\uc0dd\ub7b5)<\/span><br \/>\nchecking for event_set in -levent&#8230; yes<br \/>\nconfigure: creating .\/config.status<br \/>\nconfig.status: creating Makefile<br \/>\nconfig.status: creating config.h<br \/>\nconfig.status: executing depfiles commands<br \/>\n<span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold\"><span style=\"color: rgb(0, 102, 153)\">make<\/span><br \/>\n<\/span><span style=\"font-style: italic\">(\uc0dd\ub7b5)<\/span><br \/>\n<span style=\"color: rgb(0, 102, 153)\">\/home\/mix1009\/work\/echo_server_libevent&gt; <\/span><span style=\"font-weight: bold; color: rgb(0, 102, 153)\">sudo make install<\/span><br \/>\n<span style=\"font-style: italic\">(\uc0dd\ub7b5)<\/span><\/div>\n<p><span style=\"font-style: italic\"><\/span><\/p>\n<p>\ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 configure\ub97c \uc778\uc790\uc5c6\uc774 \uc2e4\ud589\ud574\ub3c4 libevent\ub97c \uc815\uc0c1\uc801\uc73c\ub85c \ucc3e\ub294\ub370, FreeBSD\uc5d0\uc11c\ub294 \uc704\uc640 \uac19\uc774 \uc778\uc790\ub85c \uc9c0\uc815\ud574\uc8fc\uc5b4\uc57c \ucc3e\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uac01 \ud234\ub4e4\uc744 \uac04\ub7b5\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. aclocal\uc740 autoconf\uc5d0\uc11c \ubbf8\ucc98 \uad6c\ud604\ub418\uc9c0 \ubabb\ud55c \ubd80\ubd84(?)\uc744 \ucc98\ub9ac\ud558\ub294 \uac83\uc73c\ub85c \ucc28\ud6c4\uc5d0\ub294autoconf\uc5d0 \ud3ec\ud568\ub420\uac70\ub77c\uace0 \ud569\ub2c8\ub2e4. autoheaders\ub294 configure.ac\ub85c\ubd80\ud130 config.h.in\uc744 \ub9cc\ub4ed\ub2c8\ub2e4. automake\ub294 configure.ac\uc640 Makefile.am \ub0b4\uc6a9\uc5d0 \ub530\ub77c\uc11c Makefile.in\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.autoconf\ub294 configure.ac\uc5d0 \ub530\ub77c\uc11c configure\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. configure\ub294 config.h.in\uacfcMakefile.in\uc744 \uae30\uc900\uc73c\ub85c \uc2dc\uc2a4\ud15c \uc815\ubcf4\ub97c \ubd84\uc11d\ud558\uc5ec Makefile\uacfc config.h\ub97c \ub9cc\ub4e4\uc5b4\uc90d\ub2c8\ub2e4. <\/p>\n<p>\uac01 \ud504\ub85c\uadf8\ub7a8\uc758 \uc785\ucd9c\ub825 \ud30c\uc77c\ub4e4\uc744 \uc0b4\ud3b4\ubcf4\uba74 \uc544\ub798\uc640 \uac19\uc2b5\ub2c8\ub2e4. <a href=\"http:\/\/sourceware.org\/autobook\/\">http:\/\/sourceware.org\/autobook\/<\/a>\uc758 Appendix C\ub97c \ucc38\uace0\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(201, 237, 255)\">configure.ac &#8212; <span style=\"font-weight: bold\">aclocal<\/span> &#8212;&gt; aclocal.m4<br \/>\nconfigure.ac, (optional aclocal.m4) &#8212; <span style=\"font-weight: bold\">autoheaders <\/span>&#8212;&gt; config.h.in<br \/>\nconfigure.ac, Makefile.am &#8212; <span style=\"font-weight: bold\">automake <\/span>&#8212;&gt; Makefile.in<br \/>\nconfigure.ac, (optional aclocal.m4) &#8212; <span style=\"font-weight: bold\">autoconf <\/span>&#8212;&gt; configure<br \/>\nMakefile.in, config.h.in &#8212; <span style=\"font-weight: bold\">configure <\/span>&#8212;&gt; Makefile, config.h\n<\/div>\n<p>\n\ucc98\uc74c\uc5d0\ub294 \ubcf5\uc7a1\ud558\uac8c \ub290\uaef4\uc9c0\uc9c0\ub9cc, \ud55c\ubc88 \uc0ac\uc6a9\ud574\ubcf4\uba74 Makefile.am\uc5d0\uc11c \uc18c\uc2a4 \ud30c\uc77c\ub9cc \ucd94\uac00\ud558\uace0, \uc0ac\uc6a9\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \ucd94\uac00\ub420\ub54c configure.ac\uc5d0\uc11c \ub77c\uc774\ube0c\ub7ec\ub9ac \uc9c0\uc815\ub9cc \ud558\uba74 \ub418\uae30 \ub54c\ubb38\uc5d0 \uc0ac\uc6a9\uc5d0 \uc5b4\ub824\uc6c0\uc774 \uc5c6\uc2b5\ub2c8\ub2e4. \ub3c4\uc785\ud6c4\uc5d0 \uc5ec\ub7ec \ud50c\ub81b\ud3fc\uc5d0\uc11c \ucef4\ud30c\uc77c\ud558\uba74\uc11c \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c\uc810\ub4e4\uc744 \ud558\ub098\uc529 \ud574\uacb0\ud574 \ub098\uac00\uba74 \ud504\ub85c\uadf8\ub7a8\uc758 \uc774\uc2dd\uc131\uc744 \ub192\uc77c\uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud558\ub294 \ud568\uc218\ub4f1\uc744 configure.ac\uc5d0\uc11c \uc9c0\uc815\ud558\uace0 config.h\uc5d0 \uc815\uc758\ub41c \ub9e4\ud06c\ub85c\uc5d0 \ub530\ub77c\uc11c \uc18c\uc2a4\uc5d0\uc11c \uc801\uc808\ud788 \ucc98\ub9ac\ud558\uba74 \uc774\uc2dd\uc131\uc774 \ucc28\ucc28 \ub192\uc544\uc9c0\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<p>autoconf, automake \uc2e4\ud589\ud558\uae30 \uc804 \uc18c\uc2a4\uc785\ub2c8\ub2e4. <span style=\"font-weight: bold\">libevent\ub97c \uc774\uc6a9\ud55c echo \uc11c\ubc84 \uc608\uc81c<\/span> \uc785\ub2c8\ub2e4. \uc18c\uc2a4 \uc790\uccb4\uc758 \uc644\uc131\ub3c4\ub294 \ub192\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. configure.ac, Makefile.am, echo_server.cpp, COPYING \ub124\uac1c\uc758 \ud30c\uc77c\uc774 \ud3ec\ud568\ub418\uc5b4\uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p><a href=\"https:\/\/mix1009.net\/wp-content\/uploads\/1\/1214426580.tgz\" class=\"alignleft\"  \/>1214426580.tgz<\/a><br \/>\n<span style=\"font-style: italic\"><span style=\"font-style: italic\"><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ud508\uc18c\uc2a4 \ud504\ub85c\uadf8\ub7a8\ub4e4\uc740 \ub300\ubd80\ubd84 \ub9ac\ub205\uc2a4\uc5d0\uc11c \uc544\ub798\ucc98\ub7fc \ucef4\ud30c\uc77c\ud560\uc218 \uc788\uc2b5\ub2c8\ub2e4. $ .\/configure $ make $ sudo make install configure \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc2e4\ud589\ud558\uc5ec \uc2dc\uc2a4\ud15c\uc5d0 \ub9de\uac8c \ucef4\ud30c\uc77c \ub418\ub3c4\ub85d Makefile\uc744 \uc0dd\uc131\ud574\uc90d\ub2c8\ub2e4. \uc720\ub2c9\uc2a4\uac00 \uc885\ub958\uac00 \ub9ce\uace0 \ub2e4\uc591\ud558\uae30 \ub54c\ubb38\uc5d0 \uadf8 \ubaa8\ub450\ub97c Makefile \ud558\ub098\ub85c\ub9cc \uc9c0\uc6d0\ud558\uae30\ub294 \uc5b4\ub835\uc2b5\ub2c8\ub2e4. autoconf\uc640 automake\ub97c \uc774\uc6a9\ud558\uba74, \uc790\ub3d9\uc73c\ub85c \ud0c0\ucf13 \uc2dc\uc2a4\ud15c\uc744 \ubd84\uc11d\ud574\uc8fc\uace0, Makefile\uc744 \uc790\ub3d9\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc90d\ub2c8\ub2e4. configure\ub97c \uc2e4\ud589\ud558\uba74 Makefile\uacfc config.h \ud30c\uc77c\uc774 \uc0dd\uc131\ub418\ub294\ub370, config.h\uc5d0 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc81c\uacf5\ub418\ub294 \uae30\ub2a5\uc5d0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[80,81,72],"_links":{"self":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/posts\/85"}],"collection":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85"}],"version-history":[{"count":0,"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions"}],"wp:attachment":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}