Author Topic: Screencap, Scrot And Giblib Error:  (Read 3833 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Screencap, Scrot And Giblib Error:
« on: February 08, 2007, 11:31:39 am »
I have installed it 3 times on pdaxii13-akita, and it always gives me this error when taking a screenshot:
giblib error: Saving to file screencap.png failed
Scrot gives me that error when launched in a console.

I install the following files:
imlib2_1.2.2_armv5tel.ipk
giblib_1.2.4_armv5tel.ipk
scrot_0.8_armv5tel.ipk
screencap_0.3_armv5tel.ipk

already included in pdaxii13-akita, so I didn't install:
audiofile_0.2.6_armv5tel.ipk
esound_0.2.34_armv5tel.ipk
libjpg
libpng
zlib (imlib has this in it's depends)

BTW, pdaxii13-akita doesn't come with screencap or scrot.
-------------------------------------------------
Once, I even went as far as to install libtiff and libungif, because imlib description says those are depends.
Later, I looked around in the directory structure of giblib and scrot.
giblib installs in /usr/local/include/giblib/
giblib also installs in /usr/local/lib/ and has some symlinks back to above directory.
giblib also installs a config file to /usr/local/bin/giblib.config (I looked at this file in a text editor, and it is too confusing to me)

scrot installs to /usr/local/bin/

I have read several threads at OESF, that programs that don't install to the usual locations and instead, install to usr/local/ have problems, especially with their .desktop files.

For instance, I uninstalled Leafpad 0.7.9 so I could install Leafpad 0.8.9
Both versions of Leafpad installed themselves to /usr/local/
I had to uninstall 0.7.9, because I couldn't get 0.8.9 to install properly.
Anyways, I ended up moving Leafpad, it's icon and it's .desktop file to the "normal" places, ie
/usr/bin/
/usr/share/applications/
/usr/share/pixmaps/
I don't remember right now, but I think I had a problem getting the icon on the desktop. It works fine this way.

EDIT: One more thing, after installing the above four IPKs
imlib2_1.2.2_armv5tel.ipk
giblib_1.2.4_armv5tel.ipk
scrot_0.8_armv5tel.ipk
screencap_0.3_armv5tel.ipk
There is a strange empty directory created in /
/IPKG_BUILD.18092/
I'm pretty certain giblib created this directory because the timestamps are the same as the other stuff giblib installed.
« Last Edit: February 10, 2007, 02:11:28 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Screencap, Scrot And Giblib Error:
« Reply #1 on: February 10, 2007, 02:10:20 pm »
I got scrot and screencap working in pdaxii13-akita.
I was using an incorrect library for this installation.

meanie suggested that I use imlib2_1.2.1_armv5tel.ipk instead of imlib2_1.2.2_armv5tel.ipk
This was what was causing my problems.
Scrot now works and screencap works.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers