How can I use FreeBSD ports with DA?

df-sean

Verified User
Joined
Feb 8, 2007
Messages
51
I'm having some trouble figuring out the best way to go about installing mod_python and python_mysql on my FreeBSD/DA box.

The trouble is that DA seems to totally ignore the FreeBSD ports system and installs its own packages for Apache and MySQL among many others. So if I use ports to try to install mod_python, the ports system wants to try and install a whole 'nother Apache web server (because it doesn't know about the one DA installed). Same problem with py25_mysql... ports system wants to start with a new installation of MySQL because it doesn't realize that DA has already installed one.

So my question is:
Is there any way for me to *tell* the ports system about packages that have been installed by DA?

How do other FreeBSD/DA users handle this issue?

Thanks, Sean
 

Rich-Boy

Verified User
Joined
Jan 24, 2006
Messages
223
There are two ways you can go about this. The first is to mostly ignore that you have a ports system when it comes to installing packages that rely on you having Apache, MySQL or PHP installed. There is almost always a -normal- way of installing software that you'd normally use ports for for e.g. simply downloading an archive, unpacking it and going from there. In your case look here for mod_python instalation http://www.modpython.org/live/mod_python-3.3.1/doc-html/installation.html it shows you how to build it from scratch.

The second way of dealing with this is to incorporate the ports system with DA, this involves telling DA different locations for bin files and config files etc. for every peice of software that it manages (thus making this option the one that will take the longest in the short term). It is possible though, and has been done, you can find out more here;
http://www.directadmin.com/forum/showthread.php?t=20144

I hope this has helped :)
 
Top