LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   imagemagick devel package (https://www.linuxquestions.org/questions/linux-software-2/imagemagick-devel-package-132709/)

freeindy 01-08-2004 09:20 AM

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:newbie:

gkoutsog 01-08-2004 10:26 AM

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!

freeindy 01-08-2004 10:50 AM

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

gkoutsog 01-09-2004 03:57 AM

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!

ferreter 02-04-2004 06:47 PM

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)

edsmithers 02-06-2004 03:10 AM

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_?
:confused:

ferreter 02-06-2004 07:09 AM

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 :-/

edsmithers 02-06-2004 07:17 PM

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..

Cerbere 02-07-2004 03:14 AM

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

ferreter 02-08-2004 11:21 PM

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 :)


All times are GMT -5. The time now is 07:35 PM.