George Boudreau schreef:


Michiel Faber wrote:


Everything looks fine. Those commands should have produced a usable Makefile.I duplicated your commands and have no problem .. this may be unique to Unbuntu. Directory permissions should be ok but check that mnt/lfs/sources permission is 1777


the permisions are ok. in nautilus i have 1777

[EMAIL PROTECTED]:/mnt/lfs $ ls -l
totaal 12
drwxr-xr-x  5 lfs lfs  4096 2006-06-21 13:46 jhalfs
drwxrwxrwt  3 lfs lfs  4096 2006-06-21 13:46 sources
drwxr-xr-x  2 lfs root 4096 2006-06-21 13:46 tools


  Could you tell me the contents of...
  jhalfs/envars


export PKGDIR=/mnt/lfs/sources/binutils-2.16.1


lfs-commands/chapter05/028-binutils-pass1 ( there should be the cmd mkdir -v ..binutils-build )


#!/bin/sh
set -e

cd $PKGDIR
mkdir -v ../binutils-build
cd ../binutils-build
../binutils-2.16.1/configure --prefix=/tools --disable-nls
make
make install
make -C ld clean
make -C ld LIB_PATH=/tools/lib
cp -v ld/ld-new /tools/bin
exit


I assume this is correct

yes.. I was just checking to see if jhalfs ran properly. It now head scratching time. There is nothing unusual in the Makefile, odd cmds or anything I can think of, so I am at a loss.
  Could you send the 028-binutils-pass1 makefile commands.


028-binutils-pass1:  022-settingenvironment
        @$(call echo_message, Building)
        @./progress_bar.sh $@ &
@echo -e "\n`date`\n\nKB: `du -skx --exclude=jhalfs $(MOUNT_PT)`\n" >logs/028-binutils-pass1
        @PKG_PATH=`ls -t $(MOUNT_PT)$(SRC)/binutils-2.16.1.tar.bz2 | head -n1` 
&& \
        ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e '[EMAIL PROTECTED]/@@;s@/.*@@'` 
&& \
        [[ -n $$ROOT ]] && \
        rm -rf $(MOUNT_PT)$(SRC)/$$ROOT && \
        if [ -e $(MOUNT_PT)$(SRC)/binutils-build ]; then \
                rm -rf $(MOUNT_PT)$(SRC)/binutils-build; \
        fi;
        @$(call unpack,binutils-2.16.1.tar.bz2)
        @ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed '[EMAIL 
PROTECTED]/@@;s@/.*@@'` && \
        echo "export PKGDIR=$(MOUNT_PT)$(SRC)/$$ROOT" > envars && \
        chown -R lfs $(MOUNT_PT)$(SRC)/$$ROOT
@( time { su - lfs -c "source /home/lfs/.bashrc && /mnt/lfs/jhalfs/lfs-commands/chapter05/028-binutils-pass1" >>logs/028-binutils-pass1 2>&1 ; } ) 2>>logs/028-binutils-pass1 && \ echo -e "\nKB: `du -skx --exclude=jhalfs $(MOUNT_PT)`\n" >>logs/028-binutils-pass1
        @ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed '[EMAIL 
PROTECTED]/@@;s@/.*@@'` && \
        rm -r $(MOUNT_PT)$(SRC)/$$ROOT && \
        if [ -e $(MOUNT_PT)$(SRC)/binutils-build ]; then \
                rm -r $(MOUNT_PT)$(SRC)/binutils-build; \
        fi;
        @touch  $@ && \
        sleep .25 && \
        echo -e "\n\n "$(BOLD)Target $(BLUE)$@ $(BOLD)OK && \
echo --------------------------------------------------------------------------------$(WHITE)





Michiel


--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to