LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2010, 03:06 PM   #1
mutav
LQ Newbie
 
Registered: Dec 2009
Posts: 20

Rep: Reputation: 0
can't install imlib2 on slack-13


Whatever i try seems to be useless.
I compiled it from source, i installed it via slackbuild but it didn't work.
When i go imlib-config --version it shows me the old one, and when i try to install giblib it tells me that imlib2 is not installed.

I watched the output from the installing of imlib2 and i realized something's wrong: there are several suspicious warnings :
libtool: link: warning: `/usr/X11R6/lib/libfreetype.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXext.la' seems to be moved

I don't know why this happens. If anyone ever had similar problem, please help me. Thank you.
 
Old 01-30-2010, 03:08 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
If imlib comes with Slack by default (which I believe it does) did you remove the older version first?? Or, upgrade the existing version with your newer version?
 
Old 01-30-2010, 03:12 PM   #3
mutav
LQ Newbie
 
Registered: Dec 2009
Posts: 20

Original Poster
Rep: Reputation: 0
No, i didn't remove the old ver of imlib (which is 1.9.5), i just tried installing imli2 . Can you tell me how to delete the old version of imlib ?
 
Old 01-30-2010, 03:14 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
You don't want to just "delete" it. You should create a proper Slackware package of your new version, and use:

upgradepkg OLDPKGNAME%NEWPACKAGENAME

to replace the original one with your new one.

Like:

shell# upgradepkg imlib2%/path/to/your/new/version-1.2.3-blah.tgz
 
1 members found this post helpful.
Old 01-30-2010, 03:16 PM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
imlib and imlib2 are different things. Slack comes with imlib, not imlib2. So don't remove imlib. There's a SlackBuild for imlib2, have you tried that?
 
Old 01-30-2010, 03:16 PM   #6
mutav
LQ Newbie
 
Registered: Dec 2009
Posts: 20

Original Poster
Rep: Reputation: 0
But i don't have a .tgz from imlib2, only slackbuild and source.
What to do now ? Or do you know where i can find .tgz from it ?

EDIT: BrianL yeah i tried it, no success.

Last edited by mutav; 01-30-2010 at 03:17 PM.
 
Old 01-30-2010, 03:16 PM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Mind t hat imlib2 is different from imlib that comes with Slackware, so use
Code:
imlib2-config --version
to find the imlib2 installed version.

Last edited by bathory; 01-30-2010 at 03:26 PM.
 
Old 01-30-2010, 03:18 PM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by mutav View Post
But i don't have a .tgz from imlib2, only slackbuild and source.
What to do now ? Or do you know where i can find .tgz from it ?
Read this:
http://slackbuilds.org/howto/
 
Old 01-30-2010, 03:18 PM   #9
mutav
LQ Newbie
 
Registered: Dec 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
Mind t hat imlib2 is different from imlib that comes with Slackare, so use
Code:
imlib2-config --version
to find the imlib2 installed version.
bash: imlib2-config: command not found

It's not installed at all even after the make install, i'm sure in that.
 
Old 01-30-2010, 03:19 PM   #10
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
@ bathory-- thanks for pointing that out! Important.

@ mutav --

1) slackbuild script will produce a .tgz or .txz slackpkg.
2) if you are upgrading an existing package, you either need to use `removepkg` on the old version first before installing your new version, OR use `upgradepkg` to upgrade the installed version, with your new version.

Not doing one of the above, will end up with a mix of two versions installed.
 
Old 01-30-2010, 03:22 PM   #11
mutav
LQ Newbie
 
Registered: Dec 2009
Posts: 20

Original Poster
Rep: Reputation: 0
I did what GrapefruiTgirl said. It's okay now (i guess).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No X support Found when trying to install imlib2 bajanpoet Linux - Software 5 08-09-2010 01:19 PM
ffmpeg install with imlib2.so yajur Programming 5 08-18-2008 09:30 AM
feh / Imlib2: "no imlib2 loader for that file format" froedi Linux - Software 2 11-30-2003 07:44 AM
imlib2 on slack 9.0 watashiwaotaku7 Linux - Software 1 04-07-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration