Sam,<br>
<br>
    Ok. Thank you very much for your explanation! <br><br>I´ve tried to do a rpmbuild -ba, after executed the procedure mentioned before, but the following error was showed:<br>
<br>
gcc -c -DHAVE_CONFIG_H -DSHELL  -D_GNU_SOURCE -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I. -I/usr/src/redhat/BUILD/bash-3.2 -I../.. 
-I../../lib -DRECYCLES_PIDS -O2 -g -pipe -m32 -march=i386 
-mtune=pentium4 readline.c<br>
In file included from readline.c:61:<br>
/usr/include/linux/netlink.h:22: error: syntax error before &quot;__u32&quot;<br>
/usr/include/linux/netlink.h:28: error: syntax error before &quot;__u32&quot;<br>
/usr/include/linux/netlink.h:30: error: syntax error before &quot;nlmsg_flags&quot;<br>
/usr/include/linux/netlink.h:31: error: syntax error before &quot;nlmsg_seq&quot;<br>
/usr/include/linux/netlink.h:32: error: syntax error before &quot;nlmsg_pid&quot;<br>
/usr/include/linux/netlink.h:82: error: field `msg&#39; has incomplete type<br>
readline.c: In function `audit_tty&#39;:<br>
readline.c:307: error: storage size of &#39;addr&#39; isn&#39;t known<br>
readline.c:309: error: storage size of &#39;nlm&#39; isn&#39;t known<br>
readline.c:315: error: `NETLINK_AUDIT&#39; undeclared (first use in this function)<br>
readline.c:315: error: (Each undeclared identifier is reported only once<br>
readline.c:315: error: for each function it appears in.)<br>
readline.c:318: error: invalid application of `sizeof&#39; to incomplete type `nlmsghdr&#39;<br>
readline.c:319: error: `AUDIT_USER_TTY&#39; undeclared (first use in this function)<br>
make[1]: *** [readline.o] Error 1<br>
make[1]: Leaving directory `/usr/src/redhat/BUILD/bash-3.2/lib/readline&#39;<br>
make: *** [lib/readline/libreadline.a] Error 1<br>
<br>
   I´m using Red Hat Enterprise Linux ES release 4 (Nahant Update 5). <br><br>Do you know how can I fix it?<br><br><br>Chris,<br><br>   Thank you too!!<br><br><br><div class="gmail_quote">2010/9/23 Sam Varshavchik <span dir="ltr">&lt;<a href="mailto:mrsam@courier-mta.com">mrsam@courier-mta.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Bruno Galindro da Costa writes:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sam,<br>
     When you mean &#39;nuke all other files&#39; what do you want to mean? Delete all other files? <br>
   If I download the source package (e.g. bash-3.2-24.el5.src.rpm for Red Hat 5), install it, grab only the spec file and put it in /usr/src/redhat/SPECS/ directory, put all other files in /usr/src/redhat/SOURCES/ directory and try to do a rpmbuild -ba /usr/src/redhat/SPECS/bash.spec, could it work?<br>

</blockquote>
<br></div>
Yes. And you will end up with a perfectly valid bash rpm package.<br>
<br>
Unfortunately, you will not be able to install it. That&#39;s because the package will install /bin/bash, and you already have this file installed by your existing bash rpm. This is the fundamental function of rpm: to prevent different packages from installing conflicting files and overwriting each other.<br>

<br>
And not just /bin/bash, but also the corresponding man page, the locale files, and all other files that you seen when you run &quot;rpm -q -l bash&quot;.<br>
<br>
That&#39;s why I told you that you need to modify the spec file so that the final bash binary gets installed as /bin/bash3, so as to not conflict with your existing bash interpreter, as well as remove all other files from your bash 3 rpm package, so that the only thing that your newly-built bash rpm would install is /bin/bash3.<br>

<br>
<br>
<br>--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Att.<br>Bruno Galindro da Costa<br><a href="mailto:bruno.galindro@gmail.com">bruno.galindro@gmail.com</a><br>