[Xastir] Xastir Load Problems (Mac OS X 10.7.4)

Chip G. n1mie at mac.com
Thu Jun 14 16:35:33 EDT 2012


This is what I found about GM in config.log ... but I can't decipher what it means exactly.

> configure:17691: checking for GraphicsMagick-config
> configure:17709: found /usr/local/bin/GraphicsMagick-config
> configure:17722: result: /usr/local/bin/GraphicsMagick-config
> configure:17759: checking GraphicsMagick/magick/api.h usability
> configure:17776: gcc -c -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter  -I/usr/local/include/GraphicsMagick -I/sw/include -I/opt/local/include -I/usr/local/include -DUSE_PID_FILE_CHECK -I/sw/include  -I/sw/include/db4 conftest.c >&5
> configure:17782: $? = 0
> configure:17796: result: yes
> configure:17800: checking GraphicsMagick/magick/api.h presence
> configure:17815: gcc -E -I/usr/local/include/GraphicsMagick -I/sw/include -I/opt/local/include -I/usr/local/include -DUSE_PID_FILE_CHECK -I/sw/include  -I/sw/include/db4 conftest.c
> configure:17821: $? = 0
> configure:17835: result: yes
> configure:17868: checking for GraphicsMagick/magick/api.h
> configure:17875: result: yes
> configure:17890: checking for WriteImage in -lGraphicsMagick
> configure:17925: gcc -o conftest -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter  -I/usr/local/include/GraphicsMagick -I/sw/include -I/opt/local/include -I/usr/local/include -DUSE_PID_FILE_CHECK -I/sw/include  -I/sw/include/db4 -L/usr/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk/,-L/sw/lib/ -L/usr/X11R6/lib -L/usr/X11R6/lib -L/sw/lib -L/sw/lib -L/opt/local/lib -L/usr/local/lib  -L/sw/lib  -L/usr/X11/lib conftest.c -lGraphicsMagick   -lGraphicsMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lwmflite -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lpthread  -L/sw/lib  -ldb -lintl -lXm -lXt -lXp -lXext   -lSM -lICE -lX11  -lcurl -lshp -lpcre -lproj -ltiff >&5
> conftest.c:152: warning: function declaration isn't a prototype
> conftest.c:155: warning: function declaration isn't a prototype
> ld: warning: directory not found for option '-L/opt/local/lib'
> ld: library not found for -lcrt1.10.6.o
> collect2: ld returned 1 exit status
> configure:17931: $? = 1
> 

On Jun 13, 2012, at 22:31, Tom Russo wrote:

> On Wed, Jun 13, 2012 at 09:25:35PM -0400, we recorded a bogon-computron collision of the <n1mie at mac.com> flavor, containing:
>>> RECOMMENDED OPTIONS:
>>> -n   GraphicsMagick/ImageMagick (Raster maps) : 
>>> no
> 
>> Interestingly I have GraphicsMagick installed and functional on this machine (installed with Fink). I'm in the process of installing ImageMagick on this machine to see if it will recognize it. On my other machine, with both installed (GM & IM) it says "no" to whether they're installed. 
> 
> Sometimes GraphicsMagick requires an additional package to be detected properly
> by Xastir's configure.  I know that some on some systems it won't work
> right in xastir if "lcms" isn't installed.
> 
> To determine whether it can use GraphicsMagick, configure checks a bunch
> of stuff --- the presence of GraphicsMagick-config, the presence and usability
> of a header file, and whether it can find a WriteImage function in the 
> GraphicsMagick library.  This last one it does by linking a test program
> with -lGraphicsMagick --- if for any reason that link fails, configure 
> concludes that you don't have magick.  And that can fail if there's *any*
> issue with the link, including a missing dependent library that
> "GraphicsMagick-config --libs" says you need.
> 
> Instead of just looking at configure's console output, you'll have to dig
> through "config.log" and see what is going on when configure probes for 
> GM.  Deep in the bowels of that file you'll find the place where it says
> it can't use it, and the reason. 
> 
> (aside, apropos of nothing important)
> It is puzzling that there's that "-n" at the beginning of the GM line.  Never
> seen that before.  But looking at configure, it's right there in the 
> echo command line --- on other systems, "echo -n" means "don't issue a
> new line at the end of this string" but clearly yours ignores it (which is
> why the "no" is on the next line instead of the same line).
> 
> -- 
> Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
> Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
> "And, isn't sanity really just a one-trick pony anyway? I mean all you get is
> one trick, rational thinking, but when you're good and crazy, oooh, oooh,
> oooh, the sky is the limit!"  --- The Tick
> 
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir



--
    Chip




More information about the Xastir mailing list