Opened 11 years ago

Closed 11 years ago

#4163 closed Bug (duplicate)

daemon fails to build on OS X

Reported by: mechanic Owned by:
Priority: Normal Milestone: None Set
Component: Daemon Version: 2.22
Severity: Normal Keywords:


$ ./configure --enable-cli --disable-gtk --disable-mac --disable-nls --disable-libnotify

   Source code location:                              .
   Compiler:                                          g++

   Build libtransmission:                             yes

      * optimized for low-resource systems:           no
      * µTP enabled:                                  yes

   Build Command-Line client:                         yes

   Build GTK+ client:                                 no

     Optional dependencies for GTK+ client:

      * dbus support:                                 no
      * gio for watchdir support:                     no
      * libnotify for 'download completed' popups:    no
      * libcanberra for 'download completed' sounds:  no
      * gconf2 to register as a magnet link handler:  no
      * libappindicator for an Ubuntu-style tray:     no

   Build Daemon:                                      yes

   Build Mac client:                                  no
$ make
Making all in daemon
  CC     daemon.o
daemon.c: In function 'tr_daemon':
daemon.c:174: warning: 'daemon' is deprecated (declared at /usr/include/stdlib.h:289)
  CC     watch.o
watch.c:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_file_in_list'
watch.c: In function 'watchdir_update_impl':
watch.c:227: warning: implicit declaration of function 'is_file_in_list'
watch.c:227: warning: nested extern declaration of 'is_file_in_list'
make[1]: *** [watch.o] Error 1
make: *** [all-recursive] Error 1

Change History (3)

comment:1 Changed 11 years ago by jordan

mechanic, does this problem persist in a nightly tarball too?

The nightly tarballs can be found at

comment:2 Changed 11 years ago by mechanic

I should have mentioned that the above build was attempted with r12295. The tarballs in that link are compressed with an unfamiliar format (tar doesn't have a flag for xz and I don't have any xz* programs in my path).

comment:3 Changed 11 years ago by livings124

  • Resolution set to duplicate
  • Status changed from new to closed

This appears to be the same as #4138. Please reopen if it's not.

Note: See TracTickets for help on using tickets.