MegaFuse [Solved]

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
Post Reply
rych
Black ninja
Black ninja
Posts: 86
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 2.1 32-bit
Location: NZ

MegaFuse [Solved]

Post#1 by rych » 03 Oct 2017, 01:36

Could someone please build the Mega cloud storage (a generous 50GB free) fuse mount client below (with cache, hence hopefully fast)?

https://github.com/matteoserva/MegaFuse

this needs to be compiled from source apparently with these dependencies

Code: Select all

- GNU Readline (libreadline-dev, readline-devel)
- Crypto++ (libcrypto++-dev, cryptopp-devel)
- FreeImage (libfreeimage-dev, freeimage-devel)
- Berkeley DB C++ (libdb++-dev, db4-devel)
- cURL (libcurl-dev, curl-devel) built with --enable-ares
Last edited by rych on 11 Dec 2017, 05:47, edited 1 time in total.

fulalas
DEV Team
DEV Team
Posts: 830
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

MegaFuse

Post#2 by fulalas » 07 Oct 2017, 19:18

Have you tried to convert from this?

rych
Black ninja
Black ninja
Posts: 86
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 2.1 32-bit
Location: NZ

MegaFuse

Post#3 by rych » 18 Nov 2017, 11:45

OK, I'm trying to convert that rpm -- it's not easy to chase the missing library one by one, installing and creating symbolic links to wrong versions of a library, and now I hit an especially troubling:

Code: Select all

MegaFuse: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by MegaFuse)
Firstly I don't understand what this message wants me to do. Then, I have a doubt I'm approaching this a correct way: maybe it's better to go and try to build the source myself, or will it be even longer?

User avatar
n0ctilucient
Samurai
Samurai
Posts: 140
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

MegaFuse

Post#4 by n0ctilucient » 18 Nov 2017, 12:10

You are missing gcc-g++ (contains "libstdc++") @...
http://slakfinder.org/show.php?pkg=298441

Download this package convert it to a module then activate it.

I use depfinder for vetting dependencies.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should consider.

User avatar
wread
Module Guard
Module Guard
Posts: 1108
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

MegaFuse

Post#5 by wread » 19 Nov 2017, 00:07

@rych
I downloaded the dependencies and compiled the program. But i could not get it connected to my cloud repository. The output message was "login failed". :%)

I will hack a bit on it. When it works, I will share it.

Regards!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

babam
White ninja
White ninja
Posts: 25
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 3.2.2
Location: Rainy city

MegaFuse

Post#6 by babam » 19 Nov 2017, 07:13

I want it too.
Sorry, my English is bad.

rych
Black ninja
Black ninja
Posts: 86
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 2.1 32-bit
Location: NZ

MegaFuse

Post#7 by rych » 20 Nov 2017, 00:25

Thank you so much @wread. I will pause my efforts until I hear of your results. You probably have seen some optimistic reports here https://github.com/matteoserva/MegaFuse/issues/17
the MEGA api server is sometimes temporarily unusable. it happened to me too then worked again after a few hours
FYI, I’m using MegaFuse on a regular basis, and I only have these in my conf file:

User avatar
wread
Module Guard
Module Guard
Posts: 1108
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

MegaFuse

Post#8 by wread » 20 Nov 2017, 16:54

Ok, It works... :celebrate3:

I made these 3 modules to see if it works for you too.
1) Download the three modules, Put them in a folder - I named it MegaFuse - in "modules" or in "optional".

2) Extract the module "MegaFuse-x86_64-1wre", and in the folder /usr/bin, open the megafuse.conf file and edit your user name and your password for your cloud storage by "mega.nz". Build the module again. I mount it in /mnt/mega and for that I created the mount point in the module. When you activate the module, the mount point will be created.

3) Activate the modules typing "activate MegaFuse/"

4) Connected to IN, open a console and type "MegaFuse" (without the " "!) .

If you were lucky, you are connected to your cloud storage!

Enjoy!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
brokenman
Site Admin
Site Admin
Posts: 5652
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

MegaFuse

Post#9 by brokenman » 20 Nov 2017, 23:38

I use this often: megatools-1.9.97-x86_64-1_SBo.tgz

It is MEGA via command line.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1108
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

MegaFuse

Post#10 by wread » 22 Nov 2017, 02:34

There is also MegaSync with a nice GUI, easier to use. Not bad!

Saludos, Jay!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

rych
Black ninja
Black ninja
Posts: 86
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 2.1 32-bit
Location: NZ

MegaFuse

Post#11 by rych » 24 Nov 2017, 03:46

@wread
Thank you so much! Your solution worked for me with the following adjustments:
1. it wouldn't run without FreeImage library. So altogether the following 4 modules were needed on my system

Code: Select all

cryptopp-5.6.5-x86_64-1_slonly.xzm
db48-4.8.30-x86_64-2.xzm
FreeImage-3.17.0-x86_64-bundle.xzm
megafuse-x86-64-1wre.xzm
2. Other steps you suggested are not really needed. Instead, once activated, copy the megafuse.conf file into your home directory and edit by entering your account name and mount point, but NOT the password. That way the MegaFuse will prompt to type the password each time, which is safer.

I still can't find where it keeps the cache?! As I seem to have to keep an eye on it myself to see if it grows too large? The cache is by the way the key advantage as compared to the megasync client where you have to keep the complete copy locally.

User avatar
wread
Module Guard
Module Guard
Posts: 1108
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

MegaFuse

Post#12 by wread » 05 Dec 2017, 22:53

@rych
Well, you can add "Solved" to your post!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply