Reply
Thread Tools
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#1
Hello all.
I am 2239 KM away from my Ubuntu machine, and there is no way to install any form of Ubuntu (dual-boot, chroot...) on the netbook I am using. I want to build a .deb package, but that's too damn hard on a windoze machine, so I figured I can package the .tar.gz file on it, then, hopefully find a way to turn it into a .deb file using my almighty N900, is there any way to do so?

-I hope there is, crosses fingers-
 

The Following User Says Thank You to ammyt For This Useful Post:
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#2
Please TMO users, give me the magical solution before I go to bed

I want to fill my eyes with joy from my new shiny foreseeable .deb file...so badly...
 
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#3
No member viewing this except me?!
[IN TEARS]...and I thought this is a helpful community...[/IN TEARS]

Joking. I guess it is up for tommorow then.
 
Posts: 466 | Thanked: 418 times | Joined on Jan 2010
#4
How 'bout using the Debian chroot (Easy Debian).

I tried installing devscripts at one point in Maemo, but I think that not all the dependencies were there. But this should work in the chroot.

Of course doing a proper .deb package requires more than just converting a tar.gz file...

slaapliedje
 
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#5
Originally Posted by slaapliedje View Post
How 'bout using the Debian chroot (Easy Debian).

I tried installing devscripts at one point in Maemo, but I think that not all the dependencies were there. But this should work in the chroot.

Of course doing a proper .deb package requires more than just converting a tar.gz file...

slaapliedje
OMG, that's a looong way to go, it is too late to fiddle with easy-debian now.
BTW I have a backtrack live cd with me, anything can be done with it?
 
dadoabdallah's Avatar
Posts: 117 | Thanked: 27 times | Joined on Apr 2011
#6
go to bed better
 
Posts: 69 | Thanked: 55 times | Joined on Nov 2009
#7
Try to install the alien package from the debian armel repositories:

alien - Convert or install an alien binary package

SYNOPSIS
alien [--to-deb] [--to-rpm] [--to-tgz] [--to-slp] [options] file [...]

DESCRIPTION
alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware
tgz, and Solaris pkg file formats. If you want to use a package from another linux
distribution than the one you have installed on your system, you can use alien to convert it
to your preferred package format and install it. It also supports LSB packages.
 

The Following User Says Thank You to farmatito For This Useful Post:
Posts: 502 | Thanked: 366 times | Joined on Jun 2010 @ /dev/null
#8
There's many issues with a tar.gz file. First of all you can say its a very rough equivalent to a zip file under windows.

There's no way to tell (unless you tell us) that the contents of the tar.gz does not contain any files that are generally source codes. By that I mean like anything that has filename extensions such as .c and .h for instance. With those extensions you cannot make N900 run them but you will need them to be compiled. For that to work you will need to install build environment on your N900 which will literally butcher your N900's rootfs if you're willing to do that without researching.

The other factor is that if the files within .tar.gz are precompiled binaries, you'll need to make sure that they actually do work with N900.. any old executable that you randomly find on internet does not equate to being able to run on N900. They need to be compiled as armel.

Now with all that being mentioned, easy chroot is probably an ideal method within N900, it'll be slow and sluggish but in the very least you can have all the compilation tools from scratchbox repository installed inside the chrooted environment which won't butcher your N900's rootfs and definitely would not leave a mess.

As with backtrack CD/DVD.. No it will not work, you will still need to download and install scratchbox environment which is necessary for cross-compiling. Remember your N900 is not equipped with a regular desktop/laptop CPU, it is roughly the same processor as every other handheld devices. The codebase therefore is different from both, making your N900's CPU understand x86's code is like getting you to interpret other languages that you don't know of without any form of assistance in a nutshell.
__________________
 

The Following 2 Users Say Thank You to tuxsavvy For This Useful Post:
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#9
I have created debs in my N900, but those were mostly shell and python scripts packaged for easy install.
I dont remember it now, but let me check it.

EDIT:

Yeah, try this out:
After extracting the tar.gz.
Code:
dpkg-deb -build PACKAGENAME
See this page:http://ubuntuforums.org/showthread.php?t=838485
__________________
My Device History:Nokia 3510 > SE T230 > Nokia 6600 > HP2210 > SE p910i > SE p990i > N95 > I-mate 9502 > itouch > Nokia N900 > ? N9
My apps for N900:
Conversation Modder

My apps for N9:
LockScreenQuotes
USbS


If you feel I have helped you, don't forget to press Thanks!

Last edited by ejasmudar; 2011-09-12 at 06:55.
 

The Following 2 Users Say Thank You to ejasmudar For This Useful Post:
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#10
Originally Posted by ejasmudar View Post
I have created debs in my N900, but those were mostly shell and python scripts packaged for easy install.
I dont remember it now, but let me check it.

EDIT:

Yeah, try this out:
After extracting the tar.gz.
Code:
dpkg-deb -build PACKAGENAME
See this page:http://ubuntuforums.org/showthread.php?t=838485
Thanks bud, worked like a charm.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:01.