Octave 4.4.1에 이미지 패키지를 설치해 보세요.

Octave 4.4.1에 이미지 패키지를 설치해 보세요.

나는 다음 버전의 리눅스를 사용하고 있습니다.

e130167@instance-1:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.6 (stretch)
Release:        9.6
Codename:       stretch

Octave 버전 4.4.1이 있고 Octave 이미지 패키지를 설치하려고 합니다.https://octave.sourceforge.io/image/index.html. tar.gz 파일을 다운로드하고 다음 명령을 실행했는데 오류가 발생했습니다.

octave:2> pkg install image-2.8.0.tar.gz
pkg: please install the Debian package "liboctave-dev" to get the mkoctfile command
error: called from
    __gripe_missing_component__ at line 53 column 3
    configure_make at line 44 column 7
    install at line 186 column 7
    pkg at line 437 column 9
octave:2>

그래서 liboctave-dev를 설치하려고 했지만 이제 이 오류가 발생합니다.

e130167@instance-1:~$ sudo apt-get install liboctave-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 liboctave-dev : Depends: liboctave3v5 (= 4.0.3-3) but it is not going to be installed
                 Depends: octave (= 4.0.3-3) but 4.4.1-2~bpo9+1 is to be installed
E: Unable to correct problems, you have held broken packages.

답변1

너가 ~ 한 뒤로Stretch에서 백포트된 옥타브 설치, 거기에서 개발 패키지도 설치해야 합니다.

sudo apt-get install -t stretch-backports liboctave-dev

관련 정보