It is currently Tue Feb 09, 2010 6:41 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
 Linux Installer 
Author Message

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Linux Installer
I've put together an ncurses installer for Linux, based on buildroot (it looks the same as menuconfig when building the kernel). It will automatically download, extract and optionally edit ~/.bashrc to add the needed environment variables for compiling stuff with the devkitARM and devkitPPC toolchains, as well as compiling all the examples you choose to install. It is also possible to perform updates using it. Somebody could adapt the code for other *NIX systems in the future since it is pretty standard bash/make/awk/C (with curses) code.

http://x11.gp2x.de/devkitpro/devkitPro- ... ux.tar.bz2

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Last edited by Orkie on Fri Mar 07, 2008 6:30 pm, edited 4 times in total.

Sun Oct 28, 2007 10:01 am
Profile

Joined: Sun Oct 28, 2007 3:16 am
Posts: 2
Post Re: Linux Installer
Ooo, this looks sweet. I maintain the Macintosh installer package. I may have to look over your scripts and see what I can use to make the Macintosh installer better. Unfortunately I'm going to be busy this week.


Mon Oct 29, 2007 3:48 pm
Profile

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Re: Linux Installer
We were wondering in IRC the other day (after you'd left) whether it would be feasible to run the scripts pretty much as they are (or with a few changes to get the ncurses code running if needed) on OS X. That'd mean that if you were able to package your binaries as tarballs rather than disk images (or whatever OS X uses), the scripts could download and extract something like devkitarm-r21-{OS}.tar.bz2 (using user-set variables to decide what needs to be downloaded) so only one *NIX installer need be maintained. It'd mean binaries for pretty much any system could be added if anybody turned up who wanted to maintain them.

I don't know a lot about OS X, so that may not be at all possible :D.

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Mon Oct 29, 2007 8:57 pm
Profile

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Re: Linux Installer
I've updated the link in the first post. The original 0.2 package segfaulted because devkitPro-installer/Config.in needs a blank line at the end, which was missing :D.

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Tue Oct 30, 2007 6:20 pm
Profile

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Re: Linux Installer
Updated again, now on 0.3. This version will now only extract updated packages, not everything each and every time. Also, File_linux is gone from the ini file, it just uses File now.

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Fri Nov 02, 2007 12:31 am
Profile

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Re: Linux Installer
Another release! Now uses the same ini file as the Windows installer, stored on the devkitPro website, so updates should be available through the installer as soon as the Windows updater can see them. Also added some more code to make it easier to support different *NIX systems, and different processor architectures if binaries are ever released for them.

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Fri Mar 07, 2008 6:32 pm
Profile
User avatar

Joined: Sun Mar 16, 2008 1:12 am
Posts: 1
Post Re: Linux Installer
Hello,

I've been asked to write a report about using this installer on a 64-bit Ubuntu.
I have to say: It works now perfectly.
To get it work you musn't run the installer (make) as root or with sudo power.
It is needed to create the folder "/usr/local/devkitPro/" before and give it chmod 777.
Or you do chmod -R 777 /usr/local.
Nice work!

Thanx, Typhox


Mon Mar 17, 2008 12:37 am
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 463
Location: UK
Post Re: Linux Installer
Typhox wrote:
Or you do chmod -R 777 /usr/local.


Um, you shouldn't really do that, it kind of defeats the point of your security permissions. You could always run the installer as root instead.


Fri Apr 25, 2008 2:06 pm
Profile

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Re: Linux Installer
I generally do "mkdir /usr/local/devkitPro && chown {user}:{user} /usr/local/devkitPro" as root before running the installer. Mostly because I sometimes have to move things around when working on the installer and logged in as my non-root account.

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Sun Apr 27, 2008 3:26 pm
Profile

Joined: Mon May 26, 2008 11:29 am
Posts: 1
Post Re: Linux Installer
I just tried the installer, which is looking quite good, but it does not seem to work. I fails with version numbers including letters (r23b) and I think that some download links are outdated...


Mon May 26, 2008 11:32 am
Profile

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Re: Linux Installer
Yeah, some stuff has changed since I last updated this. I'll try to get it going again.

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Mon May 26, 2008 1:49 pm
Profile

Joined: Sun Oct 28, 2007 3:16 am
Posts: 2
Post Re: Linux Installer
Let me know when this thing is working again and I'll get my butt together and adapt it for Mac OS X.


Mon May 26, 2008 5:03 pm
Profile

Joined: Sat May 31, 2008 2:04 am
Posts: 1
Post Re: Linux Installer
Thanks for this. I've been going crazy trying to install the binaries from SF.NET manually.

One thing that I would recommend is allowing the user to keep the files d/l'ed from the site. I had a few problems installing it, and re-running the script meant re-d/l'ing the files.

Part of the problem I had problems was because I just wanted to install it in my own user directory instead of littering /usr/local.

Oh, and what about Wii examples?


Mon Jun 02, 2008 7:45 am
Profile

Joined: Thu Oct 25, 2007 11:54 pm
Posts: 10
Location: UK
Post Re: Linux Installer
Like I said, it has been a while since I worked on it. I've got exams for the next 3 weeks, but I'll play around again after that.

_________________
Quote:
<Erant> If you wipe your ass with a piece of paper with GPLed sourcecode on it, you have to make your poo public domain.


Mon Jun 02, 2008 12:34 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: