maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Extra softwares in Sailfish using CLI, repositories, etc (https://talk.maemo.org/showthread.php?t=92036)

kollin 2014-01-07 12:44

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by rainisto (Post 1404477)
Thats just debug message that can be ignored.

Thank you! *hugz* :D

kollin 2014-01-07 12:51

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by Bundyo (Post 1399339)
The Harmattan one works fine - just extract it along with libslang and voila :)

Is there a way to make a proper jolla/mer/nemo package from it?

Bundyo 2014-01-07 14:30

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Probably would be easy adapting the openSUSE armv7hl packages for Jolla:

http://download.opensuse.org/reposit...E_Factory_ARM/

kollin 2014-01-07 15:04

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by Bundyo (Post 1404534)
Probably would be easy adapting the openSUSE armv7hl packages for Jolla:

http://download.opensuse.org/reposit...E_Factory_ARM/

But how? I'm Gentoo user and the rpm system is absolutely alien to me? :confused:

Bundyo 2014-01-07 17:00

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
rpmbuild with the src package in a Jolla environment :)

kollin 2014-01-07 19:11

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by Bundyo (Post 1404578)
rpmbuild with the src package in a Jolla environment :)

Well i tried, it dies with:

Code:

[nemo@localhost mcsrc]$ rpmbuild --rebuild mc-4.8.11-90.4.src.rpm
Installing mc-4.8.11-90.4.src.rpm
warning: InstallSourcePackage at: psm.c:238: Header V3 RSA/SHA1 Signature, key ID e2c0098c: NOKEY
error: line 88: Unknown tag: Recommends:    mc-lang = 4.8.11

What does it mean?
:(

Used those links for directions:
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://wiki.centos.org/HowTos/RebuildSRPM

Ok commented some lines in the spec file now the drama is different:

Code:

rpmbuild -ba mc.spec
error: Failed build dependencies:
        audiofile-devel is needed by mc-4.8.11-90.1.armv7hl
        e2fsprogs-devel is needed by mc-4.8.11-90.1.armv7hl
        fdupes is needed by mc-4.8.11-90.1.armv7hl
        glib2-devel is needed by mc-4.8.11-90.1.armv7hl
        libtool is needed by mc-4.8.11-90.1.armv7hl
        gpm is needed by mc-4.8.11-90.1.armv7hl
        indent is needed by mc-4.8.11-90.1.armv7hl
        jpeg is needed by mc-4.8.11-90.1.armv7hl
        libjpeg-devel is needed by mc-4.8.11-90.1.armv7hl
        libpng-devel is needed by mc-4.8.11-90.1.armv7hl
        libssh2-devel is needed by mc-4.8.11-90.1.armv7hl
        readline-devel is needed by mc-4.8.11-90.1.armv7hl
        slang-devel is needed by mc-4.8.11-90.1.armv7hl
        update-desktop-files is needed by mc-4.8.11-90.1.armv7hl
        xorg-x11-devel is needed by mc-4.8.11-90.1.armv7hl
[nemo@localhost SPECS]$

:eek:

zypper can't find the devel packages my be they are in different repo? :confused:

J4ZZ 2014-01-08 15:56

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by szopin (Post 1397678)
edit: wow, building on-device is a bliss, MC compiles/installs nicely, just make sure to configure with '--with-screen=ncurses' as there is no slang currently

Could you please explain in detail which version did you pick and how you possibly got around the glib-2.0 error...
If I ./configure it always quits with
Code:

configure: error: glib-2.0 not found or version too old (must be >= 2.12)
although I have glib2-2.32.4-1.2.1.armv7hl and glibc-2.15-1.1.1.armv7hl installed.

I'm using lates src of mc-4.8.11.

Thanks in advance,

J4ZZ

nieldk 2014-01-08 17:14

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by J4ZZ (Post 1404834)
Could you please explain in detail which version did you pick and how you possibly got around the glib-2.0 error...
If I ./configure it always quits with
Code:

configure: error: glib-2.0 not found or version too old (must be >= 2.12)
although I have glib2-2.32.4-1.2.1.armv7hl and glibc-2.15-1.1.1.armv7hl installed.

I'm using lates src of mc-4.8.11.

Thanks in advance,

J4ZZ

you need glib2-devel

szopin 2014-01-08 17:14

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by J4ZZ (Post 1404834)
Could you please explain in detail which version did you pick and how you possibly got around the glib-2.0 error...
If I ./configure it always quits with
Code:

configure: error: glib-2.0 not found or version too old (must be >= 2.12)
although I have glib2-2.32.4-1.2.1.armv7hl and glibc-2.15-1.1.1.armv7hl installed.

I'm using lates src of mc-4.8.11.

Thanks in advance,

J4ZZ

pkcon install glib2-devel

J4ZZ 2014-01-08 20:11

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Edit: ./configure works now but make install doesn't?
Anything else I need to be aware of?

Last lines....
Code:

Making install in skin
make[2]: Entering directory `/home/nemo/Downloads/mc-4.8.11/lib/skin'
make[3]: Entering directory `/home/nemo/Downloads/mc-4.8.11/lib/skin'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/nemo/Downloads/mc-4.8.11/lib/skin'
make[2]: Leaving directory `/home/nemo/Downloads/mc-4.8.11/lib/skin'
Making install in tty
make[2]: Entering directory `/home/nemo/Downloads/mc-4.8.11/lib/tty'
  CC      key.lo
key.c: In function 'tty_get_event':
key.c:2121:5: error: 'flag' undeclared (first use in this function)
key.c:2121:5: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [key.lo] Error 1
make[2]: Leaving directory `/home/nemo/Downloads/mc-4.8.11/lib/tty'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/nemo/Downloads/mc-4.8.11/lib'
make: *** [install-recursive] Error 1

Cheers,

J4ZZ


All times are GMT. The time now is 22:49.

vBulletin® Version 3.8.8