Installing recoll on mac os x

james collins james.collins75 at gmail.com
Sat Jul 30 15:11:07 PDT 2011



Sent from my iPhone

On Jul 30, 2011, at 5:07 PM, Ryan Schmidt <ryandesign at macports.org> wrote:

> Please keep this discussion on the mailing list by using the Reply All function instead of Reply. Further replies below.
> 
> 
> On Jul 30, 2011, at 15:20, james collins wrote:
> 
>> On Jul 29, 2011, at 8:06 PM, Ryan Schmidt wrote:
>> 
>>> On Jul 29, 2011, at 14:51, james collins wrote:
>>> 
>>>> I am trying to install recoll on a MacBook pro laptop running snow leopard.
>>>> 
>>>> I installed macports, but have been having issues installing recoll.
>>>> 
>>>> I have been getting warnings something about macports being in two different spots on my computer?
>>>> 
>>>> I have macports in /usr/local/etc/macports
>>>> 
>>>> also in
>>>> 
>>>> ~/mylocaldirectory/macports
>>>> 
>>>> And I wondered about the configuration file, I was following the mac installation on the web. I could use some help on setting the parameters.
>>>> 
>>>> Anyway any help would be appreciated.
>>> 
>>> The locations you've chosen for MacPorts are perhaps unusual and nonstandard, but it shouldn't be a problem. What errors are you seeing when trying to install recoll?
>> 
>> Just got an error:
>> 
>> Error:Dependancy 'xapian-core' not found.
> 
> That's strange. xapian-core has been in MacPorts for over two years. Normally I'd suggest running selfupdate to ensure your ports and MacPorts are up to date, but before you do that, read more below.
> 
> 
> 
> On Jul 30, 2011, at 15:39, james collins wrote:
> 
>> I am a little confused the installer installed macports for me? Like I could force the installer to install macports into my home directory?
>> 
>> Also I have been getting warnings I believe that macports is in two different locations? I copied macports into my home directory?
>> 
>> I don't know what is wrong? The first time I tried it my computer was downloading a lot of software, but my terminal window got stuck?
>> 
>> And I can't seem to get back to that point?
> 
> Ok, now things are starting to sound strange.
> 
> The MacPorts installer disk image installs MacPorts into /opt/local. When using the installer, there is no option to install MacPorts to any other location.
> 
> You cannot copy MacPorts from /opt/local to another location on your hard drive. (Well, you can, of course, but MacPorts will not work properly that way.)
> 
> You can install as many separate MacPorts prefixes as you want on your machine, in different locations, but for each one, you will need to build MacPorts from source (i.e. you won't use the installer disk image). For each one, you'll need to tell MacPorts what directory you want it to live in. I'll give an example in a moment.
> 
> I recommend we begin by removing everything about MacPorts from your system, then starting fresh so we know it's been installed correctly. Uninstall instructions are here:
> 
> http://guide.macports.org/chunked/installing.macports.uninstalling.html
> 
> Of course those instructions assume you have MacPorts installed in /opt/local, and you said above you were using /usr/local/etc/macports and ~/mylocaldirectory/macports, so you'll have to adjust those instructions and follow them twice for your two locations. And I'd follow them a third time exactly as written for /opt/local, since I'm not sure at this point exactly where MacPorts things are on your disk.
> 
> Now that everything is gone, install MacPorts from source to whatever location you like.
> 
> http://guide.macports.org/chunked/installing.macports.html#installing.macports.source
> 
> Perhaps I should ask before we get into it why you want more than one MacPorts installation. Most people will do fine with just a single MacPorts installation in the usual location. But if you really want more than one, let's continue.

I don't want more than one version of macports. But according to the configuration file from the recoll website it says to edit the sources.conf file to point to my home directory?

So I have been copying macports to my home directory?
> 
> First download the MacPorts 2.0.0 source code, then configure it, then make and install. Here is an example which would install MacPorts into the same locations as the disk image would:
> 
> 
> PREFIX=/opt/local
> 
> ./configure \
> --prefix=$PREFIX \
> --with-tclpackage=$PREFIX/share/macports/Tcl \
> --with-applications-dir=/Applications/MacPorts \
> --with-frameworks-dir=/Library/Frameworks \
> --enable-readline
> 
> make
> 
> sudo make install
> 
> 
> If you want MacPorts somewhere other than /opt/local, change /opt/local in the above configure command. You also don't want the applications directory and frameworks directory to overlap with other MacPorts installations so make sure they're unique too. I tend to use $PREFIX/Applications and $PREFIX/Library/Frameworks in all my MacPorts installations.
> 
> If you want a second (or third...) copy of MacPorts just repeat the above steps.
> 
> 
> 
> 
> 
> 
> 


More information about the macports-users mailing list