priitj / whitedb

WhiteDB memory database
http://whitedb.org/
GNU General Public License v3.0
608 stars 78 forks source link

I can't install WhiteDB Please Help #32

Open banktakumi opened 6 years ago

banktakumi commented 6 years ago

I can't install whitedb in my linux when i use

./configure; make; make install

it's up that

-bash: ./configure: No such file or directory make: No targets specified and no makefile found. Stop. make: No rule to make target `install'. Stop.

sorry i'm bad Engilsh. Help me please this is my project term. Thank you.

priitj commented 6 years ago

Hi, please have a look at http://whitedb.org/install.html#anchor-2

You probably need to run ./Bootstrap before you can continue with ./configure etc.

banktakumi commented 6 years ago

OK Thank you. Now i can run ./configure make make install when i finished i run wgdb 1000 select 20 to looking data it show me

bash: wgdb: command not found

priitj commented 6 years ago

I'm guessing the files were installed somewhere that is not in your default search path.

Since this will affect both binaries and libraries, the best thing I can recommend is find a guide for the distribution that you are using on how to manually compile and install programs. It should cover search paths for binaries and libraries.

If you're on Ubuntu or some other distribution that uses Debian packages, you can try this first though:

sudo apt install whitedb libwgdb-dev

Depending on what you want to do with whitedb, this may be enough. Basically you can create applications that use the C API (you will need to link them against the libwgdb library).

necrophcodr commented 6 years ago

@banktakumi since you're probably running this on a Unix-based system like Linux or macOS, the proper way to run a binary that is in your current directory, is to prefix the name with ./, such that the command becomes ./wgdb 1000 select 20