1 |
On 07/26/2014 01:47 PM, Adam Carter wrote: |
2 |
> On Fri, Jul 25, 2014 at 5:48 PM, Peter Humphrey <peter@××××××××××××.uk |
3 |
> <mailto:peter@××××××××××××.uk>> wrote: |
4 |
> |
5 |
> On Wednesday 23 July 2014 15:38:42 Adam Carter wrote: |
6 |
> > Here's what i get; |
7 |
> > |
8 |
> /var/tmp/portage/x11-libs/wxGTK-2.8.12.1-r1/work/wxPython-src-2.8.12.1/src/u |
9 |
> > nix/threadpsx.cpp:51:24: fatal error: thread.h: No such file or |
10 |
> directory |
11 |
> > make: *** [basedll_threadpsx.o] Error 1 |
12 |
> > |
13 |
> > Any ideas? Would thread.h be supplied by another package? |
14 |
> linux-headers |
15 |
> > doesnt have it. |
16 |
> |
17 |
> I sometimes find this error coming from multi-thread compilation. |
18 |
> I fix it by |
19 |
> prepending the emerge command with MAKEOPTS="-j1". You could try that. |
20 |
> |
21 |
> |
22 |
> I always try -j1 when anything fails to avoid troubling the list, |
23 |
> however it didnt help in this case. Did you suspect that thread.h is |
24 |
> generated by the package build process, or is there some other reason |
25 |
> why parallel build could cause this problem? AFAIK header files are |
26 |
> not generated. I would have guessed its a path problem or missing |
27 |
> dependency. |
28 |
I seem to have the same version of wxGTK as you: |
29 |
equery -q l wxGTK |
30 |
x11-libs/wxGTK-2.8.12.1-r1 |
31 |
|
32 |
To the best of my knowledge, I did not experience any trouble building |
33 |
the package in question. |
34 |
|
35 |
threadpsx.cpp has these two references to 'thread.h': |
36 |
wxPython-src-2.8.12.1/src/unix/threadpsx.cpp:27,29 |
37 |
#if wxUSE_THREADS |
38 |
|
39 |
#include "wx/thread.h" |
40 |
|
41 |
wxPython-src-2.8.12.1/src/unix/threadpsx.cpp:50,52 |
42 |
#ifdef HAVE_THR_SETCONCURRENCY |
43 |
#include <thread.h> |
44 |
#endif |
45 |
|
46 |
You may want to check if you have this file available on your system: |
47 |
/usr/include/wx-2.8/wx/thread.h |