Thanks, Allan

This straight-forward advise is from the thread discussed a bit over a 
month ago - thanks, but again (at least in my case), there seems to be 
more than this.  I made a quick test perl script made of snipets of 
wizard_prep to test what broke what and independently see that the 
PERL5LIB variable (without the trailing "OSCAR", as this is explicitly 
used in the scripts ;) allows a "use PackagePath;" call near the top to 
execute - one would almost be inclined to also add a "use PackageSmart;" 
statement, but this breaks - not because it can't find the local perl 
module library (PackageSmarft is where PackagePath is, where 
updatedb/locate sa they are as you indicate, /opt/oscar/lib) but because, 
it seems, there is no PackMan anywhere.

As a side-note, I also discovered that perl's handling of the PERL5LIB 
variable was broken for Fedorae before 9 (ie., in 5.0).  It was fixed for 
5.1, so this is not an issue.

Do you require PackMan to successfully install OSCAR 5.1rc1 on Fedora 9? 
It doesn't seem to come with the rpms for 5.1 at SOURCEFORGE - if 
required, where did you did it, and (anyone else?) why would it not be in 
the OSCAR "distro"?

Thanks
Chris

On Fri, 10 Oct 2008, Allan Menezes wrote:

> Hi Christopher,
>   I have succesfully installed fc9x86_64 on an 6 node intel quad core
> cluster.
> You can try using updatedb as root and then try locate PackageSmart.pm
> to locate the file where wizard_prep crashes saying it cannot find it.
> Note installing fc9 is hard and not for novices but not impossible. I
> have done it.
> For wizard_prep to find the file PackageSmart.pm you have to give it's
> path without the OSCAR etc suffix to the perl environment variable.
> So my apologies to Munkhzorig Gankhuyag there was an error in that reply
> that escaped me then.
> My reply was #export PERL5LIB=$PERL5LIB:"/opt/oscar/lib"
> IT should have been #export PERL5LIB=$PERL5LIB:/opt/oscar/lib
> to see what i say try #echo $PATH and it will tell you the path of the
> executables in your .bash_profile  directory.
> So try  #echo $PERL5LIB and see what you get. IT it is empty then just
> type #export PERL5LIB=/opt/oscar/lib
> All these things can be hard coded but for now try this Also do it
> always in the shell you invoke ./install_cluster  ...
> and if you start another shell or close the shell and reopen the shell
> and try ./install_cluster .... type #export PERL5LIB=/opt/oscar/lib
> note also no spaces in the export.
> Try this and see if your problem goes away.
> Email the results please
> Good luck!
> Allan Menezes
> Christopher C. Stevenson wrote:
>
>> Greetings - my first posting.
>>
>> The quick synopsis is:  "Someone HAS to have installed OSCAR 5.1rc1
>> successfully on Fedora 9 x86_64 by now - I've read the threads and tried
>> repeatedly but cannot.  Please help".  I am not a complete linux newbie.
>>
>> Please read on.  I've now been at this for several days and have hit a
>> wall.
>>
>> I'm building a cluster of 16+1 Intel quad-cores for some in-house HPC and
>> have chosen OSCAR to provide the infrastructure, on Fedora 9 because we've
>> supported Fedora since its inception, it's familiar, and Fedora has worked
>> as a distro for (smaller) clusters I've made (by hand) in the past.
>>
>> So, on top of a fresh (non-updated) install of Fedora 9 on the master
>> node, I've been attempting to install what the OSCAR site and SOURCEFORGE
>> both seem to consider the latest (safe, not a nightly-build) release,
>> 5.1rc1
>>
>> I downloaded oscar-repo-fc-9-x86_64-5.1rc1.tar.gz and
>> oscar-repo-common-rpms-5.1rc1.tar.gz, unpacked them into
>> /tftpboot/oscar/, provided a copy of my entire Fedora 9 distro DVD in
>> /tftpboot/distro/fedora-9-x86_64, etc., following the instructions in
>> http://svn.oscar.openclustergroup.org/trac/oscar/wiki/InstallGuide
>>
>> At this point this posting will look almost identical to one made on Aug
>> 31 by Munkhzorig Gankhuyag and discussed/answered by Allan Menezes et al.
>> (http://www.mail-archive.com/oscar-users@lists.sourceforge.net/msg07168.html);
>>
>> "I resolved all errors" (in my case this means, among other things, adding
>> a "|9" to [fedora*:5|6|7|8:*] in /opt/oscar/packages/yume/prereq.cfg, or
>> manually install perl-IO-Tty and perl-AppConfig because this wasn't
>> happening automatically) "but still can't solve this error:
>>
>> [...]
>> =============================================================================
>> == Running OSCAR wizard_prep script
>> =============================================================================
>>
>> --> Bootstrapping OSCAR smart package manager
>> Undefined subroutine &OSCAR::PackageSmart::prepare_pools called at
>> ./wizard_prep line 185.
>> eval require PackageSmart returned No such file or directory
>> --> Checking OSCAR repositories existence.
>> Oscar Wizard preparation script failed to complete (cd /opt/oscar/scripts
>> && ./wizard_prep) at ./install_cluster line 285.
>> "
>>
>> That thread ended with "export PERL5LIB properly so attempts by perl to
>> load local OSCAR modules will work
>>
>> (ie., "#export PERL5LIB=$PERL5LIB:/opt/oscar/lib/" in the shell you're
>> working in)
>>
>> and the thread appeared resolved/closed.  Unfortunately, by itself this
>> advice is a step in the right direction (allows, eg., "use PackagePath;"
>> in wizard_prep to work) but does not solve the problem.  The best I can
>> determine so far is that PackMan needs to be in there, too, but isn't
>> provided by what I downloaded. The distro.url exists so the installer can
>> run off to get things not in the distro directory.
>>
>> Rather than continue to burn more time chasing this down, please enlighten
>> me as to how I can even begin the installation process for OSCAR 5.1rc1 on
>> Fedora 9.  Someone on this list must've done this.  I've even contemplated
>> backing up to Fedora 8 (which seems "more supported"), though we're on the
>> eve of the release of 10.
>>
>> Thanks in advance,
>> Chris
>> ======================================================================
>> "We are all in the gutter,
>> but some of us are looking at the stars." - Oscar Wilde
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Oscar-users mailing list
>> Oscar-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>
>>
>>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Oscar-users mailing list
> Oscar-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>

======================================================================
Christopher C Stevenson,  C4063                 office: (709) 737-2624
Dept. of Physics & Physical Oceanography        fax:    (709) 737-8739
Memorial University of Newfoundland 
St. John's, NL, CANADA  A1B 3X7
URL: http://www.physics.mun.ca/~csteven
======================================================================
"We are all in the gutter,
but some of us are looking at the stars." - Oscar Wilde


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to