In regard to: [OpenIndiana-discuss] installing pthreads for compiling,...:
I have setup Openindiana from the live DVD just now and have installed
gcc-8, cmake, and some libraries as I want to compile a small application,
but am getting a message that "pthreads,h - not found"
People have already mentioned the 'build-essential' meta package, that
installs packages that are likely needed (essential) for any build.
Depending on what you're trying to do, there are certainly additional
development-related packages that aren't included in build-essential.
I looked on the OpenIndiana package library online and found
library/[email protected],5.11-2018.0.0.0:20180211T123900Z
<http://pkg.openindiana.org/hipster/info/0/library%2Fpth%402.0.7%2C5.11-2018.0.0.0%3A20180211T123900Z>
I don't think library/pth is what's missing.
x11/library/[email protected],5.11-2018.0.0.0:20180212T053005Z
<http://pkg.openindiana.org/hipster/info/0/x11%2Flibrary%2Flibpthread-stubs%400.3%2C5.11-2018.0.0.0%3A20180212T053005Z>
I have had a few packages that haven't compiled because of that missing
stub, so I typically install it when I'm setting up a build system:
sudo pkg install x11/library/pthread-stubs
for which I tried to install them but it said that no update was necessary
for these images.
Are they actually installed?
pkg list | egrep 'libpthread-stubs|library/pth'
Tim
--
Tim Mooney [email protected]
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss