← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 790514] Re: rev 422 libnotify compile error

 

It looks like Fedora updated libnotify from < 0.7 to >= 0.7 in Fedora
15. Scons failed to detect the dependency change and used the cached
result for the HAVE_LIBNOTIFY_0_7 configure test. By default Scons uses
automatic dependency checks to determine if the configuration test needs
to be re-ran, but there is an option to force dependency checks every
time with --config=force. Unfortunately Scons doesn't let you set that
option from within a SConstruct file.

I don't think there's anything for us to do, it seems like a Scons
issue. Razzloss, do you agree? If so we can mark this as invalid.

** Tags added: build

-- 
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
https://bugs.launchpad.net/bugs/790514

Title:
  rev 422 libnotify compile error

Status in Linux DC++:
  Incomplete

Bug description:
  fedora 15 i686

  # rpm -qa | grep notify
  libnotify-0.7.2-1.fc15.i686
  libnotify-devel-0.7.2-1.fc15.i686

  # LANG=en gcc -v
  Using built-in specs.
  COLLECT_GCC=gcc
  COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.6.0/lto-wrapper
  Target: i686-redhat-linux
  Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
  Thread model: posix
  gcc version 4.6.0 20110509 (Red Hat 4.6.0-7) (GCC) 


  
  # LANG=en_EN scons PREFIX=/usr && scons install
  scons: Reading SConscript files ...
  CXX env variable is not set, attempting to use g++
  Checking for g++ >= 4.1...(cached) yes
  Checking for pkg-config... (cached) yes
  Checking for gtk+-2.0 >= 2.12... (cached) yes
  Checking for gthread-2.0 >= 2.4... (cached) yes
  Checking for libglade-2.0 >= 2.4... (cached) yes
  Checking for C++ header file boost/version.hpp... (cached) yes
  Checking for C header file time.h... (cached) yes
  Checking for C header file signal.h... (cached) yes
  Checking for C header file unistd.h... (cached) yes
  Checking for C library pthread... (cached) yes
  Checking for C library z... (cached) yes
  Checking for C library bz2... (cached) yes
  Checking for C library crypto... (cached) yes
  Checking for C library ssl... (cached) yes
  Checking for C library X11... (cached) yes
  Checking for C header file iconv.h... (cached) yes
  Checking for iconv(0, (const char **)0, 0, (char**)0, 0) in C library iconv... (cached) no
  Checking for C header file net/if.h... (cached) yes
  Checking for libnotify >= 0.4.1... (cached) yes
  Checking for libnotify >= 0.7... (cached) no
  Checking bzr revision...(cached) 422
  scons: done reading SConscript files.
  scons: Building targets ...
  g++ -o build/release/gui/mainwindow.o -c -O3 -fomit-frame-pointer -pthread -DHAVE_IFADDRS_H -DHAVE_LIBNOTIFY -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DNDEBUG -D_DATADIR='"/usr/share"' -DPACKAGE='"linuxdcpp"' -I. -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 linux/mainwindow.cc
  linux/mainwindow.cc: In member function 'void MainWindow::showNotification_gui(std::string, std::string)':
  linux/mainwindow.cc:489:114: error: 'notify_notification_new_with_status_icon' was not declared in this scope
  scons: *** [build/release/gui/mainwindow.o] Error 1
  scons: building terminated because of errors.


References