View previous topic :: View next topic |
Author |
Message |
Mustang-Speed n00b
Joined: 26 Jan 2005 Posts: 31
|
Posted: Sun Jul 29, 2012 8:33 pm Post subject: Error compiling sys-devel/binutils-apple 4.2 |
|
|
Hi,
Error compiling sys-devel/binutils-apple 4.2
seems to stem from the missing command "md" (I assume is associated with gcc -MD)
"md -d -u ./Makedep ./allocate.d
/Users/Akytarus/Gentoo/bin/bash: md: command not found"
Why am i missing the md command..?
How do i get it back...?
Code: | ake[2]: Entering directory `/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/work/cctools-809/libstuff/dynamic_obj'
gcc -march=nocona -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -march=nocona -c \
-MD -dependency-file ./allocate.d \
-o ./allocate.o ../allocate.c
md -d -u ./Makedep ./allocate.d
/Users/Akytarus/Gentoo/bin/bash: md: command not found
make[2]: *** [allocate.o] Error 127
make[2]: Leaving directory `/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/work/cctools-809/libstuff/dynamic_obj'
make[1]: *** [dynamic] Error 2
make[1]: Leaving directory `/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/work/cctools-809/libstuff'
make: *** [all] Error 1
emake failed
* ERROR: sys-devel/binutils-apple-4.2 failed (compile phase):
* emake failed for the cctools
*
* Call stack:
* ebuild.sh, line 85: Called call-ebuildshell 'src_compile'
* environment, line 472: Called src_compile
* environment, line 2462: Called compile_cctools
* environment, line 518: Called die
* The specific snippet of code:
* emake LIB_PRUNETRIE="-L../../${LD64}/src -lprunetrie" EFITOOLS= LTO= COMMON_SUBDIRS='libstuff ar misc otool' SUBDIRS_32= RC_CFLAGS="${CFLAGS}" OFLAG="${CFLAGS}" || die "emake failed for the cctools";
*
* If you need support, post the output of 'emerge --info =sys-devel/binutils-apple-4.2',
* the complete build log and the output of 'emerge -pqv =sys-devel/binutils-apple-4.2'.
* The complete build log is located at '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/temp/build.log'.
* The ebuild environment file is located at '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/temp/environment'.
* Working directory: '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/work/cctools-809'
* S: '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/work'
>>> Failed to emerge sys-devel/binutils-apple-4.2, Log file:
>>> '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/temp/build.log'
* Messages for package sys-devel/binutils-apple-4.2:
* ERROR: sys-devel/binutils-apple-4.2 failed (compile phase):
* emake failed for the cctools
*
* Call stack:
* ebuild.sh, line 85: Called call-ebuildshell 'src_compile'
* environment, line 472: Called src_compile
* environment, line 2462: Called compile_cctools
* environment, line 518: Called die
* The specific snippet of code:
* emake LIB_PRUNETRIE="-L../../${LD64}/src -lprunetrie" EFITOOLS= LTO= COMMON_SUBDIRS='libstuff ar misc otool' SUBDIRS_32= RC_CFLAGS="${CFLAGS}" OFLAG="${CFLAGS}" || die "emake failed for the cctools";
*
* If you need support, post the output of 'emerge --info =sys-devel/binutils-apple-4.2',
* the complete build log and the output of 'emerge -pqv =sys-devel/binutils-apple-4.2'.
* The complete build log is located at '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/temp/build.log'.
* The ebuild environment file is located at '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/temp/environment'.
* Working directory: '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/work/cctools-809'
* S: '/Users/Akytarus/Gentoo/var/tmp/portage/sys-devel/binutils-apple-4.2/work' |
Last edited by Mustang-Speed on Mon Jul 30, 2012 12:21 am; edited 1 time in total |
|
Back to top |
|
|
Tatsh Apprentice
Joined: 22 Jul 2007 Posts: 187
|
|
Back to top |
|
|
Mustang-Speed n00b
Joined: 26 Jan 2005 Posts: 31
|
Posted: Sun Jul 29, 2012 11:54 pm Post subject: |
|
|
OK,
Some information:
I'm trying to install a Gentoo Prefix under OSX 10.8 - Mountain Lion
I've Installed Xcode 4.4 as well as the Command Line Tools
I've followed the guide right up to compiling "sys-devel/binutils-apple" & "sys-devel/gcc-apple"
Since the "md" binary and other advanced tools are missing in OSX 10.8 it seems imposible to finish my Gentoo Prefix...!
Note:
Seems that I cant build md from apple sources on its own.
Could someone attach the 10.7.4 binaries for me or a workaround...?
Thanks |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Tue Jul 31, 2012 12:06 am Post subject: |
|
|
Moved from Installing Gentoo to Gentoo on Alternative Architectures. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Tue Aug 14, 2012 4:57 am Post subject: |
|
|
It should be relatively easy:
Download and make md from Apple: http://opensource.apple.com/source/adv_cmds/adv_cmds-147/md/
Get those three files in a directory, do a make && make install, then copy /tmp/md/Release/usr/bin/md to $EPREFIX/usr/bin/md .
I'm stuck a little later in the install. Ugh, Mountain Lion. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
jcdx n00b
Joined: 16 Dec 2013 Posts: 25
|
|
Back to top |
|
|
|