Please, run the configure script as first. what should i do?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 6
- 注册时间: 2006-10-29 0:08
Please, run the configure script as first. what should i do?
Please, run the configure script as first.
what should i do?
安装声卡驱动的时候总是出现Please, run the configure script as first. what should i do?
能后安装过程就卡在这了
再附点详细的
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$ sudo ./configure --with-cards=hda-intel
[sudo] password for bamboo:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/bamboo/alsa-driver-1.0.16
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$ sudo make
make all-deps
make[1]: Entering directory `/home/bamboo/alsa-driver-1.0.16'
make[1]: 没有什么可以做的为 `all-deps'。
make[1]: Leaving directory `/home/bamboo/alsa-driver-1.0.16'
Please, run the configure script as first...
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$ make install
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /home/bamboo/alsa-driver-1.0.16/include/sound /include/sound; \
else \
rm -rf /include/sound; \
install -d -m 755 -g root -o root /include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /include/sound; \
done \
fi
rm: 无法删除目录 “/include/sound”: Permission denied
install: 无法对 “include/sound/*.h” 执行 stat 调用: 没有该文件或目录
make: *** [install-headers] 错误 1
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$
what should i do?
安装声卡驱动的时候总是出现Please, run the configure script as first. what should i do?
能后安装过程就卡在这了
再附点详细的
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$ sudo ./configure --with-cards=hda-intel
[sudo] password for bamboo:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/bamboo/alsa-driver-1.0.16
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$ sudo make
make all-deps
make[1]: Entering directory `/home/bamboo/alsa-driver-1.0.16'
make[1]: 没有什么可以做的为 `all-deps'。
make[1]: Leaving directory `/home/bamboo/alsa-driver-1.0.16'
Please, run the configure script as first...
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$ make install
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /home/bamboo/alsa-driver-1.0.16/include/sound /include/sound; \
else \
rm -rf /include/sound; \
install -d -m 755 -g root -o root /include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /include/sound; \
done \
fi
rm: 无法删除目录 “/include/sound”: Permission denied
install: 无法对 “include/sound/*.h” 执行 stat 调用: 没有该文件或目录
make: *** [install-headers] 错误 1
bamboo@bamboo-desktop:~/alsa-driver-1.0.16$
上次由 317248296 在 2008-07-04 12:28,总共编辑 3 次。
- ChloeRei
- 帖子: 1021
- 注册时间: 2007-11-23 9:49
- solcomo
- 帖子: 2838
- 注册时间: 2007-04-25 13:12
- HuntXu
- 帖子: 5776
- 注册时间: 2007-09-29 3:09
ln -sfv /usr/src/linux-***(取决你原本的是什么) /usr/src/linuxchecking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
或者./configure --with-kernel=/usr/src/linux-***
HUNT Unfortunately No Talent...
-
- 帖子: 267
- 注册时间: 2006-02-27 10:32