메뉴 건너뛰기

조회 수 10744 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

[문제점]

php 5.2.17 configure 진행 후 make 진행시에 오류가 발생했음

/usr/local/src/php-5.2.17/ext/dom/node.c:1953:21: error: dereferencing pointer to incomplete type

    ret = buf->buffer->use;

                     ^

In file included from /usr/local/src/php-5.2.17/main/php.h:38:0,

                 from /usr/local/src/php-5.2.17/ext/dom/node.c:26:

/usr/local/src/php-5.2.17/ext/dom/node.c:1955:40: error: dereferencing pointer to incomplete type

     RETVAL_STRINGL((char *) buf->buffer->content, ret, 1);

                                        ^

/usr/local/src/php-5.2.17/Zend/zend_API.h:472:14: note: in definition of macro ‘ZVAL_STRINGL’

   char *__s=(s); int __l=l; \

              ^

/usr/local/src/php-5.2.17/ext/dom/node.c:1955:5: note: in expansion of macro ‘RETVAL_STRINGL’

     RETVAL_STRINGL((char *) buf->buffer->content, ret, 1);

make: *** [ext/dom/node.lo] 오류 1


참고 블로그 : https://github.com/phpbrew/phpbrew/issues/492

Patch File Download : https://code.google.com/p/php52-backports/issues/detail?id=16


[해결 방법]

패치 파일 다운로드 후 php 소스 파일과 같은 경로로 이동. 적용

# patch -p0 < ./libxml29_compat.patch 

(Stripping trailing CRs from patch; use --binary to disable.)

patching file ext/dom/node.c

Hunk #1 succeeded at 1950 (offset 55 lines).

(Stripping trailing CRs from patch; use --binary to disable.)

patching file ext/dom/documenttype.c

Hunk #1 succeeded at 215 (offset 10 lines).

(Stripping trailing CRs from patch; use --binary to disable.)

patching file ext/simplexml/simplexml.c

Hunk #1 succeeded at 1343 (offset -74 lines).


List of Articles
번호 제목 날짜 조회 수
157 대용량 HDD 파티셔닝(Mass storage Partitioning) 2014.02.27 7351
156 다중명령어(세미콜론(;), 파이프pipe(|), 더블 엔퍼센트 &&, ||)의미,사용법과 차이점 file 2023.01.12 154
155 긴급 스왑 메모리 추가 하기 2014.03.26 7622
154 기본 허가권,퍼미션 지정(제어, 설정)하기(umask와 작동 원리) file 2023.01.12 164
153 [Linux]리눅스,사용자계정(관련 파일,명령어) file 2015.11.21 8159
152 [CentOS 7] SSH 무작위 로그인 시도 막기 ( Fail2Ban ) 2018.03.28 69692
151 [CentOS 6.5] Virtual Box를 이용한 CentOS 6.5 설치 file 2017.03.11 6600
150 [CentOS 6.5] Tomcat 설치 및 구동 file 2017.03.11 9483
149 [CentOS 6.5] SSH,TELNET, FTP 설치 및 운용 file 2017.03.11 8558
148 [CentOS 6.5] JDK (JAVA) 설치 file 2017.03.11 8690
147 [apache] - .htaccess 설정 2016.03.18 7262
146 ZendOptimizer 3.3.9 설치하기 2014.03.26 7006
145 yum으로 phpmyadmin 설치 2014.03.26 7537
144 Yum과 rpm을 이용하여 PHP5.5버전 설치 2016.03.18 8075
143 yum-fastestmirror로 CentOS 5.0 의 yum 속도 업! 2016.03.18 7513
142 yum 업데이트 시 특정 패키지 예외처리 2016.03.18 8350
141 yum 업데이트 빠르게 하기 (yum-fastestmirror 플러그인 2014.02.27 7749
140 yum rpmforge 등록하기 2014.02.27 7806
139 yum (Yellowdog Updater Modified) 명령어 정리 2014.02.27 7625
138 webmin 설치하기 2014.02.27 7482
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved