[desktop-discuss] unable to compile JDS4 (SXDE 5/07)

Harry Lu Harry.Lu at Sun.COM
Sat Sep 1 06:11:37 PDT 2007


There is a config option to let e-d-s to use the BDB embedded in its 
source code. Please run configure --help to check it.
Sorry I cannot remember it now. Maybe remove the "with-dbd=" option in 
the spec file could work. You can have a try.

For legal reasons, Sun cannot ship db.h.

Harry

Gérard Henry :
> as i'm trying to compile SUNWevolution-data-server (needed by 
> gnome-panel, needed by gdm, ...), i got thios error:
> pkgbuild: checking Berkeley DB... configure: error: cannot find libdb
> pkgbuild: Bad exit status from 
> /var/tmp/pkgbuild-henry/pkgbuild-tmp-2.28965 (%build)
>
> but it seems that Sun never ships "db.h" (looking in S10 for example).
> Searching in packages/BUILD, i found:
> yakari-henry% find . -name db.h
> ./SUNWevolution-data-server-2.19.91/evolution-data-server-1.11.91/libdb/build_vxworks/db.h
> ./SUNWevolution-data-server-2.19.91/evolution-data-server-1.11.91/libdb/dist/db.h
> ./SUNWevolution-data-server-2.19.91/evolution-data-server-1.11.91/libdb/build_win32/db.h
>
> i tried to copy libdb/dist/db.h in /usr/include, but it failed to compile:
> configure:24078: /opt/SUNWspro/bin/cc -o conftest -I/usr/include 
> -Wl,-z,ignore
> -L/usr/lib -R/usr/lib -L/usr/lib/mps -R/usr/lib/mps -L/usr/lib/mps 
> -R/usr/lib/mp
> s conftest.c -L/usr/lib -ldb >&5
> "/usr/include/db.h", line 90: syntax error before or at: db_pgno_t
> "/usr/include/db.h", line 91: syntax error before or at: db_indx_t
> "/usr/include/db.h", line 429: syntax error before or at: db_pgno_t
> ...
>
> What's the workaround?
>
> thanks
>
> gerard
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org
>   



More information about the desktop-discuss mailing list