我是个菜鸟,弄了两周都不知道如何编译这个程序
实在不知道如何编译这个程序,请有经验的帮忙下,
100分不算什么,请指导下新人定感激不已
放在这里下载
http://www.keno888.cn/downloads/captcha.zip
文件目录
AUTHORS ChangeLog COPYING Makefile.am README src
bootstrap configure.ac extras NEWS share
运行autoreconf 如下结果
configure.ac: required file `.auto/install-sh' not found
configure.ac: required file `.auto/missing' not found
src/Makefile.am: required file `.auto/compile' not found
src/Makefile.am: required file `.auto/depcomp' not found
Makefile.am: required file `./INSTALL' not found
autoreconf: automake failed with exit status: 1
运行automake 如下结果
configure.ac:4: required directory ./.auto does not exist
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac: required file `.auto/install-sh' not found
configure.ac: required file `.auto/missing' not found
src/Makefile.am:19: USE_SDL does not appear in AM_CONDITIONAL
src/Makefile.am:23: USE_IMLIB2 does not appear in AM_CONDITIONAL
src/Makefile.am:27: USE_OPENCV does not appear in AM_CONDITIONAL
src/Makefile.am: required file `.auto/compile' not found
src/Makefile.am: required file `.auto/depcomp' not found
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
Makefile.am: required file `./INSTALL' not found
root@shenzhen:/home/michael/public_html/captcha# required file `.auto/install-sh' not found
7 个解决方案
#1
看README
#2
readme 是空的
#3
先运行bootstrip:
sh ./bootstrip
会生成Makefile.in
然后./configure
Make
我这里往下走了,不过缺一些图形之类的库,编译没成功。
sh ./bootstrip
会生成Makefile.in
然后./configure
Make
我这里往下走了,不过缺一些图形之类的库,编译没成功。
#4
思路:就是要先生成configure文件,然后在有configure产生makefile
参考:autoscan,aclocal,autoconf,automake
大概步骤:(假设工作目录为captcha/)
#1, 进入captcha 目录;
#2, 执行autoscan;
#3, 执行aclocal;
#4, 执行autoconf;
#5, 将/usr/share/automake-1.x 目录拷贝到当前目录下作为 .auto目录
# cp /usr/share/automake-1.x .auto
#6, 新建两个空文件: config.h.in INSTALL,目的仅仅是减少警告
# touch config.h.in INSTALL
#7, 执行automake; 然后你就得到了configure文件;接下来就和大多数开源项目编译一样了
#8, 执行 ./configure 产生Makefile
#9, make
GO0D LUCK!
参考:autoscan,aclocal,autoconf,automake
大概步骤:(假设工作目录为captcha/)
#1, 进入captcha 目录;
#2, 执行autoscan;
#3, 执行aclocal;
#4, 执行autoconf;
#5, 将/usr/share/automake-1.x 目录拷贝到当前目录下作为 .auto目录
# cp /usr/share/automake-1.x .auto
#6, 新建两个空文件: config.h.in INSTALL,目的仅仅是减少警告
# touch config.h.in INSTALL
#7, 执行automake; 然后你就得到了configure文件;接下来就和大多数开源项目编译一样了
#8, 执行 ./configure 产生Makefile
#9, make
GO0D LUCK!
#5
ls的方法简单! 没主要到还有个bootstrap文件!
#6
还是没有人真正编译成功啊?
#7
如是如是,这些成功之后还没编译成功就是另一个的问题了。主要是需要一些库的支持。
其实出现了congfigure文件之后难点已经解除了。
#1
看README
#2
readme 是空的
#3
先运行bootstrip:
sh ./bootstrip
会生成Makefile.in
然后./configure
Make
我这里往下走了,不过缺一些图形之类的库,编译没成功。
sh ./bootstrip
会生成Makefile.in
然后./configure
Make
我这里往下走了,不过缺一些图形之类的库,编译没成功。
#4
思路:就是要先生成configure文件,然后在有configure产生makefile
参考:autoscan,aclocal,autoconf,automake
大概步骤:(假设工作目录为captcha/)
#1, 进入captcha 目录;
#2, 执行autoscan;
#3, 执行aclocal;
#4, 执行autoconf;
#5, 将/usr/share/automake-1.x 目录拷贝到当前目录下作为 .auto目录
# cp /usr/share/automake-1.x .auto
#6, 新建两个空文件: config.h.in INSTALL,目的仅仅是减少警告
# touch config.h.in INSTALL
#7, 执行automake; 然后你就得到了configure文件;接下来就和大多数开源项目编译一样了
#8, 执行 ./configure 产生Makefile
#9, make
GO0D LUCK!
参考:autoscan,aclocal,autoconf,automake
大概步骤:(假设工作目录为captcha/)
#1, 进入captcha 目录;
#2, 执行autoscan;
#3, 执行aclocal;
#4, 执行autoconf;
#5, 将/usr/share/automake-1.x 目录拷贝到当前目录下作为 .auto目录
# cp /usr/share/automake-1.x .auto
#6, 新建两个空文件: config.h.in INSTALL,目的仅仅是减少警告
# touch config.h.in INSTALL
#7, 执行automake; 然后你就得到了configure文件;接下来就和大多数开源项目编译一样了
#8, 执行 ./configure 产生Makefile
#9, make
GO0D LUCK!
#5
ls的方法简单! 没主要到还有个bootstrap文件!
#6
还是没有人真正编译成功啊?
#7
如是如是,这些成功之后还没编译成功就是另一个的问题了。主要是需要一些库的支持。
其实出现了congfigure文件之后难点已经解除了。