On 05/27/10 17:29, Robbie Base wrote:
> Where am I going wrong?
>
> Operating system I am using is Oracle enterprise Linux 5 Update 5.
> Bacula version is 5.02
>
> Mysql is installed and running. This is the version installed with the
> OS; I have logged in and created a test DB.
>
> rpm -qa | grep mysql
> libdbi-dbd-mysql-0.8.1a-1.2.2
> mysql-5.0.77-4.el5_4.2
> php-mysql-5.1.6-27.el5
> mysql-bench-5.0.77-4.el5_4.2
> mysql-devel-5.0.77-4.el5_4.2
> mysql-devel-5.0.77-4.el5_4.2
> mysql-connector-odbc-3.51.26r1127-1.el5
> mysql-5.0.77-4.el5_4.2
> mysql-server-5.0.77-4.el5_4.2
>
> Message after the configure fails.
>
> You have not specified either --enable-client-only or one of the
> supported databases: MySQL, PostgreSQL, Ingres, SQLite3 or DBI.
> This is not permitted. Please reconfigure.
> Aborting the configuration ...
>
> ./myconfigure.sh: line 8: --sbindir=/d02/bacula/sbin: No such file or
> directory
> ./myconfigure.sh: line 9: --sysconfdir=/d02/bacula/etc: No such file or
> directory
>
> Looking at my configuration file
>
>
>
> --with-openssl \
> --with-python= \
> --enable-cono= \
> --with-working-dir=/d02/bacula/working \
> --with-baseport=9101 \
> --with-pid-dir=/var/run/bacula \
> --with-subsys-dir=/var/run/bacula/subsys \
> --with-dir-password=bacula23 \
> --with-fd-password=bacula23 \
> --with-sd-password=bacula23 \
> --with-dir-user=bacula \
> --with-dir-group=bacula \
> --with-sd-user=bacula \
> --with-sd-group=bacula \
> --with-fd-user=bacula \
> --with-fd-group=bacula \
> --with-mon-dir-password=bacula23 \
> --with-mon-fd-password=bacula23 \
> --with-mon-sd-password=bacula23 \
> --with-db-name=bacula \
> --with-db-user=bacula \
>
> exit 0
It told you exactly what the problem is. You're building a full install
of all components, but you didn't tell it which database to build against.
You're clearly using MySQL; try adding --with-mysql to your
configuration. (You may need to specify the path where MySQL is installed.)
--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric AT caerllewys DOT net alaric AT metrocast DOT net phil AT
co.ordinate DOT org
Renaissance Man, Unix ronin, Perl hacker, Free Stater
It's not the years, it's the mileage.
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|