just add --enable-largefile to your ./configure

Chris Cameron wrote:
> First off, this is in OpenBSD 4.1.
> 
> I'm compiling Bacula 2.2.5 and I'm not able to get large file support 
> enabled.
> 
> Does anyone know what I need to do? I know OpenBSD supports large files, 
> and Bacula works fine with files under 2 gigs.
> 
> Below is some output:
> 
> 
> Compiling with:
> ./configure --prefix=/home/bacula --with-openssl --with-mysql
> 
> While compiling:
> checking for CFLAGS value to request large file support... no
> checking for LDFLAGS value to request large file support... no
> checking for LIBS value to request large file support... no
> checking for _FILE_OFFSET_BITS... 64
> checking for _LARGEFILE_SOURCE... 1
> checking for _LARGE_FILES... 1
> 
> 
> Configuration on Fri Nov  2 08:49:03 MDT 2007:
> 
>    Host:                       i386-unknown-openbsd4.1 -- openbsd 4.1
>    Bacula version:             2.2.5 (09 October 2007)
>    Source code location:       .
>    Install binaries:           /home/bacula/sbin
>    Install config files:       /home/bacula/etc
>    Scripts directory:          /home/bacula/etc
>    Archive directory:          /tmp
>    Working directory:          /home/bacula/var/bacula/working
>    PID directory:              /var/run
>    Subsys directory:           /var/run/subsys
>    Man directory:              /usr/share/man
>    Data directory:             /home/bacula/share
>    C Compiler:                 gcc 3.3.5
>    C++ Compiler:               /usr/bin/g++ 3.3.5
>    Compiler flags:              -g -O2 -Wall -fno-strict-aliasing 
> -fno-exceptions -fno-rtti -pthread
>    Linker flags:                -O
>    Libraries:                  -pthread
>    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/lib/mysql -lmysqlclient_r -lz
>    Database name:              bacula
>    Database user:              bacula
> 
>    Job Output Email:           [EMAIL PROTECTED]
>    Traceback Email:            [EMAIL PROTECTED]
>    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/bin
> 
>    Large file support:         no
>    Bacula conio support:       yes -ltermcap
>    readline support:           no
>    TCP Wrappers support:       no
>    TLS support:                yes
>    Encryption support:         yes
>    ZLIB support:               yes
>    enable-smartalloc:          yes
>    bat support:                no
>    enable-gnome:               no
>    enable-bwx-console:         no
>    enable-tray-monitor:
>    client-only:                no
>    build-dird:                 yes
>    build-stored:               yes
>    ACL support:                no
>    Python support:             no
>    Batch insert enabled:       yes
> 
> 
> 
> Any help would be appreciated.
> 
> Chris
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to