Comments (5)
/raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/version.py
is a generated file, it is generated by ./configure
. I'd check what is in it and see if that provides a clue to the problem.
from mod_python.
this happen with gcc 4.5.3 but can compil only the DSO
tested with x64 and gcc 4.7.2
look like it compiled
copying build/lib.linux-x86_64-2.7/mod_python/apache.py -> /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/wsgi.py to wsgi.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/psp.py to psp.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/Cookie.py to Cookie.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/version.py to version.pyc
File "/raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/version.py", line 3
version = "fatal: Not a git repository (or any parent up to mount parent )
^
SyntaxError: EOL while scanning string literal
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/python22.py to python22.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/httpdconf.py to httpdconf.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/cache.py to cache.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/Session.py to Session.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/publisher.py to publisher.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/testhandler.py to testhandler.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/cgihandler.py to cgihandler.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/init.py to init.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/util.py to util.pyc
byte-compiling /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/apache.py to apache.pyc
writing byte-compilation script '/tmp/tmpJA6JI6.py'
/raid/data/module/apache/sys/bin/python -OO /tmp/tmpJA6JI6.py
File "/raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python/version.py", line 3
version = "fatal: Not a git repository (or any parent up to mount parent )
^
SyntaxError: EOL while scanning string literal
removing /tmp/tmpJA6JI6.py
running install_egg_info
Writing /raid/data/module/apache/sys/lib/python2.7/site-packages/mod_python-fatal_.Not.a.git.repository._or.any.parent.up.to.mount.parent._Stopping.at.filesystem.boundary.GIT_DISCOVERY_ACROSS_FILESYSTEM.not.set.3.5.0-py2.7.egg-info
make[2]: Leaving directory /raid/SRC/mod_python-master/dist' make[1]: Leaving directory
/raid/SRC/mod_python-master'
cd scripts && make install
make[1]: Entering directory /raid/SRC/mod_python-master/scripts' /usr/bin/install -c -m 0755 mod_python /raid/data/module/apache/sys/bin/mod_python make[1]: Leaving directory
/raid/SRC/mod_python-master/scripts'
but have some errors related to git...
from mod_python.
Should be resolved by 976a674.
from mod_python.
Just had to apply this to an install so mod_python would work correctly against Apache 2.4. Works great. I assume this will be in 3.5.1ish? Thanks!
from mod_python.
Yep, that's the idea.
from mod_python.
Related Issues (20)
- segfault when releasing a thread HOT 16
- Prefer checking .so over the Python version HOT 3
- Linux packages HOT 2
- Tests failing on Red Hat Linux HOT 1
- configure - flex version test needs to be modified.
- Fatal Python error: PyEval_RestoreThread: NULL tstate HOT 2
- Python 3.10 detected as 3.1 HOT 1
- Still live? HOT 3
- Segfault when porting to python 3.10 HOT 2
- detect python version failed HOT 2
- parse_qsl problems HOT 1
- How to configure the Python interpreter path? HOT 4
- UTF-8 characters in page sources no longer supported under Python 3 HOT 1
- Mod Python causing segmentation faults when compiled with Python3.9 HOT 2
- Segfaults when compiled against python 3.11 HOT 1
- Not able to compile mod_python with Python3.11
- Please do a new release for Python 3.11 compat HOT 9
- Python 3.12 failed because imp was removed. HOT 14
- Broken compatibility with Python 2.7
- unable to compile mod_python due to "apxs:Error: Command failed with rc=9240576" during make command HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mod_python.