I tried  to build the gcc-3.2.1 rpm's from 

   gcc-3.2.1-2mdk.src.rpm

(using rpm -bb gcc.spec) and the build bombs out during
installation into /var/tmp/gcc-3.2.1-root/


Here are the final lines of the build:

+ ln -s /usr/include/libgcj-3.2.1 
+/var/tmp/gcc-3.2.1-root/usr/lib/gcc-lib/athlon-mandrake-linux-gnu/3.2.1/include/libgcj
ln: 
`/var/tmp/gcc-3.2.1-root/usr/lib/gcc-lib/athlon-mandrake-linux-gnu/3.2.1/include/libgcj':
 File exists
error: Bad exit status from /var/tmp/rpm-tmp.86747 (%install)


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


The problem is that there is already a file (link) in

/var/tmp/gcc-3.2.1-root/usr/lib/gcc-lib/athlon-mandrake-linux-gnu/3.2.1/include/

called `libgcj'.  It points to `root/etc/alternatives/libgcj'
so when the above link is attempted, it fails.

Surely others have run across this?   But I've not seen anything
mentioned.  I just went over to the cooker archives for Dec. and see
nothing about this.


Any help will (of course) be appreciated.

                                  Dean S. Messing
                                  Display Algorithms & Visual Optimization Lab
                                  Information Systems Technologies Dept.
                                  Sharp Laboratories of America

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to