Hisham Muhammad wrote: > On Dec 19, 2007 10:48 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote: > >> Hi all, >> >> I was trying to compile kvm with its modified qemu version and for this >> task to be performed I needed gcc 3.x to be installed. So in the >> dependencies file I specified GCC >= 3 < 4. The fact is that using >> $gcc_path in the recipe always get the latest gcc installation, and not >> the one indicated as a dependency. I know this is the expected behavior, >> but I also believe that strictly following (at least as the first step) >> the recipe would be better. >> > > You're right, Compile should be smarter when filling in those > variables. The problem now is that it doesn't really know about those > paths; CheckDependencies takes care of that. We need to code some > interaction between them so that CheckDependencies informs Compile > about which paths it found when matching dependencies. > > -- Hisham > _______________________________________________ > gobolinux-devel mailing list > gobolinux-devel@lists.gobolinux.org > http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel > I'm not a guru at all in shell programming, so I won't go in details here, but maybe CheckDepencencies could just fill in some env variable (GOBO_<PROGRAM>_DEPENDENCIES?) which then Compile (or any other gobo script) could read to do what it needs to do. I honestly don't know if it could be done and how much it would require to be put in Scripts, just my two cents :)
Bye _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel