Public bug reported:

After installing lxr-cvs, I found that the package had not made a Mysql
database for itself.  I seem to recall being prompted for that but it
did not make a database.  When I loaded the initdb-mysql it spewed a
syntax error in the lxr_releases table definition.  The word "release"
is a keyword, and does not work as a column name even when quoted.  I've
edited initdb-mysql and my copy of Mysql.pm to change "release" to
"xrelease" everywhere it is referred to (in the SQL strings near the
top).  It was only after making these changes and loading the modified
initdb-mysql that I was able to successfully run the genindex program.

The http://localhost/lxr URL does not work in the default installation.
Please include an Apache configuration snippet in /etc/apache2/sites-
available/lxr-cvs.  It works well for me with:

    Alias /lxr/lxr.css /etc/lxr-cvs/lxr.css
    ScriptAlias /lxr /usr/lib/cgi-bin/lxr
    <Directory /usr/lib/cgi-bin/lxr>
        AllowOverride All
        DirectoryIndex source
    </Directory>

The initial alias for the lxr.css prevents Apache from trying to execute
it as a script.

** Affects: lxr-cvs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Mysql syntax, auto create db, Apache configuration
https://bugs.launchpad.net/bugs/135707
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to