Gentoo Archives: gentoo-user

From: Chuanwen Wu <wcw8410@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: lxr and Mysql problem
Date: Fri, 07 Dec 2007 08:27:55
Message-Id: 7797aa370712070021x5a23be66la5afa40170f29731@mail.gmail.com
In Reply to: [gentoo-user] lxr and Mysql problem by Chuanwen Wu
1 So, no one ever used lxr?
2 Or maybe you can recommend other tools that can be used to view the
3 souce(usually the kernel source) to me?
4
5 Thanks!
6 On Dec 4, 2007 9:12 PM, Chuanwen Wu <wcw8410@×××××.com> wrote:
7 > Hi, guys!
8 >
9 > I want to use lxr to view the kernel source and have installed it with
10 > the guide in the file INSTALL in the lxr package .
11 > But when I do genxref, the error occure.
12 >
13 > I show a example below, in which I use a EMPTY file called
14 > "helloworld.c" in the a directory called "helloworld". I try to
15 > genxref it and the output is:
16 >
17 > # ./genxref --url http://localhost/lxr/
18 >
19 > This is glimpseindex version 4.18.2, 2006.
20 >
21 > Indexing "/usr/src/mysrc/helloworld" ...
22 >
23 > Size of files being indexed = 72 B, Total #of files = 1
24 >
25 > Index-directory: "/var/www/localhost/htdocs/lxr/src/.glimpse/helloworld"
26 > Glimpse-files created here:
27 > -rw------- 1 root root 41 2007-12-04 21:03 .glimpse_filenames
28 > -rw------- 1 root root 4 2007-12-04 21:03 .glimpse_filenames_index
29 > -rw------- 1 root root 0 2007-12-04 21:03 .glimpse_filetimes
30 > -rw------- 1 root root 121 2007-12-04 21:03 .glimpse_index
31 > -rw------- 1 root root 116 2007-12-04 21:03 .glimpse_messages
32 > -rw------- 1 root root 22 2007-12-04 21:03 .glimpse_partitions
33 > -rw------- 1 root root 125 2007-12-04 21:03 .glimpse_statistics
34 > -rw------- 1 root root 262144 2007-12-04 21:03 .glimpse_turbo
35 > *** / helloworld
36 > *** /helloworld.c helloworld
37 > --- /helloworld.c helloworld 1196773242-72
38 > DBD::mysql::st execute failed: You have an error in your SQL syntax;
39 > check the manual that corresponds to your MySQL server version for the
40 > right syntax to use near 'release = 'helloworld'' at line 1 at
41 > /usr/lib64/perl5/vendor_perl/5.8.8/LXR/Index/Mysql.pm line 209.
42 > DBD::mysql::st execute failed: You have an error in your SQL syntax;
43 > check the manual that corresponds to your MySQL server version for the
44 > right syntax to use near 'release) values ('18841', 'helloworld')' at
45 > line 1 at /usr/lib64/perl5/vendor_perl/5.8.8/LXR/Index/Mysql.pm line
46 > 213.
47 > /helloworld.c was already indexed
48 > ### / helloworld
49 > ### /helloworld.c helloworld
50 > --- /helloworld.c helloworld 1196773242-72
51 > /helloworld.c was already referenced
52 >
53 > Then I opened firefox with the url http://localhost/lxr/source, but
54 > nothing in the browser. And when I used http://localhost/lxr/, I
55 > could see the file in the lxr directory in my browser.
56 >
57 > Other information:
58 > $mysql -V
59 > mysql Ver 14.12 Distrib 5.0.44, for pc-linux-gnu (x86_64) using readline 5.2
60 >
61 > And I use lxr-0.9.5 and dev-perl/DBD-mysql-4.00.5.
62 >
63 > Any help will be very appreciated!
64 >
65 >
66 >
67 > wcw
68 >
69
70
71
72 --
73 wcw
74 --
75 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: lxr and Mysql problem Randy Barlow <randy@×××××××××××××××××.com>