On Thu, Oct 4, 2012 at 10:31 PM, Cory Cline <[email protected]> wrote: > On Thu, Oct 4, 2012 at 10:27 PM, Cory Cline <[email protected]> wrote: >> On Thu, Oct 4, 2012 at 10:13 PM, Bruce Dubbs <[email protected]> wrote: >>> Cory Cline wrote: >>> >>>>>>> for package in $(grep -v '^#' ../proto-7.7.md5 | awk '{print $2}') >>>>>>> do >>>>>>> packagedir=${package%.tar.bz2} >>>>>>> echo $packagedir $package >>>>>>> #tar -xf $package >>>>>>> #pushd $packagedir >>>>>>> #./configure $XORG_CONFIG >>>>>>> #$AS_ROOT make install >>>>>>> #popd >>>>>>> #rm -r $packagedir >>> >>>> I am indeed using bash. When is have the pushd commented out it >>>> outputs the names of all the directories that were untarred. I did >>>> verify that they are there and indeed expanded properly. However, >>>> here is an example error with pushd uncommented: >>>> "tar: xineramaproto-1.2.1.tar.bz2: cannot open: No such file or directory. >>>> tar: Error is not recoverable: exiting now. >>> >>> This is saying it can't find xineramaproto-1.2.1.tar.bz2 in the current >>> directory. >>> >>>> line 6: pushd: xineramaproto-1.2.1: No such file or directory >>> >>> Can you manually do 'tar -xf xineramaproto-1.2.1.tar.bz2'? What do you >>> get if you do 'tar -tf xineramaproto-1.2.1.tar.bz2'? It should be: >>> >>> xineramaproto-1.2.1/COPYING >>> xineramaproto-1.2.1/Makefile.am >>> xineramaproto-1.2.1/panoramiXproto.h >>> xineramaproto-1.2.1/config.guess >>> xineramaproto-1.2.1/Makefile.in >>> xineramaproto-1.2.1/config.sub >>> xineramaproto-1.2.1/missing >>> xineramaproto-1.2.1/xineramaproto.pc.in >>> xineramaproto-1.2.1/README >>> xineramaproto-1.2.1/configure.ac >>> xineramaproto-1.2.1/INSTALL >>> xineramaproto-1.2.1/configure >>> xineramaproto-1.2.1/install-sh >>> xineramaproto-1.2.1/ChangeLog >>> xineramaproto-1.2.1/aclocal.m4 >>> >>> Try just doing one package manually. That is: >>> >>> tar -xf xineramaproto-1.2.1.tar.bz2 >>> pushd xineramaproto-1.2.1 >>> ./configure $XORG_CONFIG >>> # skip the install line for now. >>> popd >>> rm -r xineramaproto-1.2.1 >>> >>> -- Bruce >>> -- >> >>> Can you manually do 'tar -xf xineramaproto-1.2.1.tar.bz2'? >> Yes I can manually do this just fine. >> >>> What do you get if you do 'tar -tf xineramaproto-1.2.1.tar.bz2'? >> The same output do :) >> >>> Try just doing one package manually. >> >> Ok here goes: >> $ tar -xf xineramaproto-1.2.1.tar.bz2 >> $ pushd xineramaproto-1.2.1.tar.bz2 >> /sources/xc/proto/xineramaproto-1.2.1 /sources/sc/proto >> $./configure $XORG_CONFIG >> <CONFIG RUNS FINE> >> $ popd >> /sources/xc/proto >> $ rm -r xineramaproto-1.2.1 >> <DIRECTORY REMOVES FINE> >> >> That seems to work just fine... > > Sorry for the double post, but I typed the loop into vim just to see > if it shows any syntax errors, and in line 1 the $( and the matching ) > at the end are red backed. > > Also, in line 3 "%.tar.bz2" is red backed in the command > packagedir=${package%.tar.bz2} > > Does that point to anything?
Well I ran the exact same script file this morning I had been all along to recap on the errors and start fresh, and it worked. So thank the gods, is there a way to mark this resolved? Thanks for your help :) >>> http://linuxfromscratch.org/mailman/listinfo/blfs-support >>> FAQ: http://www.linuxfromscratch.org/blfs/faq.html >>> Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
