Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install cscope for Mac OS X 10.6

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.

like image 823
michael Avatar asked Dec 03 '25 02:12

michael


1 Answers

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/

like image 82
Madam Kiwi Avatar answered Dec 05 '25 19:12

Madam Kiwi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!