sourcenav deb dir layout

Syd Polk spolk@redhat.com
Wed Oct 18 08:39:00 GMT 2000


"Mike A. Harris" wrote:
> 
> On Tue, 17 Oct 2000, Syd Polk wrote:
> 
> >>i don't know where to put sdk, since sdk is not specific to sourcenav?
> >>if it is specific to sourcenav, then it also goes under share/sourcenav
> >>it looks like read only arch-independent data.
> >>
> >>Cheers,
> >
> >Source-Navigator is designed to integrated with the other gnu tools that
> >Red Hat offers, and has a directory structure which maps that. We will keep
> >these changes in mind, however.
> 
> The funny thing though, is Source Navigator doesn't follow Red
> Hat conventions of file locations either.  ;o)  Red Hat 7.0 of
> course approaches FHS compliance, and both debian and Red Hat are
> becoming similar in this manner.
> 

I should have said "Cygnus conventions". The gnu tools group has very little to
do with Red Hat 7. This will change over time, obviously.

> The reason I'm pointing this out is because I am trying to
> package Source Navigator for Red Hat right now, and having
> similar difficulties.  ;o)  The default install of a source nav
> build scatters files in odd locations as I found out the hard
> way..  ;o)  I had it build for /usr/local, and after installing
> had numerous problems as an ordinary user on my system.  Root,
> everything worked fine, but as a user, I had different problems
> running scripts, etc..
> 
> It turns out, source nav installs grep/egrep/fgrep and a slew of
> other utils into /usr/local/bin when built for /usr/local, and
> /usr/local was in the path first, so the sourcenav utils got used
> instead of /bin/grep, etc..  The problem is that the SourceNav
> grep and friends do not support all grep commandline options.  It
> took me a few days to figure this out..  ;o)

This is why I have been resistant to RPMs at this time. We are currently in the
process of removing grep from our build tree.
 
> What is the reasoning behind bringing a copy of grep and other
> utils with sourcenav? Is it for systems not having it?  If so,
> can I safely exclude it from the Red Hat packages?

We added some "features" to grep. Without snavigator's grep, the grep window
will not work.
 
> To the fellow creating the deb packages, could you post your deb
> build files, (not the packages, just the deb equiv of .spec
> files) to me privately.  I'll share my .spec with you as well if
> you like.
> 
> Perhaps we could take some of the changes that will be necessary
> in the build sections of our efforts and incorporate them
> directly into the Sourcenav makefiles, etc. and send patches in?
> 
> Well, one thing at a time I suppose.  ;o)
> 
> Take care everyone!
> TTYL
>

I have repeatedly stated that we will put out RPM versions of Source-Navigator
after we finish the 5.0 release, which should be late this year or early next
year. I know it is a long time to wait, but hopefully, these issues will have
disappeared by then.


More information about the Sourcenav mailing list