Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
142 user(s) are online (107 user(s) are browsing Forums)

Members: 0
Guests: 142

more...

Headlines

 
  Register To Post  

Python, Apache, and the public SDK
Home away from home
Home away from home


See User information
I've been using Trac and subversion for personal projects for a while now, and I was wondering how hard it would be to install on OS4. It requires, Apache, Python, python bindings for SVN as well as ClearSilver and SilverCity (optional).

This got me to wondering about Python on OS4. Python is included in OS4, but what is required in order to compile Python bindings? Is that included in the public SDK. Does Apache have python support?

It wouldn't make a difference in my case, because I want the SVN repositories to be on a separate machine, but I'm curious as to how difficult it would be to have Trac & SVN running on OS4. The SVN server works; it's Trac that's missing.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Python, Apache, and the public SDK
Quite a regular
Quite a regular


See User information
@Hans

I don't think the SDK has been updated since the Python port was included in AmigaOS 4.0, so I suppose that there isn't any support for that yet. I would think, though, that you don't actually need much in terms of support files. You will need to be able to link against a shared object file, though. I think the public compilers in the SDK can't do that, but those from the adtools projects should be able to.

I'll try to find out what you need for compiling and linking against libpython.so. Remind me by email if I forget

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: Python, Apache, and the public SDK
Quite a regular
Quite a regular


See User information
@Hans

I guess with "Apache" you mean my port of apache for OS4?
As this port has working CGI support, it is also able to execute python scripts.
Please be sure, that there is the path of the python interpreter in the first line of the script:

#! /C/python

Edgar

Go to top
Re: Python, Apache, and the public SDK
Home away from home
Home away from home


See User information
@cygnusEd

Yes, I'm talking about your port. I didn't actually realize that you were the author of that port.

Good to hear that it works via CGI. Of course, it would be faster if we also had mod_python support.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Python, Apache, and the public SDK
Just can't stay away
Just can't stay away


See User information
@Hans

pygame the sdl binding would be dope to have!
so if you manage to compile some binding, please write a small guide.

Go to top
Re: Python, Apache, and the public SDK
Home away from home
Home away from home


See User information
@spotUP

Quote:

spotUP wrote:
@Hans

pygame the sdl binding would be dope to have!
so if you manage to compile some binding, please write a small guide.


Not a bad idea. I had a quick search on the internet and found it hard to get information about writing Python bindings in general.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project