← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 671384] Re: headers not found at compilation

 

For what I gan gather from
http://git.gnome.org/browse/libnotify/commit/?id=0eb56b2fcf16d5381011e0bae2cf942416dae55c
and https://bugzilla.gnome.org/show_bug.cgi?id=622550 it's not a Fedora
issue, but an intentional effort from the upstream libnotify.

And yes, the real issue here is SCons adding the previous libs to
following checks, but unless you want to look into that I'd suggest we
just move the libnotify check to the end.  Or move the
conf.env.ParseConfig('pkg-config --libs libnotify') in some if near the
libglade and gthread parseconfigs (that would probably also fix it,
didn't bother to test).

--RZ

** Bug watch added: GNOME Bug Tracker #622550
   https://bugzilla.gnome.org/show_bug.cgi?id=622550

-- 
headers not found at compilation
https://bugs.launchpad.net/bugs/671384
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: Confirmed

Bug description:
Detailed description of the issue:
scons fails to detect any headers required for compilation. When i type scons in main directory I get:

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... yes
Checking for gtk+-2.0 >= 2.10... yes
Checking for gthread-2.0 >= 2.4... yes
Checking for libglade-2.0 >= 2.4... yes
Checking for libnotify >= 0.4.1... yes
Checking for C++ header file boost/version.hpp... yes
Checking for C header file time.h... yes
Checking for C header file signal.h... yes
Checking for C header file unistd.h... yes
Checking for C library pthread... no
	pthread library not found
	Note: You might have the lib but not the headers

I've got headers for pthread.h in /usr/include directory.

Steps to reproduce:
1. get source from trunk
2. scons

Expected results:
Start compiling

Actual results:
No compilation

Version:
linuxdcpp from trunk (r400)

OS:
Fedora 14 32bit





References