libtool-2.2.6a.tar.gz

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
jape
Member
Posts: 13
Joined: Sat Oct 04, 2008 7:02 pm

libtool-2.2.6a.tar.gz

Post by jape »

Just a note for anyone else trying to build gar-minimyth-0.21.0-58 from source. It looks like libtool-2.2.6 has been superceeded by libtool-2.2.6a and I had to update the related Makefile and checksum to get things building again.

regards

jp
jape
Member
Posts: 13
Joined: Sat Oct 04, 2008 7:02 pm

continuing a build?

Post by jape »

Does anyone know why I can't continue my build once I've corrected the underlying problem? I've made the same stupid mistake several times which means I need to delete the whole tree and start again:

==> Running checksum on libtool-2.2.6a.tar.gz
*** GAR GAR GAR! libtool-2.2.6a.tar.gz not in checksums file! GAR GAR GAR! ***
make[6]: *** [checksum-libtool-2.2.6a.tar.gz] Error 1
make[6]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/devel/libtool'
make[5]: *** [../../devel/libtool/cookies/build.d/install] Error 2
make[5]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/lang/c'
make[4]: *** [imgdep-build] Error 2
make[4]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/lang/c'
make[3]: *** [../../lang/c/cookies/build.d/install] Error 2
make[3]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/utils/coreutils'
make[2]: *** [imgdep-build] Error 2
make[2]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/utils/coreutils'
make[1]: *** [../../utils/coreutils/cookies/build.d/install] Error 2
make[1]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth'
make: *** [imgdep-build] Error 2



jape@vcr2:/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth$ make build
[===== NOW BUILDING: minimyth-0.21.0-58-debug =====]
make[1]: Entering directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth'
[===== NOW BUILDING: minimyth-0.21.0-58-debug =====]
[fetch] complete for minimyth.
[checksum] complete for minimyth.
[extract] complete for minimyth.
[patch] complete for minimyth.
[configure] complete for minimyth.
[build] complete for minimyth.
checking ...
build system binaries ...
'ar' (from package 'binutils')
error: your system does not contain the program 'ar' (from package 'binutils').
make[1]: *** [mm-all] Error 1
make[1]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth'
make: *** [pre-everything] Error 2
jape@vcr2:/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth$
TT_ZX
Member
Posts: 22
Joined: Thu Sep 25, 2008 9:25 am

Post by TT_ZX »

The system can't find the ar utility, whatever that is. This had me scratching my head for a while. Try:

Code: Select all

export PATH="${PATH}:/usr/bin/"
This fixed it on my system, I put /usr/bin/ into the PATH variable in my .bashrc file in the end.

Code: Select all

/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth$
Are you sure you are in the right path? I think you should be in:

Code: Select all

/opt/minimyth/gar-minimyth-0.21.0-58/script/meta$
jape
Member
Posts: 13
Joined: Sat Oct 04, 2008 7:02 pm

Re: libtool-2.2.6a.tar.gz

Post by jape »

jape wrote:Just a note for anyone else trying to build gar-minimyth-0.21.0-58 from source. It looks like libtool-2.2.6 has been superceeded by libtool-2.2.6a and I had to update the related Makefile and checksum to get things building again.

regards

jp

Seems I spoke too soon. Any idea what this error is?:


[===== NOW BUILDING: libtool-2.2.6a =====]
install -d cookies/build.d
[fetch] complete for libtool.
==> Running checksum on libtool-2.2.6a.tar.gz
8ca1ea241cd27ff9832e045fe9afe4fd download/libtool-2.2.6a.tar.gz
file libtool-2.2.6a.tar.gz passes checksum test!
[checksum] complete for libtool.
install -d work/build.d
==> Extracting download/libtool-2.2.6a.tar.gz
[extract] complete for libtool.
install -d work/build.d/libtool-2.2.6a
[patch] complete for libtool.
make[7]: Entering directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/devel/libtool'
make[7]: `../../devel/build-system-bins/cookies/build.d/install' is up to date.
make[7]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/devel/libtool'
make[6]: *** [pre-configure] Error 1
make[6]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/devel/libtool'
make[5]: *** [../../devel/libtool/cookies/build.d/install] Error 2
make[5]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/lang/c'
make[4]: *** [imgdep-build] Error 2
make[4]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/lang/c'
make[3]: *** [../../lang/c/cookies/build.d/install] Error 2
make[3]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/utils/coreutils'
make[2]: *** [imgdep-build] Error 2
make[2]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/utils/coreutils'
make[1]: *** [../../utils/coreutils/cookies/build.d/install] Error 2
make[1]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth'
make: *** [imgdep-build] Error 2
jape
Member
Posts: 13
Joined: Sat Oct 04, 2008 7:02 pm

Post by jape »

TT_ZX wrote:The system can't find the ar utility, whatever that is. This had me scratching my head for a while. Try:

Code: Select all

export PATH="${PATH}:/usr/bin/"
This fixed it on my system, I put /usr/bin/ into the PATH variable in my .bashrc file in the end.

Code: Select all

/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth$
Are you sure you are in the right path? I think you should be in:

Code: Select all

/opt/minimyth/gar-minimyth-0.21.0-58/script/meta$
The weird part is that ar is in my path:
$ which ar
/usr/bin/ar
echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:.:/sbin

The docs say:

4. Build MiniMyth by running the following command 'cd ${build-root}/script/meta/minimyth ; make build'. This is the step that take a long time.

I guess the docs could be wrong...
TT_ZX
Member
Posts: 22
Joined: Thu Sep 25, 2008 9:25 am

Post by TT_ZX »

jape wrote:
The docs say:

4. Build MiniMyth by running the following command 'cd ${build-root}/script/meta/minimyth ; make build'. This is the step that take a long time.

I guess the docs could be wrong...
So it does, but I definitely ran make build from ${build-root}/script/meta/ (rightly or wrongly).
What happens when you run make build from {build-root}?
yoshi
New Member
Posts: 1
Joined: Wed Oct 08, 2008 11:19 am

Post by yoshi »

jape@vcr2:/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth$ make build
[===== NOW BUILDING: minimyth-0.21.0-58-debug =====]
make[1]: Entering directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth'
[===== NOW BUILDING: minimyth-0.21.0-58-debug =====]
[fetch] complete for minimyth.
[checksum] complete for minimyth.
[extract] complete for minimyth.
[patch] complete for minimyth.
[configure] complete for minimyth.
[build] complete for minimyth.
checking ...
build system binaries ...
'ar' (from package 'binutils')
error: your system does not contain the program 'ar' (from package 'binutils').
make[1]: *** [mm-all] Error 1
make[1]: Leaving directory `/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth'
make: *** [pre-everything] Error 2
jape@vcr2:/opt/minimyth/gar-minimyth-0.21.0-58/script/meta/minimyth$
To resolve your problem, del the "Exit 1;" on the line 19 in ${build_root}/script/meta/minimyth/work/main.d/minimyth-0.21.0-58/source/gar-minimyth/script/meta/minimyth/files/check.mk

Code: Select all

mm-all:
        @echo "checking ..."
        @# Check build environment.
        @echo "  build system binaries ..."
        @$(foreach pkg,$(build_system_bins), \
                $(foreach bin,$(sort $(build_system_bins_$(subst -,_,$(pkg)))), \
                        echo "    '$(bin)' (from package '$(pkg)')" ; \
                        which $(bin) > /dev/null 2>&1 ; \
                        if [ ! "$$?" = "0" ] ; then \
                                echo "error: your system does not contain the program '$(bin)' (from package '$(pkg)')." ; \
                            exit 1; ############### DEL THIS LINE (19) ######################
                        fi ; \
                ) \
        )
Regards
jape
Member
Posts: 13
Joined: Sat Oct 04, 2008 7:02 pm

Post by jape »

To resolve your problem, del the "Exit 1;" on the line 19 in ${build_root}/script/meta/minimyth/work/main.d/minimyth-0.21.0-58/source/gar-minimyth/script/meta/minimyth/files/check.mk

Code: Select all

mm-all:
        @echo "checking ..."
        @# Check build environment.
        @echo "  build system binaries ..."
        @$(foreach pkg,$(build_system_bins), \
                $(foreach bin,$(sort $(build_system_bins_$(subst -,_,$(pkg)))), \
                        echo "    '$(bin)' (from package '$(pkg)')" ; \
                        which $(bin) > /dev/null 2>&1 ; \
                        if [ ! "$$?" = "0" ] ; then \
                                echo "error: your system does not contain the program '$(bin)' (from package '$(pkg)')." ; \
                            exit 1; ############### DEL THIS LINE (19) ######################
                        fi ; \
                ) \
        )
Regards
Thanks for the tip. Now if I can sort out my problem with libtool libtool-2.2.6a.tar.gz I can try it out.

regards

jp
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo »

Yes, libtool-2.2.6 has been superseded by libtool-2.2.6a. This has been updated in test build 59b3.

As for the tests for binaries on your system failing, I have only seen this in one instance:

Initially, MiniMyth includes your system's PATH when searching for binaries. However, after MiniMyth creates the */images/build/bin-build-system" directory, it assumes that it can safely ignore your system's PATH variable.

This is a hack to minimize the chance of using your system's binaries when it should not. This directory contains links to your system's binaries that are not provided by MiniMytih. Unfortunately, this directory is created before all MiniMyth native binaries are built.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
jape
Member
Posts: 13
Joined: Sat Oct 04, 2008 7:02 pm

Post by jape »

Pablo wrote:Yes, libtool-2.2.6 has been superseded by libtool-2.2.6a. This has been updated in test build 59b3.

As for the tests for binaries on your system failing, I have only seen this in one instance:

Initially, MiniMyth includes your system's PATH when searching for binaries. However, after MiniMyth creates the */images/build/bin-build-system" directory, it assumes that it can safely ignore your system's PATH variable.

This is a hack to minimize the chance of using your system's binaries when it should not. This directory contains links to your system's binaries that are not provided by MiniMytih. Unfortunately, this directory is created before all MiniMyth native binaries are built.

I see. So if I add */images/build/bin-build-system to my PATH I might be able to continue my build after it chokes?
Post Reply