QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1709|回复: 26

在suse10上装一个软件出现如下错误,自己实在是看不懂了…

[复制链接]
发表于 2005-9-11 22:47:47 | 显示全部楼层 |阅读模式
因为我是超级菜鸟,请问这个错误是什么原因导致的
谢谢大哥们帮忙

linux:/mnt/hda5/drcomsuite-0.1.12 # make KERNELVERSION=2.6.13-8-default
make -C include
make[1]: Entering directory `/mnt/hda5/drcomsuite-0.1.12/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/include'
make -C drcomc
make[1]: Entering directory `/mnt/hda5/drcomsuite-0.1.12/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make[1]: Entering directory `/mnt/hda5/drcomsuite-0.1.12/drcomcd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/drcomcd'
make -C module
make[1]: Entering directory `/mnt/hda5/drcomsuite-0.1.12/module'
make -C Linux
/bin/sh: ./mksubdir.sh: /bin/sh: bad interpreter: Permission denied
make[2]: Entering directory `/mnt/hda5/drcomsuite-0.1.12/module/Linux'
make -C
make: option requires an argument -- C
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for i686-pc-linux-gnu
Report bugs to <[email protected]>
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/module/Linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/module'
make: *** [module] Error 2
发表于 2005-9-11 22:50:58 | 显示全部楼层
你装的是64位的系统?你的内核是I686的啊,肯定不能用
回复

使用道具 举报

发表于 2005-9-11 23:04:34 | 显示全部楼层
不要在win分区进行编译
回复

使用道具 举报

 楼主| 发表于 2005-9-11 23:16:58 | 显示全部楼层
谢谢 原来是这样  我到linux分区去试一试
再次谢谢楼上两位
回复

使用道具 举报

 楼主| 发表于 2005-9-12 02:20:17 | 显示全部楼层
到linux分区安装试了一下,显示的错误又变了,倒是比上一次少了很多,为什么呢????
我是笔记本,32位的系统

wise:~/software/drcomsuite-0.1.12 # make KERNELVERSION=2.6.13-8-default
make -C include
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/include'
make -C drcomc
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/drcomcd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/drcomcd'
make -C module
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/module'
make -C Linux
make[2]: Entering directory `/root/software/drcomsuite-0.1.12/module/Linux'
make -C 2.6.x
make[3]: Entering directory `/root/software/drcomsuite-0.1.12/module/Linux/2.6.x'
make -C /lib/modules/2.6.13-8-default/build M=/root/software/drcomsuite-0.1.12/module/Linux/2.6.x modules
make[4]: Entering directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make[4]: *** No rule to make target `modules'.  Stop.
make[4]: Leaving directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux/2.6.x'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/module'
make: *** [module] Error 2
回复

使用道具 举报

发表于 2005-9-12 02:27:13 | 显示全部楼层
你是不是因该先./configure一下啊。
回复

使用道具 举报

 楼主| 发表于 2005-9-12 10:49:17 | 显示全部楼层
我每次输入./configure都显示"错误的文件或文件夹"

这个命令我就没有用成功过……怎么回事呢
回复

使用道具 举报

发表于 2005-9-12 10:59:11 | 显示全部楼层
能给更详细的信息嘛?
回复

使用道具 举报

 楼主| 发表于 2005-9-12 11:02:03 | 显示全部楼层
我贴一下这个软件的INSTALL吧

Installation Instructions

Requirements:
- Linux 2.4 or Linux 2.6
- A recent GCC version or the one recommended by the kernel developers (2.95.3)
- GNU Binutils (not tested with other binutils' yet)
- GNU Libc (not tested with other libc's yet)

Installation steps:
- Build
  # make
  You can also specify the kernel version
  # make KERNELVERSION=2.6.11.8
  If you have the kernel sources in a non-standard-directory
  (like /usr/src/linux-x.y.z), then specify the path here
  # make KERNELDIR=/path/to/kernel/src KERNELVERSION=kernel.version.number
- Install
  # make install

You can refer to the file USAGE for usage instructions.
回复

使用道具 举报

 楼主| 发表于 2005-9-12 11:05:58 | 显示全部楼层
还有,解压后的文件夹是这样的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2005-9-12 11:07:24 | 显示全部楼层
我用的是SUSE-10.0-CD-OSS-i386-RC1安装的这个软件出现问题,还需要什么详细信息??
回复

使用道具 举报

发表于 2005-9-12 12:02:15 | 显示全部楼层
你只需要输入
make && make install
回复

使用道具 举报

 楼主| 发表于 2005-9-12 12:10:35 | 显示全部楼层
就是make出现上面的错误信息阿

wise:~/software/drcomsuite-0.1.12 # make KERNELVERSION=2.6.13-8-default
make -C include
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/include'
make -C drcomc
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/drcomc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/drcomcd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/drcomcd'
make -C module
make[1]: Entering directory `/root/software/drcomsuite-0.1.12/module'
make -C Linux
make[2]: Entering directory `/root/software/drcomsuite-0.1.12/module/Linux'
make -C 2.6.x
make[3]: Entering directory `/root/software/drcomsuite-0.1.12/module/Linux/2.6.x'
make -C /lib/modules/2.6.13-8-default/build M=/root/software/drcomsuite-0.1.12/module/Linux/2.6.x modules
make[4]: Entering directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make[4]: *** No rule to make target `modules'. Stop.
make[4]: Leaving directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux/2.6.x'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/software/drcomsuite-0.1.12/module'
make: *** [module] Error 2
回复

使用道具 举报

发表于 2005-9-12 12:23:42 | 显示全部楼层
你的问题看起来挺复杂的啊。
我的建议是:既然给自己定位为超级菜鸟,就不要玩这个啦。SuSE 10 到目前位置虽然已不是测试版,但毕竟也还不是正式版,问题不少。SuSE 默认安装的开发工具总不是很够,编译软件经常会缺这个少那个的,需要另外安装。下面说到问题的重点:./configure 报说错误的文件或文件夹是很少见的,而且通不过这一步的话 make 也是枉然。
回复

使用道具 举报

发表于 2005-9-12 12:26:48 | 显示全部楼层
看了你的截图发现:你根本就没有 configure 这个文件嘛!
如果你真的很想装这个软件的话,强烈建议你先看 README 和 INSTALL 这两个文件。看完再提问,谢谢!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 19:52 , Processed in 0.056189 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表