Installation problems in non-standard directories


#1

Hi there,

I am trying to install gnuradio in an environment where I do not have
root priviledges, so
everything has to go in my user space.

I went through the regular cycle using the ./configure
–prefix=/n/wellington/x/anastas/local
so that everything is installed under my ~/local directory.

However make install (and make check) fail in “pmt” as follows:

make[5]: Entering directory
/net/wellington/x/anastas/gnuradio_trunk/pmt/src/lib' test -z "/n/wellington/x/anastas/local//lib" || mkdir -p -- "/n/wellington/x/anastas/local//lib" /bin/sh ../../../libtool --mode=install /usr/bin/install -c 'libpmt.la' '/n/wellington/x/anastas/local//lib/libpmt.la' /usr/bin/install -c .libs/libpmt.so /n/wellington/x/anastas/local//lib/libpmt.so/usr/bin/install -c .libs/libpmt.lai /n/wellington/x/anastas/local//lib/libpmt.la libtool: install: warning: remember to runlibtool --finish
/usr/local/lib’
/bin/sh …/…/…/libtool --mode=install /usr/bin/install -c
‘libpmt-qa.la’
‘/n/wellington/x/anastas/local//lib/libpmt-qa.la’
libtool: install: error: cannot install libpmt-qa.la' to a directory not ending in /usr/local/lib make[5]: *** [install-libLTLIBRARIES] Error 1 make[5]: Leaving directory/net/wellington/x/anastas/gnuradio_trunk/pmt/src/lib’
make[4]: *** [install-am] Error 2
make[4]: Leaving directory
/net/wellington/x/anastas/gnuradio_trunk/pmt/src/lib' make[3]: *** [install] Error 2 make[3]: Leaving directory/net/wellington/x/anastas/gnuradio_trunk/pmt/src/lib’
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
/net/wellington/x/anastas/gnuradio_trunk/pmt/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory/net/wellington/x/anastas/gnuradio_trunk/pmt’
make: *** [install-recursive] Error 1

It seems that libpmt-qa.la can only be installed in directories
ending with /usr/local/lib

Is this a feature or a bug?
any ideas how to resolve it?

Thanks
Achilleas


#2

On Wed, Feb 21, 2007 at 05:59:59PM -0500, Achilleas A.
wrote:

However make install (and make check) fail in “pmt” as follows:
libtool: install: warning: remember to run `libtool --finish /usr/local/lib’
make[3]: *** [install] Error 2
ending with /usr/local/lib

Is this a feature or a bug?
any ideas how to resolve it?

Definitely not right, though “make distcheck” runs this same test.
Last time I checked, it worked. [I’ll check again now.]

What OS and distribution are you using?

Thanks
Achilleas

Eric


#3

I am running it on a Fedora Core 5.
This was the latest trunk.

Thanks
Achilleas


#4

On Wed, Feb 21, 2007 at 07:20:48PM -0500, Achilleas A.
wrote:

I am running it on a Fedora Core 5.
This was the latest trunk.

Thanks
Achilleas

I just ran make distcheck and it worked fine for me. Part of that
test is installing in a non-standard directory.

Absent a better idea I suggest:

$ make distclean
$ ./bootstrap && ./configure --prefix=
$ make && make check

make[5]: Entering directory
/net/wellington/x/anastas/gnuradio_trunk/pmt/src/lib' test -z "/n/wellington/x/anastas/local//lib" || mkdir -p -- "/n/wellington/x/anastas/local//lib" /bin/sh ../../../libtool --mode=install /usr/bin/install -c 'libpmt.la' '/n/wellington/x/anastas/local//lib/libpmt.la' /usr/bin/install -c .libs/libpmt.so /n/wellington/x/anastas/local//lib/libpmt.so/usr/bin/install -c .libs/libpmt.lai /n/wellington/x/anastas/local//lib/libpmt.la libtool: install: warning: remember to runlibtool --finish

The lines above that start with “/n/wellington…” seem suspicious.
They seem like they should be /net/wellington…

Eric