Passing args to port / make while installing 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 has so far worked without a hitch. Mad loving should be given to ports as well, I'm loving them.
I am now trying to install Apache-2.2 using ports. Just as it was working on the dependencies it gave me this error:
===> apache-2.2.6_2 depends on executable: python - found ===> apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found ===> apache-2.2.6_2 depends on file: /usr/local/bin/autoconf-2.61 - found ===> apache-2.2.6_2 depends on file: /usr/local/bin/libtool - found ===> apache-2.2.6_2 depends on shared library: expat.6 - found ===> apache-2.2.6_2 depends on shared library: ldap-2.3.2 - not found ===> Verifying install for ldap-2.3.2 in /usr/ports/net/openldap23-client ===> Building for openldap-client-2.3.41 Making all in /usr/ports/net/openldap23-client/work/openldap-2.3.41 Entering subdirectory include Entering subdirectory libraries Making all in /usr/ports/net/openldap23-client/work/openldap-2.3.41/libraries Entering subdirectory liblutil Entering subdirectory liblber Entering subdirectory liblunicode Entering subdirectory libldap /bin/sh /usr/local/bin/libtool --mode=compile cc -O2 -fno-strict-aliasing -pipe -I../../include -I../../include -I/usr/loca$ cc -O2 -fno-strict-aliasing -pipe -I../../include -I../../include -I/usr/local/include -DLDAP_LIBRARY -c options.c -fPIC -DPI$ *** Error code 1 Stop in /usr/ports/net/openldap23-client/work/openldap-2.3.41/libraries/libldap. *** Error code 1 Stop in /usr/ports/net/openldap23-client/work/openldap-2.3.41/libraries. *** Error code 1 Stop in /usr/ports/net/openldap23-client/work/openldap-2.3.41. *** Error code 1 Stop in /usr/ports/net/openldap23-client. *** Error code 1 Stop in /usr/ports/www/apache22. *** Error code 1 Stop in /usr/ports/www/apache22. options.c:39: error: `LDAP_VENDOR_VERSION` undeclared here (not in a function) options.c: In function `ldap_get_option` optins.c:156: warning: assignment makes integer from pointer without a cast
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 (basically "cd .."-ed and found a openldap24-client port directory) 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)?
PS: (So far, I used rmconfig and rebuilt the config without the Openldap support, but in the future I would like to use it.)
Last edited by robot; 27th August 2008 at 04:08 AM.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Broken Apache 2.2 Port||casteld73||FreeBSD Ports and Packages||5||23rd January 2009 10:53 AM|
|Apache Port Question / MYSQL||casteld73||FreeBSD Ports and Packages||2||2nd November 2008 04:12 PM|
|problems installing mysql port||dejabu18||FreeBSD Ports and Packages||22||7th August 2008 09:23 AM|
|Unable to make install on Subversion port||Fuitad||FreeBSD Ports and Packages||2||28th July 2008 04:49 PM|
|passing make args/variables to builds of prerequisite ports||jbhappy||FreeBSD Ports and Packages||2||18th July 2008 02:35 PM|