[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failure on macOS using homebrew

From: Ben Abbott
Subject: Re: build failure on macOS using homebrew
Date: Sat, 23 Jun 2018 07:39:02 -0700

On Jun 22, 2018, at 8:32 PM, AndrewJanke <address@hidden> wrote:

make[2]: *** No rule to make target `-L/usr/local/opt/freetype/lib', needed
by `libinterp/dldfcn/__delaunayn__.la'.  Stop.

I am getting the same failure when building from the head of dev (getting
the source from the Mercurial repository). I am building under Homebrew at
the default location, so I don't think your non-default location is an

... No rule to make target `-L/usr/local/opt/freetype/lib' ...

This sounds to me like an issue with generation of the Makefile.
'-L/usr/local/opt/freetype/lib' is not a valid target; it's a build option.
So it shouldn't show up in the target dependencies part of a Makefile.

Here's the relevant Makefile excerpt from my generated Makefile:

$(libinterp_dldfcn___delaunayn___la_LIBADD) $(LIBS)
libinterp/dldfcn/__eigs___la-__eigs__.lo:  \
libinterp/dldfcn/$(am__dirstamp) \
libinterp_dldfcn___delaunayn___la_DEPENDENCIES = $(DLD_LIBOCTINTERP_LIBADD)
OCT_LINK_DEPS =   -L/usr/local/opt/freetype/lib -lfreetype -lhdf5
-lGraphicsMagick++ -lGraphicsMagick -lz -lfftw3_threads -lfftw3
-lfftw3f_threads -lfftw3f -framework OpenGL -lfontconfig -lfreetype  
-framework Carbon -lgl2ps    -lcurl -lcholmod -lumfpack -lamd -lcamd
-lcolamd -lccolamd -lcxsparse -lsuitesparseconfig -larpack -lqrupdate
-lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f
-L/usr/local/opt/veclibfort/lib -lvecLibFort -lreadline -lncurses  -lpcre
-lgfortran -lquadmath -lm -lm            -liconv  

It seems to me that OCT_LINK_DEPS and DLD_LIBOCTINTERP_LIBADD should not be
making their way in to things that are going to appear as dependencies.
Perhaps the "libinterp_dldfcn___delaunayn___la_DEPENDENCIES =

The addition of DLD_LIBOCTINTERP_LIBADD looks like it happened in Revision
25474 on 6/14, which is consistent with 4.4.0 building but it breaking for
us now.

Perhaps this line in libinterp/dldfcn/config-module.awk is the issue, and it
should be something separate like DLD_LIBOCTINTERP_DEPENDENCIES instead?
   printf ("%%canon_reldir%%_%s_la_DEPENDENCIES =


Thank you for the replay and effort with the diagnosis.

The short rev number (i.e. 25474) isn’t the same for everyone. Do you mean the one below?

If that is not the changeset you are referring to, please  provide a link to the correct one.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]