now what? getting "No driver is available! (PkgDB::DBError)" whenever trying to run any port* command

Dan Finn dhrider at gmail.com
Fri Aug 6 10:15:46 PDT 2004


I am trying to get the new version of firefox to build and I am having
a wonderful time doing it.  I was getting errors when building firefox
about :
Undefined symbol "FT_Get_BDF_Property" from libfontconfig

so I rebuilt freetype2, fontconfig and libXft in that order per
someones suggestion on this list.

Now when I tried to portupgrade firefox I got the following error:

../../../../dist/bin/xpidl -m typelib -w -I ../../../../dist/idl -I.
-o _xpidlgen/nsIBoxObject nsIBoxObject.idl
/libexec/ld-elf.so.1: Shared object "libIDL-2.so.0" not found
gmake[5]: *** [_xpidlgen/nsIBoxObject.xpt] Error 1
gmake[5]: Leaving directory
`/usr/ports/www/firefox/work/mozilla/layout/xul/base/public'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla/layout/xul/base'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/layout/xul'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/layout'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade80326.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! www/firefox (firefox-0.8_5)   (linker error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


so I figured I would check to make sure I was running the latest
version of libIDL and all of a sudden I am getting these errors:

[ root @ stewie : ~] : portversion -v libIDL
/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:172:in `set_db_driver': No
driver is available! (PkgDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:80:in `setup'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:75:in `initialize'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
        from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
        from /usr/local/lib/ruby/1.8/singleton.rb:84:in `instance'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:207:in
`init_pkgtools_global'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1080
        from /usr/local/sbin/portversion:35:in `require'
        from /usr/local/sbin/portversion:35

great!  what's going on here?

Thanks
Dan


More information about the freebsd-ports mailing list