Solved dynamips install from source

Sorry for stupid question, but I can't understand, how to compile dynamips from source (from ports dynamips is 2.7 version, for GNS 0.8.6 need 2.8+) ?
In folder I found Makefile and README wich text I upload there http://pastebin.com/2RFgcgqP, but can't use gmake install, or make install, or something, because there is no any script, so I don't know how to deal with that.
Help me please, I'm so poor =(
 
Re: dynamips install from source

kAldown said:
Sorry for stupid question, but I can't understand, how to compile dynamips from source (from ports dynamips is 2.7 version, for GNS 0.8.6 need 2.8+) ?
In folder I found Makefile and README wich text I upload there http://pastebin.com/2RFgcgqP, but can't use gmake install, or make install, or something, because there is no any script, so I don't know how to deal with that.
Help me please, I'm so poor =(
emulators/dynamips-devel is v2.8-RC2. Can you use that? It would be much simpler than building from source.
 
Re: dynamips install from source

I already have an experience using -devel: wine and vbox - both were awefull, so I should to decline that advice, sorry. And README talks about there were some risk to use -devel dynamips. And as continuing, there were good experience to build from source.
 
Re: dynamips install from source

Okay, so to build dynamips-0.2.8 from source, the first thing you will have to do is install the build and run dependencies for emulators/dynamips as shown below:
Code:
root:/usr/ports/emulators/dynamips# make build-depends-list
/usr/ports/devel/gmake
/usr/ports/devel/libelf
/usr/ports/ports-mgmt/pkg
root:/usr/ports/emulators/dynamips# make run-depends-list
/usr/ports/devel/libelf
root:/usr/ports/emulators/dynamips#
I'm guessing you already have ports-mgmt/pkg installed, so that leaves devel/gmake and devel/libelf.

After installing the above two ports, unzip the dynamips-0.2.8-community.source.zip file and cd into the dynamips-0.2.8-community directory. Edit the Makefile to set up all variables correctly. In particular, I'd check the DYNAMIPS_ARCH?= variable which is set by default to build for the 32-bit x86 architecture. Then run make install clean.
 
Re: dynamips install from source

Yes, and I already got an libelf and gmake:
Code:
$pkg info libelf
libelf-0.8.13_1
$pkg info gmake
gmake-3.82_1
As described in Makefile, which I post at pastebin - there are normally installed variables, and still:
Code:
kaldown@d610:~/gns3-legacy-GNS3-0.8.6/WORKFLOW/Dynamips/dynamips-0.2.8-community % make install clean
make: don't know how to make dynamips.. Stop

README:
Code:
You can compile two different versions of dynamips with this code.
Edit the Makefile to set the flags to suit your environment.
One of the flags, DYNAMIPS_CODE, can be "stable" or "unstable".
 
Unstable is the code which contains most of the development code, and is
in particular suitable for use on a 64 bit Mac. Unfortunately this has
proved to be unstable on other platforms.
 
Stable contains the same code as Unstable, minus some mips64 bit optimisations
and tcb code which seems to trigger instability on a number of platforms.
You should probably use stable unless you have a very good reason.
 
Re: dynamips install from source

wblock@ said:
-devel ports are just later development versions. They are likely more solid than building from raw source because they have been checked on FreeBSD. emulators/dynamips-devel has a bunch of additional patches for FreeBSD.

But in this case, the one to install appears to be emulators/dynamips-community.
I must be going batty today. I don't know how I missed emulators/dynamips-community or the fact that a 0.2.10 version also exists in source from the website. All I saw initially was the 0.2.8 version.
 
Re: dynamips install from source

kAldown said:
Yes, and I already got an libelf and gmake:
Code:
$pkg info libelf
libelf-0.8.13_1
$pkg info gmake
gmake-3.82_1
As described in Makefile, which I post at pastebin - there are normally installed variables, and still:
Code:
/dynamips-0.2.8-community % make install clean
make: don't know how to make dynamips.. Stop

README:
Code:
You can compile two different versions of dynamips with this code.
Edit the Makefile to set the flags to suit your environment.
One of the flags, DYNAMIPS_CODE, can be "stable" or "unstable".
 
Unstable is the code which contains most of the development code, and is
in particular suitable for use on a 64 bit Mac. Unfortunately this has
proved to be unstable on other platforms.
 
Stable contains the same code as Unstable, minus some mips64 bit optimisations
and tcb code which seems to trigger instability on a number of platforms.
You should probably use stable unless you have a very good reason.
See @wblock@'s previous post on emulators/dynamips-community. It is v0.2.10.
 
Last edited by a moderator:
Re: dynamips install from source

trh411 said:
wblock@ said:
-devel ports are just later development versions. They are likely more solid than building from raw source because they have been checked on FreeBSD. emulators/dynamips-devel has a bunch of additional patches for FreeBSD.

But in this case, the one to install appears to be emulators/dynamips-community.
I must be going batty today. I don't know how I missed emulators/dynamips-community or the fact that a 0.2.10 version also exists in source from the website. All I saw initially was the 0.2.8 version.

There are awesome! But! Official GNS3 told me that I need > 0.2.8 dynamips, if would't so, I obviously prefer to build from ports.
Or I can choose GNS3 from ports and dynamips from ports, but they aren't fresh.
But I want feel myself warm and fuzzy :D

For the god sake! 0.2.10 higher than 0.2.8!
Thanks!
 
Re: dynamips install from source

And another one.
How to grade your reply, or mark tread as solved?
Can't believe that there are no prize for finding solutions and spending so much time for processing.
 
Re: dynamips install from source

kAldown said:
And another one.
How to grade your reply, or mark tread as solved?
Can't believe that there are no prize for finding solutions and spending so much time for processing.
Edit your initial post to include "[Solved]' at the beginning of the topic.
 
Back
Top