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

Re: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby djandruczyk » Thu Sep 18, 2008 7:25 pm

Karl_Skewes wrote:sweet, that did it (cstdlib), should have thought of that one myself. :roll:



glad to hear that fixes it, committed into cvs
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: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby muckblit » Fri Sep 26, 2008 5:16 am

I see a little sed error, and end up with ld thinking an option (-lGL) is a lib name.

Sept 26, 2008 linux ubuntu hardy
libs all installed and updated
/config.h.in/1.21/Fri Sep 26 12:01:27 2008//

______

config.status: executing depfiles commands
sed: -e expression #1, char 24: unknown option to `s'
______

g++ -g -O2 -o megatunix 2d_table_editor.o 3d_vetable.o about_gui.o apicheck.o args.o comms.o comms_gui.o combo_loader.o conversions.o core_gui.o dashboard.o dataio.o datamgmt.o datalogging_gui.o debugging.o dep_loader.o dep_processor.o dispatcher.o fileio.o firmware.o gui_handlers.o helpers.o init.o interrogate.o keybinder.o keyparser.o listmgmt.o locking.o logviewer_core.o logviewer_events.o logviewer_gui.o lookuptables.o main.o menu_handlers.o memory_gui.o multi_expr_loader.o mode_select.o notifications.o offline.o post_process.o raweditor.o req_fuel.o rtv_map_loader.o rtv_processor.o runtime_gui.o runtime_sliders.o runtime_status.o runtime_text.o serialio.o stringmatch.o tabloader.o tag_loader.o threads.o thermistor.o timeout_handlers.o t-logger.o tuning_gui.o user_outputs.o vetable_gui.o vex_support.o visibility.o warmwizard_gui.o widgetmgmt.o winserialio.o xmlcomm.o -pthread -Wl,--export-dynamic /usr/lib/libgtkglext-x11-1.0.so /usr/lib/libgdkglext-x11-1.0.so -lGLU -lGL -lXmu -lXt -lSM -lICE /usr/lib/libpangox-1.0.so /usr/lib/libglade-2.0.so ../mtxmatheval/.libs/libmtxmatheval.a -lfl ../mtxcommon/.libs/libmtxcommon.a ../widgets/.libs/libmtxgauge.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so -lz -lfontconfig -lpng12 -lXrender -lX11 -lpixman-1 /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so /usr/lib/libxml2.so
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [megatunix] Error 1
make[2]: Leaving directory `/home/bob/src/MegaTunix/src'
muckblit
MS/Extra Newbie
 
Posts: 4
Joined: Fri Sep 26, 2008 4:54 am

Re: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby djandruczyk » Fri Sep 26, 2008 5:41 am

muckblit wrote:I see a little sed error, and end up with ld thinking an option (-lGL) is a lib name.

Sept 26, 2008 linux ubuntu hardy
libs all installed and updated
/config.h.in/1.21/Fri Sep 26 12:01:27 2008//

______

config.status: executing depfiles commands
sed: -e expression #1, char 24: unknown option to `s'
______

g++ -g -O2 -o megatunix 2d_table_editor.o 3d_vetable.o about_gui.o apicheck.o args.o comms.o comms_gui.o combo_loader.o conversions.o core_gui.o dashboard.o dataio.o datamgmt.o datalogging_gui.o debugging.o dep_loader.o dep_processor.o dispatcher.o fileio.o firmware.o gui_handlers.o helpers.o init.o interrogate.o keybinder.o keyparser.o listmgmt.o locking.o logviewer_core.o logviewer_events.o logviewer_gui.o lookuptables.o main.o menu_handlers.o memory_gui.o multi_expr_loader.o mode_select.o notifications.o offline.o post_process.o raweditor.o req_fuel.o rtv_map_loader.o rtv_processor.o runtime_gui.o runtime_sliders.o runtime_status.o runtime_text.o serialio.o stringmatch.o tabloader.o tag_loader.o threads.o thermistor.o timeout_handlers.o t-logger.o tuning_gui.o user_outputs.o vetable_gui.o vex_support.o visibility.o warmwizard_gui.o widgetmgmt.o winserialio.o xmlcomm.o -pthread -Wl,--export-dynamic /usr/lib/libgtkglext-x11-1.0.so /usr/lib/libgdkglext-x11-1.0.so -lGLU -lGL -lXmu -lXt -lSM -lICE /usr/lib/libpangox-1.0.so /usr/lib/libglade-2.0.so ../mtxmatheval/.libs/libmtxmatheval.a -lfl ../mtxcommon/.libs/libmtxcommon.a ../widgets/.libs/libmtxgauge.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so -lz -lfontconfig -lpng12 -lXrender -lX11 -lpixman-1 /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so /usr/lib/libxml2.so
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [megatunix] Error 1
make[2]: Leaving directory `/home/bob/src/MegaTunix/src'



Hmm interesting. you system didn't have the GL libs on it. use "sudo apt-get install libgl1-mesa-dev" and then retry the ./configure; make ; sudo make install for megatunix.
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: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby muckblit » Sat Sep 27, 2008 12:40 pm

apt-get said that I already have the newest of that mesa lib.

Could it be that the sed regex error causes the config to lose the lib? If you tell me what file to look in, I could have it echo everything that goes into that regex. If you don't I could grep some files.
muckblit
MS/Extra Newbie
 
Posts: 4
Joined: Fri Sep 26, 2008 4:54 am

Re: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby muckblit » Sat Sep 27, 2008 12:46 pm

This is in config.status and it has an s/. Most likely $mf is empty to cause that s/ error but that can't be because "for mf" would not pass an empty $mf.

case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
muckblit
MS/Extra Newbie
 
Posts: 4
Joined: Fri Sep 26, 2008 4:54 am

Re: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby djandruczyk » Sun Sep 28, 2008 4:57 am

muckblit wrote:This is in config.status and it has an s/. Most likely $mf is empty to cause that s/ error but that can't be because "for mf" would not pass an empty $mf.

case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`



That sed error doesn't appear to be it. (I'ts been in mtx for years and no one else has had issues).

The error is a link failure, which means libGL.so is missing or broken.
do this:

dpkg-query -S /usr/lib/libGL.so.1
dpkg-query -S /usr/lib/libGL.so

Do you run any proprietary graphics drivers? (i.e. do you have an nvidia or ATI video card and use their drivers?)
I have an nvidia on my main system, but my other test system doesn't and mtx compiles fine on both.
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: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby muckblit » Mon Sep 29, 2008 9:15 pm

Nvidia!

sudo dpkg-query -S /usr/lib/libGL.so
diversion by nvidia-glx-dev from: /usr/lib/libGL.so
diversion by nvidia-glx-dev to: /usr/lib/nvidia/libGL.so.xlibmesa
libgl1-mesa-dev: /usr/lib/libGL.so

I went to a non-nvidia box and megatunix compiled on the first try. Thanks for everything!

-Bob
muckblit
MS/Extra Newbie
 
Posts: 4
Joined: Fri Sep 26, 2008 4:54 am

Re: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby djandruczyk » Tue Sep 30, 2008 3:56 pm

muckblit wrote:Nvidia!

sudo dpkg-query -S /usr/lib/libGL.so
diversion by nvidia-glx-dev from: /usr/lib/libGL.so
diversion by nvidia-glx-dev to: /usr/lib/nvidia/libGL.so.xlibmesa
libgl1-mesa-dev: /usr/lib/libGL.so

I went to a non-nvidia box and megatunix compiled on the first try. Thanks for everything!

-Bob


hmm strange I get slightly different results:

For my primary development box with a new nvidia card (ubuntu 8.04)
Code: Select all
dave@shrapnel:~$ dpkg-query  -S /usr/lib/libGL.so.1
diversion by nvidia-glx-new from: /usr/lib/libGL.so.1
diversion by nvidia-glx-new to: /usr/lib/nvidia/libGL.so.1.xlibmesa
libgl1-mesa-glx, nvidia-glx-new: /usr/lib/libGL.so.1

dave@shrapnel:~$ dpkg-query  -S /usr/lib/libGL.so
libgl1-mesa-dev: /usr/lib/libGL.so
dave@shrapnel:~$


For my backup box (laptop, ubuntu 8.04, intel graphics)
Code: Select all
dave@dave-laptop:~$ dpkg-query -S /usr/lib/libGL.so
libgl1-mesa-dev: /usr/lib/libGL.so
dave@dave-laptop:~$ dpkg-query -S /usr/lib/libGL.so.1
libgl1-mesa-glx: /usr/lib/libGL.so.1


I'm not too familiar with dpkg diversions, your best bet might be to consult google...
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: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby AAFA » Sat Oct 18, 2008 12:46 pm

Dave
Steps for Ubuntu was easier than Windoze!

Dave it worked just like every step said it would.
If your like most Crew Chiefs remember the drivers are like spark plugs burn one up just screw in another! ( I think Austin Coil said that once!! :)

71 Road Runner 383 4sp megasquirted!!! Now can I get it run run on Nitro :)
User avatar
AAFA
Helpful MS/Extra'er
 
Posts: 101
Joined: Mon Jan 03, 2005 9:00 pm
Location: Phoenix AZ

Re: How to Install MegaTunix on Ubuntu Linux (7.x/8.x)

Postby FSG_PB_Patrick » Tue Jan 06, 2009 5:01 am

Hardy 8.04, worked on first try with that debian package file. THX
Patrick
--------------------
Formula Student Cars MS1/MS2:
Suzuki SV650S, Suzuki GSR600K3,
http://msruns.com/viewtopic.php?f=93&t=22782
--------------------
Projects:
Nissan Primera P11 with SR20DE (SR20VE 20V) MS2
FSG_PB_Patrick
Master MS/Extra'er
 
Posts: 601
Joined: Fri Apr 13, 2007 10:50 am
Location: Paderborn, Germany

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

Postby partsguy22 » Wed Nov 11, 2009 10:47 pm

will I installed 'tunix on my old computer just fine (ubuntu 9.04) however I keep getting the following when i try on the laptop (ubuntu 9.10 64bit)


aaron@aaron-laptop:~$ sudo apt-get install libgtkglext1-dev g++ gcc flex bison glade-gnome-2 libglade2-dev make cvs gdb automake1.9
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
g++ set to manually installed.
gcc is already the newest version.
libglade2-dev is already the newest version.
libglade2-dev set to manually installed.
make is already the newest version.
cvs is already the newest version.
gdb is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
glade-gnome-2: Depends: glade-gnome (>= 2) but it is not going to be installed
E: Broken packages



I went into synaptics and installed glade-gnome but still get this error any ideas?
94 Eagle Talon 4g37T work in progress
partsguy22
MS/Extra Newbie
 
Posts: 2
Joined: Wed Nov 11, 2009 10:38 pm

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

Postby djandruczyk » Fri Nov 13, 2009 7:05 am

partsguy22 wrote:will I installed 'tunix on my old computer just fine (ubuntu 9.04) however I keep getting the following when i try on the laptop (ubuntu 9.10 64bit)


aaron@aaron-laptop:~$ sudo apt-get install libgtkglext1-dev g++ gcc flex bison glade-gnome-2 libglade2-dev make cvs gdb automake1.9
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version.
g++ set to manually installed.
gcc is already the newest version.
libglade2-dev is already the newest version.
libglade2-dev set to manually installed.
make is already the newest version.
cvs is already the newest version.
gdb is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
glade-gnome-2: Depends: glade-gnome (>= 2) but it is not going to be installed
E: Broken packages



I went into synaptics and installed glade-gnome but still get this error any ideas?



try removing "glade-gnome-2" from the list and see if it completes and builds.
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: How to Install MegaTunix on Ubuntu Linux (all versions)

Postby partsguy22 » Fri Nov 13, 2009 9:00 pm

Thanks that did it ..I thought it would be something simple

and to get started tuning :yeah!:
94 Eagle Talon 4g37T work in progress
partsguy22
MS/Extra Newbie
 
Posts: 2
Joined: Wed Nov 11, 2009 10:38 pm

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

Postby Locke » Sun Nov 29, 2009 7:11 pm

I compiled and packaged MegaTunix 0.9.19-beta1 for i386 as a self-installing deb if anyone wants to use it.
http://dl.dropbox.com/u/1108539/debs/megatunix_0.9.19-beta1-1_i386.deb
Locke
MS/Extra Newbie
 
Posts: 1
Joined: Sun Sep 07, 2008 6:47 pm

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

Postby pstrbrc » Thu Apr 29, 2010 12:00 pm

OK, that is MAXIMUM cool. I've been away from MegaSquirt since I've converted 100% to Ubuntu (Actually Xubuntu 9.04) since the project bike is so buried in the garage and the project car was scrapped (nothing to do with the motor, just no time to finish an overwhelming chassis build) so now I get to pull the MS boxes back out and start again. I was kind of hesitant because of my change in os, but MegaTunix is sweet! Thanks.
User avatar
pstrbrc
Helpful MS/Extra'er
 
Posts: 53
Joined: Wed Sep 29, 2004 7:15 am
Location: Healy, Kansas

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

Postby djandruczyk » Thu Apr 29, 2010 6:24 pm

pstrbrc wrote:OK, that is MAXIMUM cool. I've been away from MegaSquirt since I've converted 100% to Ubuntu (Actually Xubuntu 9.04) since the project bike is so buried in the garage and the project car was scrapped (nothing to do with the motor, just no time to finish an overwhelming chassis build) so now I get to pull the MS boxes back out and start again. I was kind of hesitant because of my change in os, but MegaTunix is sweet! Thanks.



debs are available on the sourceforge site:
[url]http://sourceforge.net/projects/megatunix/files
[/url]
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: How to Install MegaTunix on Ubuntu Linux (all versions)

Postby pstrbrc » Thu Apr 29, 2010 7:48 pm

djandruczyk wrote:
pstrbrc wrote:OK, that is MAXIMUM cool. I've been away from MegaSquirt since I've converted 100% to Ubuntu (Actually Xubuntu 9.04) since the project bike is so buried in the garage and the project car was scrapped (nothing to do with the motor, just no time to finish an overwhelming chassis build) so now I get to pull the MS boxes back out and start again. I was kind of hesitant because of my change in os, but MegaTunix is sweet! Thanks.



debs are available on the sourceforge site:
[url]http://sourceforge.net/projects/megatunix/files
[/url]


The deb available provoked an "unsatisfied dependency" message. using the tarball was a piece of cake, and it runs right, my old v 2.2 ms1 communicates well though my usb/serial cable, so it's all good.
User avatar
pstrbrc
Helpful MS/Extra'er
 
Posts: 53
Joined: Wed Sep 29, 2004 7:15 am
Location: Healy, Kansas

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

Postby djandruczyk » Fri Apr 30, 2010 4:50 am

pstrbrc wrote:
The deb available provoked an "unsatisfied dependency" message. using the tarball was a piece of cake, and it runs right, my old v 2.2 ms1 communicates well though my usb/serial cable, so it's all good.


The deb on sourceforge, or the one provided by the other user? Which OS version are you 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: How to Install MegaTunix on Ubuntu Linux (all versions)

Postby pstrbrc » Fri Apr 30, 2010 6:18 am

djandruczyk wrote:
pstrbrc wrote:
The deb available provoked an "unsatisfied dependency" message. using the tarball was a piece of cake, and it runs right, my old v 2.2 ms1 communicates well though my usb/serial cable, so it's all good.


The deb on sourceforge, or the one provided by the other user? Which OS version are you running?


Oh, you're right. The one provided by the other user. So I don't know how your deb would work. Xubuntu 9.04. Your build instructions were certainly clear enough to use the source file, though.
User avatar
pstrbrc
Helpful MS/Extra'er
 
Posts: 53
Joined: Wed Sep 29, 2004 7:15 am
Location: Healy, Kansas

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

Postby djandruczyk » Fri Apr 30, 2010 5:53 pm

pstrbrc wrote:
djandruczyk wrote:
pstrbrc wrote:
The deb available provoked an "unsatisfied dependency" message. using the tarball was a piece of cake, and it runs right, my old v 2.2 ms1 communicates well though my usb/serial cable, so it's all good.


The deb on sourceforge, or the one provided by the other user? Which OS version are you running?


Oh, you're right. The one provided by the other user. So I don't know how your deb would work. Xubuntu 9.04. Your build instructions were certainly clear enough to use the source file, though.


The one he made was probably against a newer release. the one i made on sourceforge is from 8.04 and i tested it on 8.04, 9.04 and 9.10
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.

PreviousNext

Return to Megatunix (obsolete)

Who is online

Users browsing this forum: No registered users and 2 guests