recently I'm reading nginx source code, but I got confused how to build it's code by autoconf, I have try my best to write a Makefile.am, unfortunate, I'm failed to write a correct Makefile.am file, so I cann't get a configure file, does anybody know how to write a Makefile.am?
2
There are 2 best solutions below
Related Questions in NGINX
- PHP script timeout when I use sleep()
- Convert Apache VirtualHost to nginx Server Block for Dynamic Subdomains
- Nginx not passing websocket upgrade response back to client?
- How to rewrite url to match root directory?
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- How to set X-Frame-Options Allow-From in nginx correctly
- Adding custom events to nginx request handler
- Nginx 403 forbidden with php-fpm
- Changing sorting on Nginx autoindex
- Convert .htaccess to nginx, seeking working solution
- Phalcon 2.x skeleton app with modules doesn't produce 404 Not Found if path is not found
- HSTS: Should I force user to use HTTPS on load balance or web server?
- What are the possible bugs that cause slow response (sometimes but not all the time) for a websocket connection?
- MariaDB/MySQL all of a sudden crashed and won't restart
- Nginx + php5-fpm not displaying php errors but cli is showing errors
Related Questions in MAKEFILE
- Error trying to generate Makefile for glBinding
- Eclipse Makefile: Make Variables are skipped
- Errors in makefile for qemu 0.14.1 in ubuntu 15.04 64 bit
- C++ Struct prototyping in separate header file
- Reuse jquery plugin without conflict
- How do I a conditional build through a make file?
- basic makefile ifeq how to
- (automake, libtool) build fails in automake when using same source file name in different directory
- Makefile pattern rules differences
- Errors while trying to run make on source code
- Git tag name as version in Go via Travis-CI
- gcc make -properly sort out the sequence of making object files
- AOSP ROM for Samsung Grand duos GT-i9082 Error loading kernel
- How to address multiple definition compiler error
- How does MAKE remember the file timestamps
Related Questions in AUTOCONF
- Using preprocessor defined during compilation time
- Check build parameters of libxml2.so at runtime
- How to determine multiarch tuple in autoconf
- AC_SUBST does not expand variable
- building Rserve
- checking whether c compiler works . . no (libdvbpsi source compile)
- build nginx use autoconf
- autotools automake generated makefile does no work: make all-am
- autoreconf -fi error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow
- How to disable tracking of a dependency in configure script
- How do I add global user specified autoconf module dirs for m4 files?
- Mixing C++98 and C++11 source in automake/gcc
- How can I resolve "configure.ac: not using Gettext ... Libtool Automake"? Autoconf error in GNU/Linux?
- How can you check if AC_PROG_CXX has failed?
- ISC-DHCP, Defining a new token in the configure script
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I know how to write a
Makefile.am, but you have no need to.As you know, the
nginxsource package is a GNU autotools package.You don't do the autotooling. The people who write
nginxdo that. When you download the source package, theconfigure.ac, theMakefile.am(s) and other autotools files are already there along with all the source code.To build the package, all you have to do is run the
configurescript to generate correct makefiles for your system, then runmake. (This is why the build system is calledautotools.)Source packages are distributed from
http://nginx.org/download/. Assuming you wantnginx 1.10.2(the stable release at this time), you simply do this in a suitable working directory:Then it's built in
./nginx-1.10.2. If you then want to installnginxin your system, continue:Building any autotooled source package is essential the same as this.
For full details and variations, do read NSTALLING NGINX OPEN SOURCE