LinuxQuestions.org
Help answer threads with 0 replies.
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 02-04-2004, 01:09 AM   #1
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
libmagic


Hello,

I'm a recent convert to Slack and am starting to get the hang of installing packages with swaret and checkinstall. But I'm running into issues getting giFT to install due to a package dependancy for libmagic (this is the only package that ./configure did not find).

I located the source for 4.07 of libmagic and libmagic-dev and installed them using checkinstall but am still getting this error when attempting to checkinstall gift:

Code:
meta_image.c:27:24: magick/api.h: No such file or directory
meta_image.c:33: syntax error before "ExceptionInfo"
meta_image.c: In function `set_image_info':
meta_image.c:35: `Image' undeclared (first use in this function)
meta_image.c:35: (Each undeclared identifier is reported only once
meta_image.c:35: for each function it appears in.)
meta_image.c:35: `img' undeclared (first use in this function)
meta_image.c:36: `ImageInfo' undeclared (first use in this function)
meta_image.c:36: `info' undeclared (first use in this function)
meta_image.c:39: warning: implicit declaration of function `CloneImageInfo'
meta_image.c:42: `path' undeclared (first use in this function)
meta_image.c:45: warning: implicit declaration of function `ReadImage'
meta_image.c:45: `excp' undeclared (first use in this function)
meta_image.c:49: warning: implicit declaration of function `DestroyImageInfo'
meta_image.c:53: `file' undeclared (first use in this function)
meta_image.c:56: warning: implicit declaration of function `DestroyImage'
meta_image.c: In function `meta_image_run':
meta_image.c:66: `ExceptionInfo' undeclared (first use in this function)
meta_image.c:66: syntax error before "excp"
meta_image.c:69: warning: implicit declaration of function `InitializeMagick'
meta_image.c:70: warning: implicit declaration of function `GetExceptionInfo'
meta_image.c:70: `excp' undeclared (first use in this function)
meta_image.c:76: warning: implicit declaration of function `DestroyExceptionInfo'
meta_image.c:77: warning: implicit declaration of function `DestroyMagick'
make[3]: *** [meta_image.lo] Error 1
make[3]: Leaving directory `/home/caesar/Applications/gift-0.11.5/src/meta'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/caesar/Applications/gift-0.11.5/src/meta'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/caesar/Applications/gift-0.11.5/src'
make: *** [install-recursive] Error 1
Any ideas?
 
Old 02-04-2004, 08:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well it can't find the api header.... this is for ImageMagick i take it? that would appear to be where the api.h is from, hence the errors. if you think you have all the files installed, run "updatedb" and then "locate api.h" to see if you really do have that file
 
Old 02-04-2004, 10:03 AM   #3
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Original Poster
Rep: Reputation: 30
Will do, thanks acid_kewpie.

btw, I've never expected the install for Slack to go so smoothly and for it to run seemingly faster than other distros. After trying over a dozen distros for my main box I hope I've finally found a good medium between package management and usability.

Last edited by ferreter; 02-04-2004 at 10:06 AM.
 
Old 02-04-2004, 07:48 PM   #4
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Original Poster
Rep: Reputation: 30
I believe I do in fact have ImageMagick but I'm still getting the error:

Code:
giFT 0.11.5

-------------------- core ---

giftd...................: yes
libgift.................: yes
libgiftproto............: yes
use ltdl................: yes

--------- meta data tools ---

use libvorbis...........: yes
use ImageMagick.........: yes
use libmagic............: no

-----------------------------
Any other thoughts?
 
Old 02-05-2004, 02:38 AM   #5
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
When I installed giFT (on Slack 9.0) I had the same problem. I tried everything I could think of to get giFT to see libmagic but no luck, so eventually I just used './configure --disable-libmagic' and it compiled with no problems. I think that libmagic is only used to give additional info about whatever jpeg's, etc. that you are trading, so it's not really necessary.

Enjoy!
--- Cerbere

[edit] Try './configure --help' for more configure options. [/edit]

Last edited by Cerbere; 02-05-2004 at 02:44 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
libmagic sources, where are they? NCappaZoo Linux - Software 4 10-28-2004 03:22 PM


All times are GMT -5. The time now is 02:40 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration