[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 <mike@minivend.com> ******
Quoting Mark Stosberg (mark@summersault.com):
> ****** message to minivend-users from 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
>
> Below is a simple patch that corrects this for FreeBSD 3.1. Perhaps it
> will work fine on other systems as well..
I assume you did this install as root. If not, you might drop me a line,
for it does make a difference on PREFIX.
The real way to solve this is with a "hints" directory, but I am not sure
I want to try and build one. My MV::Default{PREFIX} workarond works on
Solaris, but not here apparently. I cannot tell why...the only thing I
can think is that PREFIX is set somewhere in Perl's Config.pm.
Thanks for the debugging on the BSD test problems, I implemented
(in essence) your fix.
Thanks,
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
Be patient. God isn't 131 Willow Lane, Floor 2 | || _ \
finished with me yet. Oxford, OH 45056 | || |_) |
-- unknown <mikeh@minivend.com> |___| _ <
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