On Tue, 6 Jul 2004, Alasdair Allan wrote:
> > > when I try to "make install", which I presume means that they aren't
> > > installing anything at all!?
> >
> > I get this too. Try "make install-manifest" instead of "make install".
>
> This does indeed solve the problem! Or at least that problem...
>
> I then end up with the following error during the ccdpack make which
> seems to be a conflict between the starlink tcl and the fink tcl,
>
> gcc -DPACKAGE_NAME=\"ccdmain\" -DPACKAGE_TARNAME=\"ccdmain\"
> -DPACKAGE_VERSION=\"4.0-16\" "-DPACKAGE_STRING=\"ccdmain 4.0-16\""
> -DPACKAGE_BUGREPORT=\"[log in to unmask]\" -DPACKAGE=\"ccdmain\"
> -DVERSION=\"4.0-16\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -I. -I. -I/sw/include -I/star/include -MT ccdAppInit.lo
> -MD -MP -MF .deps/ccdAppInit.Tpo -c ccdAppInit.c -o ccdAppInit.o
> In file included from /star/include/itclInt.h:53,
> from /star/include/itk.h:60,
> from ccdAppInit.c:17:
> /star/include/tclInt.h:796: error: redefinition of `Tcl_ThreadCreateProc'
> /sw/include/tcl.h:499: error: `Tcl_ThreadCreateProc' previously declared
> here
> make[2]: *** [ccdAppInit.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> klunk{star}:
>
> more Mac configuration goodness brought to you by fink! time to go home I
> think... :(
Al,
looks like your pre-defined CFLAGS are the problem (again).
> -DHAVE_DLFCN_H=1 -I. -I. -I/sw/include -I/star/include -MT ccdAppInit.lo
/sw/include is picking up the Tcl headers, but the itcl ones are added
later by /star/include (which then pick up the /star/include Tcl
development include file and bang). We need a way of getting these extra
CFLAGS appended rather than prefixed (or was there another strategy that
Norman was going to provide specially for Macs?).
Peter.
|