Problem compiling Octave on Mac OS X
Rob Mahurin
rob at utk.edu
Tue Jun 2 14:22:10 CDT 2009
On Jun 2, 2009, at 2:16 AM, Bernard Desgraupes wrote:
> I also stumbled recently into this recently. The problem is that the
> CoreGraphics framework is in the ApplicationServices framework and the
> latter is not passed to the linker.
>
> You must modifiy the declaration of OCTINTERP_LINK_DEPS in the file
> src/Makefile.in (or directly in the Makefile if you do not want to
> regenerate everything).
> Replace
> OCTINTERP_LINK_DEPS = \
> -L../liboctave $(LIBOCTAVE) -L../libcruft $(LIBCRUFT) $(LIBS) $
> (FLIBS) \
> $(OPENGL_LIBS)
>
> by
> OCTINTERP_LINK_DEPS = \
> -L../liboctave $(LIBOCTAVE) -L../libcruft $(LIBCRUFT) $(LIBS) $
> (FLIBS) \
> $(OPENGL_LIBS) $(CARBON_LIBS)
>
>
> Including (CARBON_LIBS) does the trick since it will automatically
> call the ApplicationServices headers and hence the CoreGraphics
> headers.
>
> If you make this change in src/Makefile.in, you must re-run the
> configuration.
Thanks Bernard, that did the trick.
Ben: I remember you had evolved a fairly elaborate set of arguments
to ./configure. Does something you do have this same effect? Would
it be appropriate to patch the sources as attached?
Rob
--
Rob Mahurin
Department of Physics and Astronomy
University of Tennessee 865 207 2594
Knoxville, TN 37996 rob at utk.edu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: carbon_libs.txt
Url: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090602/dc68caa1/attachment.txt
-------------- next part --------------
More information about the Help-octave
mailing list