I have two months before I go into collage and I haven’t got anything to do.
So I was messing around on Google and found a site that had instructions on how to rebuild RedHat Enterprise Linux 3 from source.

I got interested and decided to build.

I managed to get everything to build properly and satisfied all the dependencies and all the RPMS were building perfectly.

I finished building all the rpms and I found that there are a few rpms that did not build correctly, some of them I managed to fix my self.

The ones that do not build at all are:

I have copied the errors below. Please can some one help me fix this, I’ve been trying for three days now and I haven’t had anything different.

find: /var/tmp/aspell-fr-0.6-root/usr/lib/debug: No such file or directory
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: aspell-fr-0.6-8
error: File not found by glob: /var/tmp/aspell-fr-0.6-root/usr/share/pspell/*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.18428
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd aspell-dict-francais-0.06
+ DOCDIR=/var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ export DOCDIR
+ rm -rf /var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ /bin/mkdir -p /var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ cp -pr README LISEZMOI COPYING /var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ exit 0
Processing files: aspell-fr-debuginfo-0.6-8

RPM build errors:
File not found by glob: /var/tmp/aspell-fr-0.6-root/usr/share/pspell/*

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.18428
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd br.ispell-2.4
+ export LANG
+ unset DISPLAY
+ cp /usr/src/redhat/SOURCES/pt_BR.dat .
+ ln -s /usr/share/aspell/iso8859-1.dat
+ aspell --lang pt_BR --data-dir=. create master ./pt_BR
Error: The language "" is not known. This is probably becuase the file "./pt.dat" can not be opened for reading.
error: Bad exit status from /var/tmp/rpm-tmp.18428 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.18428 (%build)

gcc -O2 -g -pipe -march=i386 -mcpu=i686 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o hdparm.o hdparm.c
In file included from hdparm.c:23:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h> instead!
hdparm.c:55: `readahead' redeclared as different kind of symbol
/usr/include/bits/fcntl.h:185: previous declaration of `readahead'
hdparm.c:55: warning: `readahead' was declared `extern' and later `static'
make: *** [hdparm.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.18429 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.18429 (%build)