MegaTunix on OS-X (revised)

Questions specific to Megatunix - alternate tuning software that runs on unix and windows.
Note that Megatunix is obsolete.

Moderator: djandruczyk

Did this work for you?

Yes
4
67%
No
1
17%
It had a problem somewhere, I posted a question in this thread.
1
17%
 
Total votes : 6

MegaTunix on OS-X (revised)

Postby djandruczyk » Sun Apr 11, 2010 12:32 pm

This is an updated howto for installing MegaTunix (CVS) onto OS-X.

This has been tested with OS-X 10.6 on a borrowed Intel Macbook with a core2 duo (intel) CPU.

First off.
Install OS-X (if you are starting with a bare machine)
install Xcode and X11 (they are on your install DVD)
Go to http://www.macports.org and download the appropriate release (DMG recommended) and install it (1.8.2 was current when i wrote this document)

Once macports is installed, open a terminal, and run the following commands:

Code: Select all
sudo port -v selfupdate
sudo port -v install gtkglext libglade2


The above commands will take a LONG time (several hours), best to start this and go do something, like read up on the msextra manuals, tidy up your MS install, look at that honey-do list, or whatever....

Once the above steps complete SUCCESSFULLY, megatunix should be buildable. As of this writing, 4/11/2010, to compile megatunix requires a CVS checkout, 0.9.20 and later should hopefully be compilable from the tarball.

Goto http://msextra.com/forums/viewtopic.php?f=106&t=23548 and scroll down to "Downloading and compiling MegaTunix from CVS" and continue from that point.
Last edited by djandruczyk on Sun Apr 11, 2010 12:34 pm, edited 1 time in total.
Reason: making sticky...
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby woza » Tue Apr 20, 2010 1:08 pm

As above it gives the following error...
Code: Select all
Making all in ecu_snapshots
make[2]: Nothing to be done for `all'.
Making all in Interrogator
Making all in Profiles
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in LookupTables
make[2]: Nothing to be done for `all'.
Making all in RealtimeMaps
make[2]: *** No rule to make target `BnG-Std.rtv_map', needed by `all-am'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
woza
Helpful MS/Extra'er
 
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: MegaTunix on OS-X (revised)

Postby djandruczyk » Tue Apr 20, 2010 4:05 pm

woza wrote:As above it gives the following error...
Code: Select all
Making all in ecu_snapshots
make[2]: Nothing to be done for `all'.
Making all in Interrogator
Making all in Profiles
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in LookupTables
make[2]: Nothing to be done for `all'.
Making all in RealtimeMaps
make[2]: *** No rule to make target `BnG-Std.rtv_map', needed by `all-am'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


that makes no sense as the file is in CVS, and it works here on my mac.
run "ls RealtimeMaps" from the Megatunix dir and post the contents here..
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby woza » Wed Apr 21, 2010 1:24 am

Thanks for your help so far.
Code: Select all
ls RealtimeMaps

Code: Select all
CVS            MSnS-Extra-HR-029x.rtv_map
MS2-Extra-2.0.x.rtv_map      Makefile
MS2-Extra-2.1.0.rtv_map      Makefile.am
MS2-Std.rtv_map         Makefile.in
MSnS-Extra-029x.rtv_map      README


So looks like the file is missing here... I have tried running the update command again and now the file is showing... Weird. Am trying to build again now.
woza
Helpful MS/Extra'er
 
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: MegaTunix on OS-X (revised)

Postby woza » Wed Apr 21, 2010 1:29 am

And it has compiled and installed just fine now. Don't know what was going on there. Thanks for the pointer.

So confirmed working on a 1.67GHz G4 PPC running 10.5.8
Thanks
A
woza
Helpful MS/Extra'er
 
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: MegaTunix on OS-X (revised)

Postby djandruczyk » Wed Apr 21, 2010 10:57 am

woza wrote:And it has compiled and installed just fine now. Don't know what was going on there. Thanks for the pointer.

So confirmed working on a 1.67GHz G4 PPC running 10.5.8
Thanks
A


Excellent!
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby krestudon » Wed Jun 02, 2010 6:30 pm

I have some problems as it gives me this compiling error:

Code: Select all
ld: unknown option: --export-dynamic
collect2: ld returned 1 exit status
make[2]: *** [mtxloader] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I have commented the "--export-dynamic" from the configure file and it worked.

Running in a MacBook Pro 2.53 GHz Core2duo with Macosx 10.6.3

I also got a segmentation fault if i try to activate "3D view" in any table, but i'm testing offline, maybe its related.
krestudon
MS/Extra Newbie
 
Posts: 15
Joined: Tue Apr 18, 2006 3:02 pm
Location: Madrid

Re: MegaTunix on OS-X (revised)

Postby djandruczyk » Thu Jun 03, 2010 10:28 am

krestudon wrote:I have some problems as it gives me this compiling error:

Code: Select all
ld: unknown option: --export-dynamic
collect2: ld returned 1 exit status
make[2]: *** [mtxloader] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I have commented the "--export-dynamic" from the configure file and it worked.

Running in a MacBook Pro 2.53 GHz Core2duo with Macosx 10.6.3

I also got a segmentation fault if i try to activate "3D view" in any table, but i'm testing offline, maybe its related.


What version? Is this from git or a tarball?
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby djandruczyk » Sun Jun 20, 2010 2:49 pm

0.9.21 released today. Compiled clean on my OS-X machine.

Give it a shot, available from sourceforge. see my signature below.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby woza » Mon Jun 21, 2010 2:35 am

tarball compiled & installed just fine on 10.5.8 ppc using old instructions
Code: Select all
./configure --prefix=/opt/local
make
sudo make install


Thanks...
woza
Helpful MS/Extra'er
 
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

MegaTunix on OS-X

Postby 24c » Sun Aug 22, 2010 7:29 am

I thought I'd give MegaTunix a whirl again, after many years ago trying to do something with a cased MicroSquirt, and a G4 PowerBook.

I am currently running OSX10.6.4 2.4Ghz Santa Rosa MacBook Pro (LED screen & a separate battery model), which is also dual boot using Windows XP SP3 for the dyno stuff.

Not being a command line person, I found the whole process using Terminal and the lack of a progress bar whilst everything was installing a little daunting.

Installed Xcode
Installed X11
Installed MacPorts (3 minutes)
Installed the Unix stuff (1.5 hours)
Installed MegaTunix (3-4 minutes) from 0.9.21 tar

and then I got stuck, but eventually after trolling a few posts, I realised I had to start up in X11. :oops:

Anyway X11 is displaying the MegaTunix splash screens etc, although I haven't hooked up the MicroSquirts yet via the USB Serial adaptors yet. Unfortunately prepping one of my bikes for a run out next few days, and need all the time on this at the workshop right now, but looking for Loctite and a cuppa brought me back to the desktop. :)

Looking good so far.

PS As I have been and still use TunerStudio in OSX, it'll be interesting to see the differences.
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
24c
Master MS/Extra'er
 
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK

Re: MegaTunix on OS-X (revised)

Postby bobbarker » Sun Aug 22, 2010 10:47 am

I've been trying to compile from tarball and keep ending with this;
Code: Select all
Making all in category
make[2]: Nothing to be done for `all'.
Making all in icons
make[2]: Nothing to be done for `all'.
Making all in desktop
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.

Attached is the complete text from term. Any help would be appreciated I'm completely lost.
bobbarker
MS/Extra Newbie
 
Posts: 8
Joined: Sun Jun 13, 2010 8:07 pm

Re: MegaTunix on OS-X (revised)

Postby djandruczyk » Sun Aug 22, 2010 2:55 pm

bobbarker wrote:I've been trying to compile from tarball and keep ending with this;
Code: Select all
Making all in category
make[2]: Nothing to be done for `all'.
Making all in icons
make[2]: Nothing to be done for `all'.
Making all in desktop
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.

Attached is the complete text from term. Any help would be appreciated I'm completely lost.



Did you run "sudo make install"

If so, just run "megatunix" in the terminal and it should run. (make sure X11 is running).
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby bobbarker » Wed Aug 25, 2010 6:03 pm

After erasing everything and restarting, it works!!! Thanks for the help, and awesome software.
bobbarker
MS/Extra Newbie
 
Posts: 8
Joined: Sun Jun 13, 2010 8:07 pm

Re: MegaTunix on OS-X (revised)

Postby Baz » Sat Nov 27, 2010 1:40 am

I've tried to build on my core2duo mac with fink as per your latest instructions but I've struck a strange issue. In the "about this mac" the "64 bit kernel and extensions" under software says NO, and when installing fink I chose 32 bit, however when mtx builds, and tries to link, it fails with errors about linking 64 bit mtx code with 32 bit libs. Errors pasted below:

It starts with :

Code: Select all
/bin/sh ../libtool --tag=CC   --mode=link gcc  -Wall -Wno-unused -pedantic -O2   -o gaugedemo gauge-demo.o -L/sw/lib -L/usr/X11/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -L/sw/lib -lxml2  ./libmtxgauge.la ../mtxcommon/libmtxcommon.la  -lm
libtool: link: gcc -Wall -Wno-unused -pedantic -O2 -o gaugedemo gauge-demo.o  -L/sw/lib -L/usr/X11/lib ./.libs/libmtxgauge.a /sw/lib/libxml2.dylib ../mtxcommon/.libs/libmtxcommon.a /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib /sw/lib/libgio-2.0.dylib /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib /sw/lib/libgdk_pixbuf-2.0.dylib /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib /sw/lib/pango-ft219/lib/libpango-1.0.dylib /sw/lib/freetype219/lib/libfreetype.dylib -lfontconfig /sw/lib/libgobject-2.0.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/libgthread-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib -lm
ld: warning: in /sw/lib/libxml2.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libgtk-x11-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libgdk-x11-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libatk-1.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libgio-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libgdk_pixbuf-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libcairo.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/pango-ft219/lib/libpango-1.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/freetype219/lib/libfreetype.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libgobject-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libgmodule-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libgthread-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libglib-2.0.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libintl.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols:
  "_cairo_set_font_size", referenced from:
      _generate_gauge_background in libmtxgauge.a(gauge-private.o)
      _generate_gauge_background in libmtxgauge.a(gauge-private.o)
      _update_gauge_position in libmtxgauge.a(gauge-private.o)
  "_cairo_scale", referenced from:
      _generate_gauge_background in libmtxgauge.a(gauge-private.o)



And ends with :

Code: Select all
      _mtx_gauge_face_init_name_bindings in libmtxgauge.a(gauge-private.o)
      _mtx_gauge_face_init_name_bindings in libmtxgauge.a(gauge-private.o)
      _mtx_gauge_face_init_name_bindings in libmtxgauge.a(gauge-private.o)
      _mtx_gauge_face_init_name_bindings in libmtxgauge.a(gauge-private.o)
      _mtx_gauge_face_init in libmtxgauge.a(gauge-private.o)
      _mtx_gauge_face_init in libmtxgauge.a(gauge-private.o)
  "_g_type_register_static", referenced from:
      _mtx_gauge_face_get_type in libmtxgauge.a(gauge-private.o)
  "_gdk_colormap_alloc_color", referenced from:
      _mtx_gauge_face_configure in libmtxgauge.a(gauge-private.o)
      _mtx_gauge_face_configure in libmtxgauge.a(gauge-private.o)
  "_gtk_main_quit", referenced from:
      _close_demo in gauge-demo.o
      _mtx_gauge_face_key_event in libmtxgauge.a(gauge-private.o)
      _mtx_gauge_face_button_press in libmtxgauge.a(gauge-private.o)
  "_cairo_close_path", referenced from:
      _generate_gauge_background in libmtxgauge.a(gauge-private.o)
      _generate_gauge_background in libmtxgauge.a(gauge-private.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [gaugedemo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



With a lot of the same in the middle. Any pointers on how to force mtx to build in 32 bit mode despite detecting a 64 bit cpu? (even though the os is 32 bit.)

Baz.
Baz
MS/Extra Newbie
 
Posts: 15
Joined: Mon May 12, 2008 2:14 am

Re: MegaTunix on OS-X (revised)

Postby djandruczyk » Sat Nov 27, 2010 7:50 am

What version of OS-X is this? My core2duo 13" macbook "just works",though I use macports,though fink should work, and AFAIK 10.6 is 64bit.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby Baz » Sat Nov 27, 2010 1:34 pm

It is 10.6.5 but the "about this mac" box says not 64bit.

http://oi54.tinypic.com/oh7jm9.jpg
http://i54.tinypic.com/2gsr78g.jpg

Baz.
Baz
MS/Extra Newbie
 
Posts: 15
Joined: Mon May 12, 2008 2:14 am

Re: MegaTunix on OS-X (revised)

Postby djandruczyk » Sat Nov 27, 2010 1:46 pm

Baz wrote:It is 10.6.5 but the "about this mac" box says not 64bit.

http://oi54.tinypic.com/oh7jm9.jpg
http://i54.tinypic.com/2gsr78g.jpg

Baz.


AFAIK ALL macs with 10.6 have a 64 bit OS. not all the user apps from apple are 64 bit (yet), but if you scroll down to Software->Applications in the macbook system profiler it'll show that most stuff on the box is 64 bit.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: MegaTunix on OS-X (revised)

Postby 24c » Sat Nov 27, 2010 1:58 pm

AFAIK it's 64bit aware, and it usually starts in 32bit mode, unless you tell it otherwise.
@baz, is this a 2009 MacBook? I have got MegaTunix working on an earlier Santa Rosa, and a 64bit iMac 27", but I didn't use fink.

I did a quick google for 64 bit fink OSX and I found this link, do not know if it's any help as it's a 2009 post.
http://forums.macrumors.com/showthread.php?t=720035
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
24c
Master MS/Extra'er
 
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK

Re: MegaTunix on OS-X (revised)

Postby Baz » Sat Nov 27, 2010 2:29 pm

OK, you're right! :-( I've moved /sw to /sw32 and started again. Thanks for your good advice!

24c wrote:AFAIK it's 64bit aware, and it usually starts in 32bit mode, unless you tell it otherwise.

Ahhh, that would explain a few things! Thanks.
Baz
MS/Extra Newbie
 
Posts: 15
Joined: Mon May 12, 2008 2:14 am

Next

Return to Megatunix (obsolete)

Who is online

Users browsing this forum: No registered users and 1 guest