Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Building VICE on Mac OS X
2012-09-18 07:08
MagerValp

Registered: Dec 2001
Posts: 1059
Building VICE on Mac OS X

New thread as to not spam Reverse debugging in emulator?.

Quoting JackAsser
Hmms.. configure && make worked quite nicely for me on Mac OS Mountain Lion.

OK, there's just no way build/macosx/build-allext.sh works on Xcode 4:
run "$SCRIPT_DIR/build-hidutils.sh" "$1" ppc 10.4 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.4 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" ppc 10.5 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.5 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.6 gcc42 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" x86_64 10.6 gcc42 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.6 clang $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" x86_64 10.6 clang $2
Xcode 4.4 doesn't come with the SDKs for 10.4-10.6, and it doesn't have gcc-4.0. gcc-4.2 is there, but not with the name specified in the build script (it's just "gcc" now).

HID Utilities sample code moved a couple of years ago, and is now found at https://developer.apple.com/library/Mac/#samplecode/HID_Utiliti... It unzips into a different name though which causes build-hidutils.sh to fail.

Then for libnet the required tarball isn't hosted at http://ftp.debian.org/debian/pool/main/libn/libnet0/ anymore. There's a libnet without 0 but the tarball isn't there either. There's a tarball at http://packetfactory.openwall.net/projects/libnet/dist/libnet.t... that might be the right thing, but it's hard to tell. Either way the damn thing is from 2004.

In a similar vein lame 3.97 is from 2006, but at least it's easy to find.

Then for ffmpeg we go in the opposite direction and the required dependency is the latest svn checkout.

So this is the point where I gave up, installed a Linux VM, and compiled that source instead. It's still somewhat of a pain, but nothing compared to compiling the Mac version.
2012-09-18 15:31
chatGPZ

Registered: Dec 2001
Posts: 11136
you might want to post that on the tracker, so christian sees (and eventually fixes) it =)
2012-09-18 17:16
Sledge

Registered: Sep 2003
Posts: 102
Quote: New thread as to not spam Reverse debugging in emulator?.

Quoting JackAsser
Hmms.. configure && make worked quite nicely for me on Mac OS Mountain Lion.

OK, there's just no way build/macosx/build-allext.sh works on Xcode 4:
run "$SCRIPT_DIR/build-hidutils.sh" "$1" ppc 10.4 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.4 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" ppc 10.5 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.5 gcc40 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.6 gcc42 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" x86_64 10.6 gcc42 $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" i386 10.6 clang $2
run "$SCRIPT_DIR/build-hidutils.sh" "$1" x86_64 10.6 clang $2
Xcode 4.4 doesn't come with the SDKs for 10.4-10.6, and it doesn't have gcc-4.0. gcc-4.2 is there, but not with the name specified in the build script (it's just "gcc" now).

HID Utilities sample code moved a couple of years ago, and is now found at https://developer.apple.com/library/Mac/#samplecode/HID_Utiliti... It unzips into a different name though which causes build-hidutils.sh to fail.

Then for libnet the required tarball isn't hosted at http://ftp.debian.org/debian/pool/main/libn/libnet0/ anymore. There's a libnet without 0 but the tarball isn't there either. There's a tarball at http://packetfactory.openwall.net/projects/libnet/dist/libnet.t... that might be the right thing, but it's hard to tell. Either way the damn thing is from 2004.

In a similar vein lame 3.97 is from 2006, but at least it's easy to find.

Then for ffmpeg we go in the opposite direction and the required dependency is the latest svn checkout.

So this is the point where I gave up, installed a Linux VM, and compiled that source instead. It's still somewhat of a pain, but nothing compared to compiling the Mac version.


"How hard can it be?" ;)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
nucleus/TempesT
Radd Maxx/SWIM
Smasher/F4CG
A3/AFL
digix
tlr
Didi/Laxity
kbs/Pht/Lxt
jmin
hedning/G★P
machete
Guests online: 160
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.04 sec.