maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Got GCC Running - Now Need libncurses5-dev (https://talk.maemo.org/showthread.php?t=53284)

ArchiMark 2010-05-21 17:59

Got GCC Running - Now Need libncurses5-dev
 
Hope someone can please advise...

Got GCC/G++ running on my N900....

Now, I found that I need libncurses5-dev besides libncurses5 in order to compile an app that I want to use [Task, taskwarrior.org].

When I try to install libncurses5-dev, I get dependency error message that it needs libncurses5, but it lists the name of the specific libncurses5 version that I already installed and says that version won't work...

If I try to uninstall libncurses5 version that I already installed, I get message that a whole long list of other apps will be removed as well, 65MB worth...

So, wondered if someone can please tell me how to go about getting libncurses-dev installed without too much difficulty?

Thanks!

giannoug 2010-05-21 18:20

Re: Got GCC Running - Now Need libncurses5-dev
 
Why do this kind of things on the N900?

Thats what the SDK is for.

Joorin 2010-05-21 19:15

Re: Got GCC Running - Now Need libncurses5-dev
 
Quote:

Originally Posted by giannoug (Post 669682)
Why do this kind of things on the N900?

Thats what the SDK is for.

Because you can? No need to move the binary and you can test it immediately. No need for scratchbox or other "tools".

I've installed the root strap on my N900 just to have a functioning compiler at all times.

hawaii 2010-05-21 19:44

Re: Got GCC Running - Now Need libncurses5-dev
 
I would also suggest you use the SDK, or your next best bet would be a chroot with the development tools running, so you don't botch the dependencies on your device.

You can also simply grab the binary package, modify the control file to satisfy the dependencies (by adjusting versions etc...) and then install it. I don't recommend this, nobody recommends this and you shouldn't do it.

ArchiMark 2010-05-21 22:12

Re: Got GCC Running - Now Need libncurses5-dev
 
Quote:

Originally Posted by giannoug (Post 669682)
Why do this kind of things on the N900?

Thats what the SDK is for.

Because I'm just trying to get a very small simple terminal CLI app compiled...have done this on other similar devices in the past...but if it's better not to in this case, I'll do it on a PC......

ArchiMark 2010-05-21 22:14

Re: Got GCC Running - Now Need libncurses5-dev
 
Quote:

Originally Posted by Joorin (Post 669749)
Because you can? No need to move the binary and you can test it immediately. No need for scratchbox or other "tools".

Amen, Joorin..... :)

Quote:

I've installed the root strap on my N900 just to have a functioning compiler at all times.
Not sure what the root strap is but sounds good....

ArchiMark 2010-05-21 22:16

Re: Got GCC Running - Now Need libncurses5-dev
 
Quote:

Originally Posted by hawaii (Post 669787)
I would also suggest you use the SDK, or your next best bet would be a chroot with the development tools running, so you don't botch the dependencies on your device.

OK....so, by chroot, do you mean using EasyDebian for example?


Quote:

You can also simply grab the binary package, modify the control file to satisfy the dependencies (by adjusting versions etc...) and then install it. I don't recommend this, nobody recommends this and you shouldn't do it.
OK, got it.....already borked my N900 once, messin' with it, so, I understand what can happen...thank goodness for reflashing....

;)

javispedro 2010-05-21 22:23

Re: Got GCC Running - Now Need libncurses5-dev
 
There was another recent topic about this... use a chroot for on-device development.

ArchiMark 2010-07-03 02:57

Re: Got GCC Running - Now Need libncurses5-dev
 
Quote:

Originally Posted by javispedro (Post 669933)
There was another recent topic about this... use a chroot for on-device development.

So, like using EasyDebian or ?

Also, if EasyDebian will app compiled there work directly in maemo too or would it need to be cross-compiled for maemo?


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

vBulletin® Version 3.8.8