#91 0.93.2 with db version 4.3.21 in a non-root location.

closed
nobody
None
5
2005-05-11
2004-12-19
Arnold
No

I previously reported that I experienced issued
compiling the version 0.93.x on a solaris 8 Sparc 10
with gcc version 2.95.3 with DB version 4.3.21 as a
non-root to be installed in a non-root location. The
system has alternate versions (4.1 and possibly older)
installed on the system. Point of reference:
https://sourceforge.net/tracker/?func=detail&aid=1076286&group_id=62265&atid=499997

I have since downgraded the DB installed in my home
directory from 4.3.21 back to 4.2.52 as being the
primary (libdb.so and libdb-4.so were pointed to the
libdb which was part of the db version 4.2.52. I was
then able to configure and compile bogofilter without
any problem. The same configuration options used:
CFLAGS -O3 -I$HOME/include -R$HOME/lib. LDFLAGS="-s
-L$HOME/lib" . --prefix=$HOME.

I'll try alternate approaches to configure and compile
with version db-4.3.21 and will report if I locate a
possible reason.

Arnold

Discussion

  • Arnold

    Arnold - 2005-01-12

    Logged In: YES
    user_id=1169235

    This is just an update. UPgraded to db version 4.3.27 and
    the newer version of bogofitler 0.93.4 compiled without a
    problem on sol 8 non-root user location with gcc 2.95.3.

    Arnold

     
  • Dan Fandrich

    Dan Fandrich - 2005-01-27

    Logged In: YES
    user_id=236775

    I just tried ver. 0.93.5 and found the same problem. It was
    able to compile when configured with
    --with-libdb-prefix=/db4/path but was unable to link
    bogofilter_static. It appears that
    --with-libdb-prefix=/tmp/db4 adds the given path to the
    shared library but not the static library, as can be seen by
    the respective link commands:

    gcc -DBOGOFILTER -O2 -m486 -fno-strength-reduce -Wall -W
    -Wstrict-prototypes -Wmissing-prototypes -Wshadow
    -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings
    -Waggregate-return -Wmissing-declarations -Wnested-externs
    -fno-common -Wchar-subscripts -Wcomment -Wimplicit
    -Wreturn-type -Wformat -o bogofilter bogofilter.o main.o
    libbogofilter.a strlcpy.o strlcat.o /tmp/db4/lib/libdb.so
    -Wl,-rpath -Wl,/tmp/db4/lib libbf_gsl.a -lm

    gcc -DBOGOFILTER -O2 -m486 -fno-strength-reduce -Wall -W
    -Wstrict-prototypes -Wmissing-prototypes -Wshadow
    -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings
    -Waggregate-return -Wmissing-declarations -Wnested-externs
    -fno-common -Wchar-subscripts -Wcomment -Wimplicit
    -Wreturn-type -Wformat -o bogofilter_static -static
    bogofilter.o main.o libbogofilter.a strlcpy.o strlcat.o
    -ldb libbf_gsl.a -lm

     
  • Matthias Andree

    Matthias Andree - 2005-05-11

    Logged In: YES
    user_id=2788

    The static build is mostly for our internal use in providing
    an RPM with fewer external dependencies.

    Please check if bogofilter 0.94.11 is still a problem IF
    CONFIGURED WITH --disable-static.

     
  • Matthias Andree

    Matthias Andree - 2005-05-11
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks