- ÂÛ̳»ÕÕÂ:
- 1
|
2£®2£®2£®2 ±àÒëºÍ°²×°\r\n±àÒëºÍ°²×°¹ý³Ì°üÀ¨ÏÂÁÐ3¸ö²½Ö裺\r\nÔËÐÐconfigure½Å±¾¡£\r\nÔËÐÐmakeÃüÁî¡£\r\nÔËÐÐmake installÃüÁî¡£\r\n¿ªÊ¼SnortµÄ±àÒë¹ý³Ì£¬Ê×ÏÈÈ¥/opt/snort-1.9.0Ŀ¼²¢ÔËÐÐconfigure½Å±¾¡£Èç¹ûÄã¸Õ¸Õ¿ªÊ¼½Ó´¥GNUÀàµÄÈí¼þ£¬ÄãÐèÒªÁ˽âconfigure½Å±¾ÊÇ¿ª·ÅÔ´ÂëÈí¼þ°üͨÓõŤ¾ß£¬Ëü¿ÉÒÔÓÃÀ´ÉèÖòÎÊý£¬´´½¨makefile,¼ì²â¿ª·¢¹¤¾ßºÍÄãϵͳÖеĿâÎļþ¡£ÔËÐÐconfigure½Å±¾µÄʱºò£¬ÓÐÐí¶àÃüÁîÐÐÑ¡ÏÕâЩѡÏî¾ö¶¨Snort±àÒëʱ½«´øÓÐÄÇЩ×é¼þ¡£±ÈÈ磬ÓÃÕâЩѡÏÄã¿ÉÒÔ¹¹½¨¶ÔSNMP¡¢MySQL»òSMB¸æ¾¯µÄÖ§³ÖÒÔ¼°ÆäËûºÜ¶àÊÂÇé¡£ÄãͬÑùÒ²¿ÉÒÔ¶¨ÖÆSnortÎļþµÄ×îÖÕ°²×°Î»Öá£Äã¿ÉÒÔÓá°./configure ¨Chelp¡±ÃüÁîÀ´²ì¿´¿ÉÓõÄÑ¡ÏÈçÏÂËùʾ£º\r\n# ./configure --help\r\n`configure\' configures this package to adapt to many kinds of systems.\r\n\r\nUsage: ./configure [OPTION]... [VAR=VALUE]...\r\n\r\nTo assign environment variables (e.g., CC, CFLAGS...), specify them as\r\nVAR=VALUE. See below for descriptions of some of the useful variables.\r\n\r\nDefaults for the options are specified in brackets.\r\n\r\nConfiguration:\r\n -h, --help display this help and exit\r\n --help=short display options specific to this package\r\n --help=recursive display the short help of all the included packages\r\n -V, --version display version information and exit\r\n -q, --quiet, --silent do not print `checking...\' messages\r\n --cache-file=FILE cache test results in FILE [disabled]\r\n -C, --config-cache alias for `--cache-file=config.cache\'\r\n -n, --no-create do not create output files\r\n --srcdir=DIR find the sources in DIR [configure dir or `..\']\r\n\r\nInstallation directories:\r\n --prefix=PREFIX install architecture-independent files in PREFIX\r\n [/usr/local]\r\n --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX\r\n [PREFIX]\r\n\r\nBy default, `make install\' will install all the files in\r\n`/usr/local/bin\', `/usr/local/lib\' etc. You can specify\r\nan installation prefix other than `/usr/local\' using `--prefix\',\r\nfor instance `--prefix=$HOME\'.\r\n\r\nFor better control, use the options below.\r\n\r\nFine tuning of the installation directories:\r\n --bindir=DIR user executables [EPREFIX/bin]\r\n --sbindir=DIR system admin executables [EPREFIX/sbin]\r\n --libexecdir=DIR program executables [EPREFIX/libexec]\r\n --datadir=DIR read-only architecture-independent data [PREFIX/share]\r\n --sysconfdir=DIR read-only single-machine data [PREFIX/etc]\r\n --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]\r\n --localstatedir=DIR modifiable single-machine data [PREFIX/var]\r\n --libdir=DIR object code libraries [EPREFIX/lib]\r\n --includedir=DIR C header files [PREFIX/include]\r\n --oldincludedir=DIR C header files for non-gcc [/usr/include]\r\n --infodir=DIR info documentation [PREFIX/info]\r\n --mandir=DIR man documentation [PREFIX/man]\r\n\r\nProgram names:\r\n --program-prefix=PREFIX prepend PREFIX to installed program names\r\n --program-suffix=SUFFIX append SUFFIX to installed program names\r\n --program-transform-name=PROGRAM run sed PROGRAM on installed program names\r\n\r\nSystem types:\r\n --build=BUILD configure for building on BUILD [guessed]\r\n --host=HOST cross-compile to build programs to run on HOST [BUILD]\r\n\r\nOptional Features:\r\n --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)\r\n --enable-FEATURE[=ARG] include FEATURE [ARG=yes]\r\n --disable-dependency-tracking Speeds up one-time builds\r\n --enable-dependency-tracking Do not reject slow dependency extractors\r\n --enable-debug enable debugging options (bugreports and developers only)\r\n --enable-profile enable profiling options (developers only)\r\n --enable-sourcefire Enable Sourcefire specific build options\r\n --enable-perfmonitor Enable perfmonitor preprocessor\r\n --enable-linux-smp-stats Enable statistics reporting through proc\r\n --enable-flexresp Flexible Responses on hostile connection attempts\r\n\r\nOptional Packages:\r\n --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]\r\n --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)\r\n --with-libpcap-includes=DIR libpcap include directory\r\n --with-libpcap-libraries=DIR libpcap library directory\r\n --with-libnet-includes=DIR libnet include directory\r\n --with-libnet-libraries=DIR libnet library directory\r\n --with-mysql=DIR support for mysql\r\n --with-odbc=DIR support for odbc\r\n --with-postgresql=DIR support for postgresql\r\n --with-oracle=DIR support for oracle\r\n\r\nSome influential environment variables:\r\n CC C compiler command\r\n CFLAGS C compiler flags\r\n LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a\r\n nonstandard directory <lib dir>\r\n CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have\r\n headers in a nonstandard directory <include dir>\r\n CPP C preprocessor\r\n\r\nUse these variables to override the choices made by `configure\' or to help\r\nit to find libraries and programs with nonstandard names/locations |
|