How can I install cscope for Mac OS X 10.6? I have installed XCode but I don't see cscope in /opt/local/bin.
Asked
Active
Viewed 9,360 times
3
-
1Worked for me code.google.com/p/rudix/downloads/detail?name=cscope-15.7a-3.pkg&can=2&q=label%3AOSX-SnowLeopard – Mar 18 '12 at 03:15
3 Answers
6
Download from http://sourceforge.net/ (latest: cscope-15.8a) and in src/constants.h
, change this line:
#if (BSD || V9 ) && !__NetBSD__ && !__FreeBSD__
To:
#if (BSD || V9 ) && !__NetBSD__ && !__FreeBSD__ && !__APPLE__
Then run:
configure
make
make install
You can find cscope in /usr/local/bin/

Madam Kiwi
- 106
- 1
- 4
-
1With the latest cscope-15.8b you don't need to edit that line any more. – bruceg Dec 31 '15 at 22:08
-
0
I installed cscope on Mac OS X 10.8 using MacPorts: http://www.macports.org/install.php
There is a cscope port that you can install using the instructions. After that, I added /opt/local/bin to the path.

petewil-G
- 99
- 4
0
FWIW, I just got the source, no mods to source, did the regular
./configure
make
sudo make install

netskink
- 4,033
- 2
- 34
- 46