On Wednesday 03 March 2010 10:27:27 am lux-integ wrote:

>
> thanks very much for the advice.  I used   the blfs recipe updated for
> gcc-4.4.2 and pure64-bit (amd64) and it worked a treat.  It is  below for
> those who want to have a go  (please note the  --disable-multilib switch in
> the configure instruction.)

I must have  been beginners luck  as most  subsequent attempts to repeat the 
above success has failed.  Below are examples of sucess and failure.  (using 
the same  gnat binary (gnat-gpl-2009-43-x86_64-pc-linux-gnu-bin.tar.gz)) on  
similar clfs setups.  (Sorry about the long post but   I have made as much 
trimming as is practicable)



############  gnat correct install ##############

rm -fr /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/rts*
rm -fr /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/adainclude 
/opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/adalib
rm -fr /opt/gnat/share/doc/gnat
rm -fr /opt/gnat/share/examples/gnat
mkdir -p /opt/gnat
rm -f /opt/gnat/lib/libgcc*
rm -f /opt/gnat/bin/gnat*
rm -f /opt/gnat/bin/gpr*
rm -f /opt/gnat/bin/gcc /opt/gnat/bin/x86_64-pc-linux-gnu-gcc
for d in bin lib libexec lib32 lib64 include \
                 doc examples share etc x86_64-pc-linux-gnu; do \
           if [ -d $d ]; then \
              tar cf - $d | (cd /opt/gnat; tar xf -); \
           fi \
        done
/opt/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.3.4/install-tools/mkheaders -v -v 
/opt/gnat
Fixing headers into /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include-fixed 
for x86_64-pc-linux-gnu target
Forbidden identifiers: linux unix 
Finding directories and links to directories
 Searching /usr/include/.
Making symbolic directory links
Fixing directory /usr/include 
into /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include-fixed
Applying io_quotes_use            to linux/atmbr2684.h
Applying io_quotes_def            to linux/pci_regs.h
Applying io_quotes_use            to linux/raid/md_u.h
Applying io_quotes_use            to linux/usb/tmc.h
Applying io_quotes_use            to linux/usb/vstusb.h
Applying io_quotes_use            to linux/raw.h
Applying io_quotes_use            to linux/uinput.h
Applying io_quotes_use            to linux/fd.h
Applying io_quotes_use            to linux/pktcdvd.h
Applying io_quotes_use            to linux/random.h
Applying io_quotes_use            to linux/rfkill.h
Applying io_quotes_use            to linux/watchdog.h
Applying io_quotes_use            to linux/reiserfs_fs.h
Applying io_quotes_use            to linux/phantom.h
Applying io_quotes_def            to linux/soundcard.h
Applying io_quotes_use            to linux/dm-ioctl.h
Applying io_quotes_use            to linux/auto_fs.h
Applying io_quotes_use            to linux/gigaset_dev.h
Applying io_quotes_use            to linux/suspend_ioctls.h
Applying io_quotes_use            to linux/ppdev.h
Applying io_quotes_use            to linux/kvm.h
Applying io_quotes_use            to linux/cm4000_cs.h
Applying io_quotes_use            to linux/spi/spidev.h
Applying io_quotes_use            to linux/mmtimer.h
Applying io_quotes_def            to linux/ppp-comp.h
Applying io_quotes_use            to linux/if_pppox.h
Applying machine_name             to linux/a.out.h
Fixed:  linux/a.out.h
Applying io_quotes_use            to linux/agpgart.h
Applying io_quotes_use            to linux/dn.h
Applying io_quotes_use            to linux/blkpg.h
Applying io_quotes_use            to linux/synclink.h
Applying io_quotes_use            to linux/i2o-dev.h
Applying io_quotes_use            to linux/auto_fs4.h
Applying io_quotes_use            to linux/cciss_ioctl.h
Applying io_quotes_use            to linux/videotext.h
Applying io_quotes_def            to linux/version.h
Applying io_quotes_use            to linux/fs.h
Applying io_quotes_use            to linux/input.h
Applying io_quotes_use            to linux/ipmi.h
Applying io_quotes_use            to linux/nbd.h
Applying io_quotes_use            to rdma/ib_user_mad.h
Applying io_quotes_def            to libguile/numbers.h
Applying io_quotes_def            to libguile/continuations.h
Applying machine_name             to net-snmp/net-snmp-config.h
Fixed:  net-snmp/net-snmp-config.h
Applying io_quotes_def            to net-snmp/library/container.h
Applying machine_name             to net-snmp/library/snmpUDPDomain.h
Fixed:  net-snmp/library/snmpUDPDomain.h
Applying sysv68_string            to string.h
Applying io_quotes_use            to asm/mtrr.h
Applying pthread_incomplete_struct_argument to pthread.h
Applying io_quotes_use            to video/sisfb.h
Applying io_quotes_use            to mtd/ubi-user.h
Applying ctrl_quotes_def          to readline/chardefs.h
Applying io_quotes_def            to glib-2.0/gio/gmountoperation.h
Applying io_quotes_use            to sys/raw.h
Applying io_quotes_use            to sys/mount.h
Applying io_quotes_use            to sound/emu10k1.h
Applying io_quotes_use            to sound/asequencer.h
Applying io_quotes_use            to sound/asound.h
Applying io_quotes_def            to c++/4.4.2/parallel/settings.h
Applying io_quotes_def            to c++/4.4.2/parallel/multiway_merge.h
Applying machine_name             to platform.h
Fixed:  platform.h
Quoted includes in platform.h
Applying sun_malloc               to malloc.h
Applying io_quotes_def            to libgsf-1/gsf/gsf-output-iochannel.h
Applying io_quotes_def            to libgsf-1/gsf/gsf-input-stdio.h
Applying io_quotes_def            to libgsf-1/gsf/gsf-outfile-stdio.h
Applying io_quotes_def            to libgsf-1/gsf/gsf-infile-stdio.h
Applying io_quotes_def            to libgsf-1/gsf/gsf-output-stdio.h
Applying machine_name             to libdevmapper.h
Fixed:  libdevmapper.h
Applying hpux8_bogus_inlines      to math.h
Applying io_quotes_use            to drm/mga_drm.h
Applying io_quotes_use            to drm/via_drm.h
Applying io_quotes_use            to drm/i915_drm.h
Applying io_quotes_use            to drm/r128_drm.h
Applying io_quotes_use            to drm/savage_drm.h
Applying io_quotes_use            to drm/drm.h
Applying io_quotes_use            to drm/i810_drm.h
Applying io_quotes_use            to drm/sis_drm.h
Applying io_quotes_use            to drm/i830_drm.h
Applying io_quotes_use            to drm/radeon_drm.h
Cleaning up unneeded directories:
fixincludes is done
case `uname` in \
           *_NT*) (for d in /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4; do cd 
$d/adalib;chmod a-w *.ali;cd ../..;done) ;; \
        esac
cat /opt/gnat/share/examples/gnat/header.xml 
>  /opt/gnat/share/examples/gnat/gnat-examples.xml 
cat /opt/gnat/share/examples/gnat/full_project/full.xml 
/opt/gnat/share/examples/gnat/options/options.xml 
/opt/gnat/share/examples/gnat/other_languages/cpp_main/cpp_main.xml 
/opt/gnat/share/examples/gnat/other_languages/cpp_pragmas/cpp_pragmas.xml 
/opt/gnat/share/examples/gnat/other_languages/import_from_c/import_from_c.xml 
/opt/gnat/share/examples/gnat/plugins/plugins.xml 
/opt/gnat/share/examples/gnat/stream_io/stream_io.xml 
/opt/gnat/share/examples/gnat/simple_project/simple.xml 
/opt/gnat/share/examples/gnat/starter/starter.xml 
/opt/gnat/share/examples/gnat/xml_stream/xml_stream.xml 
/opt/gnat/share/examples/gnat/containers/anagram/anagram.xml 
/opt/gnat/share/examples/gnat/containers/genealogy/genealogy.xml 
/opt/gnat/share/examples/gnat/containers/hash/hash.xml 
/opt/gnat/share/examples/gnat/containers/library/library.xml 
/opt/gnat/share/examples/gnat/containers/shapes/shapes.xml 
/opt/gnat/share/examples/gnat/containers/spellcheck/spellcheck.xml 
/opt/gnat/share/examples/gnat/
 containers/wordcount/wordcount.xml 
/opt/gnat/share/examples/gnat/containers/wordfreq/wordfreq.xml 
/opt/gnat/share/examples/gnat/oo_interfaces/oo_interfaces.xml 
/opt/gnat/share/examples/gnat/oo_airline/oo_airline.xml 
/opt/gnat/share/examples/gnat/altivec/altivec.xml         
>> /opt/gnat/share/examples/gnat/gnat-examples.xml
cat /opt/gnat/share/examples/gnat/footer.xml 
>> /opt/gnat/share/examples/gnat/gnat-examples.xml
sed "s:PREFIX:/opt/gnat:" /opt/gnat/share/examples/gnat/gnat-examples.xml > \
                /opt/gnat/share/examples/gnat/gnat-examples.xml.tmp && \
        
mv /opt/gnat/share/examples/gnat/gnat-examples.xml.tmp 
/opt/gnat/share/examples/gnat/gnat-examples.xml
if [ ! -d /opt/gnat/share/gps/plug-ins ]; then \
                mkdir -p /opt/gnat/share/gps/plug-ins;    \
        fi
cp /opt/gnat/share/examples/gnat/gnat-examples.xml /opt/gnat/share/gps/plug-ins
total 28


#######  and one that does not ###################
rm -fr /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/rts*
rm -fr /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/adainclude 
/opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/adalib
rm -fr /opt/gnat/share/doc/gnat
rm -fr /opt/gnat/share/examples/gnat
mkdir -p /opt/gnat
rm -f /opt/gnat/lib/libgcc*
rm -f /opt/gnat/bin/gnat*
rm -f /opt/gnat/bin/gpr*
rm -f /opt/gnat/bin/gcc /opt/gnat/bin/x86_64-pc-linux-gnu-gcc
for d in bin lib libexec lib32 lib64 include \
                 doc examples share etc x86_64-pc-linux-gnu; do \
           if [ -d $d ]; then \
              tar cf - $d | (cd /opt/gnat; tar xf -); \
           fi \
        done
/opt/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.3.4/install-tools/mkheaders -v -v 
/opt/gnat
Fixing headers into /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include-fixed 
for x86_64-pc-linux-gnu target
Forbidden identifiers: linux unix 
Finding directories and links to directories
 Searching /usr/include/.
Making symbolic directory links
Fixing directory /usr/include 
into /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include-fixed
./fixinc.sh: line 
417: /opt/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.3.4/install-tools/fixincl: 
No such file or directory
Cleaning up unneeded directories:
fixincludes is done
case `uname` in \
           *_NT*) (for d in /opt/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4; do cd 
$d/adalib;chmod a-w *.ali;cd ../..;done) ;; \
        esac
cat /opt/gnat/share/examples/gnat/header.xml 
>  /opt/gnat/share/examples/gnat/gnat-examples.xml 
cat /opt/gnat/share/examples/gnat/full_project/full.xml 
/opt/gnat/share/examples/gnat/options/options.xml 
/opt/gnat/share/examples/gnat/other_languages/cpp_main/cpp_main.xml 
/opt/gnat/share/examples/gnat/other_languages/cpp_pragmas/cpp_pragmas.xml 
/opt/gnat/share/examples/gnat/other_languages/import_from_c/import_from_c.xml 
/opt/gnat/share/examples/gnat/plugins/plugins.xml 
/opt/gnat/share/examples/gnat/stream_io/stream_io.xml 
/opt/gnat/share/examples/gnat/simple_project/simple.xml 
/opt/gnat/share/examples/gnat/starter/starter.xml 
/opt/gnat/share/examples/gnat/xml_stream/xml_stream.xml 
/opt/gnat/share/examples/gnat/containers/anagram/anagram.xml 
/opt/gnat/share/examples/gnat/containers/genealogy/genealogy.xml 
/opt/gnat/share/examples/gnat/containers/hash/hash.xml 
/opt/gnat/share/examples/gnat/containers/library/library.xml 
/opt/gnat/share/examples/gnat/containers/shapes/shapes.xml 
/opt/gnat/share/examples/gnat/containers/spellcheck/spellcheck.xml 
/opt/gnat/share/examples/gnat/
 containers/wordcount/wordcount.xml 
/opt/gnat/share/examples/gnat/containers/wordfreq/wordfreq.xml 
/opt/gnat/share/examples/gnat/oo_interfaces/oo_interfaces.xml 
/opt/gnat/share/examples/gnat/oo_airline/oo_airline.xml 
/opt/gnat/share/examples/gnat/altivec/altivec.xml         
>> /opt/gnat/share/examples/gnat/gnat-examples.xml
cat /opt/gnat/share/examples/gnat/footer.xml 
>> /opt/gnat/share/examples/gnat/gnat-examples.xml
sed "s:PREFIX:/opt/gnat:" /opt/gnat/share/examples/gnat/gnat-examples.xml > \
                /opt/gnat/share/examples/gnat/gnat-examples.xml.tmp && \
        
mv /opt/gnat/share/examples/gnat/gnat-examples.xml.tmp 
/opt/gnat/share/examples/gnat/gnat-examples.xml
if [ ! -d /opt/gnat/share/gps/plug-ins ]; then \
                mkdir -p /opt/gnat/share/gps/plug-ins;    \
        fi
cp /opt/gnat/share/examples/gnat/gnat-examples.xml /opt/gnat/share/gps/plug-ins

########

advice on where I am going wrong will be appreciated.

lux-integ
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to