Thanks for the info regarding rebuilding the Red Hat's AS2.1

I tried it but, I get an error in the process of rebuilding the SRPMs.  The error is:

-------- snip --------
rkc.c:57:25: sglobal.h: No such file or directory
make[2]: *** [rkc.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/Canna35b2/lib/RKC'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/Canna35b2/lib'
make: *** [install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.99299 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.99299 (%install)
#
-------- snip --------

What package(s) did I miss?

Thanks,
Andy

Roger wrote:

> This is the procedure I used to build my own version of Advanced Server
> from the SRPMS.  I would be interested to know what potential problems can
> be encountered and the difference between the end result and the actual AS2.1
> from RH.
>
> - Install RH7.2 on a machine, install all packages.
> - Download AS2.1 SRPMS from Red Hat mirror
>
> Note: IBM JRE/SDK have a commercial license.  All other packages are non
> commercial.
>
> - Compile each package:
> rpmbuild --rebuild package.src.rpm
>
> Almost all packages build properly, a few changes the kernel SPEC file
> required to build the appropriate kernels.
>
> - Create a suitable directory tree, such as /home/redhat/2.1as/i386 and
> put the compiled RPM into i386/RedHat/RPMS directory
>
> - Get hold of the AS2.1 comps file, I used the one from the beta release
> 
>http://ftp.sanguine.net/pub/sahughes/extras/rhl/beta/pensacola/redhat-7.1.91AS/en/os/i386/RedHat/base/comps
>
> - Generate hdlist files
> genhdlist /home/redhat/2.1as/i386
>
> - Build installer
> buildinstall --pkgorder /home/redhat/2.1as/pkgorder.txt --version 2.1as 
>/home/redhat/2.1as/i386
>
> At this point, network installations can be performed
>
> To create ISOs:
>
> splitdistro --fileorder /home/redhat/2.1as/pkgorder.txt /home/redhat/2.1as i386
>
> genhdlist --withnumbers --fileorder /home/redhat/2.1as/pkgorder.txt 
>/home/redhat/2.1as/i386-disc[12]
>
> mkisofs .....
>
> This web page has very useful information regarding building customised
> Red Hat installations.
>
> http://www.linuxworks.com.au/redhat-installer-howto.html
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to