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

Also do the export of the PERL5LIB environment var before you invoke 
./install_cluster ... And you may also have to export to PYTHONPATH 
later on if you succed with this.
It's actually simple. Try ./install_cluster ... and every time it fails 
because it cannot find a perl module or a python module try #locate and 
the filename.pm or .py
and then type export PERL5LIB=$PERL5LIB:/path name that you can cut and 
paste from the locate output and export PYTHONPATH=$PYTHONPATH:/path to 
python module the oscar setup cannot find.
Also if the #locate filename is large redirect it to a file called test 
or something and in another xterm type vi test so you can can see it!
It's difficult but doable
Thanks,
Allan Menezes

> 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

Reply via email to