[gobolinux-users] Nvidia recipe

Michael Homer gobo-users-dufus at wotfun.com
Tue Mar 27 22:20:37 UTC 2007


On 3/27/07, Hello There <goboster at yahoo.com> wrote:
> Michael Homer <gobo-users-dufus <at> wotfun.com> writes:
>
> >
> > On 3/27/07, Hello There <goboster <at> yahoo.com> wrote:
> > > Lucas C. Villa Real <lucasvr <at> ...> writes:
> > >
> > > >
> > > > Hello there,
> > > >
> > > > I finally took a time to convert our NvidiaInstaller script to a
> > > > recipe.
> > >
> > > Does this mean we can add some other binary-only recipes to the recipe
> > > archives? I would *really* like to see a JDK recipe added so other programs
> > > that are written in java can have proper dependencies. And seeing as how I
> > > already have one written & posted to the recipes list...
> > FYI, that recipe didn't work for me:
> > michael <at> localhost ~]javac --version
> > Error occurred during initialization of VM
> > java/lang/NoClassDefFoundError: java/lang/Object
> > I haven't gotten around to looking into what would actually cause
> > that,  I guess maybe some environment variable needs to be set? If you
> > made any other system changes that didn't make it into the recipe you
> > might want to run off a new version.
> > -Michael
> >
>
> thanks for letting me know, are there any errors you get when installing?
> I'll check to make sure the recipe I submitted has Environment included. What
> are currently the values of your CLASSPATH and JAVA_HOME?
> I set JAVA_HOME=/Programs/JDK/Current so if you install elsewhere, it won't be
> set right -- I wasn't sure if $target could be used in the Environment file.
> CLASSPATH should be empty.
That's how they both are, yes.

Actually, having just had a look at your recipe, it seems I'd ended up
with the first version (the one that didn't copy anything over). It
was getting mixed up with a version I'd half-tried to install myself,
which explains the errors (I'd installed mine as Sun-JDK, so the
environment paths were wrong). So it does work now, perfectly. I will
have a go at installing Eclipse now for a real test.
> Haven't looked at the recipe since I submitted it, but it's good to hear
> someone else tried it :)
> I basically do "cp -R ./* "$target"" to get all the files into the right
> directory, anyone know of a better way?
The "proper" way is with a list of all the files in a Manifest recipe;
I think your way is better, to be honest. I am hopeful that there'll
be a "raw copy" mode introduced into Compile for these types of
things. (It would make the Freshen recipe a lot easier too).

I will implement it myself if nobody has any objections. I will wait
for a proper policy decision on binary recipes though.
-Michael


More information about the gobolinux-users mailing list