# Compiling 3.10.X for Solaris 8

**URL:** https://discourse.cmake.org/t/compiling-3-10-x-for-solaris-8/15569
**Category:** Development
**Tags:** os:solaris
**Created:** [March 21, 2026, 12:11am UTC](https://discourse.cmake.org/t/compiling-3-10-x-for-solaris-8/15569 "2026-03-21T00:11:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jeffrey\_Bromberger](https://discourse.cmake.org/user_avatar/discourse.cmake.org/jeffrey_bromberger/32/5847_2.png) [@Jeffrey\_Bromberger](https://discourse.cmake.org/u/Jeffrey_Bromberger)
#### Post date: [March 21, 2026, 12:11am UTC](https://discourse.cmake.org/t/compiling-3-10-x-for-solaris-8/15569/1 "2026-03-21T00:11:19Z")

</div>

OK. I’m into doing wild and crazy things. I want to get CMake running on my main Solaris 8 development environment:

a) Solaris 8 (last release and thoroughly patched to the eyeballs)

b) GCC 4.7.4

c) Binutils 2.24

Everything seems to go pretty good straight out of the box. That is, until I hit cmlibuv and the wheels fall off. My system has neither port.h not sys/port.h, so those event port routines are not there. Is there any way to work around this missing feature short of hand hacking the code? Maybe there’s an option to turn that functionality off?

Thanks so much for listening and helping out. It’s greatly appreciated!

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [March 23, 2026, 12:08pm UTC](https://discourse.cmake.org/t/compiling-3-10-x-for-solaris-8/15569/2 "2026-03-23T12:08:00Z")

</div>

There is no way to build CMake without libuv, but we do support building against an externally-provided libuv by bootstrapping with `--system-libuv`. Perhaps you can find an older version of upstream libuv that still builds on Solaris 8. Or, take a look at how CMake’s `bootstrap` script builds a limited variant of the bundled libuv using only POSIX interfaces. One might be able to locally hack CMake’s own `CMakeLists.txt` files to build libuv that way too.
