Upgrade problem on SunOS

Charles Hewson cahewson at eskimo.com
Sun May 29 17:02:40 CEST 2005


On Sat, 28 May 2005, David Relson wrote:

> On Sat, 28 May 2005 11:46:17 -0700 (PDT)
> Charles Hewson wrote:
>
> > Matthias, Dave, & all,
> >
> > Attempted to move from 0.92.6 to 0.94.12 this weekend. Configure doesn't
> > seem to recognize I have --disable-transactions. Database package is
> > unchanged BerkeleyDB (4.2.52).
> >
> > Thanks for the great tool,
> > Charles
> >
> > >>>>>
> >
> > [cahewson] ./configure --prefix=/bigdisk/u/c/cahewson/Bogofilter
> > --includedir=/bigdisk/u/c/cahewson/BerkeleyDB --disable-transactions
> > --with-libdb-prefix=/bigdisk/u/c/cahewson/BerkeleyDB
> >
> > ....
> >
> > checking for ld used by GCC... /usr/local/sparc-sun-sunos4.1.4/bin/ld
> > checking if the linker (/usr/local/sparc-sun-sunos4.1.4/bin/ld) is GNU
> > ld... yes
> > checking for shared library run path origin... done
> > checking how to link with libdb...
> > /bigdisk/u/c/cahewson/BerkeleyDB/lib/libdb.a
> > checking db and dependent libraries...
> > /bigdisk/u/c/cahewson/BerkeleyDB/lib/libdb.a
> > checking if a program can be linked against Berkeley DB and run... yes
> > checking if Berkeley DB header and library versions match... yes
> > checking whether db_create is declared... yes
> > checking if Berkeley DB supports shared environments... no
> > configure: error:
> > Cannot open a shared environment in Berkeley DB. This is a known problem
> > on Fedora Core Linux. Build your own Berkeley DB installation and use
> > --with-libdb-prefix to point bogofilter to it. Alternatively, you can
> > use the unsafe non-transactional database by configuring with
> > --disable-transactions.
> > Packagers, if you are absolutely sure that the target system supports
> > shared environments, you can use --disable-dbshared-test.
> > [cahewson]
>
> Hi Charles,
>
> Have you tried "--disable-dbshared-test" as suggested?
>
> David
>

Dave,
	I have doubts that sparc-sun-sunos4.1.4 supports shared envitonments
but, the attempt gets me this far into gmake.

Charles

bogoconfig.c: In function `process_arglist':
bogoconfig.c:424: warning: assignment discards `const' from pointer target
type
bogoconfig.c: At top level:
bogoconfig.c:462: conflicting types for `process_arg'
bogoconfig.h:28: previous declaration of `process_arg'
bogoconfig.c: In function `process_arg':
bogoconfig.c:483: warning: implicit declaration of function `strerror'
bogoconfig.c:483: warning: format argument is not a pointer (arg 4)
bogoconfig.c:632: warning: implicit declaration of function `printf'
bogoconfig.c: In function `query_config':
bogoconfig.c:735: warning: int format, long int arg (arg 4)
bogoconfig.c:745: warning: passing arg 1 of `display_tag_array' discards
`const' from pointer target type
bogoconfig.c:746: warning: passing arg 1 of `display_tag_array' discards
`const' from pointer target type
bogoconfig.c:756: warning: passing arg 2 of `display_wordlists' discards
`const' from pointer target type
bogoconfig.c:762: warning: int format, long int arg (arg 4)
bogoconfig.c:763: warning: int format, long int arg (arg 4)
gmake[3]: *** [bogoconfig.o] Error 1
gmake[3]: Leaving directory `/bigdisk/u/c/cahewson/bogofilter-0.94.12/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/bigdisk/u/c/cahewson/bogofilter-0.94.12/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/bigdisk/u/c/cahewson/bogofilter-0.94.12/src'
gmake: *** [all-recursive] Error 1
[cahewson]


More information about the Bogofilter mailing list