Hi, guys!

I want to use lxr to view the kernel source and have installed it with
the guide in the file INSTALL in the lxr package .
But when I do genxref, the error occure.

I show a example below, in which I use a EMPTY file called
"helloworld.c" in the a directory called "helloworld". I try to
genxref it and the output is:

# ./genxref --url http://localhost/lxr/

This is glimpseindex version 4.18.2, 2006.

Indexing "/usr/src/mysrc/helloworld" ...

Size of files being indexed = 72 B, Total #of files = 1

Index-directory: "/var/www/localhost/htdocs/lxr/src/.glimpse/helloworld"
Glimpse-files created here:
-rw------- 1 root root     41 2007-12-04 21:03 .glimpse_filenames
-rw------- 1 root root      4 2007-12-04 21:03 .glimpse_filenames_index
-rw------- 1 root root      0 2007-12-04 21:03 .glimpse_filetimes
-rw------- 1 root root    121 2007-12-04 21:03 .glimpse_index
-rw------- 1 root root    116 2007-12-04 21:03 .glimpse_messages
-rw------- 1 root root     22 2007-12-04 21:03 .glimpse_partitions
-rw------- 1 root root    125 2007-12-04 21:03 .glimpse_statistics
-rw------- 1 root root 262144 2007-12-04 21:03 .glimpse_turbo
*** / helloworld
*** /helloworld.c helloworld
--- /helloworld.c helloworld 1196773242-72
DBD::mysql::st execute failed: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near 'release = 'helloworld'' at line 1 at
/usr/lib64/perl5/vendor_perl/5.8.8/LXR/Index/Mysql.pm line 209.
DBD::mysql::st execute failed: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near 'release) values ('18841', 'helloworld')' at
line 1 at /usr/lib64/perl5/vendor_perl/5.8.8/LXR/Index/Mysql.pm line
213.
/helloworld.c was already indexed
### / helloworld
### /helloworld.c helloworld
--- /helloworld.c helloworld 1196773242-72
/helloworld.c was already referenced

Then I opened firefox with the url http://localhost/lxr/source, but
nothing in the browser.  And when I used http://localhost/lxr/, I
could see the file in the lxr directory in my browser.

Other information:
$mysql -V
mysql  Ver 14.12 Distrib 5.0.44, for pc-linux-gnu (x86_64) using readline 5.2

And I use lxr-0.9.5 and dev-perl/DBD-mysql-4.00.5.

Any help will be very appreciated!



wcw
-- 
[EMAIL PROTECTED] mailing list

Reply via email to