IRC log of #maemo for Sunday, 2019-09-08

*** florian has quit IRC00:12
*** florian has joined #maemo00:12
sixwheeledbeastcan you use wildcards with wget?00:22
sixwheeledbeastLike for example recursively downloading "http://example.com/**/foo-**.pdf"00:24
*** luke-jr has quit IRC00:54
*** luke-jr has joined #maemo00:55
*** luke-jr has joined #maemo00:57
*** saidinesh5 has quit IRC00:57
*** saidinesh5 has joined #maemo00:58
*** luke-jr has joined #maemo01:00
*** luke-jr has joined #maemo01:01
*** luke-jr has joined #maemo01:02
*** luke-jr has joined #maemo01:05
*** luke-jr has joined #maemo01:06
*** luke-jr has joined #maemo01:06
*** luke-jr has joined #maemo01:07
*** Kabouik has joined #maemo01:31
*** SpeedEvil has quit IRC01:49
*** SpeedEvil has joined #maemo01:49
*** Kabouik has quit IRC02:04
*** Oksana_ has joined #maemo02:25
*** Oksana_ has joined #maemo02:25
*** Oksana has quit IRC02:27
*** Oksana_ is now known as Oksana02:28
*** trapt has joined #maemo02:35
traptis it possible to compile from source on an n810 im reading conflicting things online and having a hell of a time02:36
*** Pali has quit IRC03:01
MaxdamantusYou mean compile the whole OS, or just run a compiler on the N810?03:06
MaxdamantusI'm sure the latter will be possible, since it's just a machine running Linux.03:07
*** hurrian has quit IRC03:08
traptjust run a compiler. everytime i go to configure i get "C compiler cannot create executables"03:38
MaxdamantusWhat happens if you manually try to compile a simple program?03:42
Maxdamantuseg, gcc -xc - -o /dev/null <<< 'int main(void){ return 4; }'03:42
traptim not very experience compiling sop forgive me but, trying to compile a simple helloworld with gcc returns03:46
trapthello.c:1:19: stdio.h: No such file or directory03:46
traptwhich i believe in related to missing libc6-dev package03:47
MaxdamantusTry `apt-get install libc6-dev`03:47
traptThe following packages have unmet dependencies:  libc6-dev: Depends: libc6 (= 2.5.0-1osso7) but 2.5.0-1osso10 is to be installed03:48
traptlibc6 is already the newest version03:48
MaxdamantusMaybe try `apt-get update` first.03:49
traptno effect03:53
MaxdamantusMaybe you'll just have to force install the old package then, but that should be enough information for someone familiar with the N810 ecosystem to try and make progress (missing libc6-dev package, can't install due to version mismatch between libc6 and libc6-dev)03:55
traptok, thanks for your help03:56
Maxdamantusnp03:56
*** xes has quit IRC03:56
*** xes has joined #maemo03:57
*** luke-jr has joined #maemo04:13
*** tm has quit IRC05:07
*** tm has joined #maemo05:11
*** BitEvil has joined #maemo05:30
*** SpeedEvil is now known as Guest9277905:30
*** luke-jr has quit IRC06:12
*** luke-jr has joined #maemo06:38
*** xmn has joined #maemo06:40
*** DocScrutinizer05 has quit IRC07:28
*** DocScrutinizer05 has joined #maemo07:28
*** LauRoman has joined #maemo07:29
*** infobot has joined #maemo07:39
*** ChanServ sets mode: +v infobot07:39
*** saidinesh5 has quit IRC07:45
*** saidinesh5 has joined #maemo07:45
*** xmn has quit IRC08:35
*** Kilroo has quit IRC08:48
KotCzarnytrapt: are you compiling on device or pc?09:11
KotCzarnybecause sdk packages might differ from stock/power packages09:12
*** spiiroin has joined #maemo10:14
sixwheeledbeastI read it as on device11:11
*** Kabouik has joined #maemo11:33
*** Kabouik has joined #maemo11:34
brolin_empeysixwheeledbeast: wget question: You may be able to use wildcards/globbing if the protocol you are using to transfer files supports wildcards/globbing but HTTP seems to not support globbing but maybe FTP does?  What are you trying to download?  Can you just download everything then delete the unwanted stuff from your local copy?11:49
*** saidinesh5 has quit IRC11:49
*** saidinesh5 has joined #maemo11:49
*** Pali has joined #maemo11:50
sixwheeledbeastbrolin_empey: I was getting 403 from the site using wget -r. In the end instead of working it out I generated a bash script with all 120 pdf files and ran it.11:53
KotCzarnyswb: wget only accepts limited wildcards12:02
KotCzarnybut you can use -r and include/exclude pattern i guess12:02
brolin_empeysixwheeledbeast: Some Web sites deny requests if the User-Agent of the client is reported as wget.  By default wget truthfully identifies itself as wget but usually the workaround is simply:12:03
brolin_empeywget -U 'Mozilla/5.0'12:03
brolin_empeywhich fools the Web site into thinking the request is from a normal, interactive Web browser.12:03
sixwheeledbeastI was using Firefox user agent too12:04
sixwheeledbeastIt was fine to wget each page even without -u but not -r from any page higher12:07
brolin_empeysixwheeledbeast: Sometimes the Web site denies the requests because it thinks the requests are automated because wget by default sends requests as fast as it can.  wget has command-line options to use in this case that specify a minimum delay between requests and allow randomising or at least varying the delay between requests to make the requests seem like they are from an interactive user.  I had to use that more advanced workaround years ago but seem to12:08
brolin_empeyhave not needed it in recent years, maybe because I have mostly no longer been using wget -r in recent years.12:08
*** ecc3g has quit IRC12:09
brolin_empeyOh, wget also has a partially undocumented option to ignore the robots.txt file.  Does the Web site from which you are trying to download stuff with wget have a /robots.txt file?12:12
sixwheeledbeastbrolin_empey: yep I only saw wordpress lines in there tho12:15
*** ecc3g has joined #maemo12:15
brolin_empeysixwheeledbeast: OK.12:18
*** ecc3g has quit IRC12:24
*** ecc3g has joined #maemo12:26
*** BitEvil is now known as SpeedEvil12:33
KotCzarnyyou can use -np (no parent) to make it not go up in slashes12:48
*** Vajb has quit IRC12:54
*** Kabouik has quit IRC12:54
*** Vajb has joined #maemo13:21
*** DocScrutinizer51 has quit IRC13:39
*** sixwheeledbeast has quit IRC13:39
*** tobypus has quit IRC13:39
*** tobypus has joined #maemo13:40
*** DocScrutinizer51 has joined #maemo13:40
*** sixwheeledbeast has joined #maemo13:40
*** cyteen__ has quit IRC13:44
*** Kabouik has joined #maemo15:15
*** Kabouik has quit IRC15:40
*** hurrian has joined #maemo16:07
*** xmn has joined #maemo16:26
*** inky has quit IRC16:27
*** xmn has quit IRC16:29
*** xmn has joined #maemo16:32
*** saidinesh5 has quit IRC17:12
*** saidinesh5 has joined #maemo17:12
traptKotCzarny im compiling on device17:30
KotCzarnywatch the free space then17:33
trapti believe i should have plenty of free space, the device was just reset before i got it and all ive added is small utils17:33
KotCzarnyi personally made me sdk chroots that can be ran on any arm device17:34
KotCzarnymakes life bit easier because 1x400mhz isnt much, when compared to 10usd 4x1.2ghz orange pi17:34
KotCzarny:)17:34
KotCzarnybut only released the one for n90017:35
KotCzarnystill, if you know linux and a bit of debian, you can create one yourself17:35
KotCzarny(better than cluttering rootfs)17:35
bencoh(or .... just use scratchbox :)17:40
trapti havent been able to find a working dl of scratchbox if anyone has a link17:45
bencohwell, last time I followed wiki instructions to install it on a fresh debian, but ...17:47
bencoh(wheezy iirc)17:47
*** ab has quit IRC18:55
*** ab has joined #maemo18:58
*** ab has joined #maemo18:58
KotCzarny~scratchbox19:09
infobotfrom memory, scratchbox is a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, hosted by maemo now. Also at http://maemo.merlin1991.at/files/SB19:09
traptthank you, not sure what i was looking at last night that i didnt find this19:10
KotCzarnyand install instructions are at wiki.maemo.org19:11
sixwheeledbeast~sb19:37
infobot[scratchbox] a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, hosted by maemo now. Also at http://maemo.merlin1991.at/files/SB19:37
sixwheeledbeasthmm same link19:37
*** enyc has quit IRC20:37
*** enyc has joined #maemo20:41
*** Kabouik has joined #maemo20:45
*** saidinesh5 has quit IRC20:54
*** saidinesh5 has joined #maemo20:54
*** l_bratch has quit IRC21:04
*** Oksana has quit IRC22:06
*** inky has joined #maemo22:27
*** Oksana has joined #maemo22:28
*** xmn has quit IRC22:57
*** florian has joined #maemo23:04
*** saidinesh5 has quit IRC23:09
*** saidinesh5 has joined #maemo23:09
*** ced117 has quit IRC23:12
*** saidinesh5 has quit IRC23:12
*** ced117 has joined #maemo23:12
*** saidinesh5 has joined #maemo23:12
*** l_bratch has joined #maemo23:34

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!