Giter Club home page Giter Club logo

Comments (4)

Nevuly avatar Nevuly commented on September 2, 2024

오류의 원인을 찾았습니다.

hangul.h 파일이 해당 디렉터리에 존재하지 않음으로써 발생하는 오류였습니다.

#include <hangul.h> 이부분을 사용하기 위해 파일을 추가해 주시거나 아니면 다른 방법으로 연결할 방법을 찾아주시면 감사하겠습니다.

from nimf.

chaeya avatar chaeya commented on September 2, 2024

@Nevuly 1.3.0 버전을 빌드해보니 fedora 33에 설치되는 libhangul 라이브러리에 포함되지 않은 함수를 호출해서 생기는 문제로 보입니다. 오류나는 부분을 제거하고 빌드한 rpm 을 아래 링크에 공유했으니 설치 해보시면 될 것 같습니다.

참고) imsettings-switch nimf 로 입력기를 설정이 안되어서 sudo alternatives --config xinputrc 로 입력기를 설정했습니다.
ref : https://www.fedoralinux.or.kr/forums/topic/12269

from nimf.

piutranq avatar piutranq commented on September 2, 2024

다른 배포판에서 (Void Linux) 같은 문제를 겪었기에 적어봅니다.

패키지로서 설치되는 libhangul에 hangul_ic_set_option 함수가 없어서 생기는 문제였습니다.

그래서 저는 https://github.com/libhangul/libhangul 에서 libhangul의 마스터 브랜치를 받아서 직접 빌드했고,
이후 nimf의 마스터 브랜치도 수정 없이 빌드가 가능했습니다.

  • libhangul 빌드 중 발생하는 오류는 https://kldp.org/node/161982 를 참고했습니다.
  • pkg-config에서 직접 빌드한 libhangul을 인식하지 못해 PKG_CONFIG_PATH 환경변수에 /usr/local/lib/pkg-config 를 등록했습니다.

from nimf.

Nevuly avatar Nevuly commented on September 2, 2024

현재 저같은 경우 빌드는 성공했으나, Fedora의 불안정 문제로 인해 데비안으로 돌아간 상태입니다.

그때 당시 빌드할 때 include로 hangul.h 라이브러리를 불러오는게 소스코드 내부에 존재했고, 저같은 경우 hangul.h를 libhangul master branch에서 데리고 와 수동으로 추가하여 넣고 빌드하였습니다.

빌드는 정상적으로 이루어졌고요.

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.