matteoserva/MegaFuse

Cannot install the addional packages libdb5.1++-dev

Kurainu opened this issue · 7 comments

When i try to install it it come this error
Package libdb5.1++-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libdb5.1++-dev' has no installation candidate

Try installing libdb5.2++-dev or libdb5.3++-dev

I installed libdb5.3++-dev but the command make shows an error in Ubuntu 16.04

/usr/include/cryptopp/misc.h:549:20: warning: ‘std::_cxx11::string CryptoPP::StringNarrow(const wchar_t, bool)’ defined but not used [-Wunused-function]
static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
^
Makefile:43: recipe for target 'src/MegaFuseApp.o' failed
make: *_* [src/MegaFuseApp.o] Error 1

This appears to be a problem with cryptopp library which is separate to to MegaFuse. You could try edit misc.h file and remove the following text. " std::string StringNarrow(const wchar_t *str, bool throwOnError)
{
CRYPTOPP_ASSERT(str);
std::string result;
"
You could also try updating to the latest cryptopp version. I would contact cryptopp on github and follow the issue up with them if you can't resolve it as the problem is not with megafuse
On 19 Nov 2016 06:49, IQIDOX notifications@github.com wrote:I installed libdb5.3++-dev but the command make shows an error in Ubuntu 16.04

/usr/include/cryptopp/misc.h:549:20: warning: ‘std::__cxx11::string CryptoPP::StringNarrow(const wchar_t, bool)’ defined but not used [-Wunused-function]
static std::string StringNarrow(const wchar_t str, bool throwOnError = true)
^
Makefile:43: recipe for target 'src/MegaFuseApp.o' failed
make: *
[src/MegaFuseApp.o] Error 1

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

Remember to make a backup of misc.h if you edit it.
On 19 Nov 2016 11:50, Timothy Williams tim@securesec.com wrote:This appears to be a problem with cryptopp library which is separate to to MegaFuse. You could try edit misc.h file and remove the following text. " std::string StringNarrow(const wchar_t *str, bool throwOnError)
{
CRYPTOPP_ASSERT(str);
std::string result;
"
You could also try updating to the latest cryptopp version. I would contact cryptopp on github and follow the issue up with them if you can't resolve it as the problem is not with megafuse
On 19 Nov 2016 06:49, IQIDOX notifications@github.com wrote:I installed libdb5.3++-dev but the command make shows an error in Ubuntu 16.04

/usr/include/cryptopp/misc.h:549:20: warning: ‘std::__cxx11::string CryptoPP::StringNarrow(const wchar_t, bool)’ defined but not used [-Wunused-function]
static std::string StringNarrow(const wchar_t str, bool throwOnError = true)
^
Makefile:43: recipe for target 'src/MegaFuseApp.o' failed
make: *
[src/MegaFuseApp.o] Error 1

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

I can't find this lines in misc.h

std::string StringNarrow(const wchar_t *str, bool throwOnError)
{
CRYPTOPP_ASSERT(str);
std::string result;

latest cryptopp version 5.6.5 not compiled in ubuntu 16.04

put}: Assembler messages:
{standard input}:191270: Warning: end of file not at end of a line; newline inserted
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
GNUmakefile:784: recipe for target 'dll.o' failed
make: *** [dll.o] Error 4

I have compiled some binary's for you to run on both 32 bit and 64 bit systems. I made a video while compiling MegaFuse. If a contributor can verify my binary's that would be awesome. Download links and video are below:

Video: https://www.youtube.com/watch?v=3QenWp0jNrE
Download Link: https://drive.google.com/drive/folders/0B_7pvuEttVblZGM0TzQ5ZkhacXM?usp=sharing

@matteoserva can you approve my commit to add math.h you will see in my video it is needed. #65