You are not logged in.

#1 2005-08-09 12:33:08

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

libtool: install: error: cannot install

I seem to be having all the luck recently.  Any suggestiosn for this one?

test -z "/opt/qgis/lib/qgis" || mkdir -p -- . "/var/abs/gis/qgis/pkg/opt/qgis/lib/qgis"
 /bin/sh ../../libtool --mode=install /bin/install -c  'grassplugin.la' '/var/abs/gis/qgis/pkg/opt/qgis/lib/qgis/grassplugin.la'
libtool: install: error: cannot install `grassplugin.la' to a directory not ending in /usr/lib/qgis
make[4]: *** [install-pluginLTLIBRARIES] Error 1

Obviously it is the /usr part that is killing it

Offline

#2 2005-08-09 15:37:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: libtool: install: error: cannot install

hmmm... only thing to try would be scrap libtool - if it's a fairly small package, try copying the stuff manually... if not then try sed-ing the libtool script (notice it's calling ../../libtool)

other than that, I guess you could install the whole thing to $startdir/pkg/usr and then "mv $startdir/pkg/usr $startdir/pkg/opt/qgis"... *shrug*

Offline

#3 2005-08-09 15:56:09

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: libtool: install: error: cannot install

MMmmm - the last option sounds like a recipe for hideously badly linked applications!

Strictly speaking it is an upstream bug, I think their ltmain.sh is not sourcing the prefix properly when  - damn annoying tho!  Seems that /usr/lib has got hardcoded in somewhere but I'm not sure where

Offline

#4 2005-08-09 21:29:17

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: libtool: install: error: cannot install

Try running libtoolize -f on the source as first thing to do in the build() function in the PKGBUILD. I've seen many broken libtool scripts in tarballs around, especially on gnome ones (packages using libblabla.14 instead of libblabla.so.14 for example tongue)

Offline

#5 2005-08-09 22:34:12

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: libtool: install: error: cannot install

Alas that has made no difference - it didn't even appear to do anything - i saw no output...

Offline

Board footer

Powered by FluxBB