[Xastir-Dev] Re: Missing ImageMagick on Mac OS X

Marinus van Opzeeland m.vanopzeeland at chello.nl
Sun Feb 16 15:54:22 EST 2003


Curt Mills, WE7U heeft op zondag, 16 feb 2003 om 18:49 
(Europe/Amsterdam) het volgende geschreven:

>
>>          LIBS: -lXm -lXt -lX11 -lMagick -llcms -ltiff -lfreetype 
>> -ljpeg
>> -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz
>> -lpthread -lm -lpthread -lXt -lXp -lXpm -lm -lXext -lXt -lSM -lICE 
>> -lX11
>
> Did you install ImageMagick in /sw as well?  If so the LIBS line
> should have "-L/sw/lib -lMagick", but it doesn't.  Seems like
> "Magick-config --libs" is giving the wrong library information for
> your system.
>
> I just added "-L/sw/lib" to LIBS for the case where Magick-config is
> found in /sw/bin.  Let me know if that solves your problem.

Not yet but it probably should have mentioned that in the "old" 
configure I added following to make it work.

/sw/bin   to  ac_magick_dirs
/sw/include/magick  to   ac_magick_inc_dir

This resulted in this line for the linker

gcc  -g -O2 -Wall -I/sw/include -I/sw/include/freetype2 -D_REENTRANT 
-I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/sw/include/libxml2 
-pipe -force_flat_namespace -o xastir  alert.o bulletin_gui.o color.o 
datum.o db.o draw_symbols.o fcc_data.o festival.o gps.o hostname.o 
igate.o interface.o interface_gui.o lang.o list_gui.o locate_gui.o 
location.o location_gui.o main.o maps.o messages.o messages_gui.o 
popup_gui.o rac_data.o rotated.o sound.o track_gui.o util.o 
view_message_gui.o wx.o wx_gui.o xa_config.o snprintf.o  -lXpm -lXp  
-L/sw/lib -lXm  -L/usr/X11R6/lib  -lSM -lICE -lXt -lX11 -lXext  -lm  
-lMagick -llcms -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext 
-lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm

The current version has following where at least the include stuff 
seems to have gone, but I am not sure if that could cause this problem.

gcc  -no-cpp-precomp -g -O2 -L/usr/X11R6/lib -L/sw/lib -o xastir  
alert.o bulletin_gui.o color.o datum.o db.o draw_symbols.o fcc_data.o 
festival.o gps.o hostname.o igate.o interface.o interface_gui.o lang.o 
list_gui.o locate_gui.o location.o location_gui.o main.o maps.o 
messages.o messages_gui.o popup_gui.o rac_data.o rotated.o sound.o 
track_gui.o util.o view_message_gui.o wx.o wx_gui.o xa_config.o 
snprintf.o  -lXm -lXt -lX11 -lMagick -llcms -ltiff -lfreetype -ljpeg 
-lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz 
-lpthread -lm -lpthread -lXt -lXp -lXpm -lm -lXext -lXt -lSM -lICE -lX11

Marinus, PE1LIF



More information about the Xastir-dev mailing list