Software Alternatives, Accelerators & Startups

SCons VS pkgsrc

Compare SCons VS pkgsrc and see what are their differences

SCons logo SCons

SCons is an Open Source software construction toolโ€”that is, a next-generation build tool.

pkgsrc logo pkgsrc

pkgsrc is a framework for building over 17,000 open source software packages.
  • SCons Landing page
    Landing page //
    2021-09-21
  • pkgsrc Landing page
    Landing page //
    2023-06-30

SCons features and specs

  • Python Integration
    SCons uses Python scripts for build configuration, which allows users to leverage the full power of Pythonโ€™s capabilities, including libraries and modules, for more complex build scenarios.
  • Automatic Dependency Tracking
    SCons automatically tracks dependencies, ensuring that only the necessary parts of the project are rebuilt. This can lead to faster incremental builds and improved efficiency.
  • Cross-Platform
    SCons is cross-platform and works on various operating systems including Windows, Linux, and macOS, providing a consistent build environment across different platforms.
  • Wide Range of Tools
    SCons supports a wide range of tools and compilers out-of-the-box, making it easier to configure build environments for different programming languages and technologies.
  • Extensibility
    The use of Python makes SCons highly extensible. Users can write custom build targets, scanners, and actions to suit specific project needs.

Possible disadvantages of SCons

  • Performance
    SCons can be slower than other build systems, especially for larger projects, due to the overhead of Python and its dependency scanning mechanisms.
  • Complexity
    While Python scripting offers flexibility, it can also add complexity to the build system, especially for users who are not familiar with Python programming.
  • Learning Curve
    Users new to SCons may face a steep learning curve, due to the need to understand both the build system itself and Python if they are not already familiar with it.
  • Limited IDE Integration
    SCons has limited integration with some popular IDEs compared to other build systems like CMake, which can affect the development experience for some users.
  • Smaller Community
    SCons has a smaller user base and community compared to more widely adopted build systems like CMake, which can result in fewer readily available resources, tutorials, and community support.

pkgsrc features and specs

  • Cross-Platform Support
    pkgsrc is designed to be a portable package management system and can be used on a variety of Unix-like operating systems, including NetBSD, Solaris, Linux, and macOS. This cross-platform capability makes it a versatile tool for developers working in diverse environments.
  • Consistency Across Systems
    Using pkgsrc allows for a consistent package management experience regardless of the underlying operating system, reducing the learning curve and maintenance overhead for administrators managing multiple systems.
  • Comprehensive Package Collection
    pkgsrc offers a wide range of software packages, providing a robust collection that can meet diverse user needs from scientific libraries to web applications.
  • Quarterly Releases
    With quarterly releases, pkgsrc provides a balanced approach between stability and keeping software up to date, offering users new features regularly while maintaining reliability.
  • Flexible Build Options
    pkgsrc supports a flexible build system, allowing users to customize package builds with specific options or dependencies, tailored to their specific needs or system requirements.

Possible disadvantages of pkgsrc

  • Smaller Community
    Compared to other popular package management systems like apt (Debian/Ubuntu) or yum (RedHat/CentOS), pkgsrc has a relatively smaller community, which might affect the availability of support and community-driven improvements.
  • Potentially Older Software
    While pkgsrc maintains stable quarterly releases, it may occasionally lag behind other systems in terms of offering the very latest versions of certain software, which might not be ideal for users needing the newest features.
  • Manual Configuration
    Setting up pkgsrc might require manual interventions and configurations, which could pose a hurdle for users unfamiliar with its setup process or those who prefer more automated solutions.
  • Dependency Management
    Although pkgsrc is quite capable in dependency handling, some users may find its dependency resolution to be less automatic or seamless compared to other systems which offer more integrated solutions.
  • Performance Overhead
    Because it is designed to be cross-platform, there can be some performance overhead associated with using pkgsrc compared to native package managers that are optimized for specific operating systems.

Analysis of SCons

Overall verdict

  • SCons is a good choice for those looking for a robust and flexible build automation tool, especially if they are comfortable with Python. It allows for a more streamlined and manageable build process, particularly for complex and multi-language projects.

Why this product is good

  • SCons is a software construction tool that is used for automating the build process. It is recognized for its ability to handle complex build requirements through a Python-based configuration language. This allows for greater flexibility and power compared to traditional make-based systems. SCons automatically handles dependencies, has a built-in cache system for faster builds, and is cross-platform, making it suitable for both small and large projects.

Recommended for

  • Software developers and engineers who need a flexible and powerful build system
  • Teams working with multi-language and complex codebases
  • Projects that require cross-platform support
  • Developers familiar with or interested in using Python for build configurations

SCons videos

Review Scons Baรฑados Dia %

pkgsrc videos

pkgsrc on ChromeOS

More videos:

  • Review - Using pkgsrc for multi-platform deployments in heterogeneous environments, G Clifford Williams

Category Popularity

0-100% (relative to SCons and pkgsrc)
Front End Package Manager
Developer Tools
0 0%
100% 100
JS Build Tools
100 100%
0% 0
Package Manager
0 0%
100% 100

User comments

Share your experience with using SCons and pkgsrc. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

SCons might be a bit more popular than pkgsrc. We know about 16 links to it since March 2021 and only 11 links to pkgsrc. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

SCons mentions (16)

  • Modern CMake
    Scons is very easy and readable yet very powerful. It is Python based and extensible. https://scons.org/. - Source: Hacker News / about 1 year ago
  • Tired of Makefiles
    Has anyone tried SCONS? Came across someone using it in a place where I worked earlier. Python-based make-like tool. https://scons.org/. - Source: Hacker News / about 2 years ago
  • Show HN: Jeeves โ€“ A Pythonic Alternative to GNU Make
    The most comprehensive make alternative in python I've seen is Scons (https://scons.org/) It would be worth to see how they tackles some of the challenges you're looking into. Blurb from the website: SCons is an Open Source software construction tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches... - Source: Hacker News / over 2 years ago
  • Taskfile: A Modern Alternative to Makefile
    Https://scons.org/ It has cache facility to speed up re-builds. - Source: Hacker News / almost 3 years ago
  • What was used to build C++ programs before Cmake?
    SCons never got popular enough to escape the niches it grew up in. Source: almost 3 years ago
View more

pkgsrc mentions (11)

  • Debian isn't waiting for 2038 to blow up, switches to 64-bit time for everything
    > Most open source software packages are also compiled for BSD variants, they switched to 64 bit time_t a long time ago and reported back upstream any problems. * NetBSD in 2012: https://www.netbsd.org/releases/formal-6/NetBSD-6.0.html * OpenBSD in 2014: http://www.openbsd.org/55.html For packaging, NetBSD uses their (multi-platform) Pkgsrc, which has 29,000 packages, which probably covers a large swath of... - Source: Hacker News / 11 months ago
  • Our Audit of Homebrew
    > https://pkgsrc.smartos.org/install-on-macos/ Note that Pkgsrc is a NetBSD-derived project. * https://pkgsrc.org The Joyent folks leveraged it to allow their customers, who were perhaps not as familiar with Solaris/SmartOS, a larger pool of packages. Pkgsrc was running on Solaris before Joyent, Joyent built on top of it. - Source: Hacker News / almost 2 years ago
  • Show HN: Brioche โ€“ A new Nix-like package manager
    Https://pkgsrc.org/ from netbsd runs on many systems. - Source: Hacker News / about 2 years ago
  • Installing packages without an internet connection?
    It seems according to pkgsrc.org that pkgin might follow the PKG_PATH environment variable. You're supposed to set PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/", and according to uname(1), -p gives the processor architecture and -r gives the operating system [kernel] release. Source: over 3 years ago
  • pkgsrc.se is no more :(
    It seems like pkgsrc.org hasnโ€™t got the news yet. Source: over 3 years ago
View more

What are some alternatives?

When comparing SCons and pkgsrc, you can also consider the following products

GNU Make - GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.

Conda - Binary package manager with support for environments.

CMake - CMake is an open-source, cross-platform family of tools designed to build, test and package software.

Homebrew - The missing package manager for macOS

Ninja Build - Ninja is a small build system with a focus on speed.

Yay - Yay is an AUR helper written in go, based on the design of yaourt, apacman and pacaur.