【问题标题】:genbarcode 0.4 - make: *** [.dep] Error 123genbarcode 0.4 - make: *** [.dep] 错误 123
【发布时间】:2013-08-06 09:44:49
【问题描述】:

我正在尝试从http://www.ashberg.de/php-barcode/download/ 安装 genbarcode 0.4。在 Centos 6.3 64bit 上。

按照自述文件,我通过 yum (0.98-17.el6) 安装了条形码,然后在 genbarcode 目录中运行 make。然后我收到以下错误:

creating depencies
rm -f .tmp.dep
gcc -M -Wall -I/usr/local/include ./genbarcode.c
./genbarcode.c:35:21: error: barcode.h: No such file or directory
make: *** [.dep] Error 123

我还根据 genbarcode 中包含的自述文件从源代码编译和安装了条形码 0.99,但得到了同样的错误。我还尝试将提到的文件“barcode.h”移动到带有 genbarcode 的目录中,但随后我收到有关我找不到的其他丢失文件的错误。

我已经将 genbarcode Makfile 的第 57 行更改为:

@find . -maxdepth 1 -name "*.c" -print0 | xargs -n 1 -0t $(CC) -M $(CFLAGS)  >>.tmp.dep

因为它会在原版中产生警告:

@find . -name "*.c"   -maxdepth 1 -print0 | xargs -n 1 -0t $(CC) -M $(CFLAGS)  >>.tmp.dep

感谢任何帮助。

【问题讨论】:

    标签: compilation compiler-errors makefile barcode


    【解决方案1】:

    尝试安装barcode-develbarcode 包不包含针对barcode 进行开发/构建所需的文件,例如头文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-27
      • 2015-06-19
      • 1970-01-01
      • 2021-01-01
      相关资源
      最近更新 更多