Hello,

I found Makeinfo installed under /tools/bin:

[root@linux-test bc-1.06.95]# find / -name makeinfo
/mnt/lfs/tools/bin/makeinfo


If I run it with full path I have the following:

[root@linux-test bc-1.06.95]# /mnt/lfs/tools/bin/makeinfo 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
makeinfo: missing file argument.
Try `makeinfo --help' for more information.


If I just write makeinfo without the full path it can not find it.

[root@linux-test bc-1.06.95]# makeinfo
bash: makeinfo: command not found


I see that the link under / exists and points correctly to /mnt/lfs/tools:

lrwxrwxrwx   1 root root    15 May 12 12:11 tools -> /mnt/lfs/tools/


Is it correct that it has been installed under /tools/bin or should it been 
installed just under /tools?

I had a look again at step "5.32.1. Installation of Texinfo" and it says:

./configure --prefix=/tools

so I don't know why Makeinfo is under /tools/bin and not just /tools...(if that 
matters of course).

How should I correct this error? Can I solve it easily or does it means that I 
had to start again from step 5.32? 
 

Marcos

> Sent: Thursday, June 12, 2014 at 2:24 PM
> From: "Armin K." <[email protected]>
> To: "LFS Support List" <[email protected]>
> Subject: Re: [lfs-support] Step 6.34 Bc-1.06.95 7.5 stable make error
>
> On 06/12/2014 11:32 AM, Marcos Menendez wrote:
> > Hello,
> > 
> > I had the following error during the make of bc-1.06.95:
> > 
> > ...
> > ...
> > 
> > make[2]: Entering directory `/mnt/lfs/sources/bc-1.06.95/doc'
> > restore=: && backupdir=".am$$" && \
> >         am__cwd=`pwd` && cd . && \
> >         rm -rf $backupdir && mkdir $backupdir && \
> >         if (makeinfo --no-split --version) >/dev/null 2>&1; then \
> >           for f in bc.info bc.info-[0-9] bc.info-[0-9][0-9] bc.i[0-9] 
> > bc.i[0-9][0-9]; do \
> >             if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
> >           done; \
> >         else :; fi && \
> >         cd "$am__cwd"; \
> >         if makeinfo --no-split   -I . \
> >          -o bc.info bc.texi; \
> >         then \
> >           rc=0; \
> >           cd .; \
> >         else \
> >           rc=$?; \
> >           cd . && \
> >           $restore $backupdir/* `echo "./bc.info" | sed 's|[^/]*$||'`; \
> >         fi; \
> >         rm -rf $backupdir; exit $rc
> > /bin/sh: line 9: makeinfo: command not found
> > make[2]: *** [bc.info] Error 127
> > make[2]: Leaving directory `/mnt/lfs/sources/bc-1.06.95/doc'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/mnt/lfs/sources/bc-1.06.95'
> > make: *** [all] Error 2
> > 
> > 
> > I grep the config.log file and found the following too, which I don't know 
> > if it points to a solution:
> > 
> > [root@linux-test bc-1.06.95]# grep error: config.log                        
> >                                                             
> > conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> > before 'me'
> > conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
> > conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
> > conftest.c:58:26: error: minix/config.h: No such file or directory
> > conftest.c:24:26: error: minix/config.h: No such file or directory
> > conftest.c:65:17: error: lib.h: No such file or directory
> > conftest.c:31:17: error: lib.h: No such file or directory
> > 
> > 
> > I cross-check the make logs with the ones at  
> > 
> > http://www.linuxfromscratch.org/lfs/build-logs/7.5/core2duo/logs/098-bc-1.06.95
> > 
> > and saw that they have nothing to do with my logs...
> > 
> > 
> > Looking again at the following 
> > 
> > /bin/sh: line 9: makeinfo: command not found
> > make[2]: *** [bc.info] Error 127
> > 
> > makes me think if it could be related to some missing environment var, 
> > because before I tried to compile this package, I did a log out and log in 
> > again and maybe some path is now missing and the make fails, but I'm not 
> > sure of the possible variable.
> > 
> > In the meantime, I cannot figure out which command is that one that can not 
> > be found.
> > 
> > 
> > Any suggestion?
> > 
> > 
> > Regards,
> > 
> > Marcos
> > 
> > 
> 
> It looks like you didn't install "makeinfo" in /tools (part of texinfo
> package). Check if /tools/bin/makeinfo exists and is executable in chroot.
> 
> -- 
> Note: My last name is not Krejzi.
> -- 
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
> 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to