How to Install MegaTunix on Ubuntu Linux (all versions)

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

Moderator: djandruczyk

Did this make any sense to you?

Yes, completely, worked without a problem!
16
80%
No, not at all, what the hell is linux anyways?
1
5%
Kinda, but I got lost partway through, help me!
2
10%
My kid did it and explained it all to me...
0
No votes
I didn't even bother as it looks too hard...
1
5%
 
Total votes: 20

gtpilot
MS/Extra Newbie
Posts: 28
Joined: Thu Jun 14, 2007 2:23 pm
Location: Lakewood, CO

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by gtpilot »

** (gaugedesigner:5818): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing gaugedesigner

** (dasdesigner:9985): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing dashdesigner

Muchas gracias!

Kirk
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

gtpilot wrote:** (gaugedesigner:5818): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing gaugedesigner

** (dasdesigner:9985): WARNING **: Couldn't load builder file: Unhandled tag: 'requires' - when executing dashdesigner

Muchas gracias!

Kirk
Crap, 8.04 old, the GTKbuilder support in that version is troublesome as it was pretty new for that release. This is due to GK+ being too old on that release. There is a way around it but it requires me to do it in code, give me a day or two to try and fix it. As an alternative, a version of ubuntu with GTK+2.16 or NEWER will not have this issue, which would be ubuntu 9.04 or newer. I will fix it to make it work on the older version however, it'll just take me a day or two.
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
gtpilot
MS/Extra Newbie
Posts: 28
Joined: Thu Jun 14, 2007 2:23 pm
Location: Lakewood, CO

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by gtpilot »

Eh...David...don't do it - I will get an upgrade to 10.xx UBUNTU (it works on my other machine 10.xxLTS) and get it running - please, just focus on current stuff, I can make it work with a little bit if time on my side, you have enough stuff to support already!

Kirk
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

gtpilot wrote:Eh...David...don't do it - I will get an upgrade to 10.xx UBUNTU (it works on my other machine 10.xxLTS) and get it running - please, just focus on current stuff, I can make it work with a little bit if time on my side, you have enough stuff to support already!

Kirk
Too late, I already fixed it.. :)

Its in git, modular_0.4 branch, currently only the gaugedesigner, will fix dashdesigner tomorrow morning.
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
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

Kirk, I have them both fixed and committed into git. If possible, please test on 8.04, make sure to use the modular_0.4 branch.

Thanks
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
nicktruman
Helpful MS/Extra'er
Posts: 83
Joined: Mon May 30, 2011 10:54 pm
Location: South Bucks, Iver
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by nicktruman »

Would it be poissible for an update to suit version 11.04 please? I tried running this process and it kept failing.
kind regards
Nick
Twin turbo Audi V8 Zonda inspired thing
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

nicktruman wrote:Would it be poissible for an update to suit version 11.04 please? I tried running this process and it kept failing.

Use the "master" branch and it should build cleanly for 11.04.
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
m3ltd0wn
Helpful MS/Extra'er
Posts: 149
Joined: Sun Oct 03, 2010 2:32 am

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by m3ltd0wn »

don't know what i'm doing wrong ... but under Debian 5 (stable release) i get these errors when i'm trying to "make"

Code: Select all

comms.o: In function `enumerate_dev':
comms.c:(.text+0x343): undefined reference to `gtk_dialog_get_content_area'
dashboard.o: In function `toggle_main_visible':
dashboard.c:(.text+0x1de7): undefined reference to `gtk_widget_set_visible'
dashboard.c:(.text+0x1e94): undefined reference to `gtk_widget_set_visible'
collect2: ld returned 1 exit status
make[3]: *** [megatunix] Error 1
configure doesn't throw any errors. and this is the git version i'm trying to compile.
:RTFM:
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by piledriver »

m3ltd0wn wrote:don't know what i'm doing wrong ... but under Debian 5 (stable release) i get these errors when i'm trying to "make"

Code: Select all

comms.o: In function `enumerate_dev':
comms.c:(.text+0x343): undefined reference to `gtk_dialog_get_content_area'
dashboard.o: In function `toggle_main_visible':
dashboard.c:(.text+0x1de7): undefined reference to `gtk_widget_set_visible'
dashboard.c:(.text+0x1e94): undefined reference to `gtk_widget_set_visible'
collect2: ld returned 1 exit status
make[3]: *** [megatunix] Error 1
configure doesn't throw any errors. and this is the git version i'm trying to compile.
:RTFM:
you are probably missing one of the libgtk* herd of dev packages, or it could be a bug as gtk is getting a bit crufty.

Googling for "undefined reference to `gtk_widget_set_visible' gets 11,300 sumthing hits.

See http://bugs.gentoo.org/show_bug.cgi?id=317839 for some ideas...
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
m3ltd0wn
Helpful MS/Extra'er
Posts: 149
Joined: Sun Oct 03, 2010 2:32 am

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by m3ltd0wn »

yea, seems that gtk version is a little old in debian, i will change the repos to unstable release and update the packages :)

10x for reply
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

m3ltd0wn wrote:yea, seems that gtk version is a little old in debian, i will change the repos to unstable release and update the packages :)

10x for reply
those calls are in gtk+ 2.2.18 and newer, so if you don't have that it may be part of the issue. (current version if 2.2.24)
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
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

I've replaced these calls with a lower denominator that works on older GTK+ releases.
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
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by piledriver »

djandruczyk wrote:I've replaced these calls with a lower denominator that works on older GTK+ releases.
(sigh)

just did another pull to get current, now it suddenly can't find gtk.h
(did a make distclean etc, tried symlinks for both setups but it barfed)

I have a tgz of the tree last time it worked (faster than reverting and works offline)

On Mandriva (and many (most?) other dists) installing multiple versions are handled by installing in /usr/lib/gtk1.2/ /usr/include/gtk1.2 etc...
(1.2 and 2.0.0 dev/lib pkgs installed, it built peachy a few weeks ago , the actual gtk version is 2.2.0)

I'll figure out what the needed ../configure --with option is tonight or tomorrow, gotta work some OT, crashing now.

Thanks!
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

GTK 2.2.0 ? that's ANCIENT, what distro is this exactly? i.e. current GTK+ releases in the latest distro's is 2.24). I think 2.2.0 was released around 2005.

You'll have the BEST luck using a modern distro, like ubuntu.
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
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by piledriver »

Actually 2.20.1 released upsream last October, it's what shipped with the distro I'm running.
The current cooker has 2.24 but it's otherwise as buggy as Ubuntu at this point.

I have Mageia-1 loaded (also GTK+-2.24) but it's more current that 11.4, which causes other issues.

The Debian-stable version is likely 2-3 years old, but with many security//bugfixes backported.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by piledriver »

Instaled mageia 1, used latest everything, ground my way though configure and still get the same error.

It isn't finding gtk, even though it did at the rc1.
(running make distclean $$ ./configure && make && make install simply "got it right" with the rc1... Sumting Wong.)
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by djandruczyk »

piledriver wrote:Instaled mageia 1, used latest everything, ground my way though configure and still get the same error.

It isn't finding gtk, even though it did at the rc1.
(running make distclean $$ ./configure && make && make install simply "got it right" with the rc1... Sumting Wong.)

You need to make sure you have the DEVELOPMENT packages of GTK+ 2.x (and all it's pre-req's, a decent pkg mgmt tool should do this for you), libgtkglext and libglade. Usuaully development pkgs are namesd "-devel" or "-dev"

I'm not familiar with mandriva or mageia, but find and use your package management tools and search for an install those packages that seem to fit that description.
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
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by piledriver »

Thanks for the excellent advice, but...
This is...not my first time at the rodeo... :lol:
It's borken.
The previous pulls build fine on this OS install.
(although I haven't yet tracked down the change that broke it ...yet, mostly not being a git whiz and lack of time)
You have a PM...
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by piledriver »

RESOLVED :yeah!:

No issue with megatunix per se...

A few hours of sleep bring much clarity :lol:

make maintainer-clean doesn't nuke configure, I suppose just rerunning ./autogen.sh would have eliminated the issue.

I was rerunning configure, expecting it to do the right thing.
It apparently can't.

Nuked existing git tree, started over, pulling :
git clone git://github.com/djandruczyk/MegaTunix.git master

In master, ran ./autogen.sh && make , then make install (as root), built/installed/runs without issue.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: How to Install MegaTunix on Ubuntu Linux (all versions)

Post by piledriver »

Do you have an idea of the min versions of all the dev libs needed for build/gcc etc?

Just snagged an N810-WIMAX for cheap, I can run some fairly recent Debian flavors on it in a chroot, but ...

It will probably end up as a digital dash (or just dual CHT ;-) in dash only mode) as the display is very readable.

I'm wondering if a simple ncurses interface for megatunix might prove useful for small screen devices.
(unix-ish flavors anyway, although IIRC there is a ncurses implementation for windows too)
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
Post Reply