List:General Discussion« Previous MessageNext Message »
From:Bret Jordan Date:January 27 2004 12:42am
Subject:Installation Direcotry Question
View as plain text  
Setup: MySQL 4.0.17 Source Install, Linux 2.4.20

I am trying to specify the locations of the lib, include, and share 
directories with the configure script.  When I use a --prefix (as is 
mentioned in the manual in section 2.1.8) I get the locations such as 
lib/mysql, include/mysql, share/mysql.  When I try to use the other 
options in the configure script namely "libdir=", "includedir=", and 
"datadir=" (as the below example shows) the locations do not change from 
lib/mysql, include/mysql, share/mysql. 

Is there a reason why the configure script does allow you to set the 
directories with out the "mysql" sub directory for lib, include, and share?

Bret

CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions 
-fno-rtti" \
  ./configure \
  --prefix=/usr/local/mysql-test \
  --libexecdir=/usr/local/mysql-test/sbin \
  --libdir=/usr/local/mysql-test/lib \
  --includedir=/usr/local/mysql-test/include \
  --datadir=/usr/local/mysql-test/share \
  --enable-assembler \
  --with-mysqld-ldflags=-all-static


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bret Jordan                       Dean's Office
Director of Networking   College of Engineering
801.585.3765                 University of Utah
            jordan@stripped
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Thread
Installation Direcotry QuestionBret Jordan27 Jan