Akopia Akopia Services

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

Re: [mv] problem with "PREFIX" installing with MV4 beta 1 on FreeBSD 3.1



******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******


> 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.

That's right. The prefix '/usr' is somewhere in the Config.pm file. I
think before the 3.x series of FreeBSD, the prefix was '/usr/local'
because Perl was installed in /usr/local/bin whereas now it's in /usr/bin.

However, I tried this but it still put stuff in /usr/mvend
 perl Makefile.PL PREFIX=/usr/local/mvend

This worked, though:
 make install PREFIX=/usr/local

Perhaps the current functionality of installing some files in
/usr/local/mvend and some in 
/usr/mvend by default on FreeBSD 3.x should be considered a
"documentation bug". 

That is, when I read the question:
"Where is your MiniVend to be installed? [/usr/local/minivend] "

I expect everything to be under that directory unless I'm notified
otherwise. I propose one of two options: 
1. Treat the the answer to this question the same as if some one passed
the answer as the value of PREFIX to 'perl Makefile.PL' 'make','make
test', 'make install'. Don't they serve the same function? 
2. Add a note to the question  above like :(* binaries will still be
installed in your usual system directories unless you specify a
PREFIX)". 

In the current state, I would at least add a note that some FreeBSD
users may need to use an explicit PREFIX to get the results they expect. 

> Thanks for the debugging on the BSD test problems, I implemented
> (in essence) your fix.

Your welcome! 4.0beta1 now passes the 'make test' with flying colors. 

  -mark

  <<-------------------------------------------------------------->>
personal website                <    Summersault Website Design
   http://mark.stosberg.com/     >       http://www.summersault.com/
-
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: