DEPRECATED ... install MegaTunix on OS-X

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

Moderator: djandruczyk

Locked

Did this work and was it easy to follow?

Yes and it was easy
9
56%
Yes, but it was a pain in the butt!
2
13%
No, I failed miserably and donno what to do
5
31%
I had my son/daughter do it for me
0
No votes
 
Total votes: 16

Valentinik
MS/Extra Newbie
Posts: 10
Joined: Thu Dec 31, 2009 9:56 am

Re: The BEST way to install MegaTunix on OS-X

Post by Valentinik »

Hi, im trying to install megatunix on my imac running snow leopard. Im quite new to macs and this is my 1st attempt at using terminal.

Ive followed all of the steps, downloaded the megatunix tar file and put it in the home directory. For some reason when i come to untar the file i get and error:

Last login: Thu Dec 31 16:48:48 on ttys000
Mikes-iMac:~ Valentinik$ tar xvzf megatunix-<TAB>
-bash: syntax error near unexpected token `newline'
Mikes-iMac:~ Valentinik$

However, i can untar the file by double clicking on it in finder windows and then run the next part of the code.

I then go to configure it and get this:

Configuration:

Install Path: /opt/local
General Debugging: no
Profiling: no


when i try and make the file though i get this error:

loader_common.c:87: error: ‘B115200’ undeclared (first use in this function)
loader_common.c:87: error: (Each undeclared identifier is reported only once
loader_common.c:87: error: for each function it appears in.)
loader_common.c: In function ‘detect_firmware’:
loader_common.c:257: warning: passing argument 3 of ‘g_io_channel_read_line’ from incompatible pointer type
make[2]: *** [loader_common.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Is there something ive done incorrectly previously, and is the error coming up because i couldnt untar the file in terminal and did it in finder?

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

Re: The BEST way to install MegaTunix on OS-X

Post by djandruczyk »

Valentinik wrote:Hi, im trying to install megatunix on my imac running snow leopard. Im quite new to macs and this is my 1st attempt at using terminal.

Ive followed all of the steps, downloaded the megatunix tar file and put it in the home directory. For some reason when i come to untar the file i get and error:

Last login: Thu Dec 31 16:48:48 on ttys000
Mikes-iMac:~ Valentinik$ tar xvzf megatunix-<TAB>
-bash: syntax error near unexpected token `newline'
Mikes-iMac:~ Valentinik$

However, i can untar the file by double clicking on it in finder windows and then run the next part of the code.

I then go to configure it and get this:

Configuration:

Install Path: /opt/local
General Debugging: no
Profiling: no


when i try and make the file though i get this error:

loader_common.c:87: error: ‘B115200’ undeclared (first use in this function)
loader_common.c:87: error: (Each undeclared identifier is reported only once
loader_common.c:87: error: for each function it appears in.)
loader_common.c: In function ‘detect_firmware’:
loader_common.c:257: warning: passing argument 3 of ‘g_io_channel_read_line’ from incompatible pointer type
make[2]: *** [loader_common.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Is there something ive done incorrectly previously, and is the error coming up because i couldnt untar the file in terminal and did it in finder?

Thanks
Mike

MegaTunix for OS-X is likely to only compile from CVS, so you'd need to install CVS (via macports/darwinports), checkout a working copy, update to the correct branch and then compile/install.

I don't have access to any OS-X hardware to test megatunix, hence why that platform isn't well supported.
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
Chico335i
MS/Extra Newbie
Posts: 1
Joined: Wed Jan 20, 2010 7:30 am

Re: The BEST way to install MegaTunix on OS-X

Post by Chico335i »

Hi, i'm need heeelllppppp!!! i'm doing all the steps buy the mac put this..

Last login: Wed Jan 20 08:19:20 on ttys000
Chico:~ mauricioalvaradovalverde$ sudo port -d selfupdate
Password:
dlopen(/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper
while executing
"load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib"
("package ifneeded Pextlib 1.0" script)
invoked from within
"package require Pextlib 1.0"
(procedure "dportinit" line 310)
invoked from within
"dportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize ports system, dlopen(/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper
Chico:~ mauricioalvaradovalverde$

what can i do???
Chico.
BMW E30 335i w/ms1
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: The BEST way to install MegaTunix on OS-X

Post by djandruczyk »

Chico335i wrote:Hi, i'm need heeelllppppp!!! i'm doing all the steps buy the mac put this..

Last login: Wed Jan 20 08:19:20 on ttys000
Chico:~ mauricioalvaradovalverde$ sudo port -d selfupdate
Password:
dlopen(/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper
while executing
"load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib"
("package ifneeded Pextlib 1.0" script)
invoked from within
"package require Pextlib 1.0"
(procedure "dportinit" line 310)
invoked from within
"dportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize ports system, dlopen(/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper
Chico:~ mauricioalvaradovalverde$

what can i do???

check the docs for darwinports/macports, that's an issue with those. Odds are you didn't install the pre-requisites it needed to function.
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
Locked