Skip to content
Snippets Groups Projects
  • Rene Brun's avatar
    ac079c63
    From Mattias Ellert · ac079c63
    Rene Brun authored
    If I install the standard redhat/fedora mysql libraries in a user location:
    
    export MYSQL=/where/ever/you/have/write/permissions
    
    rpm --dbpath $MYSQL/rpmdb --initdb
    
    rpm --dbpath $MYSQL/rpmdb -ivh --noscripts --nodeps \
    --relocate /usr=$MYSQL --relocate /etc=$MYSQL/etc \
    mysql-5.0.18-2.1.i386.rpm mysql-devel-5.0.18-2.1.i386.rpm
    
    and then try to configure root to use these libraries with the MYSQL environment variable it does not work.
    
    The configure script looks for include files in $MYSQL nad $MYSQL/include, but not in $MYSQL/include/mysql. It look for libraries in $MYSQL and $MYSQL/lib, but not in $MYSQL/lib/mysql
    
    This patch fixes this problem.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@14983 27541ba8-7e3a-0410-8455-c3a389f83636
    ac079c63
    History
    From Mattias Ellert
    Rene Brun authored
    If I install the standard redhat/fedora mysql libraries in a user location:
    
    export MYSQL=/where/ever/you/have/write/permissions
    
    rpm --dbpath $MYSQL/rpmdb --initdb
    
    rpm --dbpath $MYSQL/rpmdb -ivh --noscripts --nodeps \
    --relocate /usr=$MYSQL --relocate /etc=$MYSQL/etc \
    mysql-5.0.18-2.1.i386.rpm mysql-devel-5.0.18-2.1.i386.rpm
    
    and then try to configure root to use these libraries with the MYSQL environment variable it does not work.
    
    The configure script looks for include files in $MYSQL nad $MYSQL/include, but not in $MYSQL/include/mysql. It look for libraries in $MYSQL and $MYSQL/lib, but not in $MYSQL/lib/mysql
    
    This patch fixes this problem.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@14983 27541ba8-7e3a-0410-8455-c3a389f83636