liuis / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't not configuration properly #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.cd /path/to/leveldb
2.run the command 'make'

What is the expected output? What do you see instead?
make: execvp: ./build_detect_platform: Permission denied
Makefile:22: build_config.mk: No such file or directory
make: *** No rule to make target `build_config.mk'.  Stop.

What version of the product are you using? On what operating system?
ubuntu 10.10
Linux forhappy 2.6.37.2utrace-generic #1 SMP Sat Mar 5 02:12:16 CST 2011 i686 
GNU/Linux
forhappy@forhappy:~/SCM-Repos/SVN/leveldb$ gcc -v
Using built-in specs.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.4.4-14ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.4 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls 
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc 
--enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic 
--enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu 
--target=i686-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5.1)

Please provide any additional information below.

Original issue reported on code.google.com by haipi...@gmail.com on 19 May 2012 at 2:57

GoogleCodeExporter commented 9 years ago
Ok,I found the problem, first you should make the 'build_detect_platform' 
runnable, 
cd /path/to/leveldb, and 
chmod +x build_detect_platform

Original comment by haipi...@gmail.com on 19 May 2012 at 3:01

GoogleCodeExporter commented 9 years ago
When you untar the distribution (or fetch it in some other way), ensure that 
you are preserving permissions.  In particular, "build_detect_platform" should 
be marked executable.

Original comment by san...@google.com on 30 May 2012 at 5:25