You are not logged in.
I've been trying to install "insight", an IDE for assembly language, which is available in the AUR, but there are problems with the AUR package (mainly with the source from Redhat and my version of gcc, I believe). So, I thought a DEB package would be easier, and after googling about it, I found that I needed to use deb2targz to convert the DEB for use in Arch. But I couldn't find any instructions on how to use deb2targz.
I deb2targz'd the deb file in my home directory and then did "tar xzvf insight_6.8.1-0ubuntu0~sevenmachines1_i386".
I thought this would create a subdirectory with a PKGBUILD, but that was newbish wishful thinking.
The tar command created a ~/usr directory with subdirectories: ~/usr/bin, ~/usr/lib, and ~/usr/share.
Should I now try to make a PKGBUILD from these directories somehow? Do I compress them to xz and use that with pacman -U ? Or am I supposed to simply copy the files/subdirectories to the corresponding directories in the root directory (ie, ~/usr/bin to /usr/bin)?
Thanks in advance for any assistance.
Regards,
Brian
Offline
Don't. A .deb file contains compiled, binary, code. That code will be linked against other code that is supposed to be there on the system it was made for. That code will be different under Arch. At best it will just crash. .deb files aren't even compatible all the time between distributions which both use it like Debian and Ubuntu.
The very best thing to do is to get the AUR package in working state. If it has a maintainer then see if they can do that. If it doesn't look for someone to adopt it.
Offline
Okay, You have piqued my interest.
ewaller@odin:~ 1009 %packer insight
0 aur/vim-srcexpl 4.3-1 (36)
A Source code Explorer based on tags works like context window in
Source Insight
1 aur/insight 6.8-3 (28)
A graphical interface to the GNU debugger
2 aur/insight-toolkit 4.3.1-2 (17)
Insight Segmentation and Registration Toolkit (ITK).
3 aur/insight3d 0.3.2-3 (4)
insight3d lets you create 3D models from photographs
4 aur/itk-python 3.20.1-1 (2)
Insight Segmentation and Registration Toolkit (ITK).
5 aur/atlassian-eclipse-connector 3.0.4.v20120406-1
(2)
Allows developers to quickly access JIRA issues, Bamboo builds,
Crucible code reviews and FishEye SCM insights without leaving their
Eclipse-based IDE.
6 aur/hp-snmp-agents 9.1.0.57_62-1 (1)
Insight Management SNMP Agents for HP ProLiant Systems
7 aur/itk-python-git 20110529-1 (0)
Insight Segmentation and Registration Toolkit (ITK).
Type numbers to install. Separate each number with a space.
Numbers:
Which package are you trying to install?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
forget deb2targz, it's pretty much useless for things like this.
there are a number of examples on this forum of making PKDBUILDs for deb files, but it's not as fool proof as it sounds. You have to pay attention to what version of each lib the binary is linked against, as well as the actual name of the lib if they rename it. It's almost universally better to build from source if it's available.
A quick look at the mailing list shows that the author suggests building from CVS right now instead of using the release which was in 2009. I'm doing a quick test right now to see how that goes.
Offline
If you are looking for an assembler then nasm might fit the bill:
https://www.archlinux.org/packages/?sor … =&limit=50
That is just the assembler however, it is not a full IDE. So with that you would write your .asm files then use nasm to compile them to object code and then link that object code into an executable which you then run. You could use any text editor you like to write the .asm files.
Offline
Okay, You have piqued my interest.
ewaller@odin:~ 1009 %packer insight 0 aur/vim-srcexpl 4.3-1 (36) A Source code Explorer based on tags works like context window in Source Insight 1 aur/insight 6.8-3 (28) A graphical interface to the GNU debugger 2 aur/insight-toolkit 4.3.1-2 (17) Insight Segmentation and Registration Toolkit (ITK). 3 aur/insight3d 0.3.2-3 (4) insight3d lets you create 3D models from photographs 4 aur/itk-python 3.20.1-1 (2) Insight Segmentation and Registration Toolkit (ITK). 5 aur/atlassian-eclipse-connector 3.0.4.v20120406-1 (2) Allows developers to quickly access JIRA issues, Bamboo builds, Crucible code reviews and FishEye SCM insights without leaving their Eclipse-based IDE. 6 aur/hp-snmp-agents 9.1.0.57_62-1 (1) Insight Management SNMP Agents for HP ProLiant Systems 7 aur/itk-python-git 20110529-1 (0) Insight Segmentation and Registration Toolkit (ITK). Type numbers to install. Separate each number with a space. Numbers:
Which package are you trying to install?
#1 - a GUI for the GNU debugger
Regards,
Brian
Offline
forget deb2targz, it's pretty much useless for things like this.
there are a number of examples on this forum of making PKDBUILDs for deb files, but it's not as fool proof as it sounds. You have to pay attention to what version of each lib the binary is linked against, as well as the actual name of the lib if they rename it. It's almost universally better to build from source if it's available.
A quick look at the mailing list shows that the author suggests building from CVS right now instead of using the release which was in 2009. I'm doing a quick test right now to see how that goes.
Thanks for looking into it. I was using the *-1a version and the source that commentator "sl0t" suggested in his PKGBUILD - except I had problems with the parentheses and apostrophes on the install= line, so I used that line without paren. and apost's.
# Contributor: Philipp Robbel <robbel@gmail.com> (update by sl0t)
pkgname=insight
pkgver=6.8
pkgrel=1
pkgdesc="A graphical interface to the GNU debugger"
arch=('i686')
url="http://sourceware.org/insight/"
license=('GPL')
depends=('libx11')
install=('insight.install')
source=(ftp://sourceware.org/pub/insight/releases/$pkgname-6.8-1.tar.bz2 insight.profile)
md5sums=('4ee9824c1e8d6108d886c6c09b24f0ac' '16dddd252c8d64a1f4757626ee895b03')
build() {
cd $startdir/src/$pkgname-6.8-1
./configure --prefix=/opt/insight --mandir=/opt/insight/share/man --infodir=/opt/insight/share/info
make || return 1
make prefix=$startdir/pkg/opt/insight mandir=$startdir/pkg/opt/insight/share/man infodir=$startdir/pkg/opt/insight/share/info install || return 1
rm -rf $startdir/pkg/opt/insight/share/info
# environment variables
mkdir -p $startdir/pkg/etc/profile.d
install -m755 $startdir/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh
}
Regards,
Brian
Offline
If you are looking for an assembler then nasm might fit the bill:
https://www.archlinux.org/packages/?sor … =&limit=50
That is just the assembler however, it is not a full IDE. So with that you would write your .asm files then use nasm to compile them to object code and then link that object code into an executable which you then run. You could use any text editor you like to write the .asm files.
Thanks headkase, but what I'm actually looking for is the ability to easily and simultaneously view the registers, watches, stack and other memory locations while debugging. gdb, by itself, is just way too cumbersome for that.
Regards,
Brian
Offline
It does not compile on my system either. It looks like this bug
It looks like someone has already reported this to the AUR. I'll look at this tomorrow if I've time.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
It does not compile on my system either. It looks like this bug
It looks like someone has already reported this to the AUR. I'll look at this tomorrow if I've time.
Ok, thanks. For the moment, I'm trying to get gcc46 installed, so I can use that to build 'insight'. But I can't get that compiled either! I found a patch for gcc46, but that leads me to a new question, which I posted as a new topic here: https://bbs.archlinux.org/viewtopic.php … 4#p1229894
Regards,
Brian
Offline
It does not compile on my system either. It looks like this bug
It looks like someone has already reported this to the AUR. I'll look at this tomorrow if I've time.
I'd like to speak up and say I'd like to have insight working on my Arch system here too. Trying to switch over my C++ programming from Visual Studio to my Arch box and Insight seems like a powerful tool. If you figure anything out ewaller it would be greatly appreciated.
Offline