Le 26/04/2012 20:19, Darrell Anderson a écrit :
When I run autoreconf -fiv I see a different set of
failures:
=============================================================
Making all in src
make[2]: Entering directory `/dev/shm/kaffeine-mozilla/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2
-march=i486 -mtune=i686 -O2 -march=i486 -mtune=i686 -MT plugin.lo -MD -MP -MF
.deps/plugin.Tpo -c -o plugin.lo plugin.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -march=i486 -mtune=i686 -O2
-march=i486 -mtune=i686 -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.c -fPIC
-DPIC -o .libs/plugin.o
In file included from jritypes.h:45,
from jri.h:45,
from npapi.h:10,
from plugin.c:72:
jri_md.h:46:64: error: nspr/prtypes.h: No such file or directory
In file included from plugin.c:72:
npapi.h:94: error: expected specifier-qualifier-list before 'uint32'
npapi.h:102: error: expected specifier-qualifier-list before 'int32'
npapi.h:110: error: expected specifier-qualifier-list before 'int32'
npapi.h:141: error: expected specifier-qualifier-list before 'int32'
npapi.h:146: error: expected specifier-qualifier-list before 'int32'
npapi.h:177: error: expected specifier-qualifier-list before 'uint32'
npapi.h:339: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'NPP_WriteReady'
npapi.h:340: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'NPP_Write'
npapi.h:366: error: expected declaration specifiers or '...' before
'uint32'
npapi.h:370: error: expected declaration specifiers or '...' before
'uint32'
npapi.h:375: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'NPN_Write'
npapi.h:381: error: expected ')' before 'size'
npapi.h:383: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'NPN_MemFlush'
plugin.c: In function 'NPP_New':
plugin.c:333: warning: assignment makes pointer from integer without a cast
plugin.c: In function 'NPP_SetWindow':
plugin.c:402: error: 'NPWindow' has no member named 'ws_info'
plugin.c:404: error: 'NPWindow' has no member named 'width'
plugin.c:405: error: 'NPWindow' has no member named 'height'
plugin.c:409: error: 'NPWindow' has no member named 'x'
plugin.c:409: error: 'NPWindow' has no member named 'y'
plugin.c:409: error: 'NPWindow' has no member named 'width'
plugin.c:409: error: 'NPWindow' has no member named 'height'
plugin.c: At top level:
plugin.c:517: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'STREAMBUFSIZE'
plugin.c:521: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'NPP_WriteReady'
plugin.c:532: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'NPP_Write'
make[2]: *** [plugin.lo] Error 1
make[2]: Leaving directory `/dev/shm/kaffeine-mozilla/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/kaffeine-mozilla'
make: *** [all] Error 2
There was an error trying to build kaffeine-mozilla.
EXIT_CODE: 1
=============================================================
Darrell
Hello, you can try the attached patch.
On fedora, 'prtypes.h' is located under directory 'nspr4', not just
'nspr'.
If it still does not work, just look if file "prtypes.h" exists on your
system and correct the patch if necessary.