[arch-general] SOLVED - Re: Need help understanding new "make install" failures - libtool: install: error: relink `blah...la' ??
Bogdan Ionuț
bogdan at punctweb.ro
Tue Apr 10 03:47:35 EDT 2012
On Mon, Apr 9, 2012 at 17:02, David C. Rankin <
drankinatty at suddenlinkmail.com> wrote:
> On 04/07/2012 06:54 PM, David C. Rankin wrote:
> > Guys,
> >
> > After the latest updates, I'm getting a number of package() "make
> install"
> > failures on packages that have, until now, packaged just fine. Is
> anybody else
> > experiencing this on packages you build? If so, do you know what is
> causing it
> > -- and how to fix? I've searched and found that sometimes reordering
> the link
> > commands in the Makefile can help, but I can't figure out why things have
> > packaged just fine up until now and are now failing. Since everything
> built fine
> > with the build() command -- why the failure on package()??
> >
> > I've also read another solution is to do away with the .la files
> completely
> > and replace with a package config setup. However, before I try and tackle
> > something like that, I want to figure out what broke. The failures
> during "make
> > install" look like this (gwenview and tdegames examples:)
> >
> > the failure:
> >
> > /usr/bin/ld: cannot find -ltdeinit_gwenview
> > collect2: error: ld returned 1 exit status
> > libtool: install: error: relink `gwenview.la' with the above command
> before
> > installing it
> >
>
> All,
>
> The answer was provided in an AUR post for spice-gtk:
>
> Try editing the PKBUILD in package()
>
> make -j1 DESTDIR="$pkgdir/" install
>
> It seems that parallel building during package was the culprit. The build
> of
> tdegames went fine after adding -j1.
>
> --
> David C. Rankin, J.D.,P.E.
>
Or options=(!makeflags)
More information about the arch-general
mailing list