You are not logged in.
I need packages libusb-dev and libusb-1.0-0-dev (in some setup file). I already know that Arch supplies no *-dev packages so on Arch these packages should probably read libusb (I found it and installed it) and libusb-1.0-0 (Is this name wrong? On Ubuntu I can install this using sudo apt-get install libusb-1.0.0-dev - mind the dot between two zeroes instead of minus sign).
I haven't found package libusb-1.0.0 or libusb-1.0-0 inside Arch packages / AUR. I need an advice.
Last edited by 71GA (2015-01-09 08:38:08)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Arch also doesn't supply old, out of date libraries unless absolutely necessary. You have libusb, which is the current 1.0 library. If you need the old one, it is available in the AUR as libusb0.
Last edited by Scimmia (2015-01-09 08:47:57)
Online
Arch also doesn't supply old, out of date libraries unless absolutely necessary. You have libusb, which is the current 1.0 library. If you need the old one, it is available in the AUR as libusb0.
I allso thought of that... The problem is that on Ubuntu a script, which I am trying to port to Archlinux, installs both - libusb-dev and afterwards libusb-1.0.0-dev. It installs them like this:
add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
apt-get update
apt-get install cmake libusb-dev libusb-1.0.0-dev build-essential swig python-dev tcl8.5 expect iperf xinetd tftp tftpd git -yI assume that in the end user gets only the older library and all the functionality of the newer one is lost due to deletion of it? In this case on Archlinux installing usblib would be enough.
Last edited by 71GA (2015-01-09 09:03:16)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Why would you assume that? I don't see any conflicts.
Edit: Looks like the old version is in the repos, I just missed it: https://www.archlinux.org/packages/extr … sb-compat/
Last edited by Scimmia (2015-01-09 09:12:11)
Online
Why would you assume that? I don't see any conflicts.
IDK. Doesn't an install of newer library delete the older one? Like with applications...
Edit: Looks like the old version is in the repos, I just missed it: https://www.archlinux.org/packages/extr … sb-compat/
So in my case I should install libusb and libusb-compact?
Last edited by 71GA (2015-01-09 10:24:08)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
What exactly are you trying to do? Or to put it another way, what does this script do?
Offline
What exactly are you trying to do? Or to put it another way, what does this script do?
It will extract some files, create some folders, install missing packages and then it will setup TFTP server
and run an application. Why is this relevant? I only need the packages...
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
But the packages in Arch does not corresponds exactly to the Ubuntu one? If you want to port a script it is important to understand exactly what this script requires/do. It seems very strange that a single script need two versions of the same library. Try running the script and if you encounter any errors, try to figure out what files the script requires. If you want to know which package provides a file, pkgfile can do that.
Offline
But the packages in Arch does not corresponds exactly to the Ubuntu one?
And thats all I need... connection between names. Otherwise I will just write my own PKGBUILD for makepkg using source files... At this time it seems like the best idea to me...
Why do we change package names so much that we can't even find them... Weird...
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
You completely missed the point there. I wanted to know what your ultimate objective is - hence the question "What exactly are you trying to do?". I guess I should have left out the second question about the script. ![]()
So again - what is all this stuff meant to achieve i.e. after you extract some files, create some folders, install missing packages and setup a TFTP server, what will all that enable you to do? This question is relevant because the best way to do it in an Arch environment could be completely different to that Ubuntu solution you're attempting to shoehorn in.
Offline
You completely missed the point there. I wanted to know what your ultimate objective is - hence the question "What exactly are you trying to do?". I guess I should have left out the second question about the script.
So again - what is all this stuff meant to achieve i.e. after you extract some files, create some folders, install missing packages and setup a TFTP server, what will all that enable you to do? This question is relevant because the best way to do it in an Arch environment could be completely different to that Ubuntu solution you're attempting to shoehorn in.
I have to install a program which will not work unless I install its dependancies. On Ubuntu I can dependancies while I can't find them on Arch. Thats the core of the problem.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Schoolbook XY-problem. Are you finally going to post the script you're trying to use?
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I have to install a program
... which program?
Offline