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
- Nginx reverse proxy with query parameters not working
- Root path analogue in uWSGI as in Uvicorn
- Keycloak: How to override Welcome Screen redirect behavior (to custom realm, instead of master realn/admin)
- nginx set up reverse proxy from subfolder to a port
- Nginx Not Correctly Redirecting Users To Custom Page
- How to connect to ssh server with domain name
- Nginx configuration file and SSL certificate errors in Docker
- Invalid Host header not being rejected by nginx
- Nginx only caches file endpoints
- How to configure Nginx for a VPS?
- Problem with changing default NGINX 404 error page
- My VPS does not accept HTTPS requests on a port other than 443
- NGINX Configuration Issue with Next.js and Strapi Project
- Openshift nginx proxy_pass not redirecting from current host to another
- Adonis.js in production : ENOENT: no such file or directory, open '/public/assets/.vite/manifest.json'
Related Questions in MAKEFILE
- How to refer to the filepath of test data in test sourcecode?
- Can't connect to postgres with Adminer using Docker on MacOS
- Flint installation error: make: *** [build/generic_files/memory_manager.lo] Error 1
- How to compile the Linux kernel with -O0 for more detailed debug?
- Makefile:7: *** missing separator. Stop (HELP NEEDED)
- Trying to compile GCC returns a bunch of errors
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- Turn a makefile into a list of build commands
- make test error with Golang: make: *** [Makefile:47: manifests] Error 126
- Passing optional arguments from makefile to shell script
- GNU make file pairwise combinations of files in folder
- make Error 2, The system cannot find the file specified
- Why do I get a make: *** No target specified and no makefile error?
- why does Make give error while compiling?
- CMake always rebuilding included file even if it didn't change
Related Questions in AUTOCONF
- How to Handle File Existence Check in `configure.ac` When Cross Compiling on WSL
- Syntax problem with porting an autoconf makefile to the meson build system
- Bin2c files won't generate on make
- When building Yate from sources on Centos 6.10, the error appears on the configure phase
- What is the canonical approach to use for autoconf dependencies in Xcode?
- automake gives the error ".la: file not recognized: file format not recognized"
- How to successfully run make install without root privileges
- How to package an RPM with an old autoconf/automake project
- share AC_DEFINE trough AC_CONFIG_SUBDIRS in autoconf
- AC_CHECK_LIB with multiple dependencies
- Using the icu library, an undefined reference to 'uregex_groupCount_48' appears when compiling with make
- Makefile.am: How to list all files (of specific extension) in `foo_HEADERS`?
- is it possible to avoid re-run configure and do incremental builds when some sub-makefiles has been changed?
- autoconf - how to check for a (minimal) version of a library at configure time?
- cgminer configure script can't find libusb, which is installed
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 # Hahtags
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