- 论坛徽章:
- 0
|
谢谢楼上的大大的回复,用大大的指令后出现了这样的情况,在此求教
[root@www /home/dboykey]# cd /usr/ports/textproc/py-libxml2 && make install cle an
===> Building for py26-libxml2-2.7.8_1
Making all in .
gmake[1]: Entering directory `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8/ python'
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr /local/include/python2.6 -I../include -I../include -I../python -I/usr/local/inc lude -I/usr/local/include -O2 -pipe -fno-strict-aliasing -std=gnu89 -pedantic - W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wfo rmat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -W cast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prot otypes -Wnested-externs -Winline -Wredundant-decls -MT libxml.lo -MD -MP -MF .de ps/libxml.Tpo -c -o libxml.lo `test -f './libxml.c' || echo './'`./libxml.c
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr /local/include/python2.6 -I../include -I../include -I../python -I/usr/local/inc lude -I/usr/local/include -O2 -pipe -fno-strict-aliasing -std=gnu89 -pedantic - W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wfo rmat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -W cast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prot otypes -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF .dep s/types.Tpo -c -o types.lo `test -f './types.c' || echo './'`./types.c
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/ local/include/python2.6 -I../include -I../include -I../python -I/usr/local/incl ude -I/usr/local/include -O2 -pipe -fno-strict-aliasing -std=gnu89 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wfor mat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wc ast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-proto types -Wnested-externs -Winline -Wredundant-decls -MT libxml2-py.lo -MD -MP -MF .deps/libxml2-py.Tpo -c -o libxml2-py.lo libxml2-py.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.6 -I ../include -I../include -I../python -I/usr/local/include -I/usr/local/include -O 2 -pipe -fno-strict-aliasing -std=gnu89 -pedantic -W -Wformat -Wunused -Wimplici t -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wunin itialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -W aggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winl ine -Wredundant-decls -MT libxml2-py.lo -MD -MP -MF .deps/libxml2-py.Tpo -c libx ml2-py.c -fPIC -DPIC -o .libs/libxml2-py.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.6 -I ../include -I../include -I../python -I/usr/local/include -I/usr/local/include -O 2 -pipe -fno-strict-aliasing -std=gnu89 -pedantic -W -Wformat -Wunused -Wimplici t -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wunin itialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -W aggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winl ine -Wredundant-decls -MT libxml.lo -MD -MP -MF .deps/libxml.Tpo -c ./libxml.c -fPIC -DPIC -o .libs/libxml.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.6 -I ../include -I../include -I../python -I/usr/local/include -I/usr/local/include -O 2 -pipe -fno-strict-aliasing -std=gnu89 -pedantic -W -Wformat -Wunused -Wimplici t -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wunin itialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -W aggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winl ine -Wredundant-decls -MT types.lo -MD -MP -MF .deps/types.Tpo -c ./types.c -fP IC -DPIC -o .libs/types.o
In file included from /usr/local/include/python2.6/Python.h:86,
from ./libxml_wrap.h:1,
from ./types.c:9:
/usr/local/include/python2.6/intobject.h:45: warning: ISO C90 does not support ' long long'In file included from /usr/local/include/python2.6/Python.h:86,
from ./libxml.c:14:
/usr/local/include/python2.6/intobject.h:45: warning: ISO C90 does not support ' long long'
In file included from /usr/local/include/python2.6/Python.h:86,
from libxml2-py.c:3:
/usr/local/include/python2.6/intobject.h:45: warning: ISO C90 does not support ' long long'
In file included from /usr/local/include/python2.6/Python.h:88,
from ./libxml_wrap.h:1,
from ./types.c:9:
/usr/local/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long'In file included from /usr/local/include/python2.6/Python.h:88,
from ./libxml.c:14:
/usr/local/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long'
In file included from /usr/local/include/python2.6/Python.h:88,
from libxml2-py.c:3:
/usr/local/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long'/usr/local/include/python2.6/longobject.h:49: warning: ISO C90 does n ot support 'long long'/usr/local/include/python2.6/longobject.h:49: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:50: warning: ISO C90 does not support 'long long'/usr/local/include/python2.6/longobject.h:50: warning: ISO C90 does n ot support 'long long'/usr/local/include/python2.6/longobject.h:49: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long'/usr/local/include/python2.6/longobject.h:50: warning: ISO C90 does n ot support 'long long'
/usr/local/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long'
In file included from ./libxml_wrap.h:1In file included from ./libxml.c:14In fil e included from libxml2-py.c:3:
:
/usr/local/include/python2.6/Python.h:163:17:/usr/local/include/python2.6/Python .h:163:17: error: error: pth.h: No such file or directory,
from ./types.c:9pth.h: No such file or directory
:
/usr/local/include/python2.6/Python.h:163:17: error: pth.h: No such file or dire ctory
./libxml.c: In function 'libxml_xmlValidCtxtGenericErrorFuncHandler':
./libxml.c:1748: warning: unused parameter 'severity'
./libxml.c: In function 'libxml_xmlValidCtxtGenericWarningFuncHandler':
./libxml.c:1775: warning: unused parameter 'severity'
./libxml.c: At top level:
./libxml.c:2678: warning: no previous prototype for 'libxml_xmlNodeRemoveNsDef'
./libxml.c: In function 'libxml_serializeNode':
./libxml.c:2765: warning: unused variable 'len'
gmake[1]: *** [types.lo] ▒▒▒▒ 1
gmake[1]: *** ▒▒▒ڵȴ▒δ▒▒ɵ▒▒▒▒▒....
gmake[1]: *** [libxml.lo] ▒▒▒▒ 1
gmake[1]: *** [libxml2-py.lo] ▒▒▒▒ 1
gmake[1]: Leaving directory `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8/p ython'
gmake: *** [all-recursive] ▒▒▒▒ 1
*** Error code 1
Stop in /usr/ports/textproc/py-libxml2. |
|