Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./autogen.sh: line 30: aclocal: command not found (AWS EC2 Linux 2 APACHE) #21

Open
bmwtay opened this issue Dec 10, 2020 · 4 comments
Open

Comments

@bmwtay
Copy link

bmwtay commented Dec 10, 2020

Installing on AWS EC2 Linux 2 Apache

$ httpd -v
Server version: Apache/2.4.46 ()
Server built: Aug 24 2020 18:54:20

When running autogen.sh, it reported error as below. How to fix this?

$ ./autogen.sh
Cleanup
Running aclocal
./autogen.sh: line 30: aclocal: command not found

@kjdev
Copy link
Owner

kjdev commented Dec 16, 2020

Install the commands required for the build.

$ yum install -y automake libtool make

@bmwtay
Copy link
Author

bmwtay commented Dec 16, 2020

Thanks @kjdev above works and able to pass the autogen.sh.

Sorry, need more help here, I got the below errors

[apache-mod-brotli]$ make
make: *** No targets specified and no makefile found. Stop.

[apache-mod-brotli]$ install -p -m 755 -D .libs/mod_brotli.so /etc/httpd/modules/mod_brotli.so
install: cannot stat ‘.libs/mod_brotli.so’: No such file or directory

@kjdev
Copy link
Owner

kjdev commented Dec 16, 2020

make: *** No targets specified and no makefile found. Stop.

Run configure to create the Makefile.


$ yum update -y
$ yum install -y automake httpd-devel libtool make
$ ./autogen.sh
$ ./configure
$ make
$ ls .libs/
mod_brotli.a   mod_brotli.lai  mod_brotli_la-mod_brotli.o
mod_brotli.la  mod_brotli.so
$ install -p -m 755 -D .libs/mod_brotli.so /etc/httpd/modules/mod_brotli.so

@bmwtay
Copy link
Author

bmwtay commented Dec 18, 2020

Works now. Thanks a lot! :)

Adding "cd apache-mod-brotli" to the series of command for completeness

$ yum update -y
$ yum install -y automake httpd-devel libtool make
$ cd apache-mod-brotl
$ ./autogen.sh
$ ./configure
$ make
$ ls .libs/
mod_brotli.a mod_brotli.lai mod_brotli_la-mod_brotli.o
mod_brotli.la mod_brotli.so
$ install -p -m 755 -D .libs/mod_brotli.so /etc/httpd/modules/mod_brotli.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants