Coder Social home page Coder Social logo

mod_psgi's People

Contributors

fujiwara avatar mattn avatar spiritloose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mod_psgi's Issues

mod_psgi.so: undefined symbol: GvCV_set

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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.