Discussion:
[Bacula-users] Bacual 2.0. 3Compile issue
Thor Vik
2007-04-20 12:40:51 UTC
Permalink
When compiling Bacula 2.0.3 I get no bacula files in the binaries in the
/usr/sbin catalog. My configure settings is shown below: Can anyone see
whats wrong with these settings?

./configure --prefix=/usr --sbindir=/usr/sbin
--sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts
--enable-smartalloc --with-mysql --with-working-dir=/var/bacula
--with-pid-dir=/var/run --with-subsys-dir=/var/lock/subsys
--with-openssl


Here is the output for configure:

Host: i686-pc-linux-gnu -- debian lenny/sid
Bacula version: 2.0.3 (06 March 2007)
Source code location: .
Install binaries: /usr/sbin
Install config files: /etc/bacula
Scripts directory: /etc/bacula/scripts
Working directory: /var/bacula
PID directory: /var/run
Subsys directory: /var/lock/subsys
Man directory: ${datarootdir}/man
Data directory: ${prefix}/share
C Compiler: gcc 4.1.2
C++ Compiler: /usr/bin/g++ 4.1.2
Compiler flags: -g -O2 -Wall -fno-strict-aliasing
-fno-exceptions -fno-rtti
Linker flags: -O
Libraries: -lpthread
Statically Linked Tools: no
Statically Linked FD: no
Statically Linked SD: no
Statically Linked DIR: no
Statically Linked CONS: no
Database type: MySQL
Database lib: -L/usr/local/mysql/lib/mysql
-lmysqlclient -lz

Job Output Email: ***@localhost
Traceback Email: ***@localhost
SMTP Host Address: localhost

Director Port: 9101
File daemon Port: 9102
Storage daemon Port: 9103

Director User:
Director Group:
Storage Daemon User:
Storage DaemonGroup:
File Daemon User:
File Daemon Group:

SQL binaries Directory /usr/local/mysql/bin

Large file support: yes
Bacula conio support: yes -ltermcap
readline support: no
TCP Wrappers support: no
TLS support: no
Encryption support: no
ZLIB support: yes
enable-smartalloc: yes
enable-gnome: no
enable-wx-console: no
enable-tray-monitor:
client-only: no
build-dird: yes
build-stored: yes
ACL support: no
Python support: no


Regards
Arno Lehmann
2007-04-20 14:06:52 UTC
Permalink
Hi,
Post by Thor Vik
When compiling Bacula 2.0.3 I get no bacula files in the binaries in the
/usr/sbin catalog.
Do you do 'make && make install'?

Doing a make install alone will not work.

Apart from that, posting the error messages you get or the output from
make might be quite helpful...

Arno
Post by Thor Vik
My configure settings is shown below: Can anyone see
whats wrong with these settings?
./configure --prefix=/usr --sbindir=/usr/sbin
--sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts
--enable-smartalloc --with-mysql --with-working-dir=/var/bacula
--with-pid-dir=/var/run --with-subsys-dir=/var/lock/subsys
--with-openssl
Host: i686-pc-linux-gnu -- debian lenny/sid
Bacula version: 2.0.3 (06 March 2007)
Source code location: .
Install binaries: /usr/sbin
Install config files: /etc/bacula
Scripts directory: /etc/bacula/scripts
Working directory: /var/bacula
PID directory: /var/run
Subsys directory: /var/lock/subsys
Man directory: ${datarootdir}/man
Data directory: ${prefix}/share
C Compiler: gcc 4.1.2
C++ Compiler: /usr/bin/g++ 4.1.2
Compiler flags: -g -O2 -Wall -fno-strict-aliasing
-fno-exceptions -fno-rtti
Linker flags: -O
Libraries: -lpthread
Statically Linked Tools: no
Statically Linked FD: no
Statically Linked SD: no
Statically Linked DIR: no
Statically Linked CONS: no
Database type: MySQL
Database lib: -L/usr/local/mysql/lib/mysql
-lmysqlclient -lz
SMTP Host Address: localhost
Director Port: 9101
File daemon Port: 9102
Storage daemon Port: 9103
SQL binaries Directory /usr/local/mysql/bin
Large file support: yes
Bacula conio support: yes -ltermcap
readline support: no
TCP Wrappers support: no
TLS support: no
Encryption support: no
ZLIB support: yes
enable-smartalloc: yes
enable-gnome: no
enable-wx-console: no
client-only: no
build-dird: yes
build-stored: yes
ACL support: no
Python support: no
Regards
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann ***@its-lehmann.de
Arno Lehmann http://www.its-lehmann.de
Thor Vik
2007-04-20 14:28:39 UTC
Permalink
I don't get any error messages, as far as I can see. Of course the text
rolls over the screen while doing the make, but it appear to end
succsessfully. I have checked the log file and I can't see anytging
wrong. I have also updated the compilers and it is the same settings I
have used on other installations of Bacula. However the Linux server is
a clean and new installation of Knoppix 5.1.

And yes, I do the make install after the make command.

Regards
Post by Arno Lehmann
Hi,
Post by Thor Vik
When compiling Bacula 2.0.3 I get no bacula files in the binaries in the
/usr/sbin catalog.
Do you do 'make && make install'?
Doing a make install alone will not work.
Apart from that, posting the error messages you get or the output from
make might be quite helpful...
Arno
Arno Lehmann
2007-04-20 20:39:30 UTC
Permalink
Hi,
Post by Thor Vik
I don't get any error messages, as far as I can see. Of course the text
rolls over the screen while doing the make, but it appear to end
succsessfully. I have checked the log file and I can't see anytging
wrong. I have also updated the compilers and it is the same settings I
have used on other installations of Bacula. However the Linux server is
a clean and new installation of Knoppix 5.1.
Hmm... Knoppix booted from DVD, or Knoppix installed to hard disk?
Post by Thor Vik
And yes, I do the make install after the make command.
Good.

Are the binaries created? You should find the FD in src/filed/bacula-sd,
for example.

If the binaries exist, post the output of 'make install', if possible
only the sections where it really does something... typically, there
should be messages saying if files were installed or if an error occured.

(If you only need to install Bacula to one system, you can, of course,
copy the relevant files manually...)

Arno
Post by Thor Vik
Regards
Post by Arno Lehmann
Hi,
Post by Thor Vik
When compiling Bacula 2.0.3 I get no bacula files in the binaries in the
/usr/sbin catalog.
Do you do 'make && make install'?
Doing a make install alone will not work.
Apart from that, posting the error messages you get or the output from
make might be quite helpful...
Arno
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann ***@its-lehmann.de
Arno Lehmann http://www.its-lehmann.de
Thor Vik
2007-04-20 21:40:50 UTC
Permalink
Post by Arno Lehmann
Hi,
Hmm... Knoppix booted from DVD, or Knoppix installed to hard disk?
My Knoppix is a HD install. Debian type.
Post by Arno Lehmann
Good.
Are the binaries created? You should find the FD in src/filed/bacula-sd,
for example.
If the binaries exist, post the output of 'make install', if possible
only the sections where it really does something... typically, there
should be messages saying if files were installed or if an error occured.
(If you only need to install Bacula to one system, you can, of course,
copy the relevant files manually...)
Arno
There are some files in the src/filed/ among others bacula-fd, but not bacula-dir or bacula-sd. Nor any of the other files that should be there acording the to documentation @ bacula.org. Should this files be created by make I se that the bacula-fd file in this dir. is created or modified the 13.02.07, a time the system didn't existed. I have compiled a number of times, but each time when not succeeded I have done a "make distuninstall" and a "make distclean". I also have deleted the directory and untared it again to make sure it was no interference from a previous install. I have done this process several times on other machines the last month, but this one just won't come through. I thought perhaps I had seen me blind on something which other would see rather quikly. But however, it is a new installation of Knopix ver. 5.1 maybe it something here.

Thor
Arno Lehmann
2007-04-20 21:59:32 UTC
Permalink
Hi,
Post by Thor Vik
Post by Arno Lehmann
Hi,
Hmm... Knoppix booted from DVD, or Knoppix installed to hard disk?
My Knoppix is a HD install. Debian type.
Post by Arno Lehmann
Good.
Are the binaries created? You should find the FD in
src/filed/bacula-sd, for example.
If the binaries exist, post the output of 'make install', if
possible only the sections where it really does something...
typically, there should be messages saying if files were installed
or if an error occured.
(If you only need to install Bacula to one system, you can, of
course, copy the relevant files manually...)
Arno
There are some files in the src/filed/ among others bacula-fd, but
not bacula-dir or bacula-sd.
In src/filed the FD is built, in src/stored the SD and the accompanying
tools, and so on. In other words, what you found is correct.
Post by Thor Vik
Nor any of the other files that should
files be created by make I se that the bacula-fd file in this dir. is
created or modified the 13.02.07, a time the system didn't existed. I
have compiled a number of times, but each time when not succeeded I
have done a "make distuninstall" and a "make distclean". I also have
deleted the directory and untared it again to make sure it was no
interference from a previous install.
In other words, starting with unpacking the tar file, you end up with an
old FD? This seems to indicate that your system clock is off, or there
is an FD shipped in the tar file (which I did not verify...).

In any case, if you want further help you really should post the output
from 'make install'.

Arno
Post by Thor Vik
I have done this process
several times on other machines the last month, but this one just
won't come through. I thought perhaps I had seen me blind on
something which other would see rather quikly. But however, it is a
new installation of Knopix ver. 5.1 maybe it something here.
Thor
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C
- the FREE version of DB2 express and take control of your XML. No
limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________ Bacula-users mailing
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann ***@its-lehmann.de
Arno Lehmann http://www.its-lehmann.de
Loading...