Discussion:
[minix3] pkgin for MINIX3
Siddharth Amaravadi
2016-10-03 04:49:10 UTC
Permalink
Hello,

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

http://wiki.minix3.org/doku.php?id=developersguide:minixonarm#running_minix_arm

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

1. ftp://ftp.minix3.org/pub/minix/packages/3.1.9/i386/All/
2. http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkgin/README.html

and others. But nothing seems to work.

Can someone please help me on this.

Thanks
Siddharth
--
You received this message because you are subscribed to the Google Groups "minix3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minix3+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Antoine LECA
2016-10-03 07:12:55 UTC
Permalink
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
--
You received this message because you are subscribed to the Google Groups "minix3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minix3+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Siddharth Amaravadi
2016-10-03 18:45:03 UTC
Permalink
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
Post by Antoine LECA
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
not everything runs out of the box.
Antoine
--
You received this message because you are subscribed to the Google Groups "minix3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minix3+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Antoine LECA
2016-10-04 11:31:54 UTC
Permalink
Post by Siddharth Amaravadi
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
--
You received this message because you are subscribed to the Google Groups "minix3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minix3+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Enrico Mangosio
2016-10-04 07:03:03 UTC
Permalink
Hi All,

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

Bye, Enrico.


Il giorno lunedì 3 ottobre 2016 06:49:10 UTC+2, Siddharth Amaravadi ha
Post by Siddharth Amaravadi
Hello,
I've cross compiled MINIX3 for arm following the instructions at
http://wiki.minix3.org/doku.php?id=developersguide:minixonarm#running_minix_arm
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
1. ftp://ftp.minix3.org/pub/minix/packages/3.1.9/i386/All/
2.
http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/pkgtools/pkgin/README.html
and others. But nothing seems to work.
Can someone please help me on this.
Thanks
Siddharth
--
You received this message because you are subscribed to the Google Groups "minix3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minix3+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...