| View previous topic :: View next topic |
| Author |
Message |
tihab
Joined: 06 Oct 2007 Posts: 5
|
Posted: Sat Oct 06, 2007 2:31 pm Post subject: Dynamips/Dynagen on Leopard |
|
|
Gurus,
Was anybody able to get dynamips/dynagen work on Leopard beta seeds?
the current binaries will not execute.
Could someone complile a new package or at least point me to the source code and some hints on how to re-compile?
Many Thanks.
Tamer Ramzy
|
|
| Back to top |
|
 |
tihab
Joined: 06 Oct 2007 Posts: 5
|
Posted: Sat Oct 06, 2007 4:04 pm Post subject: |
|
|
I was able to compile a new 0.2.8-RC1 dynamips binary which worked in my Leopard 9a527 build.
I used David Sudjiman's instructions while replacing 0.2.7 by 0.2.8-RC1
http://www.davidsudjiman.info/?p=167
Thanks David anf Greg for the useful tips.
I am posting the compiled binary.
I will try to compile a new binary for Dynagen 0.10.1 as well, and maybe build a new dmg
Regards,
Tamer Ramzy
| Description: |
| Dynamips 0.2.8-RC1 binary for Leopard |
|
 Download |
| Filename: |
dynamips-0.2.8.RC1.intel-mac.bin.zip |
| Filesize: |
272.85 KB |
| Downloaded: |
1794 Time(s) |
|
|
| Back to top |
|
 |
tihab
Joined: 06 Oct 2007 Posts: 5
|
Posted: Sat Oct 06, 2007 4:23 pm Post subject: |
|
|
No change needed to the original Dynagen binary. It works natively in Leopard.
Now i have everything working fine.
Regards,
Tamer
|
|
| Back to top |
|
 |
mib_xtreme
Joined: 24 Mar 2007 Posts: 7
|
Posted: Sat Oct 13, 2007 9:41 am Post subject: Dynamips/Dynagen on Leopard |
|
|
Hi tihab,
if I have understood you right, then it is not necessary to compile the source again in leopard. So we can use the current tiger packets.
Thanks
|
|
| Back to top |
|
 |
tihab
Joined: 06 Oct 2007 Posts: 5
|
Posted: Sun Oct 14, 2007 2:57 am Post subject: Re: Dynamips/Dynagen on Leopard |
|
|
| mib_xtreme wrote: | Hi tihab,
if I have understood you right, then it is not necessary to compile the source again in leopard. So we can use the current tiger packets.
Thanks |
You will need to recompile dynamips only, or use the compiled binary i posted. I have tested it in both beta versions of Leopard (9A527/528d and 9A559).
Regards,
Tamer Ramzy
|
|
| Back to top |
|
 |
greg Site Admin
Joined: 17 Jul 2006 Posts: 704 Location: USA
|
Posted: Fri Oct 26, 2007 12:48 pm Post subject: |
|
|
| Unfortunately this binary compiled under Leopard also does not run under Tiger. So two different binaries will need to be maintained for a while. And after I upgrade to Leopard today, I won't be able to produce Tiger binaries.
|
|
| Back to top |
|
 |
S Vermillion
Joined: 02 Sep 2007 Posts: 117
|
Posted: Sun Oct 28, 2007 3:55 am Post subject: |
|
|
| greg wrote: | | Unfortunately this binary compiled under Leopard also does not run under Tiger. So two different binaries will need to be maintained for a while. And after I upgrade to Leopard today, I won't be able to produce Tiger binaries. |
Say it aint so Greg! I just bought my first Mac a few months back and had no intention of upgrading anytime soon (upgrading to Vista put me off of being an early adopter of OS!). I only bought my Mac to run Dynamips, so the upgrade is money down the drain.
I'm likely way too low-tech when it comes to anything outside of the networking world to be able to do this on your behalf, but surely someone can step forward and produce Tiger binaries as we get new releases? If not, I'll do whatever it takes to be your Tiger binary surrogate...
|
|
| Back to top |
|
 |
greg Site Admin
Joined: 17 Jul 2006 Posts: 704 Location: USA
|
Posted: Tue Oct 30, 2007 1:21 pm Post subject: |
|
|
| I'm sure someone will volunteer to compile Tiger binaries and either post them to the board, or get them to me so I can include them in a DMG....
|
|
| Back to top |
|
 |
elsenormalo
Joined: 03 Nov 2007 Posts: 1
|
Posted: Sat Nov 03, 2007 4:55 am Post subject: |
|
|
I just installed the latest dynamips package for Mac and I get this error when running the server.
sudo: unable to execute /Applications/Dynagen/dynamips: Bad executable (or shared library)
SO far, Dynamips does not work me in Leopard GM
|
|
| Back to top |
|
 |
tihab
Joined: 06 Oct 2007 Posts: 5
|
Posted: Sat Nov 03, 2007 11:11 am Post subject: |
|
|
| elsenormalo wrote: | I just installed the latest dynamips package for Mac and I get this error when running the server.
sudo: unable to execute /Applications/Dynagen/dynamips: Bad executable (or shared library)
SO far, Dynamips does not work me in Leopard GM |
Just download the compiled leopard dynamips file from this thread, and overwrite the original dynamips binary.
|
|
| Back to top |
|
 |
jamiemac
Joined: 13 Nov 2007 Posts: 6
|
Posted: Tue Nov 13, 2007 3:43 pm Post subject: Dynamips/Dynagen on Leopard |
|
|
I downloaded dynamips-0.2.8-RC1.intel-mac.bin posted in this forum, and placed it in the /usr/local/bin directory.
I downloaded the latest dynamips/dynagen OSX package and copied the dynagen folder into the applications directory as suggested.
I then attempted to run the "Dynamips Server" app, but I get this error.
sudo: unable to execute /Applications/Dynagen/dynamips: Bad executable (or shared library)
Any ideas?
|
|
| Back to top |
|
 |
mikie
Joined: 06 Aug 2007 Posts: 10
|
Posted: Tue Nov 13, 2007 8:27 pm Post subject: Re: Dynamips/Dynagen on Leopard |
|
|
| jamiemac wrote: | I downloaded dynamips-0.2.8-RC1.intel-mac.bin posted in this forum, and placed it in the /usr/local/bin directory.
|
It doesn't go in /usr/local/bin but in the directory of the original Dynamips/Dynagen that you installed from the disk image. You need to replace the original compiled binary with newly compiled Leopard binary.
Mike
|
|
| Back to top |
|
 |
jamiemac
Joined: 13 Nov 2007 Posts: 6
|
Posted: Tue Nov 13, 2007 9:21 pm Post subject: |
|
|
Please take a look at my attachment. I moved the bin to same directory, but I still get the error message.
Thanks for your help.
| Description: |
|
| Filesize: |
126.99 KB |
| Viewed: |
6414 Time(s) |

|
|
|
| Back to top |
|
 |
2R
Joined: 25 Sep 2006 Posts: 19 Location: Denmark
|
Posted: Wed Nov 14, 2007 6:17 am Post subject: |
|
|
The Apple Script "Dynamips Server" references the original file called "dynamips" (you can see that in the terminal).
So in order to get it up and running, you could rename the original "dynamips" to something like "dynamips.orig" and then rename the binary you have downloaded (dynamips-0.2.8.RC1.intel-mac.bin) to "dynamips".
From the command line it could be somthing like:
| Code: |
sudo cp /[path]/dynamips /[path]/dynamips.orig
sudo cp /[path]/dynamips-0.2.8.RC1.intel-mac.bin /[path]/dynamips
|
rgds
2R
|
|
| Back to top |
|
 |
jamiemac
Joined: 13 Nov 2007 Posts: 6
|
Posted: Wed Nov 14, 2007 12:37 pm Post subject: |
|
|
| Thanks 2R that did the trick.
|
|
| Back to top |
|
 |
|