Subject: Re: megadl download folder
From: hendranata yahoo
Date: Sun, 11 Jul 2021 15:55:22 +0700
what is the stable version?

1.10.3 is okay?


here is the error during installation:

Configured features:

   docs build: yes
   warnings: no

Run make now.

NOTE: On FreeBSD, you need to use GNU make (gmake)

[root@wow megatools-1.10.3]# make
   CC       lib/http.o
lib/http.c: In function ‘http_init’:
lib/http.c:67:3: error: ‘for’ loop initial declarations are only allowed 
in C99 mode
    for (int i = 0; i < G_N_ELEMENTS(http_locks); i++)
    ^
lib/http.c:67:3: note: use option -std=c99 or -std=gnu99 to compile your 
code
lib/http.c: In function ‘http_cleanup’:
lib/http.c:85:3: error: ‘for’ loop initial declarations are only allowed 
in C99 mode
    for (int i = 0; i < G_N_ELEMENTS(http_locks); i++)
    ^
make[1]: *** [lib/http.o] Error 1
make: *** [all] Error 2


On 11/07/21 15.33, Ondřej Jirman wrote:
> On Sun, Jul 11, 2021 at 09:03:35AM +0700, hendranata yahoo wrote:
>> helo
>>
>> i am using centos 7 and already installed megadl version
>>
>> megatools 1.9.98 - command line tools for Mega.nz
>>
>> Written by Ondřej Jirman <megous@megous.com>, 2013
>> Go to http://megatools.megous.com for more information
> Here's the solution ^^^^ :)
>
>> how do we download folder under mega.nz ?
>>
>> i have tried but no luck
>>
>>
>> [root@wow ~]# megadl
>> 'https://mega.nz/folder/Lfx20Ihb#z9rFxra6eV_-8zGTdUzRGw/file/TPYWGL5b'
>> WARNING: Skipping invalid Mega download link:
>> https://mega.nz/folder/Lfx20Ihb#z9rFxra6eV_-8zGTdUzRGw/file/TPYWGL5b
>>
>> am i missing something?
> You're missing several years of updates.
>
> kind regards,
> 	o.