{"action":"created","issue":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/178","repository_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi","labels_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/178/comments","events_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/178/events","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/178","id":196528156,"number":178,"title":"CentOS 5 installation error","user":{"login":"kbower","id":4621154,"avatar_url":"https://avatars2.githubusercontent.com/u/4621154?v=3","gravatar_id":"","url":"https://api.github.com/users/kbower","html_url":"https://github.com/kbower","followers_url":"https://api.github.com/users/kbower/followers","following_url":"https://api.github.com/users/kbower/following{/other_user}","gists_url":"https://api.github.com/users/kbower/gists{/gist_id}","starred_url":"https://api.github.com/users/kbower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbower/subscriptions","organizations_url":"https://api.github.com/users/kbower/orgs","repos_url":"https://api.github.com/users/kbower/repos","events_url":"https://api.github.com/users/kbower/events{/privacy}","received_events_url":"https://api.github.com/users/kbower/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-19T21:43:54Z","updated_at":"2017-03-30T00:54:40Z","closed_at":"2017-03-30T00:54:40Z","body":"I recently needed to rebuild python2.6 (done with `--enable-shared`) and so also rebuilt mod_wsgi.\r\n\r\nI hit this error when I restart apache:\r\n```[root@dev mod_wsgi-4.5.1]# service httpd restart\r\nStopping httpd:                                            [FAILED]\r\nStarting httpd: httpd: Syntax error on line 215 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/trac.conf: Cannot load /etc/httpd/modules/mod_wsgi.so into server: /etc/httpd/modules/mod_wsgi.so: undefined symbol: strtoul_is_not_a_portable_function_use_strtol_instead\r\n                                                           [FAILED]\r\n```\r\n\r\nYour installation guide recommends a workaround for a similar error, so I tried setting:\r\n```\r\nCFLAGS = -Wc,-fno-stack-protector\r\n```\r\nin the Makefile and doing a `make clean`, `make` and `make install`, but the problem persists.\r\n\r\n```\r\n[root@dev mod_wsgi-4.5.1]# httpd -V\r\nServer version: Apache/2.2.3\r\nServer built:   Jun  6 2012 10:00:42\r\nServer's Module Magic Number: 20051115:3\r\nServer loaded:  APR 1.2.7, APR-Util 1.2.7\r\nCompiled using: APR 1.2.7, APR-Util 1.2.7\r\nArchitecture:   64-bit\r\nServer MPM:     Prefork\r\n  threaded:     no\r\n    forked:     yes (variable process count)\r\nServer compiled with....\r\n -D APACHE_MPM_DIR=\"server/mpm/prefork\"\r\n -D APR_HAS_SENDFILE\r\n -D APR_HAS_MMAP\r\n -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)\r\n -D APR_USE_SYSVSEM_SERIALIZE\r\n -D APR_USE_PTHREAD_SERIALIZE\r\n -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT\r\n -D APR_HAS_OTHER_CHILD\r\n -D AP_HAVE_RELIABLE_PIPED_LOGS\r\n -D DYNAMIC_MODULE_LIMIT=128\r\n -D HTTPD_ROOT=\"/etc/httpd\"\r\n -D SUEXEC_BIN=\"/usr/sbin/suexec\"\r\n -D DEFAULT_PIDLOG=\"run/httpd.pid\"\r\n -D DEFAULT_SCOREBOARD=\"logs/apache_runtime_status\"\r\n -D DEFAULT_LOCKFILE=\"logs/accept.lock\"\r\n -D DEFAULT_ERRORLOG=\"logs/error_log\"\r\n -D AP_TYPES_CONFIG_FILE=\"conf/mime.types\"\r\n -D SERVER_CONFIG_FILE=\"conf/httpd.conf\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/comments/290270008","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/178#issuecomment-290270008","issue_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/178","id":290270008,"user":{"login":"GrahamDumpleton","id":507637,"avatar_url":"https://avatars1.githubusercontent.com/u/507637?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamDumpleton","html_url":"https://github.com/GrahamDumpleton","followers_url":"https://api.github.com/users/GrahamDumpleton/followers","following_url":"https://api.github.com/users/GrahamDumpleton/following{/other_user}","gists_url":"https://api.github.com/users/GrahamDumpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamDumpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamDumpleton/subscriptions","organizations_url":"https://api.github.com/users/GrahamDumpleton/orgs","repos_url":"https://api.github.com/users/GrahamDumpleton/repos","events_url":"https://api.github.com/users/GrahamDumpleton/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamDumpleton/received_events","type":"User","site_admin":false},"created_at":"2017-03-30T00:54:40Z","updated_at":"2017-03-30T00:54:40Z","body":"I am going to close this without making any permanent change. CentOS 5 is very old. Even Apache source stopped prohibiting use of strtoul() in Apache code in Apache 2.4. If is an issue again, people can make change manually."}}
{"actor":{"display_login":"GrahamDumpleton"}}