Hi All, Just wanted to thank everyone who tired to assist me with getting slim to compile. It turns out that it was not pthreads at all but instead the gcc compiler in the CMakeLists.txt file had CMAKE_C_FLAGS set to "-Wall -O2", but the compiler did not like the "-Wall" setting. I removed it and pthreads was found without any problems after which I ran "make" and it produced the "slim" executable.
On this note of login greeters, I also wanted to look at the "LightDM-GTK-Greeter" package out in the oi-userland for the sources and also in the OpenIndiana hipster package manager online. In looking for this one, I wanted to see how big the footprint would be since the idea is to put it on SmartOS as a test and I already have an X-Server, but do not want a large window manager. I am experimenting with building minimal ram-based distributions. In looking at the Hipster package manager I see that this package is "system_display-manager_lightdm_gtk-greeter.p5i" but I do not know what is in a p5i file nor how to decompress it to get just the binaries that I can copy over to test it along with the slim option to see which looks better. On a good side note, I have installed OpenIndiana on a native partition so that I can do some development on both the OpenIndiana and SmartOS projects and REALLY like the OpenIndiana OS running on a native partition. Already, I am seeing myself rebooting into my previous Ubuntu 18.04 less and less. If I could find a way so that OpenIndiana could see my Ubuntu 18.04 "ext4" partition so that I cold access some of those files then I might even try to stay with running OpenIndiana always. Any ideas on how to see or mount the partition since the OI file manager does not see it by default. Cheers and this is off to a great journey with OpenIndiana. Lonnie On Tue, Mar 26, 2019 at 3:19 PM Tim Mooney <[email protected]> wrote: > 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 > -- Best Regards, Lonnie T. Cumberland, PhD. Email: [email protected] _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
