Akopia Akopia Services

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

Re: [mv] alpha11 fails to install on FreeBSD 3.1 (fixed...sort of)



******    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>     ******
> 
> > Hello,
> > 
> >  I'm trying to install minivend alpha 11 on FreeBSD 3.1 and it appears
> > to be hanging.
> > 
> > When I ran "make test", I got the output given below..
> > I waited over 20 minutes and nothing appeared to be happening.
> > However, using 'top' and 'ps', it appears that is using maximum CPU
> > power to do _something_
> > 
> >  Any ideas?
> > 
> > Thanks,
> > 
> >   -mark
> > 
> > <log>
> 
> > not ok 2
> > link/unixmode.........^C
> > su-2.02#
> > </log>
> 
> 
> 
> With some more experimentation, I discovered the 'make test' may have
> been failing because 
>  blib/script/minivend 
> had hardcoded library paths to /usr/local/mvend/ , even though the
> software wasn't installed yet! Here's the relevent lines from that file:
> 
> use lib '/usr/local/mvend/lib';
> #use lib '~_~INSTALLPRIVLIB~_~';
> use lib '/usr/local/mvend';
> #use lib '~_~INSTALLARCHLIB~_~';

No, the test is called with -Mblib which does the proper library
inclusion.  The library paths are installed at "make" time.  I think
there is some problem with UNIX-domain sockets and Perl on BSD (again).
This has happened in several releases of BSD. If I had a box up with BSD
on it, I would do some debugging, but for now I have to rely on users
doing it.

I did find that the "make test" target doesn't do a "make" first, so
you need to do all of "make; make test; make install;". I presume you
did that, but it would not be unusual to skip the make and go straight
to "make test". I thought MakeMaker did its make targets that way by
default....

> 
> I ended up moving and backing up my 3.x branch install, and doing 'make
> install' the 4.0alpha11, without getting 'make test' to work.. That
> worked fine and the server started up fine. I was able to modify a
> couple test pages from a 3.x catalog without too much trouble to work on
> the new system. 
>   I also installed MiniMate-4.0alpha8.0.1  and excepting a minor
> permission problem reading a catalog.cfg file, that install also went
> fine, and a test of it's basic functionality revealed no problems. I
> still have a lot of exploring to do in both packages, but right now, the
> alpha branch is looking good!

You should take a look at the _meta_ links on products table, and 
"Manage MiniMate Users" on the main menu (when logged in as as super-user).
I have shown this to quite a few people now and I think most were
impressed. 8-)

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Research is what I'm doing when     131 Willow Lane, Floor 2  | ||  _ \
I don't know what I'm doing.        Oxford, OH  45056         | || |_) |
-- Wernher Von Braun                <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


Search for: Match: Format: Sort by: