tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Failures of some gnome packages (linkage, -ldb4)



Under Linux linking of devel/eel, sysutils/nautilus and probably some
other gnome packages fail like this

   /usr/bin/ld: cannot find -ldb4
   collect2: ld returned 1 exit status
   gmake[2]: *** [check-program] Error 1
   gmake[2]: Leaving directory `/tmp/obj_pkgsrc/devel/eel/work/eel-2.26.0/eel'
   gmake[1]: *** [all-recursive] Error 1
   gmake[1]: Leaving directory `/tmp/obj_pkgsrc/devel/eel/work/eel-2.26.0'
   gmake: *** [all] Error 2
   *** Error code 2

Full logs are here

   
http://mova.org/~cheusov/pub/pkgsrc-distbb/Linux/current/logs/20090410.2105/META/report.html

These failures happen because at build time there is no db4 library (no
inclusion of bdb.buildlink.mk) but -ldb4 is mentioned in libeel-2.la
against which linkage is made.

-ldb4 was added to libeel-2.la because it was linked against
libgnome-desktop-2.la. -ldb4 comes to libgnome-desktop-2.la
from lang/python/application.mk, lang/python/pyversion.mk,
lang/python25/buildlink3.mk and finally bdb.buildlink3.mk.

I'd like to fix these packages but it is not clear for me what way is
better.  These two packages don't need db4 directly and therefore I'm
not sure adding bdb.buildlink.mk to their Makefile is good idea.  Any
ideas?

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index