spiritloose / mod_psgi Goto Github PK
View Code? Open in Web Editor NEWPSGI web server on Apache2
License: Apache License 2.0
PSGI web server on Apache2
License: Apache License 2.0
use Plack::Test::Suite->run_server_tests
a la Plack::Server::Apache2
So, it looks like I have some kind of missing define statement. I tried to add the missing defined but still no luck. I'm not a C programmer. Googling shows that the API changed in Perl 5.14 but we run 5.10 from CentOS 6. I wonder if that's the issue.
My Versions
$ rpm -q httpd perl
httpd-2.2.15-39.el6.centos.x86_64
perl-5.10.1-136.el6_6.1.x86_64
What I tried unsuccessfully
$ git diff mod_psgi.c
diff --git a/mod_psgi.c b/mod_psgi.c
index 3df69f4..abe1c69 100644
--- a/mod_psgi.c
+++ b/mod_psgi.c
@@ -62,6 +62,8 @@
#define TRACE(...) ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, NULL, __VA_ARGS__)
#endif
+#define GvCV_set(gv, cv) (GvCV(gv) = (cv))
+
module AP_MODULE_DECLARE_DATA psgi_module;
typedef struct {
Spec file from djzort https://github.com/spiritloose/mod_psgi/pull/7/files
$ sudo rpm -Uhv ~/rpmbuild/RPMS/x86_64/mod_psgi-0.0.3-1.el6.x86_64.rpm
Preparing... ########################################### [100%]
1:mod_psgi ########################################### [100%]
$ sudo /etc/init.d/httpd configtest
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/psgi.conf: Cannot load /etc/httpd/modules/mod_psgi.so into server: /etc/httpd/modules/mod_psgi.so: undefined symbol: GvCV_set
Ref:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.