On Wed, 10 Jan 2007, Kern Sibbald wrote:

> Hello,
>
> You will surely get better help by asking on the bacula-users list.

Hi Kern
That may be, but I am on dialup, and was not connected to the Internet,
so couldn't check for subscription rules, or subscribe if needed etc.
Your name came up when I was looking for someone to complain to....

Nor am I wildly enthusiastic about subscribing to a list just to report
what looks like a bug.


>
> However, what I do note is that you are attempting to configure three
> databases, and Bacula works with only one of those three.

I'm trying to do a generic build (how else would one create a deb or
rpm?); in any event I don't see that my problem arises because I'm
building support for multiple databases, it's because configure is
looking for a file (sqlite.h) that does not exist (not in FC5 nor any
other release of Linux I could find - I have several Fedoras, CentOS 4,
SUSE10 and packages for some others to hand).

It seems to me that configure should be looking for is sqlite3.h.
SUSE10 does have sqlite.h, it's in sqlite2-devel.

I'm thinking more than the file name needs to be changed to use the
version of sqlite everyone's distributing (Debian seems to have 2 and
3).


>
> If you want to use SQLite3 then I believe that you need to say something like:
>
> ./configure --with-sqlite3

The README and INSTALL do not mention that, and on Fedora & RHEL one
does not have a package "sqlite3," it's "sqlite."


Thanks for your help.

>
> but then either the manual or the list can answer that definitively.
>
> Regards,
>
> Kern
>
>
> On Wednesday 10 January 2007 09:48, John Summerfield wrote:
>> Briefly, I have this tarball:
>> -rw-r--r-- 1 summer summer 2488471 Jan 10
> 07:33 /home/summer/downloads/bacula-2.0.0.tar.gz
>> I untarred it thus:
>> tar xzpf /home/summer/downloads/bacula-2.0.0.tar.gz;cd bacula-2.0.0/
>> After some trials, reading and installing stuff I got to this:
>>
> strace -f -o /tmp/config-trace ./configure  --enable-gnome 
> --enable-tray-monitor --with-postgresql=/usr --with-mysql --with-sqlite
>>
>> strace tells me where it's looking and for what.
>>
>> It fails this way:
>> checking for MySQL support... yes
>> checking for SQLite3 support... no
>> checking for SQLite support... no
>> configure: error: Unable to find sqlite.h in standard locations
>> [EMAIL PROTECTED] bacula-2.0.0]$
>> For this reason:
>> [EMAIL PROTECTED] bacula-2.0.0]$ grep sqlite.h /tmp/config-trace
>> 10887 stat64("/usr/local/include/sqlite.h", 0xbfae3c18) = -1 ENOENT (No such
> file or directory)
>> 10887 stat64("/usr/include/sqlite.h", 0xbfae3b58) = -1 ENOENT (No such file
> or directory)
>> 10887 stat64("/include/sqlite.h", 0xbfae3a98) = -1 ENOENT (No such file or
> directory)
>> [EMAIL PROTECTED] bacula-2.0.0]$
>>
>> But:
>> [EMAIL PROTECTED] bacula-2.0.0]$ rpm -qa sql\*
>> sqlite-devel-3.3.3-1.2
>> sqlite-3.3.3-1.2
>> [EMAIL PROTECTED] bacula-2.0.0]$
>>
>> And:
>> [EMAIL PROTECTED] bacula-2.0.0]$ ls /usr/include/*sqlite*.h
>> /usr/include/sqlite3.h
>> [EMAIL PROTECTED] bacula-2.0.0]$
>>
>> which looks a bit shonky to me, but there it is.
>>
>> I'm guessing this has implications for FC6 and, importantly to Adam T and
> David B, RHEL5.
>>
>> I'll build sans sqlite for now.
>>
>>
>> --
>>
>>
>>
>> Cheers
>> John Summerfield
>>
>
>

-- 


Cheers
John

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to