Giter Club home page Giter Club logo

Comments (17)

chaeya avatar chaeya commented on September 2, 2024 1

@mxa Correct. nimf apt repository for Ubuntu 20.10 is https://pkg.hamonikr.org/ . that address is for ubuntu 18.04. have a nice day.

from nimf.

mxa avatar mxa commented on September 2, 2024

Did you compile it locally to make it run on 20.10?

from nimf.

awesometic avatar awesometic commented on September 2, 2024

Did you compile it locally to make it run on 20.10?

Yes, I did. Cloned this repository and followed the guide on this Wiki.
https://github.com/hamonikr/nimf/wiki/HamoniKR-build

from nimf.

mxa avatar mxa commented on September 2, 2024

Yes, I did. Cloned this repository and followed the guide on this Wiki.
https://github.com/hamonikr/nimf/wiki/HamoniKR-build

I'm getting errors:

Package libqt4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libqt4-dev' has no installation candidate

and

dpkg-checkbuilddeps: error: Unmet build dependencies: intltool (>= 0.50.1) qtbase5-dev qtbase5-private-dev libappindicator3-dev librsvg2-bin libhangul-dev libanthy-dev anthy librime-dev (>= 1.2.9) libxklavier-dev libm17n-dev (>= 1.7.0) m17n-db (>= 1.7.0) gtk-doc-tools (>= 1.26)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

from nimf.

awesometic avatar awesometic commented on September 2, 2024

I'm getting errors:

Package libqt4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libqt4-dev' has no installation candidate

AFAIK that libqt4-dev package is deprecated in Ubuntu 20.10. I ignored that package and could build nimf packages using debuild -b -us -uc.

from nimf.

chaeya avatar chaeya commented on September 2, 2024

@awesometic

Ubuntu 20.10 groovy 에서 설치할 수 있는 저장소를 추가하고 새로 업데이트 했습니다.
테스트해 보시고 버그가 있으시면 리포트 해주세요 ^^

Install nimf on Ubuntu 20.10 groovy

curl -sL https://pkg.hamonikr.org/add-hamonikr.apt | sudo -E bash -

sudo apt install nimf nimf-libhangul

# 만약 일본어, 중국어 등 다른언어를 사용하고 싶은경우에는 다음과 같이 추가 패키지를 설치해줍니다.
# Install additional packages as follows if you want to use other languages(Japanese, Chinese, etc.)
sudo apt install libnimf1 nimf nimf-anthy nimf-dev nimf-libhangul nimf-m17n nimf-rime

im-config -n nimf
``

즐거운 하루 보내세요

from nimf.

chaeya avatar chaeya commented on September 2, 2024

@mxa Sorry for late check.
I just updated today below document.
Try the build as per the documentation below and let me know if it doesn't work.
https://github.com/hamonikr/nimf/wiki/HamoniKR-build

from nimf.

mxa avatar mxa commented on September 2, 2024

Where do I go from there? After that should I follow the INSTALL document?
If I do so, I'm getting errors on make

 /bin/mkdir -p '/usr/local/lib/nimf/modules'
 /bin/bash ../../../libtool   --mode=install /usr/bin/install -c   libnimf-libhangul.la '/usr/local/lib/nimf/modules'
libtool:   error: error: cannot install 'libnimf-libhangul.la' to a directory not ending in /usr/lib/x86_64-linux-gnu/nimf/modules
make[4]: *** [Makefile:480: install-moduleLTLIBRARIES] Error 1
make[4]: Leaving directory '/home/max/Code/nimf/modules/engines/nimf-libhangul'
make[3]: *** [Makefile:686: install-am] Error 2
make[3]: Leaving directory '/home/max/Code/nimf/modules/engines/nimf-libhangul'
make[2]: *** [Makefile:453: install-recursive] Error 1
make[2]: Leaving directory '/home/max/Code/nimf/modules/engines'
make[1]: *** [Makefile:448: install-recursive] Error 1
make[1]: Leaving directory '/home/max/Code/nimf/modules'
make: *** [Makefile:511: install-recursive] Error 1

from nimf.

mxa avatar mxa commented on September 2, 2024

@awesometic
sudo apt install nimf nimf-libhangul

If I run that I'm getting

sudo apt install nimf nimf-libhangul
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:
 nimf : Depends: qtbase-abi-5-12-8 but it is not installable
E: Unable to correct problems, you have held broken packages.

from nimf.

chaeya avatar chaeya commented on September 2, 2024

@mxa
Sorry for inconvenience.
I tried rebuild on Ubuntu 20.10 Clean install with VirtualBox.
But I couldn't found any error.

Could you check below link?
https://github.com/hamonikr/nimf/wiki/Build-on-Ubuntu-20.10-groovy

from nimf.

mxa avatar mxa commented on September 2, 2024

Thank you for your help.

sudo dpkg -i nimf_*.deb nimf-libhangul_*.deb
[sudo] password for max: 
Selecting previously unselected package nimf.
(Reading database ... 715180 files and directories currently installed.)
Preparing to unpack nimf_1.2.0hamonikr30.1_amd64.deb ...
Unpacking nimf (1.2.0hamonikr30.1) ...
Selecting previously unselected package nimf-libhangul.
Preparing to unpack nimf-libhangul_1.2.0hamonikr30.1_amd64.deb ...
Unpacking nimf-libhangul (1.2.0hamonikr30.1) ...
dpkg: dependency problems prevent configuration of nimf:
 nimf depends on libnimf1 (= 1.2.0hamonikr30.1); however:
  Package libnimf1 is not installed.

dpkg: error processing package nimf (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nimf-libhangul:
 nimf-libhangul depends on libnimf1; however:
  Package libnimf1 is not installed.
 nimf-libhangul depends on nimf (= 1.2.0hamonikr30.1); however:
  Package nimf is not configured yet.

dpkg: error processing package nimf-libhangul (--install):
 dependency problems - leaving unconfigured
Processing triggers for libgtk2.0-0:amd64 (2.24.32-4ubuntu4) ...
Cannot load module /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-nimf-gtk2.so: libnimf.so.1: cannot open shared object file: No such file or directory
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-nimf-gtk2.so does not export GTK+ IM module API: libnimf.so.1: cannot open shared object file: No such file or directory
Processing triggers for libgtk-3-0:amd64 (3.24.23-1ubuntu1) ...
Cannot load module /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-nimf-gtk3.so: libnimf.so.1: cannot open shared object file: No such file or directory
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-nimf-gtk3.so does not export GTK+ IM module API: libnimf.so.1: cannot open shared object file: No such file or directory
Processing triggers for desktop-file-utils (0.24-1ubuntu4) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.66.1-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.9.3-2) ...
Errors were encountered while processing:
 nimf
 nimf-libhangul

from nimf.

chaeya avatar chaeya commented on September 2, 2024

@mxa It seems your environment missed Korean keyboard input library. try install libhangul1 package before nimf install.
sudo apt install libhangul1 libhangul-data

from nimf.

chaeya avatar chaeya commented on September 2, 2024

@mxa I recommend below method

curl -sL https://pkg.hamonikr.org/add-hamonikr.apt | sudo -E bash -
sudo apt install -y nimf nimf-libhangul libnimf1 nimf nimf-dev nimf-libhangul
im-config -n nimf

from nimf.

mxa avatar mxa commented on September 2, 2024
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libnimf1 is already the newest version (1.2.0hamonikr30.1).
libnimf1 set to manually installed.
nimf-libhangul is already the newest version (1.2.0hamonikr30.1).
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:
 nimf : Depends: qtbase-abi-5-12-8 but it is not installable
E: Unable to correct problems, you have held broken packages.

If I search for qtbase-abi- in my package manager, I only find qtbase-abi-5-9-5-dummy Dummy package for Debian Buster from the 1.2.0hamonikr30.1 sources

from nimf.

awesometic avatar awesometic commented on September 2, 2024

@chaeya , 업데이트 감사합니다 ㅎㅎ

@mxa ,
How about this command to satisfy the dependencies?
sudo apt install libglib2.0-dev intltool libgtk-3-dev libgtk2.0-dev libappindicator3-dev librsvg2-bin libhangul-dev libanthy-dev anthy librime-dev libxkbcommon-dev libwayland-dev wayland-protocols libxklavier-dev libm17n-dev m17n-db gtk-doc-tools devscripts build-essential debhelper qtbase5-dev qtbase5-private-dev

I removed "qt" things and added those two packages seen at the tail. This worked today on my new Ubuntu 20.10 system.
Hope this helps.
edit) Sorry, this is already mentioned by @chaeya ,
https://github.com/hamonikr/nimf/wiki/Build-on-Ubuntu-20.10-groovy
Couldn't notice that. :)

BTW, now we can use the already-packed packages from the official repository.

from nimf.

mxa avatar mxa commented on September 2, 2024

ok. But:

rm nimf -r
rm: remove write-protected regular file 'nimf/.git/objects/pack/pack-0d93b2c9ac3530f00f169efd0468f794d60b7d88.idx'? y
rm: remove write-protected regular file 'nimf/.git/objects/pack/pack-0d93b2c9ac3530f00f169efd0468f794d60b7d88.pack'? y
rm libnimf1*
rm qtbase-abi-5-9-5-dummy_1.2.0hamonikr30.1_amd64.deb
sudo apt install nimf
[sudo] password for max: 
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:
 nimf : Depends: qtbase-abi-5-12-8 but it is not installable
E: Unable to correct problems, you have held broken packages.

from nimf.

mxa avatar mxa commented on September 2, 2024

I think I fixed it by removing https://apt.hamonikr.org/ jin main upstream from the repositories.

from nimf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.