Build problems

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jun 2 15:12:18 PDT 2012


Bruce Dubbs wrote:
> Pierre,
> 
> I'm having a problem with alfs generating the LFS Makefile.  I added two 
> new pages to my local book, popt and pkg-config, right after perl in 
> Chapter 6.  When I run jhalfs, the Makefile that is generated looks like:
> 
>   098-popt:  097-perl
>    @$(call echo_message, Building)
> #  @export BASHBIN=$(SHELL) && $(SHELL) progress_bar.sh $@ $$PPID &
>    @echo "$(nl_)`date`$(nl_)" >logs/$@
>    @$(PRT_DU_CR) >>logs/$@
>    @$(call touch_timestamp)
>    @$(call remove_existing_dirs2,popt-1.16.tar.gz)
>    @$(call unpack2,popt-1.16.tar.gz)
>    @$(call get_pkg_root2)
>    @source envars && \
>    $(crCMDSDIR)/chapter06/$@ >>logs/$@ 2>&1 && \
>    $(PRT_DU_CR) >>logs/$@
>    @$(call remove_build_dirs2,popt)
>    @$(call log_new_files,popt)
>    @$(call housekeeping)
> 
> 099-pkgconfig:  098-popt
>    @$(call echo_message, Building)
> #  @export BASHBIN=$(SHELL) && $(SHELL) progress_bar.sh $@ $$PPID &
>    @echo "$(nl_)`date`$(nl_)" >logs/$@
>    @$(PRT_DU_CR) >>logs/$@
>    @source envars && \
>    $(crCMDSDIR)/chapter06/$@ >>logs/$@ 2>&1 && \
>    $(PRT_DU_CR) >>logs/$@
>    @$(call housekeeping)
> 
> 
> popt builds fine, but there are missing commands for pkgconfig.  I 
> suspect something wrong with the LFS xml that jhalfs doesn't like.  Can 
> you give me a clue about what it might be looking for?
> 
> I note that there lfs-commands/chapter06/099-pkgconfig exists and that 
> seems OK.

I think I found my problem.  The file name in /mnt/lfs/sources and in 
packages.ent did not match.  They differed by a hyphen.  The Makefile 
seems OK and I'm running a test now.
   -- Bruce




More information about the alfs-discuss mailing list