被这个问题困扰不已,请问这个程序怎么编译??

liangzha 2008-09-05 11:56:38
最近学习国外一个程序的源代码 于是从svn上check out下来

我是个菜鸟,弄了两周都不知道如何编译这个程序

实在不知道如何编译这个程序,请有经验的帮忙下,
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
...全文
1146 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
快乐田伯光 2008-09-05
  • 打赏
  • 举报
回复
看README
huyongzs 2008-09-05
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 x86 的回复:]
先运行bootstrip:
sh ./bootstrip
会生成Makefile.in
然后./configure
Make

我这里往下走了,不过缺一些图形之类的库,编译没成功。
[/Quote]
如是如是,这些成功之后还没编译成功就是另一个的问题了。主要是需要一些库的支持。
其实出现了congfigure文件之后难点已经解除了。
liangzha 2008-09-05
  • 打赏
  • 举报
回复
还是没有人真正编译成功啊?

[Quote=引用 5 楼 bshawk 的回复:]
引用 3 楼 x86 的回复:
先运行bootstrip:
sh ./bootstrip
会生成Makefile.in
然后./configure
Make

我这里往下走了,不过缺一些图形之类的库,编译没成功。


ls的方法简单! 没主要到还有个bootstrap文件!
[/Quote]
bshawk 2008-09-05
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 x86 的回复:]
先运行bootstrip:
sh ./bootstrip
会生成Makefile.in
然后./configure
Make

我这里往下走了,不过缺一些图形之类的库,编译没成功。
[/Quote]

ls的方法简单! 没主要到还有个bootstrap文件!
bshawk 2008-09-05
  • 打赏
  • 举报
回复
思路:就是要先生成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!
x86 2008-09-05
  • 打赏
  • 举报
回复
先运行bootstrip:
sh ./bootstrip
会生成Makefile.in
然后./configure
Make

我这里往下走了,不过缺一些图形之类的库,编译没成功。
liangzha 2008-09-05
  • 打赏
  • 举报
回复
readme 是空的

23,121

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧