matteoserva / MegaFuse

MEGA client for linux, based on FUSE
Other
250 stars 80 forks source link

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

Closed Kurainu closed 2 years ago

Kurainu commented 7 years ago

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

vxnuke commented 7 years ago

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

iqs-systems commented 7 years ago

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 wchart, bool)’ defined but not used [-Wunused-function] static std::string StringNarrow(const wchart str, bool throwOnError = true) ^ Makefile:43: recipe for target 'src/MegaFuseApp.o' failed make: * [src/MegaFuseApp.o] Error 1

vxnuke commented 7 years ago

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.

vxnuke commented 7 years ago

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.

iqs-systems commented 7 years ago

I can't find this lines in misc.h

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

iqs-systems commented 7 years ago

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

vxnuke commented 7 years ago

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. https://github.com/matteoserva/MegaFuse/pull/65