CHICKEN으로 스키마 파일을 컴파일하려했는데 CHICKEN의 iup 포트를 설치해야한다고 나와 있습니다. 그래서 나는 웹 사이트에 가서 iup 포트를 설치하려고했지만 오류가 발생했습니다. 그렇다면 나는 ffcall을 얻을 필요가 있음을 깨달았다. 나는 그것을 설치하고 iup 포트를 다시 설치하려고했습니다. 그리고 실패했습니다. 시스템에 srfi-42가 설치되어 있는지 알 수 없습니다. 설치되지 않았다는 것을 알고 있더라도 iup 포트를 작동시키기 위해 srfi-42를 설치하는 방법을 여전히 모릅니다. (CHICKEN) 터미널을 통해 iup egg를 설치할 수 없습니다.
이
은 내가 오류입니다 :[email protected]:~/blah/chicken-4.11.0/chicken-4.11.0$ sudo chicken-install iup
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=iup&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Sat, 12 Nov 2016 06:16:26 GMT
Server: Apache/2.2.31 (Unix) DAV/2 PHP/5.5.36 mod_fastcgi/2.4.6
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ....
reading files ...
./iup-controls.scm
./iup-base.scm
./iup-config.scm
./iup-glcanvas.scm
./iup-dialogs.scm
./iup-dynamic.scm
./iup-glcontrols.scm
./iup-mglplot.scm
./iup-ole.scm
./iup-plot.scm
./iup-pplot.scm
./iup-scintilla.scm
./iup-types.scm
./iup-web.scm
./iup.meta
./iup.release-info
./iup.scm
./iup.setup
iup located at /tmp/temp5d54.6346/iup
checking platform for `iup' ...
checking dependencies for `iup' ...
install order:
("iup")
installing iup:1.8.0 ...
changing current directory to /tmp/temp5d54.6346/iup
'/usr/local/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"iup\" \"1.8.0\"))" 'iup.setup'
'/usr/local/bin/csc' -feature compiling-extension -setup-mode -s -O2 -d1 iup.scm -j iup -j iup-base -j iup-controls -j iup-dialogs -j iup-glcanvas -j iup-glcontrols -j iup-plot -j iup-mglplot -j iup-pplot -j iup-scintilla -j iup-web -j iup-config -lcallback -liup -liupim -liupimglib -liupcontrols -liupmatrixex -liupgl -liupglcontrols -liup_plot -liup_mglplot -liup_pplot -liup_scintilla -liupweb
iup.c:17:16: fatal error: im.h: No such file or directory
compilation terminated.
Error: shell command terminated with non-zero exit status 256: 'gcc' 'iup.c' -o 'iup.o' -c -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/usr/local/include/chicken
Error: shell command failed with nonzero exit status 256:
'/usr/local/bin/csc' -feature compiling-extension -setup-mode -s -O2 -d1 iup.scm -j iup -j iup-base -j iup-controls -j iup-dialogs -j iup-glcanvas -j iup-glcontrols -j iup-plot -j iup-mglplot -j iup-pplot -j iup-scintilla -j iup-web -j iup-config -lcallback -liup -liupim -liupimglib -liupcontrols -liupmatrixex -liupgl -liupglcontrols -liup_plot -liup_mglplot -liup_pplot -liup_scintilla -liupweb
Error: shell command terminated with nonzero exit code
17920
"'/usr/local/bin/csi' -bnq -setup-mode -e \"(require-library setup-api)\" -e \"(...
나는 꽤 오랫동안 알고 있지만 오류는 위의 출력의 힙의 끝 부분에 대해 나타납니다.
어떻게하면 ** 개발 패키지 **를 얻을 수 있습니까? –
튜토리얼 Hello world 프로그램을 컴파일하려고합니다. 그러나 치킨으로 .scm 파일을 컴파일하려고하면 모듈 iup이 설치되어 있지 않습니다. 그래서 치킨 설치 iup을 치고 누락 된 모듈을 설치했습니다. 이상은 내가 얻는 오류입니다. im.h는 정확히 어디에 있습니까? 어쩌면 - 내가 해결할 것입니다 –
개발 패키지 란 귀하의 운영 체제 용 패키지를 의미합니다. 예를 들어'apt-get install iup'과 같이'apt-get install iup-dev' 또는 비슷한 것을해야합니다. – sjamaan