threads / discuss / 12878

git under OSX leopard?

Subject: git under OSX leopard?

## tl;dr

3 messages between Mar 26, 2008 and Mar 26, 2008.

replies: 2people: 1as markdown or json

Randal L. Schwartz· Mar 26, 2008, 18:10 UTC · lore

I'm trying to build git on leopard for the first time. Getting this error (after git clean -d -f and no unusual flags):

    LINK git-daemon
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libcurl.dylib load command 8 unknown cmd field
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/libgcc_s.1.dylib load command 8 unknown cmd field
collect2: ld returned 1 exit status
make: *** [git-daemon] Error 1
Same thing builds fine on tiger.
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Randal L. Schwartz· Mar 26, 2008, 19:53 UTC · re: Randal L. Schwartz · lore

Re: git under OSX leopard?

>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

Randal> I'm trying to build git on leopard for the first time. Getting this Randal> error (after git clean -d -f and no unusual flags):

Randal> LINK git-daemon Randal> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libcurl.dylib load command 8 unknown cmd field Randal> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0 Randal> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0 Randal> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: /usr/lib/libgcc_s.1.dylib load command 8 unknown cmd field Randal> collect2: ld returned 1 exit status Randal> make: *** [git-daemon] Error 1

Randal> Same thing builds fine on tiger.

Wow. I upgraded XCode, thinking that was the problem, and now I get even more nowhere:

GIT_VERSION = 1.5.5.rc1.12.g660b9
    * new build flags or prefix
    CC daemon.o
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/as: assembler (/usr/bin/../libexec/gcc/darwin/i386/as or /usr/bin/../local/libexec/gcc/darwin/i386/as) for architecture i386 not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/ppc64/as for architecture ppc64
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
make: *** [daemon.o] Error 1
Help!
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Randal L. Schwartz· Mar 26, 2008, 20:17 UTC · re: Randal L. Schwartz · lore

Re: git under OSX leopard?

>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

Randal> Wow. I upgraded XCode, thinking that was the problem, and now Randal> I get even more nowhere:

Grr. I had to install XCode *twice*. Not sure why. Now everything works as before.

Sorry for the false alarm.
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

← back to recent threads