Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] problem with "PREFIX" installing with MV alpha 13 on FreeBSD 3.1



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Mark Stosberg (mark@summersault.com):
> 
> The files in the "bin" directory aren't landing in the right directory
> when installing
> MV alpha 13 on FreeBSD 3.1
>   Upon some investigation, MakeMaker.pm (version 5.4301) doesn't seem to
> be respecting the settings in Makefile.PL
>   I specified "/usr/local/mvend" for where to install minivend but as
> you can see for this snippet of the 'make install' below, the prefix of
> '/usr' rather than '/usr/local' is being used for the 'script' and 'bin'
> directories. 
> 
> By default, I got this sort of result in my make file:
> 
> PREFIX = /usr
> INSTALLDIRS = perl
> INSTALLPRIVLIB = /usr/local/mvend/lib
> INSTALLARCHLIB = /usr/local/mvend
> INSTALLSITELIB = /usr/local/lib/perl5/site_perl/5.005
> INSTALLSITEARCH = /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> INSTALLBIN = $(PREFIX)/mvend/bin
> INSTALLSCRIPT = $(PREFIX)/mvend/bin
> 

I remember now -- this is a feature. 8-)

If you don't want MiniVend put in your normal bin when you install
as root, you need to make with:

	perl Makefile.PL PREFIX=/usr/local/minivend

This allows minivend to go into the system directory where it would
normally belong. If you check the paths for the executable in /usr/bin,
they should be correct.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
When the only tool you have is a    131 Willow Lane, Floor 2  | ||  _ \
hammer, all your problems tend to   Oxford, OH  45056         | || |_) |
look like nails.                    <mikeh@minivend.com>     |___|  _ <
 -- Abraham Maslow                  513.523.7621 FAX 7501        |_| \_\
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: