Fasm not in entropy?

Discussions Regarding Software

Moderator: Moderators

Fasm not in entropy?

Postby chasha420 » Thu Apr 05, 2012 13:45

Hi guys, I just started getting my hands dirty in assembly language programming & I was reading about various assemblers like nasm, fasm, masm (for windows only) etc. & I have already installed nasm...but I haven't found fasm in entropy.

I visited their site "http://flatassembler.net/" & they have a linux build available...so should I just use that or is it possible to get fasm in entropy in the future?

Please don't flame, I don't have much knowledge in asm...just getting my feet wet...so if you have any advice for me, feel free to enlighten me :mrgreen:

Thanks
User avatar
chasha420
Advanced Hen
 
Posts: 298
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: Fasm not in entropy?

Postby ShadowCat8 » Thu Apr 05, 2012 19:16

Greetings,

I know that the repositories that Sabayon uses are based off of the portage tree from Gentoo. Well, in Gentoo, 'fasm' is not considered stable enough to be put in the portage tree, but is available in one of the overlays via layman.

Now, going through the Sabayon Entropy Wiki page, it looks like they do not recommend combining portage and Entropy VERY STRONGLY.

So, from what I can gather on this, you seem to have 2 choices:
  1. Load up the sabayon-limbo repository and check if it's in there. Or,
  2. Pull down the linux build (e.g. source code) for fasm and build it yourself.

HTH. Let us know.
Regards,

ShadowCat8
==========

"I do not feel obliged to believe that the same God who has endowed
us with sense, reason, and intellect has intended us to forgo their use."

-- Galileo Galilei
User avatar
ShadowCat8
Baby Hen
 
Posts: 12
Joined: Tue Nov 15, 2011 22:07
Location: That shadow you thought you saw something moving in...

Re: Fasm not in entropy?

Postby chasha420 » Fri Apr 06, 2012 4:38

Hi there Shadowcat...thanks for the info. At this point I'm going through the book "Assembly language step by step - Programming with Linux"...which mainly uses the Nasm assembler...but I've seen a lot of sources out there on the web that relied on Fasm so I was just curious about it...perhaps in the future I'll go ahead and try it out.

As for the source, Fasm site only has binary builds...the linux build for some reason fails to get extracted from the archive...so it got me kind of turned off. They don't provide source either.

Anyway thanks for all the advice, appreciate it! :)


PS: Awesome avatar man :mrgreen:
User avatar
chasha420
Advanced Hen
 
Posts: 298
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: Fasm not in entropy?

Postby Fitzcarraldo » Fri Apr 06, 2012 16:48

If it's still in the overlay bgo-overlay then, as root user in a Konsole/Terminal window, use the following commands:

Code: Select all
equo install git
layman -S
layman -d sabayon
layman -d sabayon-distro
layman -a sabayon
layman -a sabayon-distro
layman -S
layman -a bgo-overlay
emerge -1v fasm
etc-update # In case any config files need updating. Answer -3 and yes to all.
equo rescue spmsync # Tell Entropy what you did via Portage

The deletion and re-addition of the two SL overlays is 'belt and braces' in case you don't already have them or you have the old monolithic sabayon overlay added.

The package dev-lang/fasm has three USE flags:

# rebuild - rebuild fasm
# no_usr_bin - don't add a symlink in /usr/bin/fasm -> /opt/fasm/fasm
# lib - use the unix/libc version of fasm

No idea whether or not you want any of those, but, if you do, add USE="<use flags, separated by a space>" in front of the emerge command. Looks to me like you don't need to bother with any of them.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Fasm not in entropy?

Postby chasha420 » Fri Apr 06, 2012 18:08

Thanks Fitz...I'll give those a try & let you know what happened :)
User avatar
chasha420
Advanced Hen
 
Posts: 298
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: Fasm not in entropy?

Postby chasha420 » Sat Apr 07, 2012 5:22

Hi Fitz this is what I get when I try to add bgo-overlay:

Code: Select all
# layman -a bgo-overlay

 * Adding overlay,...
 * Exception: Overlay "bgo-overlay" does not exist.

 * CLI: Errors occured processing action add
 * Exception: Overlay "bgo-overlay" does not exist.
User avatar
chasha420
Advanced Hen
 
Posts: 298
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: Fasm not in entropy?

Postby Fitzcarraldo » Sun Apr 08, 2012 6:47

In that case you'll need to use a local overlay if you want to install it via Portage. Google tells me that there is an ebuild on the following page: http://gentoo-overlays.zugaina.org/bgo- ... .32.ebuild
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest

cron