Reported by Peter Ebbelink:


this is to let you know I have compiled squidGuard on Solaris 10 i86
I had big problems with the downloadable version on www.squidguard.org (1.2.0)
The version 1.2.0p3 on squidguard.shalla.de compiles well, if you take the
following preperations:
Solaris 10 has two versions of Berkeley DB (SUNWbdb, SFWbdb)
squidGuard should use the Solaris 10 SFWbdb package.
Solaris 10 comes with Bison and Flex bundled (as additional freeware packages;
SUNWbison, SUNWflexlex)
In order to use the bdb package succesfully, you need not only specify
--with-db=/opt/sfw, but also need to configure the Solaris runtime linking 
environment, otherwise you can successfully compile, but not run the executable.

So, to compile squidGuard on Solaris 10:
as mortal $ export
PATH="/usr/bin:/usr/ucb:/etc:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ccs/bin"
NOTE: "make" is in /usr/ccs/bin and is not by default included in the search
path.
as mortal $ crle
The command should return:
Configuration file [version 4]:	 /var/ld/ld.config
 Default Library Path (ELF):	 /lib:/usr/lib (system default)
 Trusted Directories (ELF):	 /lib/secure:/usr/lib/secure (system default)

If it returns an other "Default Library Path (ELF)" value, then use this value
in the next
command.
Now add "/opt/sfw/lib:/usr/sfw/lib":
as root # crle -l /lib:/usr/lib:/opt/sfw/lib:/usr/sfw/lib
as mortal $ ./configure --with-db=/opt/sfw
as mortal $ make
as root # make test
as root # make install

----------

