You are not logged in.

#1 2014-02-16 06:56:20

stevenplanet
Member
Registered: 2011-09-21
Posts: 19

[SOLVED] MASM Assembly X86 Programming on Arch

Whats the best way to program MASM in Arch? I could go for an IDE or use VIM and then use the CLI to compile, but I'm not sure how to do it, on Windows I just used VS which has a built in MASM compiler. I tried installing Jwasm but I'm not sure what to do as in I don't know how to install it lol. Its just a zip file with a bunch of files in it. I tried the tarball from the AUR too but that gives me an error. can anyone help me? Many thanks I am new to Arch. actually I installed it a few years ago but went back to Windows when my laptop died. This is the last obstacle to making Arch perfect for me smile

[ansm@archie jwasm]$ makepkg -si
==> Making package: jwasm 2.09-1 (Sat Feb 15 22:45:04 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: hd2u
==> ERROR: 'pacman' failed to install missing dependencies.
[ansm@archie jwasm]$ makepkg -s
==> Making package: jwasm 2.09-1 (Sat Feb 15 22:45:12 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: hd2u
==> ERROR: 'pacman' failed to install missing dependencies.

Last edited by stevenplanet (2014-02-16 18:47:27)

Offline

#2 2014-02-16 07:02:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] MASM Assembly X86 Programming on Arch

The error message is self-explanatory; you need to install hd2u. Pacman won't install packages from the AUR.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-02-16 09:38:45

stevenplanet
Member
Registered: 2011-09-21
Posts: 19

Re: [SOLVED] MASM Assembly X86 Programming on Arch

jasonwryan wrote:

The error message is self-explanatory; you need to install hd2u. Pacman won't install packages from the AUR.

Thanks for the reply! So I tried pacman on hd2u and that didnt work since it said target wasn't found. So I figured it was probably on the AUR so I downloaded the tarball, unzipped it, went into the folder, and did makepkg -si, but it spat out this

[ansm@archie hd2u]$ ls
PKGBUILD  always-false.patch
[ansm@archie hd2u]$ makepkg -si
==> Making package: hd2u 1.0.3-7 (Sun Feb 16 01:35:46 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading hd2u-1.0.3.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 60024  100 60024    0     0  55661      0  0:00:01  0:00:01 --:--:-- 55680
  -> Found always-false.patch
==> Validating source files with sha512sums...
    hd2u-1.0.3.tgz ... Passed
    always-false.patch ... Passed
==> Extracting sources...
  -> Extracting hd2u-1.0.3.tgz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
/home/ansm/Downloads/hd2u/PKGBUILD: line 20: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...
[ansm@archie hd2u]$ 

I also tried makepkg -s but it yields the same error.

Offline

#4 2014-02-16 10:27:07

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED] MASM Assembly X86 Programming on Arch

You will absolutely have to learn to read the wiki if you want to have a nice time with arch:
E.g. https://wiki.archlinux.org/index.php/Ar … Repository


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#5 2014-02-16 11:40:32

korn36
Member
Registered: 2014-01-14
Posts: 111

Re: [SOLVED] MASM Assembly X86 Programming on Arch

stevenplanet wrote:
jasonwryan wrote:

The error message is self-explanatory; you need to install hd2u. Pacman won't install packages from the AUR.

Thanks for the reply! So I tried pacman on hd2u and that didnt work since it said target wasn't found. So I figured it was probably on the AUR so I downloaded the tarball, unzipped it, went into the folder, and did makepkg -si, but it spat out this

[ansm@archie hd2u]$ ls
PKGBUILD  always-false.patch
[ansm@archie hd2u]$ makepkg -si
==> Making package: hd2u 1.0.3-7 (Sun Feb 16 01:35:46 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading hd2u-1.0.3.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 60024  100 60024    0     0  55661      0  0:00:01  0:00:01 --:--:-- 55680
  -> Found always-false.patch
==> Validating source files with sha512sums...
    hd2u-1.0.3.tgz ... Passed
    always-false.patch ... Passed
==> Extracting sources...
  -> Extracting hd2u-1.0.3.tgz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
/home/ansm/Downloads/hd2u/PKGBUILD: line 20: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...
[ansm@archie hd2u]$ 

I also tried makepkg -s but it yields the same error.

pacman -S base-devel

Offline

#6 2014-02-16 18:47:00

stevenplanet
Member
Registered: 2011-09-21
Posts: 19

Re: [SOLVED] MASM Assembly X86 Programming on Arch

korn36 wrote:
stevenplanet wrote:
jasonwryan wrote:

The error message is self-explanatory; you need to install hd2u. Pacman won't install packages from the AUR.

Thanks for the reply! So I tried pacman on hd2u and that didnt work since it said target wasn't found. So I figured it was probably on the AUR so I downloaded the tarball, unzipped it, went into the folder, and did makepkg -si, but it spat out this

[ansm@archie hd2u]$ ls
PKGBUILD  always-false.patch
[ansm@archie hd2u]$ makepkg -si
==> Making package: hd2u 1.0.3-7 (Sun Feb 16 01:35:46 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading hd2u-1.0.3.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 60024  100 60024    0     0  55661      0  0:00:01  0:00:01 --:--:-- 55680
  -> Found always-false.patch
==> Validating source files with sha512sums...
    hd2u-1.0.3.tgz ... Passed
    always-false.patch ... Passed
==> Extracting sources...
  -> Extracting hd2u-1.0.3.tgz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
/home/ansm/Downloads/hd2u/PKGBUILD: line 20: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...
[ansm@archie hd2u]$ 

I also tried makepkg -s but it yields the same error.

pacman -S base-devel

Thank you!!! This got everything working! Cheers!

Offline

Board footer

Powered by FluxBB