>  Q&A  >  본문

python - Ubuntu16.04 lxml 오류 보고

수집된 패키지에 대한 빌드 휠: lxml, psutil, psycopg2, python-ldap
lxml용 setup.py bdist_wheel 실행 ... error
/usr/bin/python -u -c "import setuptools, tokenize;__file__ 명령의 전체 출력 ='/tmp/pip-build-oR6jUt/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpCfS4gipip-wheel- --python-tag cp27:
빌드 lxml 버전 3.5.0.
빌드 Cython 없이.
libxslt 1.1.28의 빌드 구성 사용
실행 bdist_wheel
실행 build
실행 build_py
생성 build
생성 build/lib.linux-x86_64-2.7
생성 build/lib.linux-x86_64-2.7/lxml
복사 src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml
src/lxml/__init__.py 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/ElementInclude.py 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/sax.py 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/pyclasslookup.py 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/usedoctest.py 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/builder.py 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/doctestcompare.py 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/_elementpath.py 복사 -> build/lib.linux-x86_64-2.7/lxml
build/lib.linux-x86_64-2.7/lxml/includes
만들기 src/lxml/includes/__init__.py 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
build/lib.linux-x86_64-2.7/lxml/html
만들기 src/lxml/html/html5parser.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/ElementSoup.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/defs.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/clean.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/__init__.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/formfill.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/_html5builder.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/_diffcommand.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/diff.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/soupparser.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/usedoctest.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/builder.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
src/lxml/html/_setmixin.py 복사 -> build/lib.linux-x86_64-2.7/lxml/html
build/lib.linux-x86_64-2.7/lxml/isoschematron
만들기 src/lxml/isoschematron/__init__.py 복사 -> 빌드/lib.linux-x86_64-2.7/lxml/isoschematron
src/lxml/lxml.etree.h 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/lxml.etree_api.h 복사 -> build/lib.linux-x86_64-2.7/lxml
src/lxml/includes/htmlparser.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/xinclude.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/xmlschema.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/xslt.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/xmlparser.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/xmlerror.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/dtdvalid.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/config.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/uri.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/schematron.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/relaxng.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/c14n.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/xpath.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/tree.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/etreepublic.pxd 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/etree_defs.h 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
src/lxml/includes/lxml-version.h 복사 -> build/lib.linux-x86_64-2.7/lxml/includes
build/lib.linux-x86_64-2.7/lxml/isoschematron/resources 만들기
build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
만들기 src/lxml/isoschematron/resources/rng/iso-schematron.rng 복사 -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
생성 src/lxml/isoschematron/resources/xsl/XSD2Schtrn 복사. xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl 복사 -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
만들기 src/lxml/isoschematron/ 복사 리소스/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl 복사 -> 빌드/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl 복사 -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl 복사 -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl 복사 -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt 복사 -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
실행 중인 build_ext
'lxml.etree' 확장 빌드
생성 build/temp.linux-x86_64-2.7
생성 빌드/임시 .linux-x86_64-2.7/src
빌드/temp.linux-x86_64-2.7/src/lxml
생성 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno- 엄격한 별칭 -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/ python2.7 -c src/lxml/lxml.etree.c -o 빌드/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
x86_64-linux-gnu-gcc -pthread -shared - Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time - D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong - Wformat -Werror=format-security 빌드/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o 빌드/lib.linux-x86_64-2.7/lxml/ etree.so
/usr/local/bin/ld: 이 링커는 sysroots
Collect2를 사용하도록 구성되지 않았습니다. 오류: ld가 1 종료 상태를 반환했습니다
오류: 'x86_64-linux-gnu-gcc' 명령이 종료 상태 1로 실패했습니다

------------------
lxml에 대한 휠 작성 실패
설정 실행 중 .py clean for lxml
psutil용 setup.py bdist_wheel 실행 중 ... error
/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oR6jUt/ 명령의 출력 완료 psutil/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec( compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpz0SXDUpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
build 생성
create build/lib.linux-x86_64 -2.7
build/lib.linux-x86_64-2.7/psutil 만들기
psutil/__init__.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_psosx.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_psbsd.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_pssunos.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_psposix.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_pslinux.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_common.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_compat.py 복사 -> build/lib.linux-x86_64-2.7/psutil
psutil/_pswindows.py 복사 -> build/lib.linux-x86_64-2.7/psutil
build/lib.linux-x86_64-2.7/psutil/tests 만들기
psutil/tests/test_system.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_windows.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_memory_leaks.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/runner.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/__init__.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_osx.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_bsd.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_sunos.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_process.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_posix.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_misc.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
psutil/tests/test_linux.py 복사 -> build/lib.linux-x86_64-2.7/psutil/tests
build_ext 실행
'psutil._psutil_linux' 확장 빌드
build/temp.linux-x86_64-2.7 만들기
build/temp.linux-x86_64-2.7/psutil 만들기
x86_64 -linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format -security -fPIC -DPSUTIL_VERSION=431 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv - O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time - D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security 빌드/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o 빌드/lib.linux-x86_64-2.7/psutil/_psutil_linux. so
/usr/local/bin/ld: 이 링커는 sysroots
Collect2를 사용하도록 구성되지 않았습니다. 오류: ld가 1 종료 상태를 반환했습니다
오류: 'x86_64-linux-gnu-gcc' 명령이 종료 상태 1로 실패했습니다

----------------------------
psutil용 휠 빌드 실패
설정 실행 중 .py clean for psutil
Running setup.py bdist_wheel for psycopg2 ... error
명령의 출력 완료 /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oR6jUt/ psycopg2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec( compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpEIBTDMpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
build 생성
create build/lib.linux-x86_64 -2.7
build/lib.linux-x86_64-2.7/psycopg2
생성 lib/__init__.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/errorcodes.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/extensions.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/pool.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/extras.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/tz.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/psycopg1.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/_range.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
lib/_json.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2
build/lib.linux-x86_64-2.7/psycopg2/tests
만들기 테스트/test_module.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_bugX000.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_copy.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_connection.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_bug_gc.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/__init__.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_extras_dictcursor.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_async.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/dbapi20_tpc.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_cursor.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_notify.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_with.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_quote.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_green.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_types_basic.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_psycopg2_dbapi20.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_dates.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_types_extras.py 복사 -> 빌드/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_cancel.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/dbapi20.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/testconfig.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_errcodes.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_lobject.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/testutils.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
테스트/test_transaction.py 복사 -> build/lib.linux-x86_64-2.7/psycopg2/tests
build_ext 실행
'psycopg2._psycopg' 확장 빌드
build/temp.linux-x86_64-2.7 만들기
build/temp.linux-x86_64-2.7/psycopg 만들기
x86_64 -linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format -security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/green.c -o build/temp.linux-x86_64-2.7/psycopg/green.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/pqpath.c -o build/temp.linux-x86_64-2.7/psycopg/pqpath.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/utils.c -o build/temp.linux-x86_64-2.7/psycopg/utils.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror= 형식 보안 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/bytes_format.c -o build/temp.linux-x86_64-2.7/psycopg/bytes_format.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/connection_int.c -o build/temp.linux-x86_64-2.7/psycopg/connection_int.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/connection_type.c -o build/temp.linux-x86_64-2.7/psycopg/connection_type.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/cursor_int.c -o build/temp.linux-x86_64-2.7/psycopg/cursor_int.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/cursor_type.c -o build/temp.linux-x86_64-2.7/psycopg/cursor_type.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror= 형식 보안 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/diagnostics_type.c -o build/temp.linux-x86_64-2.7/psycopg/diagnostics_type.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/error_type.c -o build/temp.linux-x86_64-2.7/psycopg/error_type.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/lobject_int.c -o build/temp.linux-x86_64-2.7/psycopg/lobject_int.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/lobject_type.c -o build/temp.linux-x86_64-2.7/psycopg/lobject_type.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/notify_type.c -o build/temp.linux-x86_64-2.7/psycopg/notify_type.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror= 형식 보안 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/xid_type.c -o build/temp.linux-x86_64-2.7/psycopg/xid_type.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_asis.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_asis.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_binary.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_binary.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_datetime.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_datetime.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_list.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_list.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror= 형식 보안 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_pboolean.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_pboolean.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_pdecimal.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_pint.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_pint.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_pfloat.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_pfloat.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/adapter_qstring.c -o build/temp.linux-x86_64-2.7/psycopg/adapter_qstring.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror= 형식 보안 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/microprotocols.c -o build/temp.linux-x86_64-2.7/psycopg/microprotocols.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/microprotocols_proto.c -o build/temp.linux-x86_64-2.7/psycopg/microprotocols_proto.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror =format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090507 -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/typecast.c -o build/temp.linux-x86_64-2.7/psycopg/typecast.o -Wdeclaration-after-statement
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv - O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time - D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security 빌드/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o 빌드/temp.linux-x86_64-2.7/psycopg/green.o 빌드 /temp.linux-x86_64-2.7/psycopg/pqpath.o 빌드/temp.linux-x86_64-2.7/psycopg/utils.o 빌드/temp.linux-x86_64-2.7/psycopg/bytes_format.o 빌드/temp.linux- x86_64-2.7/psycopg/connection_int.o 빌드/temp.linux-x86_64-2.7/psycopg/connection_type.o 빌드/temp.linux-x86_64-2.7/psycopg/cursor_int.o 빌드/temp.linux-x86_64-2.7/psycopg /cursor_type.o 빌드/temp.linux-x86_64-2.7/psycopg/diagnostics_type.o 빌드/temp.linux-x86_64-2.7/psycopg/error_type.o 빌드/temp.linux-x86_64-2.7/psycopg/lobject_int.o 빌드 /temp.linux-x86_64-2.7/psycopg/lobject_type.o 빌드/temp.linux-x86_64-2.7/psycopg/notify_type.o 빌드/temp.linux-x86_64-2.7/psycopg/xid_type.o 빌드/temp.linux- x86_64-2.7/psycopg/adapter_asis.o 빌드/temp.linux-x86_64-2.7/psycopg/adapter_binary.o 빌드/temp.linux-x86_64-2.7/psycopg/adapter_datetime.o 빌드/temp.linux-x86_64-2.7/psycopg /adapter_list.o 빌드/temp.linux-x86_64-2.7/psycopg/adapter_pboolean.o 빌드/temp.linux-x86_64-2.7/psycopg/adapter_pdecimal.o 빌드/temp.linux-x86_64-2.7/psycopg/adapter_pint.o 빌드 /temp.linux-x86_64-2.7/psycopg/adapter_pfloat.o 빌드/temp.linux-x86_64-2.7/psycopg/adapter_qstring.o 빌드/temp.linux-x86_64-2.7/psycopg/microprotocols.o 빌드/temp.linux- x86_64-2.7/psycopg/microprotocols_proto.o 빌드/temp.linux-x86_64-2.7/psycopg/typecast.o -L/usr/lib/x86_64-linux-gnu -lpq -o 빌드/lib.linux-x86_64-2.7/ psycopg2/_psycopg.so
/usr/local/bin/ld: 이 링커는 sysroots
Collect2를 사용하도록 구성되지 않았습니다. 오류: ld가 1개의 종료 상태를 반환했습니다
오류: 'x86_64-linux-gnu-gcc' 명령이 종료 상태로 인해 실패했습니다. 1

------------------
psycopg2에 대한 빌딩 휠 실패
실행 설정 psycopg2에 대한 .py clean
python-ldap에 대한 setup.py bdist_wheel 실행 ... error
/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build- 명령의 출력 완료 oR6jUt/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close( );exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpY3tYUepip-wheel- --python-tag cp27:
정의: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /usr /include /usr/include/sasl /usr/local/include /usr/local/include/sasl
library_dirs: /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
libs: ldap_r
running bdist_wheel
running build
running build_py
파일 Lib/ldap.py(모듈 ldap용)를 찾을 수 없음
파일 Lib/ldap/controls.py(모듈 ldap.controls용)을 찾을 수 없음
파일 Lib/ldap/extop.py( 모듈 ldap.extop) 찾을 수 없음
파일 Lib/ldap/schema.py(모듈 ldap.schema용) 없음
빌드 생성
생성 build/lib.linux-x86_64-2.7
복사 Lib/ldapurl.py -> build/lib.linux-x86_64-2.7
Lib/ldif.py 복사 -> build/lib.linux-x86_64-2.7
Lib/dsml.py 복사 -> build/lib.linux-x86_64-2.7
build/lib.linux-x86_64-2.7/ldap 만들기
Lib/ldap/__init__.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/async.py 복사 -> build/lib.linux-x86_64-2.7/ldap
build/lib.linux-x86_64-2.7/ldap/controls 만들기
Lib/ldap/controls/__init__.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/deref.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/libldap.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/openldap.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/ppolicy.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/psearch.py ​​복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/pwdpolicy.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/readentry.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/sessiontrack.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/simple.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/controls/sss.py 복사 -> build/lib.linux-x86_64-2.7/ldap/controls
Lib/ldap/cidict.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/dn.py 복사 -> build/lib.linux-x86_64-2.7/ldap
build/lib.linux-x86_64-2.7/ldap/extop
생성 Lib/ldap/extop/__init__.py 복사 -> build/lib.linux-x86_64-2.7/ldap/extop
Lib/ldap/extop/dds.py 복사 -> 빌드/lib.linux-x86_64-2.7/ldap/extop
Lib/ldap/filter.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/functions.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/ldapobject.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/logger.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/modlist.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/resiter.py 복사 -> build/lib.linux-x86_64-2.7/ldap
Lib/ldap/sasl.py 복사 -> build/lib.linux-x86_64-2.7/ldap
build/lib.linux-x86_64-2.7/ldap/schema
만들기 Lib/ldap/schema/__init__.py 복사 -> build/lib.linux-x86_64-2.7/ldap/schema
Lib/ldap/schema/models.py 복사 -> build/lib.linux-x86_64-2.7/ldap/schema
Lib/ldap/schema/subentry.py 복사 -> build/lib.linux-x86_64-2.7/ldap/schema
Lib/ldap/schema/tokenizer.py 복사 -> build/lib.linux-x86_64-2.7/ldap/schema
Lib/ldap/syncrepl.py 복사 -> build/lib.linux-x86_64-2.7/ldap
파일 Lib/ldap.py(모듈 ldap용)를 찾을 수 없음
파일 Lib/ldap/controls.py(모듈 ldap.controls용)을 찾을 수 없음
파일 Lib/ldap/extop .py(모듈 ldap.extop용)를 찾을 수 없음
파일 Lib/ldap/schema.py(모듈 ldap.schema용)을 찾을 수 없음
egg_info 실행
Lib/python_ldap.egg-info/requires.txt에 요구 사항 쓰기
Lib 쓰기 /python_ldap.egg-info/PKG-INFO
Lib/python_ldap.egg-info/top_level.txt에 최상위 이름 쓰기
Lib/python_ldap.egg-info/dependent_links.txt
에 종속성_링크 쓰기

경고: 매니페스트_메이커: 표준 파일 '-c'를 찾을 수 없습니다🎜

파일 Lib/ldap.py(모듈 ldap용)를 찾을 수 없음
파일 Lib/ldap/controls.py(모듈 ldap.controls용)을 찾을 수 없음
파일 Lib/ldap/extop.py(모듈 ldap.extop용)을 찾을 수 없음
파일 Lib/ldap/schema.py(모듈 ldap.schema용)를 찾을 수 없습니다
매니페스트 파일 'Lib/python_ldap.egg-info/SOURCES.txt'를 읽는 중
매니페스트 템플릿 'MANIFEST.in'을 읽는 중
경고: 파일을 찾을 수 없습니다. 'Makefile' 일치
경고: 'Modules/LICENSE'와 일치하는 파일을 찾을 수 없습니다
매니페스트 파일 'Lib/python_ldap.egg-info/SOURCES.txt' 쓰기
build_ext
실행 '_ldap' 확장자
생성 build/temp.linux- x86_64-2.7
빌드/temp.linux-x86_64-2.7/Modules
생성 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include /sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2.7 -c Modules/LDAPObject.c -o build/temp.linux-x86_64-2.7/Modules /LDAPObject.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=형식 보안 -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I /usr/local/include/sasl -I/usr/include/python2.7 -c Modules/ldapcontrol.c -o build/temp.linux-x86_64-2.7/Modules/ldapcontrol.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr /include/python2.7 -c 모듈/common.c -o 빌드/temp.linux-x86_64-2.7/Modules/common.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2.7 -c 모듈/상수. c -o 빌드/temp.linux-x86_64-2.7/Modules/constants.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror= 형식 보안 -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/ include/sasl -I/usr/include/python2.7 -c 모듈/errors.c -o 빌드/temp.linux-x86_64-2.7/Modules/errors.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG - g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R - DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2. 7 -c Modules/functions.c -o build/temp.linux-x86_64-2.7/Modules/functions.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes - fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/ usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2.7 -c 모듈/schema.c -o 빌드/ temp.linux-x86_64-2.7/Modules/schema.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE= 2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl - I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2.7 -c Modules/ldapmodule.c -o build/temp.linux-x86_64-2.7/Modules/ldapmodule. o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat - Werror=형식 보안 -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/ 로컬/include/sasl -I/usr/include/python2.7 -c 모듈/message.c -o 빌드/temp.linux-x86_64-2.7/Modules/message.o
x86_64-linux-gnu-gcc -pthread - DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS - DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/ python2.7 -c 모듈/version.c -o 빌드/temp.linux-x86_64-2.7/Modules/version.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror= 형식 보안 -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/ include/sasl -I/usr/include/python2.7 -c 모듈/options.c -o 빌드/temp.linux-x86_64-2.7/Modules/options.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG - g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R - DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.27 -IModules -I/usr/include -I/usr/include/sasl -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python2. 7 -c Modules/berval.c -o build/temp.linux-x86_64-2.7/Modules/berval.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions - Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong - Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security 빌드/temp.linux -x86_64-2.7/Modules/LDAPObject.o 빌드/temp.linux-x86_64-2.7/Modules/ldapcontrol.o 빌드/temp.linux-x86_64-2.7/Modules/common.o 빌드/temp.linux-x86_64-2.7/ Modules/constants.o 빌드/temp.linux-x86_64-2.7/Modules/errors.o 빌드/temp.linux-x86_64-2.7/Modules/functions.o 빌드/temp.linux-x86_64-2.7/Modules/schema.o 빌드/temp.linux-x86_64-2.7/Modules/ldapmodule.o 빌드/temp.linux-x86_64-2.7/Modules/message.o 빌드/temp.linux-x86_64-2.7/Modules/version.o 빌드/temp.linux -x86_64-2.7/Modules/options.o 빌드/temp.linux-x86_64-2.7/Modules/berval.o -L/usr/local/lib -L/usr/local/lib64 -Wl,-R/usr/local /lib -Wl,-R/usr/local/lib64 -lldap_r -o build/lib.linux-x86_64-2.7/_ldap.so
/usr/local/bin/ld: 이 링커는 sysroots
Collect2를 사용하도록 구성되지 않았습니다. : 오류: ld가 1 종료 상태를 반환했습니다
오류: 'x86_64-linux-gnu-gcc' 명령이 종료 상태 1

으로 실패했습니다.

------------------
python-ldap에 대한 빌딩 휠 실패
python-ldap에 대해 setup.py clean을 실행 중
lxml psutil psycopg2 python-ldap
을 빌드하지 못했습니다. 수집된 패키지 설치: lxml, ebaysdk, Feedparser, greenlet, gevent, jcconv, Mako, funcsigs, mock, ofxparse, Pillow, psutil, psycopg2, pyparsing, pydot, pyserial, Python-Chart, python-dateutil, python-ldap, pyusb, PyYAML, qrcode, suds-jurko, vobject, Werkzeug, XlsxWriter, xlwt, xlrd, xlutils, Sphinx, Pockets, sphinxcontrib-napoleon, docxtpl, pdfkit
기존 설치 발견: lxml 3.7.3

으아악

lxml용 setup.py 설치 실행 중... 오류

으아악

lxml 제거 롤백
명령 "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-oR6jUt/lxml/setup.py';f=getattr(tokenize, '열기', 열기)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" 설치 --record /tmp/pip-iHu1KI-record/install-record.txt --single-version-externally-managed --compile"이 /tmp/pip-build-oR6jUt/lxml/

의 오류 코드 1로 인해 실패했습니다.

이전 프롬프트에서 볼 수 있듯이
수집된 패키지에 대한 빌드 휠: lxml, psutil, psycopg2, python-ldap
lxml용 setup.py bdist_wheel 실행... 오류

lxml용 빌드 휠 실패
psutil용 빌드 휠 실패
psycopg2용 빌드 휠 실패
python-ldap용 빌드 휠 실패
reportlab용 빌드 휠 실패

My lxml이 설치되어 pip 목록에서 볼 수 있습니다

온라인에서 많이 검색했지만 아직 해결책을 찾지 못했습니다.

伊谢尔伦伊谢尔伦2686일 전1197

모든 응답(1)나는 대답할 것이다

  • 欧阳克

    欧阳克2017-06-12 09:28:59

    1. 오류 보고서'오류: 'x86_64-linux-gnu-gcc' 명령이 종료 상태 1로 실패했습니다.'Google에서 이 오류 보고서를 검색하여 해결책을 찾을 수 있습니다. 더 많은 것을 시도해보세요

    2. 참조 링크 제공: (https://stackoverflow.com/que...

    회신하다
    0
  • 취소회신하다