Laurent Lesage wrote (�crivit):
> Le mercredi 4 d�cembre 2013 18:08:55 UTC+1, AntoineLeca a �crit :
>>
>> Laurent Lesage wrote:
>>> [...] Minix for the "operating system" training (version 3.1.8).
>>
>> I'll assume you are using the old packaging system then, not pkgsrc.
>>
> Yes. I tried pkgsrc following a suggestion of Ben Gras (Minix), but the
> "git" package is missing on the repository.
First, git (vs. svn) is independent from pkgsrc vs. the old "packman",
even if they both occurred around the same time frame, 3 years ago.
It seems to me there IS a (binary) OpenSSL package for 3.1.8 pkgsrc, at
ftp.minix3.org/pub/minix/packages/3.1.8/i386/All/openssl-0.9.8o.tgz
However, I have no idea how to retrieve the associated source for it,
sorry; I guess you could install the relevant git repository, then guess
which was the date the package was compiled, then use pkgsrc; but I am
not able to confirm the exact steps. Also unfortunately, the early Git
repository for pkgsrc-for-MINIX3 (
github.com/gautambt/Pkgsrc-Minix/
based on
http://wiki.minix3.org/SummerOfCode2010/PkgSrc project) seems
lost; you might find more informations from
https://groups.google.com/forum/#!searchin/minix3/Pkgsrc/minix3/jmvhMW7W4P8/t92kVtiYczwJ
>>> We do not find the [openssl] headers,
>> Once installed, they should be in /usr/local/ssl/include/openssl
> OK, I found them in /usr/pkg/include/openssl
So I understand you discarded my suggestion and went the pkgsrc route;
no problem, I'll adapt myself.
> But now the problem is I cannot compile. With "cc" I get
... errors. The point is, pkgsrc library packages are NOT made for cc,
they are exclusively to be used with the MINIX port of GCC, which with
3.1.8 is still ACK .out (a variant of the old Unix a.out format) based.
Perhaps you can find a working version of Clang for your 3.1.8 version
(final of 2010 was the time when it started to work.)
But the old ACK cc cannot deal with any pkgsrc package, no way.
On the other hand, now specifically OpenSSL, I do not think the old
packman package for it was compatible with ACK either; in fact, I
believe ACK is lacking some key features like 64-bit support which
prevent normal use of OpenSSL in this decade; so I believe you should
switch to some more modern compiling system if you are serious about
using OpenSSL.
Note you can perhaps bite the bullet and switch also to a more modern
release of MINIX; it will make your life quite a bit easier.
Antoine