Forum: GNU Radio installation problems in non-standard directories

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C369ebbe1655201988e376af57460f23?d=identicon&s=25 Anastasopoulos Achilleas (Guest)
on 2007-02-22 00:02
(Received via mailing list)
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 run `libtool --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
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-02-22 01:04
(Received via mailing list)
On Wed, Feb 21, 2007 at 05:59:59PM -0500, Achilleas Anastasopoulos
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
C369ebbe1655201988e376af57460f23?d=identicon&s=25 Anastasopoulos Achilleas (Guest)
on 2007-02-22 01:22
(Received via mailing list)
I am running it on a Fedora Core 5.
This was the latest trunk.

Thanks
Achilleas
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-02-22 01:39
(Received via mailing list)
On Wed, Feb 21, 2007 at 07:20:48PM -0500, Achilleas Anastasopoulos
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=<your-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 run `libtool --finish


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

Eric
This topic is locked and can not be replied to.