![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I tried the following command: $ ../dist/configure --prefix $HOME/.berkeley_db followed by: $ make But it failed, thus the command: make install also failed. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
This is likely caused by something else than your special installation path. Could you show us the error messages, especially for the "make" failure? |
#5
| |||
| |||
|
|
cc -I /home/gundala/.libstree/include -I /home/gundala/.gsl/include -I /home/gundala/.swish/include -o .libs/db_archive /home/gundala//.libstree/lib /home/gundala/.gsl/lib /home/gundala//.swish/lib .libs/db_archive.o .libs/util_sig.o -L/home/gundala/Tool/db-4.4.20/build_unix ./.libs/libdb-4.4.so -lpthread -Wl,--rpath -Wl,/home/gundala//.berkeley_db/lib /home/gundala.libstree/lib: file not recognized: Is a directory collect2: ld returned 1 exit status make: *** [db_archive] Error 1 |
#6
| |||
| |||
|
|
You must not use spaces between the -I and -L options and their arguments. Your CFLAGS and LDFLAGS settings are incorrect. |
#7
| |||
| |||
|
|
Florian Weimer wrote: You must not use spaces between the -I and -L options and their arguments. Your CFLAGS and LDFLAGS settings are incorrect. Ok. Now CFLAGS and LDFLAGS settings in my .bash_profile look like this: export CFLAGS="-I $HOME/.libstree/include:$HOME/.gsl/include:$HOME/.swish/include"; export LDFLAGS="-L $HOME/.libstree/lib:$HOME/.gsl/lib:$HOME/.swish/lib"; |
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |