X-Ryl669/Frost

Installation instructions

Closed this issue · 6 comments

Hi,

I would like to try this backup program, but I don't know how to compile it.

When I run make it outputs:

make: *** No rule to make target `ClassPath/src/Utils/Dump.cpp', needed by `build/./ClassPath/Externals/ebsc/EBSC.o'.  Stop.

Can you please somekind of installation instructions.
The best if you will also provide somekind of test cases.

Regards

Can you provide more details about this ?
Are you running make in the main folder ?
Is your filesystem case insensitive ?

For test cases, please refer to the "Documentation" tab of the website:
Basically, once you get the Frost binary, you can run "./Frost --test help" to get a list of the possible test vectors you can run.
There are tests for every major components of Frost (from database code, crypto code, data format, filesystem support).
I'm not providing a man page (yet), but "./Frost --help" is quite verbose already and should be enough for basic usage.

Yes, I'm running make in the main path, on Ubuntu 13.10.

/Frost$ make
make: *** No rule to make target `ClassPath/src/Utils/Dump.cpp', needed by `build/./ClassPath/Externals/ebsc/EBSC.o'.  Stop.

g++

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) 

I just cloned git repository.

Ok, I forgot to commit a source file.
Please pull and retry now.

Still cannot compile.

And it's even after I've added: LIBS=-ldl make before the CXXFLAGS.

I have to, because I had an error:

Linking build/Frost
/usr/bin/ld: build/./ClassPath/src/Threading/Threads.o: undefined reference to symbol 'dladdr@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dladdr@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libdl.so.2 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libdl.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [build/Frost] Error 1

Afterwards I got this issue:

Linking build/Frost
g++: error: make: No such file or directory
make: *** [build/Frost] Error 1

Do you know what's an issue?

Finally I've compiled and added a pull request with fix. #2

Thanks.