maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   How can I install zlib1g-dev on N900? (https://talk.maemo.org/showthread.php?t=91435)

akatzbreaker 2013-09-22 18:02

How can I install zlib1g-dev on N900?
 
Is there anybody who has installed zlib1g-dev on N900?

I have installed gcc-4.2....



Or even knows where the source code/debian files can be downloaded?


Thanks in Advance!

freemangordon 2013-09-22 18:10

Re: How can I install zlib1g-dev on N900?
 
Quote:

Originally Posted by akatzbreaker (Post 1376113)
Is there anybody who has installed zlib1g-dev on N900?

I have installed gcc-4.2....



Or even knows where the source code/debian files can be downloaded?


Thanks in Advance!

sdk and tools repos?

http://repository.maemo.org/#sdk_repositories

akatzbreaker 2013-09-22 18:16

Re: How can I install zlib1g-dev on N900?
 
And how should this install on the N900?

I cannot add these repos on the N900...

freemangordon 2013-09-23 05:56

Re: How can I install zlib1g-dev on N900?
 
Quote:

Originally Posted by akatzbreaker (Post 1376115)
And how should this install on the N900?

I cannot add these repos on the N900...

What stops you to add them? Either create an entry in /etc/apt/sources.list.d or add catalogues in HAM.

or just wget -dev package matching the version of zlib1g you have installed on your device and dpkg -i it.

nieldk 2013-09-23 06:50

Re: How can I install zlib1g-dev on N900?
 
Get token for Nokia binaries here (for <token-code> entry below)

http://tabletsdev.maemo.org/eula/index.php

Code:

$ sudo gainroot
# nano /etc/apt//etc/apt/sources.list.d/nokia-sdk.list

add these lines

Code:

    deb http://repository.maemo.org/ fremantle/sdk free non-free
    deb-src http://repository.maemo.org/ fremantle/sdk free
    deb http://repository.maemo.org/ fremantle/tools free non-free
    deb-src http://repository.maemo.org/ fremantle/tools free
    deb http://repository.maemo.org/ fremantle/<token-code> nokia-binaries

then,

Code:

# apt-get update
# apt-get install zlib1g-dev

or

Code:

wget http://repository.maemo.org/pool/fremantle/free/z/zlib/zlib1g-dev_1.2.3-9.osso9%2b0m5_armel.deb
dpkg -i zlib1g-dev_1.2.3-9.osso9%2b0m5_armel.deb


freemangordon 2013-09-23 12:37

Re: How can I install zlib1g-dev on N900?
 
@nieldk - token is needed only in ScratchBox for nokia binaries, sdk/tools repo doesn't need it


All times are GMT. The time now is 16:14.

vBulletin® Version 3.8.8