thanks alexander. I was able to install kscope and run it now. I had to
install graphviz as well for the "Dot" tool.


However the cscope tool available through fink doesn't seem to work with
large sized project spaces. I am working on a project space that has
somewhere between 5-6 million lines of code. When i run cscope on this
project space i get the following error.


Find this C symbol:
Find this global definition:
Find functions called by this function:
Find functions calling this function:
Find this text string:
Change this text string:
Find this egrep pattern:
Find this file:
Find files #including this file:
Assertion failed: (invcntl->param.sizeblk == sizeof(t_logicalblk)), function
invopen, file invlib.c, line 563.
                              Abort trap
prashanth-venugopals-MacBook-Pro:pkt prash$ uname -a
Darwin prashanth-venugopals-MacBook-Pro.local 10.5.0 Darwin Kernel Version
10.5.0: Fri Nov  5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386


prashanth-venugopals-MacBook-Pro:pkt prash$ cscope --version
cscope: version 15.5


I tried a cscope binary on gentoo and that worked for the same project
space.

-prashanth

On Sun, Dec 19, 2010 at 1:10 PM, Alexander Hansen <
[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/19/10 3:30 PM, Alexander Hansen wrote:
> > On 12/18/10 9:18 PM, prashanth venugopal wrote:
> >> Thats the error i get too. I checked out a few things,
> >
> >> prashanth-venugopals-MacBook-Pro:sw prash$ pkgutil --pkgs | grep X11SDK
> >> com.apple.pkg.X11SDKLeo
> >
> >> prashanth-venugopals-MacBook-Pro:sw prash$ fink list | grep xmkmf
> >>  i xmkmf1.0.2-1002X11 legacy build tools
> >
> >> So looks like i have the lib installed and the xmkmf so that fink could
> >> find the library.
> >
> >> However, i do see that xmkmf was dropped from 10.6 and i have 10.6.5. So
> >> i am not sure if i have xmkmf setup correctly.
> >
> > You don't need to do anything.  We have an xmkmf package in Fink for
> > packages that absolutely need it.  kscope carries a build dependency on
> > that, but it may not even be needed.
> >
> >
> >> I am spanking new to the mac, so i am trying to figure out where the
> >> libraries for the X11SDK are installed. I wanted to try manually
> >> configuring installing kscope package (outside of fink) by giving the
> >> x-libraries and the x-includes info for the configure script (below is
> >> the snippet from the INSTALL help file for the kscope package".
> >
> >> Can i make fink run the configure file with command line options ?
> >
> > No.
> >
> >> Where can i find the libraries for X11SDK if its already installed on
> >> the system ?
> >
> >
> > /usr/X11/lib.  The libraries aren't in the X11SDK package, though, since
> > they're needed at runtime.
> >
> >
> >> "For packages that use the X Window System, `configure' can usually
> >> find the X include and library files automatically, but if it doesn't,
> >> you can use the `configure' options `--x-includes=DIR' and
> >> `--x-libraries=DIR' to specify their locations."
> >
> >
> > This package relies on an indirect mechanism to find dependent
> > libraries, and because of changes in Fink this requires explicitly
> > specifying these libraries in LDFLAGS, as well as explicitly specifying
> > the location for X11's libraries.
> >
> > It will take us a bit of debugging to modify this appropriately.
>
> I've committed a fixed version, and it should be available via "fink
> selfupdate" shortly.  Hopefully the maintainer doesn't mind.
>
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk0OdNwACgkQB8UpO3rKjQ9EagCginryxQ5aHvIt1J8OBxCCSsG7
> yzMAn1moenc0JEXeaZOBuyiPMTYOmsBN
> =bWWw
> -----END PGP SIGNATURE-----
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to