wise 发表于 2005-9-11 22:47:47

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

因为我是超级菜鸟,请问这个错误是什么原因导致的
谢谢大哥们帮忙

linux:/mnt/hda5/drcomsuite-0.1.12 # make KERNELVERSION=2.6.13-8-default
make -C include
make: Entering directory `/mnt/hda5/drcomsuite-0.1.12/include'
make: Nothing to be done for `all'.
make: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/include'
make -C drcomc
make: Entering directory `/mnt/hda5/drcomsuite-0.1.12/drcomc'
make: Nothing to be done for `all'.
make: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make: Entering directory `/mnt/hda5/drcomsuite-0.1.12/drcomcd'
make: Nothing to be done for `all'.
make: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/drcomcd'
make -C module
make: Entering directory `/mnt/hda5/drcomsuite-0.1.12/module'
make -C Linux
/bin/sh: ./mksubdir.sh: /bin/sh: bad interpreter: Permission denied
make: Entering directory `/mnt/hda5/drcomsuite-0.1.12/module/Linux'
make -C
make: option requires an argument -- C
Usage: make ...
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 , --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 , --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: *** Error 2
make: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/module/Linux'
make: *** Error 2
make: Leaving directory `/mnt/hda5/drcomsuite-0.1.12/module'
make: *** Error 2

jozhu 发表于 2005-9-11 22:50:58

你装的是64位的系统?你的内核是I686的啊,肯定不能用

月下刀客 发表于 2005-9-11 23:04:34

不要在win分区进行编译

wise 发表于 2005-9-11 23:16:58

谢谢 原来是这样我到linux分区去试一试
再次谢谢楼上两位

wise 发表于 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: Entering directory `/root/software/drcomsuite-0.1.12/include'
make: Nothing to be done for `all'.
make: Leaving directory `/root/software/drcomsuite-0.1.12/include'
make -C drcomc
make: Entering directory `/root/software/drcomsuite-0.1.12/drcomc'
make: Nothing to be done for `all'.
make: Leaving directory `/root/software/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make: Entering directory `/root/software/drcomsuite-0.1.12/drcomcd'
make: Nothing to be done for `all'.
make: Leaving directory `/root/software/drcomsuite-0.1.12/drcomcd'
make -C module
make: Entering directory `/root/software/drcomsuite-0.1.12/module'
make -C Linux
make: Entering directory `/root/software/drcomsuite-0.1.12/module/Linux'
make -C 2.6.x
make: 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: Entering directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make: *** No rule to make target `modules'.Stop.
make: Leaving directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make: *** Error 2
make: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux/2.6.x'
make: *** Error 2
make: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux'
make: *** Error 2
make: Leaving directory `/root/software/drcomsuite-0.1.12/module'
make: *** Error 2

jozhu 发表于 2005-9-12 02:27:13

你是不是因该先./configure一下啊。

wise 发表于 2005-9-12 10:49:17

我每次输入./configure都显示"错误的文件或文件夹"

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

hew 发表于 2005-9-12 10:59:11

能给更详细的信息嘛?

wise 发表于 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.

wise 发表于 2005-9-12 11:05:58

还有,解压后的文件夹是这样的

wise 发表于 2005-9-12 11:07:24

我用的是SUSE-10.0-CD-OSS-i386-RC1安装的这个软件出现问题,还需要什么详细信息??

cobranail 发表于 2005-9-12 12:02:15

你只需要输入
make && make install

wise 发表于 2005-9-12 12:10:35

就是make出现上面的错误信息阿

wise:~/software/drcomsuite-0.1.12 # make KERNELVERSION=2.6.13-8-default
make -C include
make: Entering directory `/root/software/drcomsuite-0.1.12/include'
make: Nothing to be done for `all'.
make: Leaving directory `/root/software/drcomsuite-0.1.12/include'
make -C drcomc
make: Entering directory `/root/software/drcomsuite-0.1.12/drcomc'
make: Nothing to be done for `all'.
make: Leaving directory `/root/software/drcomsuite-0.1.12/drcomc'
make -C drcomcd
make: Entering directory `/root/software/drcomsuite-0.1.12/drcomcd'
make: Nothing to be done for `all'.
make: Leaving directory `/root/software/drcomsuite-0.1.12/drcomcd'
make -C module
make: Entering directory `/root/software/drcomsuite-0.1.12/module'
make -C Linux
make: Entering directory `/root/software/drcomsuite-0.1.12/module/Linux'
make -C 2.6.x
make: 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: Entering directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make: *** No rule to make target `modules'. Stop.
make: Leaving directory `/usr/src/linux-2.6.13-8-obj/i386/default'
make: *** Error 2
make: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux/2.6.x'
make: *** Error 2
make: Leaving directory `/root/software/drcomsuite-0.1.12/module/Linux'
make: *** Error 2
make: Leaving directory `/root/software/drcomsuite-0.1.12/module'
make: *** Error 2

shadkong 发表于 2005-9-12 12:23:42

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

shadkong 发表于 2005-9-12 12:26:48

看了你的截图发现:你根本就没有 configure 这个文件嘛!
如果你真的很想装这个软件的话,强烈建议你先看 README 和 INSTALL 这两个文件。看完再提问,谢谢!
页: [1] 2
查看完整版本: 在suse10上装一个软件出现如下错误,自己实在是看不懂了…