On Wednesday 22 June 2005 12:37, Jesus Salvo Jr. wrote:
> Installing bacula on Solaris8.
>
> When trying to "make sqlite" from within the depkgs/ directory, I get:
>
> ===== configure of sqlite done =====
>
> Building sqlite
> make[1]: Entering directory
> `/export/home/jsalvo/bacula/bacula-1.36.3/depkgs/sqlite-2.8.16kes'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/export/home/jsalvo/bacula/bacula-1.36.3/depkgs/sqlite-2.8.16kes'
> Copying header, sqlite, and library to sqlite directory ...
> ./sqlite: syntax error at line 1: `(' unexpected
> Done building SQLite
>
> ===== build of sqlite done =====
>
>

make sqlite or make sqlite3 in depkgs just is not right.
ldd on the sqlite or sqlite3 binary that was produced complains as well.

So:
1) I just installed sqlite from www.sunfreeware.com
2) Installed libreadline-5.0 from www.sunfreeware.com
3) sqlite from sunfreeware.com depends on libreadline-4.0

cd /usr/local/lib
ln -s libreadline.so.5 libreadline.so.4

4) The sqlite from sunfreeware installs the ff:
sqlite binary: /usr/local/bin
libs: /usr/loca/lib
sqlite.h /usr/local/include

Thus, to configure bacula, I had to:

cd /usr/local/lib
ln -s /usr/local/include/sqlite.h
ln -s /usr/local/bin/sqlite

.. and then ...
./configure --with-sqlite=/usr/local/lib

This time. no errors from configure

5) Finally, make and make install








-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to