LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-26-2004, 05:55 PM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
giFT compile error


it looks like i am missing some "magick" library; checked the giFT homepage and it lists 2 of these types of libraries, but am not sure which one i am missing...
can someone point me into the right direction?


gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -g -O2 -Wall -I/usr/local/include -g -O2 -Wall -c meta_avi.c -MT meta_avi.lo -MD -MP -MF .deps/meta_avi.TPlo -fPIC -DPIC -o .libs/meta_avi.o
source='meta_image.c' object='meta_image.lo' libtool=yes \
depfile='.deps/meta_image.Plo' tmpdepfile='.deps/meta_image.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -g -O2 -Wall -I/usr/local/include -g -O2 -Wall -c -o meta_image.lo `test -f 'meta_image.c' || echo './'`meta_image.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -g -O2 -Wall -I/usr/local/include -g -O2 -Wall -c meta_image.c -MT meta_image.lo -MD -MP -MF .deps/meta_image.TPlo -fPIC -DPIC -o .libs/meta_image.o
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[4]: *** [meta_image.lo] Error 1
make[4]: Leaving directory `/home/sandeep/gift-0.11.6/src/meta'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sandeep/gift-0.11.6/src/meta'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sandeep/gift-0.11.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sandeep/gift-0.11.6'
make: *** [all] Error 2
 
Old 03-26-2004, 08:31 PM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
i think u need libmagick5.5.7
 
Old 03-27-2004, 04:16 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
I had the same problem in Slack 9 even after installing imagemagick and libmagic, so eventually I just ran ./configure with the --disable-libmagic option. It seems to work just fine without it.

Run ./configure --help for more options.

Enjoy!
--- Cerbere
 
Old 03-27-2004, 05:33 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
I just compiled gift (again) last night. I think the option is now
Code:
./configure --disable-imagemagick
 
Old 03-27-2004, 09:18 PM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
okay, i got it sorted out

fortunately, there was a precompiled library for slackware, so i installed that (libmagick)

it took some work, but i got giFT configured successfully with the FastTrack plugin and using the Apollon gui

it detects the millions of users, but whenever i hit "search more" more than twice, it will not search (kazaalite had a feature of doing continuous autosearches); can i get this feature with giFT or is it just a problem with apollon?

btw, how do you use giFT via commandline?
 
Old 03-27-2004, 11:54 PM   #6
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
I don't think you can use giFT from the command line, per se. However, my favorite GUI for giFT is giFTcurs, an extremely lightweight yet feature-rich ncurses-based GUI which you run in a terminal (or in CLI).

Enjoy!
--- Cerbere
 
  


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
gift-Gnutella & gift-openft initial host files david.skinner Linux - Software 4 02-06-2012 06:55 PM
error when installing gift: error: cannot compute sizeof (short), 77 v1pEr Linux - Software 5 11-04-2004 02:43 AM
GiFT dependecies error Getafix Linux - Software 0 10-29-2004 04:44 PM
how to manually create ~/.giFT /gift.config ?? botto Linux - Software 2 07-04-2004 12:04 PM
gift-0.11.6: error while opening shared libraries SuSE_User Linux - Software 1 03-18-2004 12:35 AM

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

All times are GMT -5. The time now is 03:39 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
Open Source Consulting | Domain Registration