*** florian has quit IRC | 00:12 | |
*** florian has joined #maemo | 00:12 | |
sixwheeledbeast | can you use wildcards with wget? | 00:22 |
---|---|---|
sixwheeledbeast | Like for example recursively downloading "http://example.com/**/foo-**.pdf" | 00:24 |
*** luke-jr has quit IRC | 00:54 | |
*** luke-jr has joined #maemo | 00:55 | |
*** luke-jr has joined #maemo | 00:57 | |
*** saidinesh5 has quit IRC | 00:57 | |
*** saidinesh5 has joined #maemo | 00:58 | |
*** luke-jr has joined #maemo | 01:00 | |
*** luke-jr has joined #maemo | 01:01 | |
*** luke-jr has joined #maemo | 01:02 | |
*** luke-jr has joined #maemo | 01:05 | |
*** luke-jr has joined #maemo | 01:06 | |
*** luke-jr has joined #maemo | 01:06 | |
*** luke-jr has joined #maemo | 01:07 | |
*** Kabouik has joined #maemo | 01:31 | |
*** SpeedEvil has quit IRC | 01:49 | |
*** SpeedEvil has joined #maemo | 01:49 | |
*** Kabouik has quit IRC | 02:04 | |
*** Oksana_ has joined #maemo | 02:25 | |
*** Oksana_ has joined #maemo | 02:25 | |
*** Oksana has quit IRC | 02:27 | |
*** Oksana_ is now known as Oksana | 02:28 | |
*** trapt has joined #maemo | 02:35 | |
trapt | is it possible to compile from source on an n810 im reading conflicting things online and having a hell of a time | 02:36 |
*** Pali has quit IRC | 03:01 | |
Maxdamantus | You mean compile the whole OS, or just run a compiler on the N810? | 03:06 |
Maxdamantus | I'm sure the latter will be possible, since it's just a machine running Linux. | 03:07 |
*** hurrian has quit IRC | 03:08 | |
trapt | just run a compiler. everytime i go to configure i get "C compiler cannot create executables" | 03:38 |
Maxdamantus | What happens if you manually try to compile a simple program? | 03:42 |
Maxdamantus | eg, gcc -xc - -o /dev/null <<< 'int main(void){ return 4; }' | 03:42 |
trapt | im not very experience compiling sop forgive me but, trying to compile a simple helloworld with gcc returns | 03:46 |
trapt | hello.c:1:19: stdio.h: No such file or directory | 03:46 |
trapt | which i believe in related to missing libc6-dev package | 03:47 |
Maxdamantus | Try `apt-get install libc6-dev` | 03:47 |
trapt | The following packages have unmet dependencies: libc6-dev: Depends: libc6 (= 2.5.0-1osso7) but 2.5.0-1osso10 is to be installed | 03:48 |
trapt | libc6 is already the newest version | 03:48 |
Maxdamantus | Maybe try `apt-get update` first. | 03:49 |
trapt | no effect | 03:53 |
Maxdamantus | Maybe 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 |
trapt | ok, thanks for your help | 03:56 |
Maxdamantus | np | 03:56 |
*** xes has quit IRC | 03:56 | |
*** xes has joined #maemo | 03:57 | |
*** luke-jr has joined #maemo | 04:13 | |
*** tm has quit IRC | 05:07 | |
*** tm has joined #maemo | 05:11 | |
*** BitEvil has joined #maemo | 05:30 | |
*** SpeedEvil is now known as Guest92779 | 05:30 | |
*** luke-jr has quit IRC | 06:12 | |
*** luke-jr has joined #maemo | 06:38 | |
*** xmn has joined #maemo | 06:40 | |
*** DocScrutinizer05 has quit IRC | 07:28 | |
*** DocScrutinizer05 has joined #maemo | 07:28 | |
*** LauRoman has joined #maemo | 07:29 | |
*** infobot has joined #maemo | 07:39 | |
*** ChanServ sets mode: +v infobot | 07:39 | |
*** saidinesh5 has quit IRC | 07:45 | |
*** saidinesh5 has joined #maemo | 07:45 | |
*** xmn has quit IRC | 08:35 | |
*** Kilroo has quit IRC | 08:48 | |
KotCzarny | trapt: are you compiling on device or pc? | 09:11 |
KotCzarny | because sdk packages might differ from stock/power packages | 09:12 |
*** spiiroin has joined #maemo | 10:14 | |
sixwheeledbeast | I read it as on device | 11:11 |
*** Kabouik has joined #maemo | 11:33 | |
*** Kabouik has joined #maemo | 11:34 | |
brolin_empey | sixwheeledbeast: 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 IRC | 11:49 | |
*** saidinesh5 has joined #maemo | 11:49 | |
*** Pali has joined #maemo | 11:50 | |
sixwheeledbeast | brolin_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 |
KotCzarny | swb: wget only accepts limited wildcards | 12:02 |
KotCzarny | but you can use -r and include/exclude pattern i guess | 12:02 |
brolin_empey | sixwheeledbeast: 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_empey | wget -U 'Mozilla/5.0' | 12:03 |
brolin_empey | which fools the Web site into thinking the request is from a normal, interactive Web browser. | 12:03 |
sixwheeledbeast | I was using Firefox user agent too | 12:04 |
sixwheeledbeast | It was fine to wget each page even without -u but not -r from any page higher | 12:07 |
brolin_empey | sixwheeledbeast: 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 to | 12:08 |
brolin_empey | have 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 IRC | 12:09 | |
brolin_empey | Oh, 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 |
sixwheeledbeast | brolin_empey: yep I only saw wordpress lines in there tho | 12:15 |
*** ecc3g has joined #maemo | 12:15 | |
brolin_empey | sixwheeledbeast: OK. | 12:18 |
*** ecc3g has quit IRC | 12:24 | |
*** ecc3g has joined #maemo | 12:26 | |
*** BitEvil is now known as SpeedEvil | 12:33 | |
KotCzarny | you can use -np (no parent) to make it not go up in slashes | 12:48 |
*** Vajb has quit IRC | 12:54 | |
*** Kabouik has quit IRC | 12:54 | |
*** Vajb has joined #maemo | 13:21 | |
*** DocScrutinizer51 has quit IRC | 13:39 | |
*** sixwheeledbeast has quit IRC | 13:39 | |
*** tobypus has quit IRC | 13:39 | |
*** tobypus has joined #maemo | 13:40 | |
*** DocScrutinizer51 has joined #maemo | 13:40 | |
*** sixwheeledbeast has joined #maemo | 13:40 | |
*** cyteen__ has quit IRC | 13:44 | |
*** Kabouik has joined #maemo | 15:15 | |
*** Kabouik has quit IRC | 15:40 | |
*** hurrian has joined #maemo | 16:07 | |
*** xmn has joined #maemo | 16:26 | |
*** inky has quit IRC | 16:27 | |
*** xmn has quit IRC | 16:29 | |
*** xmn has joined #maemo | 16:32 | |
*** saidinesh5 has quit IRC | 17:12 | |
*** saidinesh5 has joined #maemo | 17:12 | |
trapt | KotCzarny im compiling on device | 17:30 |
KotCzarny | watch the free space then | 17:33 |
trapt | i believe i should have plenty of free space, the device was just reset before i got it and all ive added is small utils | 17:33 |
KotCzarny | i personally made me sdk chroots that can be ran on any arm device | 17:34 |
KotCzarny | makes life bit easier because 1x400mhz isnt much, when compared to 10usd 4x1.2ghz orange pi | 17:34 |
KotCzarny | :) | 17:34 |
KotCzarny | but only released the one for n900 | 17:35 |
KotCzarny | still, if you know linux and a bit of debian, you can create one yourself | 17:35 |
KotCzarny | (better than cluttering rootfs) | 17:35 |
bencoh | (or .... just use scratchbox :) | 17:40 |
trapt | i havent been able to find a working dl of scratchbox if anyone has a link | 17:45 |
bencoh | well, last time I followed wiki instructions to install it on a fresh debian, but ... | 17:47 |
bencoh | (wheezy iirc) | 17:47 |
*** ab has quit IRC | 18:55 | |
*** ab has joined #maemo | 18:58 | |
*** ab has joined #maemo | 18:58 | |
KotCzarny | ~scratchbox | 19:09 |
infobot | from 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/SB | 19:09 |
trapt | thank you, not sure what i was looking at last night that i didnt find this | 19:10 |
KotCzarny | and install instructions are at wiki.maemo.org | 19:11 |
sixwheeledbeast | ~sb | 19: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/SB | 19:37 |
sixwheeledbeast | hmm same link | 19:37 |
*** enyc has quit IRC | 20:37 | |
*** enyc has joined #maemo | 20:41 | |
*** Kabouik has joined #maemo | 20:45 | |
*** saidinesh5 has quit IRC | 20:54 | |
*** saidinesh5 has joined #maemo | 20:54 | |
*** l_bratch has quit IRC | 21:04 | |
*** Oksana has quit IRC | 22:06 | |
*** inky has joined #maemo | 22:27 | |
*** Oksana has joined #maemo | 22:28 | |
*** xmn has quit IRC | 22:57 | |
*** florian has joined #maemo | 23:04 | |
*** saidinesh5 has quit IRC | 23:09 | |
*** saidinesh5 has joined #maemo | 23:09 | |
*** ced117 has quit IRC | 23:12 | |
*** saidinesh5 has quit IRC | 23:12 | |
*** ced117 has joined #maemo | 23:12 | |
*** saidinesh5 has joined #maemo | 23:12 | |
*** l_bratch has joined #maemo | 23:34 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!