[MINC-users] xdisp does not build on Debian Etch

EJ Nikelski nikelski at bic.mni.mcgill.ca
Wed Sep 7 11:36:17 EDT 2005


Hi again,

    After a brief introduction to the autotools, I find myself replying
to my own posting. xdisp does not build because EZWGL **USED** to be
included and built with xdisp, but has since been partially removed --
although there is no mention of this in the ChangeLog. So, while
configure.ac has commented out the reference to EZWGL, it persists in
Makefile.am, resulting in the previously mentioned build error. A very
quick work-around: build EZWGL separately, and then copy the entire
EZWGL-1.50 subdirectory into the xdisp build directory ... then do xdisp
configure, make, etc. Works for me.

-Jim



EJ Nikelski wrote:
> Hi all,
> 
>     FYI, just tried to build xdisp-4.5 (retrieved from packages.bic...)
>  and apparently xdisp wants/needs the EZWGL widget library --- as
> evidenced by the make complaining about not finding EZ.h. Perhaps this
> dependency should be noted in the README/INSTALL files and/or have the
> .configure process look for it.
> 
>     At any rate, I found and built EZWGL-1.50 as a static lib. Retried
> to make xdisp, and was presented with a brand new error, as follows:
> 
>  jnikelski at Brunnhilde:~/software/xdisp-4.5$ ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for ranlib... ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking how to run the C preprocessor... gcc -E
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... no
> checking for library m... yes
> checking for library netcdf... yes
> checking for library minc... yes
> checking for library volume_io... yes
> configure: creating ./config.status
> config.status: creating epm-header
> config.status: creating Makefile
> config.status: creating olgx/Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> jnikelski at Brunnhilde:~/software/xdisp-4.5$ make
> make  all-recursive
> make[1]: Entering directory `/home/jnikelski/software/xdisp-4.5'
> Making all in olgx
> make[2]: Entering directory `/home/jnikelski/software/xdisp-4.5/olgx'
> if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT ol_button.o -MD -MP
> -MF ".deps/ol_button.Tpo" -c -o ol_button.o ol_button.c; \
> then mv -f ".deps/ol_button.Tpo" ".deps/ol_button.Po"; else rm -f
> ".deps/ol_button.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT ol_color.o -MD -MP
> -MF ".deps/ol_color.Tpo" -c -o ol_color.o ol_color.c; \
> then mv -f ".deps/ol_color.Tpo" ".deps/ol_color.Po"; else rm -f
> ".deps/ol_color.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT ol_draw.o -MD -MP -MF
> ".deps/ol_draw.Tpo" -c -o ol_draw.o ol_draw.c; \
> then mv -f ".deps/ol_draw.Tpo" ".deps/ol_draw.Po"; else rm -f
> ".deps/ol_draw.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT ol_init.o -MD -MP -MF
> ".deps/ol_init.Tpo" -c -o ol_init.o ol_init.c; \
> 
> ...
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I.    -Iolgx -IEZWGL-1.50/include
> -I/usr/X11R6/include -g -O2 -MT xdisp-xbutton.o -MD -MP -MF
> ".deps/xdisp-xbutton.Tpo" -c -o xdisp-xbutton.o `test -f 'xbutton.c' ||
> echo './'`xbutton.c; \
> then mv -f ".deps/xdisp-xbutton.Tpo" ".deps/xdisp-xbutton.Po"; else rm
> -f ".deps/xdisp-xbutton.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I.    -Iolgx -IEZWGL-1.50/include
> -I/usr/X11R6/include -g -O2 -MT xdisp-xwinutil.o -MD -MP -MF
> ".deps/xdisp-xwinutil.Tpo" -c -o xdisp-xwinutil.o `test -f 'xwinutil.c'
> || echo './'`xwinutil.c; \
> then mv -f ".deps/xdisp-xwinutil.Tpo" ".deps/xdisp-xwinutil.Po"; else rm
> -f ".deps/xdisp-xwinutil.Tpo"; exit 1; fi
> make[2]: *** No rule to make target `EZWGL-1.50/lib/libEZ.a', needed by
> `xdisp'.  Stop.
> make[2]: Leaving directory `/home/jnikelski/software/xdisp-4.5'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jnikelski/software/xdisp-4.5'
> make: *** [all] Error 2
> 
> 
> Any ideas?
> 
> Cheers,
> 
> -Jim
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> 



More information about the MINC-users mailing list