Fran�ois Pons wrote:
> Michael Brown <[EMAIL PROTECTED]> writes:
>
>> Just tried to run gendistrib to build the 8.0 hdlists etc. 8.0 tree is
>> stored on a machine running 7.2. On running gendistrib, I get:
>>
>> Can't load './auto/rpmtools/rpmtools.so' for module
>> rpmtools: librpmio.so.0: cannot open shared object file: No such file or
>> directory at /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200.
>> at ./gendistrib line 20
>>
>>
>> According to rpmfind.net, librpmio.so.0 is provided by rpm4, which
>> explains why the 7.2 system (with rpm 3.0.5) doesn't have it. This is a
>> chicken-and-egg situation: I need rpm4 (part of 8.0) to build the 8.0
>> distribution media. Is there any way that librpmio could be provided
>> along with rpmtools in /misc?
>
>
> You can use the 8.0 tree of install (DrakX), look at <top_dir>/Mandrake/mdkinst,
> if you have that you can look directly at
> <top_dir>/Mandrake/mdkinst/usr/bin/perl-install/live_install*
> where you will find how to launch a perl script (install2) using the 8.0 binary
> tree. You will have to use PERL5LIB, LD_LIBRARY_PATH and LD_LOADER, since
> gendistrib does not use a lot of things, you can set them as follow, assuming
> $dir point to <top_dir>/Mandrake/mdkinst (in a separate shell environment, new
> xterm for example) :
> export LD_LOADER=$dir/lib/ld-linux.so.2
> export PERL5LIB=`$LD_LOADER $dir/usr/bin/perl -e 'print join ":", @INC'
> export LD_LIBRARY_PATH=$dir/lib:$dir/bin:$dir/usr/bin
>
> and then you should be available to do
> $LD_LOADER $dir/usr/bin/perl $dir/../../misc/gendistrib <options>
>
> I do it on the fly, inform me if there are problems, but you should have what is
>necessary.
>
> Fran�ois.
>
>
>
<Blue>
With gendistrib, is it possible to contribs to rpms3 (as rpms2 is on
second cd/iso) and have 3rd cd that works just like 1 & 2 with the auto
dep checking and descriptions, etc.? I assume it was made for stuff
like that. Or if installdone from hd, take all rpms to one dir and
gendistrib and make a massive (far too big for cd) iso for use off hd?
</Blue>