crfsuite include path

オープン
#103 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
build-system

調査の方向性

The report identifies the generated file pycrfsuite/_pycrfsuite.cpp and the failing include paths, but it does not name the Cython source or build configuration that controls them. Start by locating the source declarations and build include settings that generate this file; determine how to resolve the CRFsuite headers without hardcoding /usr/include/. Done means a clean build finds both headers, with the generated C++ file still reproducible.

索引モデルが issue の本文から書いたものです。

説明

The Cython-generated pycrfsuite/_pycrfsuite.cpp file includes

#include "../crfsuite/include/crfsuite.h"
#include "../crfsuite/include/crfsuite_api.hpp"

which leads to compilation failure:
pycrfsuite/_pycrfsuite.cpp:586:10: fatal error: ../crfsuite/include/crfsuite.h: No such file or directory

How can I change this to (or without /usr/include/)

#include "/usr/include/crfsuite.h"
#include "/usr/include/crfsuite_api.hpp"
``` ?

The file is not patchable because Cython always regenerates it.
Thanks in advance.
主要言語
Python
スター
774
フォーク
223
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

scrapinghub/python-crfsuite のほかの issue

scrapinghub/python-crfsuite の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。