![]() |
2009-12-15
, 21:38
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#41
|
![]() |
2009-12-15
, 22:21
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#42
|
greg@gregbuntu:/root$ ./maemo-sdk-install_5.0.sh
bash: ./maemo-sdk-install_5.0.sh: Permission denied
greg@gregbuntu:/root$
root@gregbuntu:~# ./maemo-sdk-install_5.0.sh
This script will install maemo SDK 5.0 fremantle release to your computer.
Install options
Force remove of existing targets (no)
Alternative sources.list ('')
Target configuration for armel (FREMANTLE_ARMEL)
compiler=cs2007q3-glibc2.5-arm7
devkits=perl:debian-etch:qemu:doctools:svn:git
cputransp=qemu-arm-sb
Target configuration for i386 (FREMANTLE_X86)
compiler=cs2007q3-glibc2.5-i486
devkits=perl:debian-etch:doctools:svn:git
Checking for prerequisites
--------------------------
wget tool in path... /usr/bin/wget
Checking for dpkg tool in path... /usr/bin/dpkg
Running outside of scratchbox... yes
Script not run as user root... no
E: This script should NOT be run as user root.
![]() |
2009-12-16
, 07:56
|
|
Posts: 41 |
Thanked: 8 times |
Joined on Nov 2009
@ Zürich, Switzerland
|
#43
|
![]() |
2009-12-16
, 08:18
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#44
|
just enter the following lines into the terminal:
sudo wget http://repository.maemo.org/stable/5...-wizard_5.0.py
sudo chmod a+x maemo-sdk-install-wizard_5.0.py
sudo ./maemo-sdk-install-wizard_5.0.py
this will get you the GUI installer...
greg@gregbuntu:/root$ sudo ./maemo-sdk-install-wizard_5.0.py
: cannot connect to X server
root@gregbuntu:~# sudo ./maemo-sdk-install-wizard_5.0.py
: cannot connect to X server
![]() |
2009-12-16
, 08:35
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#45
|
![]() |
2009-12-16
, 08:53
|
|
Posts: 383 |
Thanked: 209 times |
Joined on Oct 2009
@ London UK
|
#46
|
The Following User Says Thank You to edgedemon For This Useful Post: | ||
|
2009-12-16
, 09:26
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#47
|
The Following 2 Users Say Thank You to For This Useful Post: | ||
![]() |
2009-12-16
, 10:21
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#48
|
noobmonkey[27]:
If you got the so-called "sexy" pointer (:P) then plasma (the desktop shell) probably crashed. In my experience this virtually never happens anymore, so it could just be a quirk of your system. If you feel like trying it again (you can install the kubuntu-desktop package ontop of Ubuntu - it's just a different spin, not a different OS), and reporting a bug with useful info, I'm sure KDE would appreciate it. Also be aware that hitting Alt+F2 and typing in "plasma-desktop[enter]" should restart it manually, and then you can see if it was just temporary thing.
noobmonkey[38]:
Great! As I think I mentioned, though, Ubuntu is shipping an old beta of KDevelop4, so it lacks some fairly important features (working debugging being one, if I remember correctly). That said, even if you can't wait for it to be released and packaged for Ubuntu, it's still makes an awesome code editor, and I'd fully recommend it if it works for you.
As for your comments about DEBs, you might want to read up on it. You can essentially think about packages as being an archive file (like a ZIP or tarball) with a file tree of binaries and what-have-you, and some metadata. In reality they're more complicated, and often horribly pedantic, but that's the gist. So, while you can technically just dump your compiled program into your filesystem and run it, the proper way is to package it into a package for your distro (Maemo uses DEBian packages because of its Debian heritage). This is a reasonably time-consuming process to learn and to do right, so when you're just messing around, you probably don't want to worry about it. Just remember - files that aren't packaged aren't tracked by the system database, so if you leave them lying around and forget to clean them up, you may have issues - or at least cruft. If you do this, I'd recommend sticking them in /home/user/bin (which you'd have to create).
noobmonkey[45]: X has to run on a logical display. DISPLAY is an environment variable that is set when you fire up an X session (e.g. login). Since you're not logged into your graphical session as root (I hope not, anyway!), you need to set it manually.
Oh, and to put in my two cents about the C++/Python discussion, I would note that not only is C++ much nicer than C, but Qt takes care of most of the remaining messy bits. Python is still probably easier for many things, but it's a matter of preference as well as the situation, really. Also note that (probably) the majority of Linux software can be used directly by C++ programs, but there aren't Python bindings for everything (although it's close!).
![]() |
2009-12-16
, 10:22
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#49
|
The Following User Says Thank You to noobmonkey For This Useful Post: | ||
|
2009-12-16
, 10:59
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#50
|
Hehe - did a few google searches, doesn't look like i was the only person with this problem, after installing plain old Ubuntu - i have to say i much prefer it
Thanks for the zip idea - makes sense to me! (Shocker!) Not understanding the second part - but i'll refer back to it when i get hello world working!![]()
Ahhh thanks to you and edge both on this one! - I'm yet to fully figure out the root v use ridea, i klnow it's similar to an administrator in windows... but not at the same time...
But i do know that i can swap between them when asked to now, so thats a start!
From a very n00bish point of view, i'm looking for the first one that gets hello world on the screen - from there i will start analysing the code, play with it, compile it...see the changes, and doi it over and over again with new lines of code to compare changes- thats the way i learn
hehehe
The Following User Says Thank You to For This Useful Post: | ||