octave-maintainers
[Top][All Lists]
Advanced

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

Re: build failure on macOS using homebrew


From: AndrewJanke
Subject: Re: build failure on macOS using homebrew
Date: Fri, 22 Jun 2018 20:32:37 -0700 (MST)

> 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
issue.

> ... 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:
$(libinterp_dldfcn___delaunayn___la_OBJECTS)
$(libinterp_dldfcn___delaunayn___la_DEPENDENCIES)
$(EXTRA_libinterp_dldfcn___delaunayn___la_DEPENDENCIES)
libinterp/dldfcn/$(am__dirstamp)
        $(AM_V_CXXLD)$(libinterp_dldfcn___delaunayn___la_LINK)
$(am_libinterp_dldfcn___delaunayn___la_rpath)
$(libinterp_dldfcn___delaunayn___la_OBJECTS)
$(libinterp_dldfcn___delaunayn___la_LIBADD) $(LIBS)
libinterp/dldfcn/__eigs___la-__eigs__.lo:  \
        libinterp/dldfcn/$(am__dirstamp) \
        libinterp/dldfcn/$(DEPDIR)/$(am__dirstamp)
...
libinterp_dldfcn___delaunayn___la_DEPENDENCIES = $(DLD_LIBOCTINTERP_LIBADD)
...
DLD_LIBOCTINTERP_LIBADD = $(OCT_LINK_DEPS)
...
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
-ldl  
-L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0
-L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0/../../..
-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 =
$(DLD_LIBOCTINTERP_LIBADD)" is in error?

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 =
$(DLD_LIBOCTINTERP_LIBADD)\n",
            basename);




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

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