Menu

DBus in build

2016-09-20
2016-09-22
  • David Gentzel

    David Gentzel - 2016-09-20

    In a post on emacs-devel, it was mentioned (in the context of documenting exactly what libraries were needed/used by the Windows build) that "Emacs built for Windows doesn't support D-Bus" and hence the dbus libs were not needed. And indeed the "official" GNU build includes "--without-dbus" in the configuration.

    Unless this is in error, you may want to consider adding this to your build.

     
  • zklhp

    zklhp - 2016-09-21

    Hello Deavid,
    Thank you. I used to disable D-Bus. But since the build system has dbus installed, and I can make it not complain, I just leave it enable. I will add “--without-dbus” in the future.

    Thanks,
    Chris

     
  • Dave Footitt

    Dave Footitt - 2016-09-21

    Hi,

    This unforunately stops my auctex install working on emacs 25.1 :(

    The last working version I have is 25.0.50.1, which is built with:

    "--prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=yes --with-file-notification=yes --without-dbus --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'"

    The one now is built with:

    "--prefix=/tmp/emacs --without-imagemagick 'CFLAGS=-O2 -fomit-frame-pointer -g0'"

    Which unfortunately doesn't seem to work :(

     
  • zklhp

    zklhp - 2016-09-22

    Hi,

    I used AUCTeX occasionally. However, I don’t know what problem stops you. Could you please describe it?

    Also, a new version with “--without-dbus” and “--with-modules” is uploaded.

    Thank you,
    Chris

     
  • Dave Footitt

    Dave Footitt - 2016-09-22

    Excellent, thank you very much, it works now.

    On the previous 25.1 build I would get this:

    File mode specification error: (dbus-error No connection to bus :session)

    When I tried to open a .tex file and it wouldn't initialise properly (i.e. couldn't use C-c C-c etc)

    Many thanks for such a quick turnaround!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.