Has anyone ever tried putting the ACE source code under
LXR? LXR is a web based source code browser: http://lxr.linux.no.
It has primarily been used to index the Linux kernel source code,
but has also been used to index the Mozilla source code:
http://lxr.mozilla.org
--
Craig Rodrigues
http://www.gis.net/~craigr
rod...@mediaone.net
Craig Rodrigues <rod...@mediaone.net> writes:
> Has anyone ever tried putting the ACE source code under
> LXR?
AFAIK, nope, nobody has tried. I would *love* to see
something like that done. Volunteers?
--
Carlos O'Ryan (cor...@uci.edu)
#include <std.disclaimer>
#include <cute.quote> // "Speak softly and carry a megawatt laser"
1024D/46936992 33B3 C4ED AA90 FA0F E8D1 D509 FE5E 8F79 4693 6992
I suggested ACE and TAO to the folks at http://www.codecatalog.com last week.
Tres.
--
---------------------------------------------------------------
Tres Seaver tse...@palladion.com 713-523-6582
Palladion Software http://www.palladion.com
On Thu, Feb 24, 2000 at 03:00:42PM -0800, Carlos O'Ryan wrote:
> > Has anyone ever tried putting the ACE source code under
> > LXR?
>
> AFAIK, nope, nobody has tried. I would *love* to see
> something like that done. Volunteers?
Well, I don't have a machine on the public Internet which
I can set this up on. I tried it on a local machine, and it
seemed to work. I have attached the steps I used to get it
to work.
If someone wants to set this up on a publically accessible
server, that would be very nice.
--
Craig Rodrigues
http://www.gis.net/~craigr
rod...@mediaone.net
--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain
Content-Disposition: attachment; filename="lxr.steps.txt"
PREREQUISITES: - perl
- ACE source code
OPTIONAL: glimpse
(1) Go to http://lxr.linux.no/ and click on the "can be downloaded"
to download the lxr source.
(2) Extract the .tar.gz file
(3) Modify the Makefile. Set PERLBIN to the location
of your perl binary. Set INSTALLPREFIX to the
directory which you want to install lxr into.
** NOTE: do not make the INSTALLPREFIX a directory
under the directory hierarchy in which you
normally store HTML files on your webserver,
ie. do not make INSTALLPREFIX a directory under
DocumentRoot
(4) Run make install
(5) Go to INSTALLPREFIX/http. Edit lxr.conf
- modify the settings for dbdir, incprefix, glimpsebin, to reflect
your setup.
- make sure sourceroot points to the root directory of the
ACE source code
- make sure baseurl points to http://hostname/lxr/http/source
- make sure that htmlhead, htmltail, and htmldir point
to the correct full paths for the appropriate template files
(6) cd to the directory specified by basedir.
Run INSTALLPREFIX/bin/genxref foo .
where foo is the directory specified by sourceroot in
lxr.conf
(7) If you are using Apache, add the following lines to srm.conf:
Alias /lxr INSTALLPREFIX
<Directory INSTALLPREFIX>
AllowOverride All
Options ExecCGI
</Directory>
(substitute INSTALLPREFIX with the directory name)
(8) If you are using Apache, create a file INSTALLPREFIX/http/.htaccess
with the following lines:
<Files ~ (search|source|ident|diff)$>
SetHandler cgi-script
</Files>
(9) Customize template-head, template-tail, and template-dir. ie.
remove the URL's specific to Linux, etc.
(10) To access LXR, hit the URL: http://hostname/lxr/http/source with
your web browser. This will kick things off.
--X1bOJ3K7DJ5YkBrT--