apache+php+gd설치시 에러발생...
글쓴이: stypr / 작성시간: 화, 2004/10/19 - 9:42오후
php-4.0.5를 컴파일하고, make하면 아래의 에러가 발생하는군요.
컴파일시에 xpm을 못찾았는데 그것이 원인인쥐....?
gd.c:91: error: conflicting types for 'gdIOCtx'
/usr/local/include/gd_io.h:18: error: previous declaration of 'gdIOCtx' was here
gmake[3]: *** [gd.lo] Error 1
gmake[3]: Leaving directory `/home/download/php-4.0.5/ext/gd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/download/php-4.0.5/ext/gd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/download/php-4.0.5/ext'
gmake: *** [all-recursive] Error 1
Forums:
gd.c:91: error: conflicting types for 'g
gd.c:91: error: conflicting types for 'gdIOCtx'
/usr/local/include/gd_io.h:18: error: previous declaration of 'gdIOCtx' was here
php-4와 이미 설치된 GD 라이브러리 버전이
문제가 되는 것 같습니다....
제 생각에는 configure할 때 표시되는 gd라이브러리 버전을
찾아서 지금껏은 제거하고 다시 설치하거나,
php를 다른 버전으로 컴파일을 해보시라고
권장해드리고 싶네요.
There is no spoon. Neo from the Matrix 1999.
네..그렇게 느껴지는군요..그런데..
문제는 HP-UX라 그런지는 모르겠어도. gd를 HP-UX로 패키징된것이 아니면 거의 설치가 안된다는것이 문제랍니다.
또. 패키징으로설치하면 PHP에서 제대로 찾지를못해요....
아...........뭐, 이런일이...
그런 고충이 있으셨군요...고생하십니다. :( 소스를 일
그런 고충이 있으셨군요...
고생하십니다. :(
소스를 일부 손보심이...
gd.c 부분을 수정하는 것도 좋을 듯 합니다.
There is no spoon. Neo from the Matrix 1999.
댓글 달기