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

Fixed segfault on ubuntu by updating apr #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gaby64
Copy link

@gaby64 gaby64 commented Dec 6, 2018

included your changes to apr in the update

@micczu2
Copy link

micczu2 commented Feb 6, 2020

I can confirm, on MacOS (Catalina) there was a segfault also, when trying to run app after build. This gaby64's changes fixed this.
By the way, I also needed to give exact zlib path to configure. Otherwise it gave me "not found" error.
(i.e. ./configure --prefix=/usr/local/apache2nginx --with-z=/usr/local/Cellar/zlib/1.2.11)

@samip5
Copy link

samip5 commented Apr 5, 2020

Unfortunately, this does not appear to work on Ubuntu 18.04.4 LTS:

/bin/bash /usr/local/src/apache2nginx/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/src/apache2nginx/srclib/apr-util/include -I/usr/local/src/apache2nginx/srclib/apr-util/include/private  -I/usr/local/src/apache2nginx/srclib/apr/include    -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
xml/apr_xml.c:35:10: fatal error: expat.h: No such file or directory
 #include <expat.h>
          ^~~~~~~~~
compilation terminated.
/usr/local/src/apache2nginx/srclib/apr-util/build/rules.mk:206: recipe for target 'xml/apr_xml.lo' failed
make[3]: *** [xml/apr_xml.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/usr/local/src/apache2nginx/srclib/apr-util'
/usr/local/src/apache2nginx/srclib/apr-util/build/rules.mk:118: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/apache2nginx/srclib/apr-util'
/usr/local/src/apache2nginx/build/rules.mk:72: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/apache2nginx/srclib'
/usr/local/src/apache2nginx/build/rules.mk:72: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

@samip5
Copy link

samip5 commented Apr 5, 2020

@gaby64 Could you maybe make a Docker version of this app? :)

@gaby64
Copy link
Author

gaby64 commented Apr 8, 2020

sudo apt install libexpat1

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

Successfully merging this pull request may close these issues.

3 participants