pkgin for MINIX3

486 views
Skip to first unread message

Siddharth Amaravadi

unread,
Oct 3, 2016, 12:49:10 AM10/3/16
to minix3
Hello,

I've cross compiled MINIX3 for arm following the instructions at 


for Beaglebone Black on Ubuntu VM. I've successfully booted the image from a SD card on my board and setup the ethernet.

When I try to install packages using "pkgin" i get pkgin: not found. Then I tried installing it from various sites 


and others. But nothing seems to work. 

Can someone please help me on this.

Thanks
Siddharth


Antoine LECA

unread,
Oct 3, 2016, 3:13:00 AM10/3/16
to min...@googlegroups.com
On 03/10/2016 04:49Z, Siddharth Amaravadi wrote:
> I've cross compiled MINIX3 for arm [...]
> When I try to install packages using "pkgin" i get pkgin: not found.
> [...] But nothing seems to work.

And nothing will work. For the moment, the package binaries are only
available for MINIX-i386, and are not built for ARM.

Reasons could be that the compilers for ARM are not as stable as they
are for Intel (for example, this prevents release of 3.4.0.) And another
reason is that while cross-building the system works well, as you
experienced, cross-building packages with pkgsrc is not currently
possible; even when targeting NetBSD this is not streamlined.

The result is that the pkgsrc system for MINIX-ARM is very lightly
tested if at all; so if you use it (which will be building packages for
your machine on your machine, from sources, the way pkgsrc was
originally designed... I know it will costs time), you'll need to expect
pitfalls, much the same as at the beginning of pkgsrc for i386 on MINIX:
not everything runs out of the box.


Antoine

Siddharth Amaravadi

unread,
Oct 3, 2016, 2:45:03 PM10/3/16
to minix3

Thank you for the detailed reply AntoineLeca.

This definitely clears my understanding.

You've mentioned that there's a possibility to build the packages from the source on my machine as it was done on the i386. Can you give me a source as to how to do that. I just want to give it a try and even if I fail I could learn something out of it.

Thank you once again

Enrico Mangosio

unread,
Oct 4, 2016, 3:10:27 AM10/4/16
to minix3
Hi All,

3 October 2016 - pkgsrc-2016Q3 released.
Would it help somehow?

Bye, Enrico.

Antoine LECA

unread,
Oct 4, 2016, 7:32:08 AM10/4/16
to min...@googlegroups.com
On 03/10/2016 18:45Z, Siddharth Amaravadi wrote:
> You've mentioned that there's a possibility to build the packages from the
> source on my machine as it was done on the i386. Can you give me a source
> as to how to do that.

Main page on the subject:
http://wiki.minix3.org/doku.php?id=developersguide:pkgsrconarm

A bit more general:
http://wiki.minix3.org/doku.php?id=developersguide:pkgsrcguide
http://wiki.minix3.org/doku.php?do=search&id=pkgsrc

Not MINIX-specific, but worth reading:
https://www.netbsd.org/docs/software/packages.html
https://www.netbsd.org/docs/pkgsrc/


As you'll realize from the first page, in fact the community is waiting
for progresses in this area; if you achieve any success, you are highly
welcome to update the wiki, in order to increase momentum!
Thanks in advance and Good luck!


Antoine
Reply all
Reply to author
Forward
0 new messages