Passing args to port / make and apache
Hello, I'm a newbie to FreeBSD, just decided to try it out yesterday (Veteran linux user though) and I'm loving it. I'm using FreeBSD 7.0-RELEASE. It literally installed a base system in minutes (while Gentoo would take hours and sometimes even fail) and successfully built a kernel, all in one day.
I am now trying to install Apache-2.2 using ports. Just as it was working on the dependencies it gave me this error: Code:
===> apache-2.2.6_2 depends on executable: python - found Now, it looks like there is a problem with Openldap-2.3.41-client. I tried installing it separately and it gave me this problem as well. So I decided to go up a version and successfully installed Openldap-2.4.11-client separately. But Apache-2.2 will not for some reason see it and still continues to compile 2.3.41 client. Now my question is, is there a way to force Apache port to skip 2.3 and use the 2.4 version of Openldap client? I tried looking through the Makefile files, but I could not find anything on forcing a higher version. Is there a way to pass an argument to the make command or force Makefile of Apache-2.2 to use the version that is currently installed (or use a higher version instead of 2.3)? Thanks, rob0t PS: (So far, I used rmconfig and rebuilt the config without the Openldap support, but in the future I would like to use it.) |
How did you "go up a version" for openldap? Did you do so by updating your ports tree and then you installed it from ports? (If not, you'll want to do that as the appropriate fix. See my sig for a link to the handbook.)
Alternatively, if you don't require mod_ldap (at least I think that's why it is trying to install openldap) you could use: # cd /usr/ports/www/apache22 && make config Disable LDAP support from there. |
Quote:
I will give updating the ports a try. If that doesn't work, I'll just remove the mod_ldap support. Thanks, rob0t |
I see you've posted an identical thread on daemonforums here. Adding this URL reference as closure so that someone else reading the thread can make sense of it.
|
Ah yes. I was trying to get more input and to see if anybody else had something similar.
Basically, upgrading the port collection fixes the compile. |
All times are GMT -5. The time now is 04:03 AM. |