LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-08-2004, 09:20 AM   #1
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Rep: Reputation: 32
imagemagick devel package


Hi!

i was trying to install giFT but had compiling problems. what i found out was that i needed imagemagick devel package. now, ican't find it. all i'm hearing in forums is rpms for red hat/mandrake etc. but what if you're using slackware 9.1. how do how fix that?

thanks

indy
 
Old 01-08-2004, 10:26 AM   #2
gkoutsog
Member
 
Registered: Sep 2003
Location: Greece
Distribution: RedHat,Mandrake
Posts: 38

Rep: Reputation: 15
I just search a few ftp sites that offer slackware packages for downloading and couldn't find ImageMagick development files. You could other go to http://www.imagemagick.org/index.html and download the source tree and compile it or use swaret (http://www.swaret.org/) and see if they have it...

Cant help you any further . Sorry!
 
Old 01-08-2004, 10:50 AM   #3
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Original Poster
Rep: Reputation: 32
thanks gkoutsog. i appriate your effort.

but it looks like i have the dev package alrady (???). i looked into /usr/X11R6/include/magic/. i have all the header files i need i presume. because when i compile giFT i get:
....
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'


could this be a link problem?

thams again

indy
 
Old 01-09-2004, 03:57 AM   #4
gkoutsog
Member
 
Registered: Sep 2003
Location: Greece
Distribution: RedHat,Mandrake
Posts: 38

Rep: Reputation: 15
Yep, it is a link problem!

Go to /usr/inlude
and do something like:
ln -s /usr/X11R6/include/magic magic

I'm pretty sure it will work...

Good luck!
 
Old 02-04-2004, 06:47 PM   #5
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
Quote:
Originally posted by gkoutsog
Yep, it is a link problem!

Go to /usr/inlude
and do something like:
ln -s /usr/X11R6/include/magic magic

I'm pretty sure it will work...

Good luck!
When you did this and re-ran ./configure did you get anything like this?:

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

-----------------------------
Still seems like libmagic is missing.

(btw, trying to get it to work on slack 9.1 as well)
 
Old 02-06-2004, 03:10 AM   #6
edsmithers
Member
 
Registered: Jul 2003
Distribution: slackware 9.1
Posts: 45

Rep: Reputation: 15
same here

yea i've been getting the same error and the link didn help. is it any use to look at the lines listed in the error report?
static int set_image_info (FileShare *file, char *path, ExceptionInfo *excp)
{ meta_image.c:27:24: magick/api.h: No such file or directory
meta_image.c:33: error: parse error before "ExceptionInfo"

Image *img;
ImageInfo *info;

/* create context */
if (!(info = CloneImageInfo (NULL)))
return FALSE;

strcpy (info->filename, path);

/* open image */
if (!(img = ReadImage (info, ex

or is it definitely a library issue
anybody help to solve this problem_?

Last edited by edsmithers; 02-06-2004 at 03:21 AM.
 
Old 02-06-2004, 07:09 AM   #7
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
From another post what I did was removed the install directory entirely. Then I untared the source file again and did a ./configure --disable-libmagic, then make, then as root checkinstall (as its a nice quick way to make the slack tgz). It installed fine. I then untarred and installed the different pluggins. Now I just need to figure out what on earth is wrong w/ FastTrack.

[edit] btw, I did install libmagic but it was quite difficult to find the source files for it. I had to go to an rpm site and download the source that the rpm download site referenced and rename it so it wasn't file-verson.tar.gz (there was no descriptive names). It does not seem to have been updated for a while as far as I can see and has no homepage of any kind. But that still didn't fix the issue :-/

Last edited by ferreter; 02-06-2004 at 07:12 AM.
 
Old 02-06-2004, 07:17 PM   #8
edsmithers
Member
 
Registered: Jul 2003
Distribution: slackware 9.1
Posts: 45

Rep: Reputation: 15
thanx

i did the recompile without libmagic and everything is fine. i had to do an ldconfig for giftd to find the libgift files, and then i had to copy the folder FastTrack from /usr/local/share/giFt/ to my ~/.giFT/ in order for giftcurs to begin working. before this last step it was running but giving the unable to connect error i've seen in other posts. i'm guessing fast track is working b/c i got no errors, and giFTcurs lists 90,000+ users online..
 
Old 02-07-2004, 03:14 AM   #9
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Since you're running giFTcurs, the easiest way to find out if you're connected to the FastTrack (or any other) network is to hit 'F2' to get to the search window, then 'tab' to move focus from the query field, then hit 'p' to cycle through the different networks in the statistics. If it shows more than zero users for a network, then you're connected :-)

If you hit 'F1', then you can use the arrow keys to scroll up and down through all the different key commands available in giFTcurs.

Enjoy!
--- Cerbere
 
Old 02-08-2004, 11:21 PM   #10
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
Re: thanx

Quote:
Originally posted by edsmithers
i did the recompile without libmagic and everything is fine. i had to do an ldconfig for giftd to find the libgift files, and then i had to copy the folder FastTrack from /usr/local/share/giFt/ to my ~/.giFT/ in order for giftcurs to begin working. before this last step it was running but giving the unable to connect error i've seen in other posts. i'm guessing fast track is working b/c i got no errors, and giFTcurs lists 90,000+ users online..
Thank for the FastTrack tip, that did the trick
 
  


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
where can i find the python-devel package ? brokenflea Slackware 10 02-13-2005 08:47 AM
Package fam-devel needs libselinux-devel belkins Linux - Newbie 2 10-18-2004 03:02 PM
Apache-devel package for slackware 9.1 dog606 Slackware 2 06-08-2004 02:32 PM
ncurses-devel package for Slackware 9.1 MGA Slackware 3 01-15-2004 02:48 PM
Forcing Devel. Package installation BajaNick Red Hat 2 09-29-2003 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 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