Click to See Complete Forum and Search --> : scrot/imlib2


possumpuss
03-03-2001, 10:30 PM
hi i'm trying to install scrot, i thought it would go pretty easily, unfortunately there are a ton of libs and such that need to be installed for this thing to compile. i'm running rh7 2.2.16-22 on a piii1 ghz
i'm getting scrot from http://www.linuxbrit.co.uk/scrot/
in order for scrot to work you need imlib2
i got this from http://sourceforge.net/project/showfiles.php?group_id=2
of course imlib2 needs several components to be installed in order to compile, these are
edb ftp://ftp.enlightenment.org/pub/e/e17/libs/
libjpeg http://www.ijg.org/
libpng http://www.libpng.org/pub/png/libpng.html
freetype 1.2 http://www.freetype.org/

-i THOUGHT i had installed these correctly, i either installed them through rpm or tar.gz'ed them and every thing went okay, now when i try to make ./configure the imlib2 directory after tar.gz'ing it i get the following messages

...checking for e_db_open in -ledb... no
...fatal error: no edb headers and library detected this is a minimum requirement (at least a jpeg, a png and db loader need to be built
all other loaders are optional

-so, i went back to http://sourceforge.net/project/showfiles.php?group_id=2

and got the jpeg png and db loaders associated with imlib2-i386
however, when i try to install these through gnorpm, i get file conflict errors

what the heck am i doing wrong? if anyone can help i'd really appreciate it

thanks

[ 03 March 2001: Message edited by: big possum ]

[ 03 March 2001: Message edited by: possumpuss ]

possumpuss
03-04-2001, 03:09 AM
:confused: i've gotten past this point, im lib2 is installed,i think, and now i want to actually compile scrot

when i do a ./configure --prefix=/usr in the scrot directory, it tells me giblib is missing

but isn't giblib a part of imlib2?

heres the exact message i get when i try to compile scrot
checking for giblib versions>=1.1.0...no
***the giblib-config script installed by giblib could not be found
***if giblib was installed in prefix, make sure prefix/bin is in your path, or set the giblib_config environment variable to the full path to giblib-config
configure error:cannot find giblib:is giblib-config in the path


i'm confused. the file 'giblib config' is in /home/possum/giblib-1.1.0


damn, it's late
thanks if anyone can help me out this is driving me batty

[ 04 March 2001: Message edited by: possumpuss ]

giblet
03-04-2001, 11:55 AM
Originally posted by possumpuss:
[B]:
checking for giblib versions>=1.1.0...no
***the giblib-config script installed by giblib could not be found
***if giblib was installed in prefix, make sure prefix/bin is in your path, or set the giblib_config environment variable to the full path to giblib-config
configure error:cannot find giblib:is giblib-config in the path


i'm confused. the file 'giblib config' is in /home/possum/giblib-1.1.0


Right. And have you installed giblib? You have clearly downloaded it. You will need to install it - it is not part of imlib2, but a seperate, needed library.

Tom.

possumpuss
03-04-2001, 12:27 PM
that's why i'm scratching my head
giblib is in the giblib-1.1.0 folder in my home directory, so basically i don't think the scrot compile is seeing that it's there...

what to do

giblet
03-04-2001, 03:48 PM
Originally posted by possumpuss:
that's why i'm scratching my head
giblib is in the giblib-1.1.0 folder in my home directory, so basically i don't think the scrot compile is seeing that it's there...

what to do

Er. Like I said - install it.

You don't just leave it in $HOME, it's a library, you have to install it - just like you did with imlib2. You know? ./configure, make, make install etc in the giblib directory?

Tom.

possumpuss
03-04-2001, 06:36 PM
i was able to get a little further, i went back and ./configure make make installed the giblib and imlib2 directories, then i went and did the same to the scrot directory
i think where i screwed up initially is i didn't su to root before make

now i think i've got scrot compiled, but when i issue the command 'scrot' i get the msg

scrot: error while loading shared libraries:libgiblib.so.1:cannot load shared object file:no such file or directory

[ 04 March 2001: Message edited by: possumpuss ]