Re: Compiling rep-gtk on Slackware 12.0



On Tue, Apr 29, 2008 at 12:24:34PM -0600, Michal Jaegermann wrote:
> On Tue, Apr 29, 2008 at 01:42:39PM -0400, Joel J. Adamson wrote:
> > libtool: compile: unable to infer tagged configuration
> > libtool: compile: specify a tag with `--tag'
> > make: *** [rep-types.lo] Error 1
> 
> I recall bumping into that at some moment and failing to
> comprehend mysteries of libtool.  Most likely there is a better
> way to solve that but I worked around.  Here are corresponding
> lines from my spec file for rep-gtk:
> 
> make %{?_smp_mflags} host_type=%{_target_platform} \
>     'rep_LIBTOOL = $(repcommonexecdir)/libtool --tag=CXX'
> 
> AFAIK libtool is supposed to figure out that CXX by itself
> but in some circumstances it does not.

Given that librep and rep-gtk don't have any C++ code, wouldn't it be
better to use --tag=CC?


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