pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Python 3.x fails build on Solaris 10



Excerpts from John H's message of 2021-05-26 21:24:57 +0000:
> Hello Everyone
> 
> I'm setting up pkgsrc-2021Q1 on Solaris 10 x86. Seems to be going quite well, but I'm working towards upgrading gcc to a more recent PkgSrc issue, and still using the older gcc version (3.4.3) from the installation media (SUNWgcc). 
> 

I've experimented a bit with different GCC versions and configurations on my
Ultra 40 and Blade 1500 lately but now have a GCC 8 that is mostly
working (9 is marked broken and 10 should be marked unsupported from what
I gather).


> 
> Seems I need Python as a dependency of a newer gcc though, and whenever I attempt to build any version of Python 3.x I am dropped out with this:
> 
>  ld: fatal: library -lcrypt: not found
> 
> ...which leads to
> 
>  ERROR: The following files are in the PLIST but not in /usr/pkgsrc/lang/python39/work/.destdir/usr/pkg:
>  ERROR:         /usr/pkgsrc/lang/python39/work/.destdir/usr/pkg/lib/python3.9/lib-dynload/_crypt.so
> 
> Don't recall any issues with Python on NetBSD so putting it down to a Solaris peculiarity.  Would appreciate any ideas or suggestions!
> 

This is what I've used for my machine, haven't tried it on the other 3.X
Python versions (think I will now).

http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=56161

/Claes


Home | Main Index | Thread Index | Old Index