Author Topic: Waiting to use nasm if I can get it installed  (Read 19764 times)

Offline Fixer

  • Jr. Member
  • *
  • Posts: 11
Waiting to use nasm if I can get it installed
« on: December 05, 2012, 08:20:39 PM »
I am looking to get programming using nasm for making some programs for linux, but have a heck of a time
with Linux Mint. I could not get nasm installed so far.

I am looking to see if they have some sort of equivalent of Windows Event Viewer.

Andy

Offline Cyrill Gorcunov

  • NASM Developer
  • Full Member
  • *****
  • Posts: 179
  • Country: 00
Re: Waiting to use nasm if I can get it installed
« Reply #1 on: December 05, 2012, 09:27:30 PM »

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Waiting to use nasm if I can get it installed
« Reply #2 on: December 06, 2012, 01:45:35 AM »
Did Gunner's suggestions not work for ya?

The way I do it is to download the source - in the parent directory from where Cyril sent ya (those are all .rpm's which I've never had any luck with - feel free to use 'em if they work). I like the .tar.bz2 version, but .tar.gz and .zip all have the same contents (.tar.xz too? I think that's a new one). Put it in the directory you want to untar under.

"tar jxf nasm-2.10.6.tar.bz2"
"cd nasm-2.10.6"
become root, if you're not, or prepend with "sudo":
"./configure"
"make install_everything"
unbecome root.

Now you should be ready to assemble. If that doesn't work, let us know where it fails. "sudo apt-get install nasm" should be easier, if it's supported on your system. I'm not familiar with Linux Mint...

Best,
Frank


Offline Bryant Keller

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 360
  • Country: us
    • About Bryant Keller
Re: Waiting to use nasm if I can get it installed
« Reply #3 on: December 06, 2012, 01:53:29 AM »
I am looking to get programming using nasm for making some programs for linux, but have a heck of a time
with Linux Mint. I could not get nasm installed so far.

Easiest way, for me at least, to install NASM is from source. Try this from the Linux Mint terminal.

Code: [Select]
$ mkdir /tmp/nasm
$ cd /tmp/nasm
$ wget http://www.nasm.us/pub/nasm/releasebuilds/2.10.06/nasm-2.10.06.tar.gz
$ tar xzf nasm-2.10.06.tar.gz
$ cd nasm-2.10.06
$ ./configure && make
$ sudo make install_everything

EDIT Guess Frank covered it....

I am looking to see if they have some sort of equivalent of Windows Event Viewer.

I don't know of any graphical tools or anything. On Linux, events are usually logged through one of the many syslog implementations (ksyslog, syslog-ng, rsyslog, etc). These will usually write to /var/log/messages.

HtH
« Last Edit: December 06, 2012, 01:55:59 AM by Bryant Keller »

About Bryant Keller
bkeller@about.me

Offline Bryant Keller

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 360
  • Country: us
    • About Bryant Keller
Re: Waiting to use nasm if I can get it installed
« Reply #4 on: December 06, 2012, 01:59:10 AM »
Now you should be ready to assemble. If that doesn't work, let us know where it fails. "sudo apt-get install nasm" should be easier, if it's supported on your system. I'm not familiar with Linux Mint...

It's a distro based on ubuntu, but there is also a newer version that's based on the debian codebase called LMDE (Linux Mint: Debian Edition). This further adds to the confusion when you can't ever really know by "Linux Mint" alone if they are using LMUE or LMDE...  ???

About Bryant Keller
bkeller@about.me

Offline Fixer

  • Jr. Member
  • *
  • Posts: 11
Re: Waiting to use nasm if I can get it installed
« Reply #5 on: December 06, 2012, 08:10:22 PM »
From what I have been told, the live version of Linux Mint can't write to the pendrive.

I only have 4 Gb of space.

I think it has some bugs still.

While it was downloading a program, it poped up a box saying I had zero bytes available.
Seems like Mint's installer would check disk space first and issue a message if enuf space was not available.

Andy