How do downloaded programmes open so they are usable??

Post here if you are a new Porteus member and you're looking for some help.
AndyInMokum
Black ninja
Black ninja
Posts: 31
Joined: 17 Jul 2013, 06:21
Distribution: Crunchbang 11 32bit
Location: Amsterdam

How do downloaded programmes open so they are usable??

Post#1 by AndyInMokum » 21 Jul 2013, 22:27

Greetings from Amsterdam

I am really confused and please forgive my newbie ignorance. I can't get downloaded programmes from the PPM to open. I sort of understand the compression system of the modules to save space. I just can't get them to open or decompress. I'm obviously doing something fundamentally wrong or completely misunderstanding the system.

Example: I found gimp-2.8.2-i486-1.txz in ./slackware/xap. I click download and in short time a message appears saying, "Your package is waiting in /tmp/gimp-2.8.2-i486-txz. I navigate to there and try to install the Slackware package. In the Porteus Menu/Graphics, GNU appears but does nothing when clicked. The same for RawTherapee from Search Slacky. I've spent hours trying to figure this out. Now its time to ask for help before I damage myself from banging my head against the wall. Many thank guys, I'm still enjoying my very steep learning curve and I'm looking forward to fully understanding Porteus.

Thanks

Andy

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: How do downloaded programmes open so they are usable??

Post#2 by Hamza » 21 Jul 2013, 23:05

Your program is certainly needing some dependencies in order to run/works correctly, especially for software like GIMP.
NjVFQzY2Rg==

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: How do downloaded programmes open so they are usable??

Post#3 by wread » 21 Jul 2013, 23:29

@AndyInMokum
Porteus modules have .xzm as extension and are activated by clicking on them. A short message tells the user if all went ok. Slackware modules can be activated by right-clicking and choosing "Install slackware txz/tgz module"; or better, transform the txz module in a xzm-module with your service menu.

Modules normally reside in /porteus/module if you want to have them always available.

If a new application won't start, try and invoke it in a console; you will know why it doesn't start and how to proceed.

Don't hesitate to ask, you will find someone to help you!

Good luck :)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

AndyInMokum
Black ninja
Black ninja
Posts: 31
Joined: 17 Jul 2013, 06:21
Distribution: Crunchbang 11 32bit
Location: Amsterdam

Re: How do downloaded programmes open so they are usable??

Post#4 by AndyInMokum » 22 Jul 2013, 14:16

wread wrote:@AndyInMokum
Porteus modules have .xzm as extension and are activated by clicking on them. A short message tells the user if all went ok. Slackware modules can be activated by right-clicking and choosing "Install slackware txz/tgz module"; or better, transform the txz module in a xzm-module with your service menu.

Modules normally reside in /porteus/module if you want to have them always available.

If a new application won't start, try and invoke it in a console; you will know why it doesn't start and how to proceed.

Don't hesitate to ask, you will find someone to help you!

Good luck :)
Hi wread

Thanks for getting back to me and I'm sorry for all of the questions. The info you provided has clarified the procedures and thrown up a bunch more questions. I installed Porteus 2.1 Xfce onto a spare 8GB USB stick just to run as root for testing. This way I don't care if I break Porteus. I followed the procedure to install Gimp and RawTherapee, These are two of the programmes along with ufraw that won't open. I took your suggestion and tried to invoke them in the Terminal. None of them opened but I did get a summary of the reasons why. Unfortunately this is where my abilities fail me. Any help from this point is much appreciated.

Below is a copy of the terminal info. The final entry, blender is a marker as it was downloaded via the PPM and it worked when I tried to open it.

root@porteus:~# gimp
gimp: error while loading shared libraries: libgegl-0.2.so.0: cannot open shared object file: No such file or directory
root@porteus:~# rawtherapee
rawtherapee: error while loading shared libraries: liblcms2.so.2: cannot open shared object file: No such file or directory
root@porteus:~# ufraw
ufraw: error while loading shared libraries: libexiv2.so.12: cannot open shared object file: No such file or directory
root@porteus:~# blender
connect failed: No such file or directory
AL lib: UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: /opt/blender/2.66/python

Many thanks

Andy
Last edited by AndyInMokum on 22 Jul 2013, 14:30, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: How do downloaded programmes open so they are usable??

Post#5 by Hamza » 22 Jul 2013, 14:27

Code: Select all

slackyd -d gimp
NjVFQzY2Rg==

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: How do downloaded programmes open so they are usable??

Post#6 by wread » 22 Jul 2013, 15:06

@AndyInMokum
Lets try to get them to work one by one.
For Gimp you will need to install most of these modules
Put them all in optional and click on gegel first; try again your gimp and click on the next in the list, etc. until it runs ok. (Experts go direct to grain and tip "ldd -d /usr/bin/gimp | grep found" -without the quotes- to get the list of the missing dependencies.)

Every time one module is accepted, you move it to modules. So the next time you start the machine they are active.

When you get Gimp to work,you can apply the same medicine to the others!

Good luck!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

AndyInMokum
Black ninja
Black ninja
Posts: 31
Joined: 17 Jul 2013, 06:21
Distribution: Crunchbang 11 32bit
Location: Amsterdam

Re: How do downloaded programmes open so they are usable??

Post#7 by AndyInMokum » 22 Jul 2013, 15:35

Hamza wrote:

Code: Select all

slackyd -d gimp
Hi and many thanks for getting back to me. I tried the code you suggested and I did bring up the list of required dependencies. Again It had raised more questions though.

root@porteus:~# slackyd -d gimp

Checking gimp-2.8.2-i486-1: done.

Found 6 missing dependencies:
libgegl-0.2.so.0 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-2.8)
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-console-2.8)
libbabl-0.1.so.0 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-2.8)
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-console-2.8)
libwmf-0.2.so.7 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-wmf)
libwmflite-0.2.so.7 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-wmf)
libjasper.so.1 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-jp2-load)
libaa.so.1 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-aa)

Searching libgegl-0.2.so.0:

Error, no MANIFEST files found.
Try to update or fix your slackyd.conf.

root@porteus:~#

This the output after I have updated the Slackware data base and activated the new module. I don't understand why I'm receiving these errors.

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: How do downloaded programmes open so they are usable??

Post#8 by Hamza » 22 Jul 2013, 18:09

Code: Select all

slackyd -fu && slackyd -d gimp
NjVFQzY2Rg==

AndyInMokum
Black ninja
Black ninja
Posts: 31
Joined: 17 Jul 2013, 06:21
Distribution: Crunchbang 11 32bit
Location: Amsterdam

Re: How do downloaded programmes open so they are usable??

Post#9 by AndyInMokum » 22 Jul 2013, 20:32

Hamza wrote:

Code: Select all

slackyd -fu && slackyd -d gimp
Hi Hamza

Thanks for getting back to me and thank you for the code. I ran it and it appeared to be working, (wread had sent me a link to download these manually). After it had finished, I tried again to open Gimp. Again no success. I'm missing something or, doing something wrong.

root@porteus:~# slackyd -fu && slackyd -d gimp

Repository: slackware [ftp.heanet.ie]
`- Downloading FILELIST.TXT [ok]
`- Downloading CHECKSUMS.md5 [ok]
`- Downloading PACKAGES.TXT [ok]
`- Downloading MANIFEST.bz2 [ok]
>> Uncompressing MANIFEST.bz2: done.
`- Downloading patches PACKAGES.TXT [ok]
`- Downloading patches MANIFEST.bz2 [ok]
>> Uncompressing patches MANIFEST.bz2: done.
`- Downloading extra PACKAGES.TXT [ok]
`- Downloading extra MANIFEST.bz2 [ok]
>> Uncompressing extra MANIFEST.bz2: done.
Repository: slacky [repository.slacky.eu]
`- Downloading FILELIST.TXT [ok]
`- Downloading PACKAGES.TXT [ok]
`- Downloading CHECKSUMS.md5 [ok]
`- Downloading MANIFEST.bz2 [ok]
>> Uncompressing MANIFEST.bz2: done.


Checking gimp-2.8.2-i486-1: done.

Found 6 missing dependencies:
libgegl-0.2.so.0 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-2.8)
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-console-2.8)
libbabl-0.1.so.0 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-2.8)
--> Package: gimp-2.8.2-i486-1 (/usr/bin/gimp-console-2.8)
libwmf-0.2.so.7 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-wmf)
libwmflite-0.2.so.7 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-wmf)
libjasper.so.1 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-jp2-load)
libaa.so.1 required by:
--> Package: gimp-2.8.2-i486-1 (/usr/lib/gimp/2.0/plug-ins/file-aa)

Searching libgegl-0.2.so.0: found 1 package.
Searching libbabl-0.1.so.0: found 1 package.
Searching libwmf-0.2.so.7: found 1 package.
Searching libwmflite-0.2.so.7: found 1 package.
Searching libjasper.so.1: found 1 package.
Searching libaa.so.1: found 1 package.

Download aalib-1.4rc5-i486-3.txz [from slackware] ? [y/N] y
Download babl-0.1.10-i486-1.txz [from slackware] ? [y/N] y
Download gegl-0.2.0-i486-1.txz [from slackware] ? [y/N] y
Download jasper-1.900.1-i486-3.txz [from slackware] ? [y/N] y
Download libwmf-0.2.8.4-i486-5.txz [from slackware] ? [y/N] y

Downloading aalib-1.4rc5-i486-3.txz. [ok]
* Verify md5 checksum: ok.
Downloading babl-0.1.10-i486-1.txz. [ok]
* Verify md5 checksum: ok.
Downloading gegl-0.2.0-i486-1.txz. [ok]
* Verify md5 checksum: ok.
Downloading jasper-1.900.1-i486-3.txz. [ok]
* Verify md5 checksum: ok.
Downloading libwmf-0.2.8.4-i486-5.txz. [ok]
* Verify md5 checksum: ok.

root@porteus:~# ldd -d /usr/bin/gimp | grep found
libgimpwidgets-2.0.so.0 => not found
libgimpconfig-2.0.so.0 => not found
libgimpmath-2.0.so.0 => not found
libgimpthumb-2.0.so.0 => not found
libgimpcolor-2.0.so.0 => not found
libgimpmodule-2.0.so.0 => not found
libgimpbase-2.0.so.0 => not found
libgegl-0.2.so.0 => not found
libbabl-0.1.so.0 => not found
undefined symbol: gimp_micro_version (/usr/bin/gimp)
undefined symbol: gimp_major_version (/usr/bin/gimp)
undefined symbol: gimp_minor_version (/usr/bin/gimp)
root@porteus:~# gimp
gimp: error while loading shared libraries: libgimpwidgets-2.0.so.0: cannot open shared object file: No such file or directory
root@porteus:~#

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: How do downloaded programmes open so they are usable??

Post#10 by wread » 22 Jul 2013, 20:42

Are all dependencies INSTALLED???
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

AndyInMokum
Black ninja
Black ninja
Posts: 31
Joined: 17 Jul 2013, 06:21
Distribution: Crunchbang 11 32bit
Location: Amsterdam

Re: How do downloaded programmes open so they are usable??

Post#11 by AndyInMokum » 22 Jul 2013, 21:20

wread wrote:Are all dependencies INSTALLED???
No and I can't find them in the Slackware depository. It has been updated and the new module activated.

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: How do downloaded programmes open so they are usable??

Post#12 by Hamza » 22 Jul 2013, 21:37

Code: Select all

installpkg /var/slackyd/*.txz
NjVFQzY2Rg==

AndyInMokum
Black ninja
Black ninja
Posts: 31
Joined: 17 Jul 2013, 06:21
Distribution: Crunchbang 11 32bit
Location: Amsterdam

Re: How do downloaded programmes open so they are usable??

Post#13 by AndyInMokum » 23 Jul 2013, 06:22

Hamza wrote:

Code: Select all

installpkg /var/slackyd/*.txz
Good morning from Amsterdam


Thanks for sending me the code. I've run it and it confirmed that it has installed. Gimp still won't open. I ran the code that wread gave me to show the missing dependencies. The ones that are shown are the ones I cannot find when I run a search in the Slackware database from the PPM. It has been refreshed and the module updated. below is the copy or the results from the terminal. Again many thanks for your patience and help.


root@porteus:~# installpkg /var/slackyd/*.txz
Verifying package aalib-1.4rc5-i486-3.txz.
Installing package aalib-1.4rc5-i486-3.txz:
PACKAGE DESCRIPTION:
# aalib (ASCII Art library) _1l1vlvlvlvlvlvlvlvlvvl=.
# __111llvl+' __...._ +1lv11=.
# AA-lib is an ASCII art graphics _11vllvlv+ =vlvlvl1= /1vlvv1i=_
# library. Internally, the AA-lib _vvllvlvlv= -+vlvlvlvlvlvlvlvdvl=_
# API is similar to other graphics _:lvlvlvlvlv=. --^-^1lvlvlrlvv1s
# libraries, but it renders the =llvlvvlvlvv11lvl=.... -lvlevlvlvv
# the output into ASCII art (like =lvlvlvlvll-^+1vv11111v_ vlkllvllvl
# the example to the right :^) =lvlvlvlvl1 +1vv1v1lv _llvlvlvlvl
# The developers of AA-lib are +1lv |vlvl' -^-^- _1olvlvlvlv'
# Jan Hubicka, Thomas A. K. Kjaer, -1vl |lvlvlvlvlvlvlvlvv1vlvlvlvlv+.
# Tim Newsome, and Kamil Toman. +1 ^^^^^^^^^^^^^^^^^^^^^^^^vlv-
# -+uvlvlvlvlvlvlvlvlvlvlvlvl+_
# -vlvlvlvlvlvlvlvllvlvl-'
Executing install script for aalib-1.4rc5-i486-3.txz.
Package aalib-1.4rc5-i486-3.txz installed.

Verifying package babl-0.1.10-i486-1.txz.
Installing package babl-0.1.10-i486-1.txz:
PACKAGE DESCRIPTION:
# babl (pixel format translation library)
#
# babl is a dynamic, any to any, pixel format translation library.
#
# It allows converting between different methods of storing pixels known
# as pixel formats that have with different bitdepths and other data
# representations, color models and component permutations.
#
# A vocabulary to formulate new pixel formats from existing primitives is
# provided as well as the framework to add new color models and data types.
#
Executing install script for babl-0.1.10-i486-1.txz.
Package babl-0.1.10-i486-1.txz installed.

Verifying package gegl-0.2.0-i486-1.txz.
Installing package gegl-0.2.0-i486-1.txz:
PACKAGE DESCRIPTION:
# GEGL (Generic Graphics Library)
#
# GEGL (Generic Graphics Library) is a graph based image processing
# framework.
#
# GEGL provides infratructure to do demand based cached non destructive
# image editing on larger than RAM buffers. Through babl it provides
# support for a wide range of color models and pixel storage formats for
# input and output.
#
Executing install script for gegl-0.2.0-i486-1.txz.
Package gegl-0.2.0-i486-1.txz installed.

Verifying package jasper-1.900.1-i486-3.txz.
Installing package jasper-1.900.1-i486-3.txz:
PACKAGE DESCRIPTION:
# jasper (free implementation of the JPEG-2000 standard)
#
# The JasPer Project is an open-source initiative to provide a free
# software-based reference implementation of the codec specified in the
# JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).jasper:
#
# jasper home: http://www.ece.uvic.ca/~mdadams/jasper/
#
Executing install script for jasper-1.900.1-i486-3.txz.
Package jasper-1.900.1-i486-3.txz installed.

Verifying package libwmf-0.2.8.4-i486-5.txz.
Installing package libwmf-0.2.8.4-i486-5.txz:
PACKAGE DESCRIPTION:
# libwmf (WMF graphics format library)
#
# libwmf is a library for interpreting metafile images and either
# displaying them using X or converting them to standard formats such
# as PNG, JPEG, PS, EPS and SVG.
#
Executing install script for libwmf-0.2.8.4-i486-5.txz.
Package libwmf-0.2.8.4-i486-5.txz installed.

root@porteus:~# ldd -d /usr/bin/gimp | grep found
libgimpwidgets-2.0.so.0 => not found
libgimpconfig-2.0.so.0 => not found
libgimpmath-2.0.so.0 => not found
libgimpthumb-2.0.so.0 => not found
libgimpcolor-2.0.so.0 => not found
libgimpmodule-2.0.so.0 => not found
libgimpbase-2.0.so.0 => not found
undefined symbol: gimp_micro_version (/usr/bin/gimp)
undefined symbol: gimp_major_version (/usr/bin/gimp)
undefined symbol: gimp_minor_version (/usr/bin/gimp)
root@porteus:~# gimp
gimp: error while loading shared libraries: libgimpwidgets-2.0.so.0: cannot open shared object file: No such file or directory
root@porteus:~#

User avatar
wread
Module Guard
Module Guard
Posts: 1062
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: How do downloaded programmes open so they are usable??

Post#14 by wread » 23 Jul 2013, 11:32

Good morning from Santo Domingo!
@AndyInMokum
You are using an outdated version of gimp. Use the one I gave you in the link of my second post. There you will find the Porteus modules for all the *.xzm files you downloaded from slackware. It happens that you started with an old gimp version.

Cheers!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

AndyInMokum
Black ninja
Black ninja
Posts: 31
Joined: 17 Jul 2013, 06:21
Distribution: Crunchbang 11 32bit
Location: Amsterdam

Re: How do downloaded programmes open so they are usable??

Post#15 by AndyInMokum » 23 Jul 2013, 11:42

wread wrote:Good morning from Santo Domingo!
@AndyInMokum
You are using an outdated version of gimp. Use the one I gave you in the link of my second post. There you will find the Porteus modules for all the *.xzm files you downloaded from slackware. It happens that you started with an old gimp version.

Cheers!
Hi from a scorching 30+° Amsterdam

The clouds of mystery are starting to disappear - I hope. Should I uninstall Gimp and start fresh with the one you gave me?

Cheers

Hi Again

I think I spoke too soon. I've unistalled Gimp in the PPM and moved it's module to the rubbish bin. I've moved all of the modules you have provided to the Porteus Modules folder and opened each one of them with 'activate'. Gimp is still not there. It has disappeared from menu/graphics, as expected. I tried to invoke it in the terminal with no success.

root@porteus:~# gimp
bash: gimp: command not found
root@porteus:~#

This is driving me crazy :crazy:. I'm getting ready to give up :cry: !

Cheers.

Post Reply