pkgsrc-2019Q2 on Solaris 10 x86

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

About astr0baby

Please run Adblock or similar... we have been told to do so since Carl Sagan wrote the Contact .
Gallery | This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.