On Jan 11, 2007, at 17:12, Ryan Schmidt wrote:
On Jan 11, 2007, at 16:34, Daniel J. Luke wrote:
On Jan 11, 2007, at 5:25 PM, Kevin Ballard wrote:
Is this really true? I haven't tested, but I was under the impression that when installing something with a variant, any dependencies that are installed at this time also have the same variant applied to them. Meaning, if you don't have apr-util installed, and you install subversion +no_bdb, apr-util should also have +no_bdb applied when it gets automatically installed.
That's the way it's supposed to work (and the reason why the variants are named the same).
Oh really! This is the first time I've heard that.
I haven't tried it recently to know if it's broken or not.
Ryan may have had apr-util already installed when he needed to rebuild it to get it without bdb.
I don't recall. I'll try it again right now.
[some time later]
Ok, it does build apr-util with +no_bdb also, but it still sees the db44 dependency and downloads db44 and builds it. Which is what I wanted to avoid.
And now the log of that: $ sudo port uninstall -f apr Password: ---> Unable to uninstall apr 1.2.8_0, the following ports depend on it: ---> apache2 ---> apache2 ---> subversion ---> apr-util Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating apr 1.2.8_0 ---> Uninstalling apr 1.2.8_0 $ sudo port uninstall -f apr-util ---> Unable to uninstall apr-util 1.2.8_1+no_bdb, the following ports depend on it: ---> apache2 ---> apache2 ---> subversion Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating apr-util 1.2.8_1+no_bdb ---> Uninstalling apr-util 1.2.8_1+no_bdb $ sudo port uninstall -f subversion ---> Deactivating subversion 1.4.2_0+mod_dav_svn+no_bdb+tools ---> Uninstalling subversion 1.4.2_0+mod_dav_svn+no_bdb+tools $ sudo port install subversion +mod_dav_svn +no_bdb +tools ---> Fetching apr ---> Verifying checksum(s) for apr ---> Extracting apr ---> Configuring apr ---> Building apr with target all ---> Staging apr into destroot ---> Installing apr 1.2.8_0 ---> Activating apr 1.2.8_0 ---> Cleaning apr ---> Fetching db44 ---> Attempting to fetch db-4.4.20.tar.gz from http:// downloads.sleepycat.com/ ---> Verifying checksum(s) for db44 ---> Extracting db44 ---> Configuring db44 ---> Building db44 with target all ---> Staging db44 into destroot ---> Installing db44 4.4.20_0+darwin_8 ---> Activating db44 4.4.20_0+darwin_8 ---> Cleaning db44 ---> Fetching apr-util ---> Verifying checksum(s) for apr-util ---> Extracting apr-util ---> Configuring apr-util ---> Building apr-util with target all ---> Staging apr-util into destroot ---> Installing apr-util 1.2.8_1+no_bdb ---> Activating apr-util 1.2.8_1+no_bdb ---> Cleaning apr-util ---> Fetching subversion ---> Verifying checksum(s) for subversion ---> Extracting subversion ---> Applying patches to subversion ---> Configuring subversion ---> Building subversion with target all ---> Staging subversion into destroot ---> Installing subversion 1.4.2_0+mod_dav_svn+no_bdb+tools ---> Activating subversion 1.4.2_0+mod_dav_svn+no_bdb+tools ---> Cleaning subversion Everything is fine except for all that db44 stuff.