#18 ${prefix} not thoroughly used by some Makefiles variables

closed
nobody
None
5
2004-01-21
2003-09-29
No

I am doing an afs build, so I must do a:

./configure --prefix=/usr/local/plplot-5.2.1
make prefix=/.a/usr/local/plplot-5.2.1 install

I must do this because /usr/local/plplot-5.2.1 is not
writable, nor existant before ~releasing~ the /.a
(administrative) volume .. yet that is where the
software will inevitably live.

This works fine for most of the install ... The only
complications that I ran into were with:

plplot-5.2.1/bindings/octave/PLplot/support/Makefile
plplot-5.2.1/bindings/octave/PLplot/Makefile
plplot-5.2.1/bindings/octave/Makefile

I had to search/replace /usr/local/plplot-5.2.1 with
${prefix}

Discussion

  • Marques Johansson

    Logged In: YES
    user_id=543487

    I should mention that I built this twice -- once on a rh7.3
    system, and once on a solaris 2.6 system (with gnu tools)...
    Both installs were done to afs volumes.

    The Linux build did not have any errors of this sort. This
    may be because the Solaris build included octave support
    (which was not detected/present on the Linux build).

     
  • Anonymous - 2004-01-20

    Logged In: YES
    user_id=24666

    Does it work when you do:

    make DESTDIR=/.a/usr/local/plplot-5.2.1 install

     
  • Marques Johansson

    Logged In: YES
    user_id=543487

    DESTDIR seems to work. It must be called as:

    "make DESTDIR=/.a install" as it appends ${prefix} after
    DESTDIR during install.

    I can't fully re-test this in the old working environment.
    Is there a reason not to use $prefix in the mentioned Makefiles?

     
  • Anonymous - 2004-01-21
    • status: open --> closed
     
  • Anonymous - 2004-01-21

    Logged In: YES
    user_id=24666

    The support for ${prefix} in some Makefiles was broken for a
    while, but is now hopefully fixed in CVS and in the recent
    release candidate tarball for version 5.3.0.

    At any rate, DESTDIR works properly.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks