2013-08-06 49 views
1

我想从http://www.ashberg.de/php-barcode/download/安装genbarcode 0.4。在Centos 6.3 64bit上。genbarcode 0.4 - make:*** [.dep]错误123

继README后,我通过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 

我也编译从源代码安装条码0.99按列入genbarcode自述,但得到了同样的错误。我也尝试将提到'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 

任何帮助表示赞赏。

回答

1

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