Coder Social home page Coder Social logo

Comments (5)

grisha avatar grisha commented on August 19, 2024

/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.

nephaste avatar nephaste commented on August 19, 2024

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.

grisha avatar grisha commented on August 19, 2024

Should be resolved by 976a674.

from mod_python.

cognusion avatar cognusion commented on August 19, 2024

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.

grisha avatar grisha commented on August 19, 2024

Yep, that's the idea.

from mod_python.

Related Issues (20)

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.