Can't find ~/.vim/bundle directory on Mac - macos

I am trying to install YouCompleteMe on Mac and following the procedure, I am not able to locate ~/.vim/bundle. I can locate .vim in my home folder but there is no directory bundle inside it.
I am following this link https://github.com/ycm-core/YouCompleteMe/blob/master/README.md#installation to install YouCompleteMe.

if it doesn't exists it is safe to create it

You first need to install vundle Plugin Manager that will create this folder for you.

Related

ROOT installation on MacOs

ROOT is required as a pre-requisite for some software that I am trying to install. I'm on a MacOs system and I have tried to install using brew install root. Do I need to do anything else? How can I check that root was successfully installed?
When I tried to install said software, apparently files in the root directory cannot be found, e.g. error
/usr/local/Cellar/root/6.22.06_1/etc/root/cling/lib/clang/5.0.0/include/assert.h:8:15: fatal error: 'assert.h' file not found
I have checked this manually and the file is there so I don't understand why it is not found. I also tried the following line in my .zshrc file
export PATH=$PATH:/usr/local/Cellar/root/6.22.06_1/etc/root/cling/lib/clang/5.0.0/include/assert.h
and
export PATH=$PATH:/usr/local/bin/thisroot.sh
Any ideas of what may be going wrong? Thanks in advance

Install OpenWhisk CLI on mac

I am unable to install OpenWhisk command line for some reason. I download the CLI and double click to run it. I see a terminal window saying
[Process Complete]
But then it says
-bash: wsk: command not found
The OpenWhisk command line is not an installer but rather the binary itself. Open your Terminal.app, navigate to the folder you downloaded the binary to (like cd ~/Downloads) and use the binary from there, for example ./wsk action list.
To be able to use the binary from everywhere, you'll have to make sure its in the PATH. To achieve that, either alter your PATH to include the folder where wsk is located or copy the binary to a folder already contained in your path like /usr/local/bin.
Download wsk cli from here.
Go to downloads folder and modify permissions for wsk file using terminal
$ chmod +x ./wsk
Move wsk to use/local/bin folder using terminal. This will add wsk to the PATH
$ sudo mv wsk /usr/local/bin
Test this using following command:
$ wsk --help
Try ./wsk,
if that works, you can update your path: PATH = $PATH:. then just use the wsk.
If you're using Homebrew, I added a tap so you can easily install the wsk binary from a MacOS terminal: https://github.com/shaftoe/homebrew-wsk
brew install shaftoe/wsk/wsk
You can download the binary from the below url and then use .wsk from the folder where you place this binary into.
https://openwhisk.ng.bluemix.net/cli/go/download/mac/

Cygwin not installing properly

I've downloaded Cygwin here( setup-x86_64.exe). I have chosen to install from local directory.
Root directory: C:\cygwin64 . Local package directory: C:\Users\hp\Downloads. And there's no packages to install. How do I fix this? mintty.exe does not exist on my bin folder.
When you choose “Install from Local Directory”, Cygwin will try to pull packages
from your cache. In my case, my cache is:
C:\ProgramData
My mirror is:
http://cygwin.mirror.constant.com/
and my packages can be found:
C:\ProgramData\http%3a%2f%2fcygwin.mirror.constant.com%2f\x86_64\release
C:\ProgramData\http%3a%2f%2fcygwin.mirror.constant.com%2f\noarch\release
Unless you have stuff there, you will be unable to install anything. Better
option is to choose “Install from Internet”. This will download
packages if needed.

Cannot install PEAR mail package XAMPP on Windows

From the cmd line:
C:\Users\Lemur>pear install --onlyreqdeps Mail
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
downloading Mail-1.3.0.tgz ...
Starting to download Mail-1.3.0.tgz (23,110 bytes)
........done: 23,110 bytes
ERROR: failed to mkdir C:\php\pear\tests\Mail\tests
I see a newly created Mail folder in xampp\php\pear\Mail, which is correct, but the folder has no contents.
Also, the Error shows that install is attempting to put something at C:\php\pear\tests\Mail\tests. There is no such directory C:\php\pear...
What is wrong? Include_path in php.ini is correct (C:\xampp\php\pear).
Thanks in advance.
Found the answer here: http://davehiren.blogspot.com/2011/04/how-to-install-or-uninstall-pear.html. I'm using XAMPP and didn't realize all the path variables that needed to be changed. Once I altered all the path variables, the Mail package installed just fine.
For working with PEAR using XAMPP in Windows, it's important to avoid the command line in Windows and instead use the XAMPP Shell. Simply open the XAMPP Control Panel and click on XAMPP Shell on the right:
In the XAMPP Shell, you can enter your PEAR package installation command as you normally would and the packages will get installed in their proper place within XAMPP's PHP directory:
pear install --onlyreqdeps Mail

Where is the directory for openERP on mac OS?

I am installing openERP following the manual in [1]: http://netbeam.in/blog/install-openerp-on-mac-osx/
I execute the next command:
tar tvfz openerp-7.0-latest.tar.gz
Before is supossed that I will execute:
sudo mv openerp_XXXXXX to home directory
cd openerp_XXXXXXX
But I don´t know where is the path of openERP is installed.
Can you help me to end installing openERP?
I am use Mac OS Yosemite.
Thank you so much.
openerp is still inside the directory you extracted in step 6 (tar tvfz ....), but that directory is still located in your Downloads directory which isn't a good place to stay.
So they instruct you to move the openerp directory to your home directory: sudo mv openerp_xxxxxx /Users/<your-username>/ should be the right command. After that, the next command should be cd /Users/<your-username>/openerp_xxxxxx to go to the moved directory.

Resources