Quantcast
Channel: Astr0baby's not so random thoughts _____ rand() % 100;
Viewing all articles
Browse latest Browse all 183

pkgsrc-2019Q2 on Solaris 10 x86

$
0
0

Continuation of the previous pkgsrc setup on Solaris 10 x86 (64bit); I wanted to keep specific notes here separately, which might help some if they struggle.

ISSUES: /usr/pkgsrc/devel/libidn2    (Does not build with gcc6 from pkgsrc, it builds fine with gcc44) So for certain things in pkgsrc we will switch between gcc44 and gcc6 – all this is set in /usr/pkg/etc/mk.conf

ISSUES: /usr/pkgsrc/lang/python37 (Does not build with gcc6 nor gcc44 ) there are following errors produced after compilation

So one solution is to switch the whole pkgsrc environment to use python36 (which works and compiles well on Solaris10 x86)  so we will add the following to the /usr/pkg/etc/mk.conf   (and clean up all the possible work directories that could still reference to python37 by # bmake clean clean-depends in a directory where we were building)

PYTHON_VERSION_DEFAULT=36

ISSUES: /usr/pkgsrc/devel/git-gitk does not build with gcc44 nor gcc6 but is not really needed, its just part of a metapackage /usr/pkgsrc/devel/git , real git client compiles and installs fine

After we finish compiling git make sure we run the mozilla-rootcerts script

Change the #shebang in /usr/pkgsrc/sbin/mozilla-rootcerts to some 
newer shell (like the pkgsrc bash5) and do not use the /bin/sh from Solaris10 

# mozilla-rootcerts install

 

ISSUE: /usr/pkgsrc/textproc/opensp  Does not compile with gcc44 but builds fine with gcc6 so we need to switch it in /usr/pkg/etc/mk.conf

This is WIP (Work in Progress) more things should show up here later on


Viewing all articles
Browse latest Browse all 183

Trending Articles