-----Original Message-----

From: Pierre Labastie <[email protected]>
To: LFS Support List <[email protected]>
Sent: Wed, 10 Sep 2014 17:55
Subject: Re: [lfs-support] ***SPAM*** Re: where should the package be extracted?


          
    
Le 10/09/2014 11:03, Lemon Oil a      écrit :
    
    
-----Original        Message-----
            
          From: Pierre Labastie <[email protected]>
          To: LFS Support List          <[email protected]>
          Sent: Wed, 10 Sep 2014 10:44
          Subject: Re: [lfs-support] where should the package be          
extracted?
          
          
                
           
              
Le 10/09/2014 10:04, Lemon                Oil a écrit :
              
                        
If                  I do this, I have problem after these 2                    
commands (page 31):
                    
                    mkdir -v ../binutils-build
                    cd ../binutils-build
                    
                    Then:
                    
                                  
 ../binutils-2.24/configure                      [blah...]
                      
                      It returns no file found. 
                      Because there is no /lfs/binutils-2.24                    
          folder and its contents. The binutils-2.24                          
folder is on /lfs/sources.
                      
                     
              
 Regards,
              
              
LM
              
            
            Sorry to have to say that, but people on this list do not           
 like top posting...
            What I wrote was:
            
              
 
              Run something like:
              
                
                  
                         tar -xvf tarball-num-version.tar.gz
                        from the /lfs/sources directory.
                        Then _cd to the extracted directory_.
                      
                  
                
              
            
            So when you extract binutils, you first have to change dir          
  to binutils-2.24, and then, the command you run are OK.
            
            It may seem weird to have to change first to the extracted          
  directory, then almost immediately change to another one,            but it 
happenned in the past that binutils needed to be            patched, so some 
commands had to be run from inside the            extracted directory. 
Currently, there is no need for a            patch, but the same scheme is used 
for gcc and glibc at            least.
            
            Regards
            Pierre
            
          
        
        
          
------------


Hi,

I'm sorry for the previous reply format. I hope this is right.

I'm on /lfs/sources, I run these commands:



tar -xvf tarball-num-version.tar.gz

cd tarball-num-version

mkdir -v ../binutils-build

cd ../binutils-build

../binutils-2.24/configure [blah...]



No file found




So, Should I run these?



tar -xvf tarball-num-version.tar.gz

cd tarball-num-version

mkdir -v ../binutils-build

cd ../binutils-build

cd /lfs/sources/tarball-num-version

../binutils-2.24/configure [blah...]



Adding the 5th line (cd /lfs/sources/tarball-num-version)?



Regards,

LM



        
              
      
      
      
    
    Could you enter the command "pwd" just before "mkdir -v    
../binutils-build" and post the output?
    The fifth line is not what you want: you want to be on    
/lfs/sources/binutils-build, not on binutils-2.24.
    SInce you may have screwed up things by running configure inside the    
binutils-2.24 directory, I suggest you:
    - cd /lfs/sources
    - rm -r binutils-build binutils-2.24
    - run the above commands starting at "tar -xvf...", adding the    command 
"pwd" as told above.
    Post the output of commands, except the whole listing of the    extracted 
files (but maybe the first few lines)
    
    Regards,
    Pierre
    
  

-----

Hi,

You suggestions are right: I made a mistake with paths and deleting some files.

Now I'm able to follow the LFS book.


Thank you very much for you patience.

Regards,

LM

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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to