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


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

Registered: Dec 2001
Posts: 665
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 17:31
Groepaz

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

Registered: Sep 2003
Posts: 91
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
Knut Clausen
cba
Oswald/Resource
Kristian Røstøen
WiDDY
Didi/Laxity
The Human Co../Maste..
MagerValp/G¤P
psycho8580/[O]/Elysi..
Macbeth/PSW
6R6/shape/[n0]
Acidchild/Padua
Guests online: 33
Top Demos
1 Coma Light 13  (9.7)
2 Edge of Disgrace  (9.7)
3 Deus Ex Machina  (9.3)
4 Andropolis  (9.3)
5 +H2K  (9.2)
6 Artphosis  (9.2)
7 Desert Dream  (9.1)
8 2011 - A Press Space..  (9.1)
9 Soiled Legacy  (9.1)
10 Wonderland XI  (9.1)
Top onefile Demos
1 Daah, those acid pil..  (9.6)
2 One-Der  (9.2)
3 Dawnfall  (9.1)
4 Te-Te-Te-TechTech It..  (9.0)
5 Safe VSP  (9.0)
6 Exotic Excitement  (8.9)
7 Ächzzeit  (8.9)
8 Isterreport  (8.9)
9 Pimp My Commodore  (8.9)
10 Cubase64  (8.9)
Top Groups
1 Booze Design  (9.4)
2 Crest  (9.4)
3 Oxyron  (9.4)
4 Maniacs of Noise  (9.2)
5 Eagle Soft Incorpora..  (9.2)
Top Hardware-Gurus
1 Soci  (9.9)
2 Jeri  (9.9)
3 Lemming  (9.8)
4 Zer0-X  (9.8)
5 Wiesel  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2013
Page generated in: 0.327 sec.