Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7747407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:31:17+00:00 2026-06-01T10:31:17+00:00

I have a mystery here: I’m using Ubuntu SCons (package version 1.2.0.d20100117-1). I have

  • 0

I have a mystery here: I’m using Ubuntu SCons (package version 1.2.0.d20100117-1). I have a directory $HOME/.scons/site_scons/, which all the documentation says should be one of the site directories searched by default. There’s a module subdirectory fpga. In my project directory, I have an SConstruct file consisting solely of:

import fpga

Here’s the oddity: When I just run scons, I get the following error:

$ scons
scons: Reading SConscript files ...
ImportError: No module named fpga:
  File "BLAh/foo/SConstruct", line 1:
    import fpga

If I run scons --site-dir=$HOME/.scons/site_scons, which seems like it should be the default anyway, then everything works like a charm.

An additional oddity: When I run strace scons, it never tries to stat or open $HOME/.scons — in fact the only place it looks for site_scons is ./site_scons.

Has anyone else ever seen this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:31:18+00:00Added an answer on June 1, 2026 at 10:31 am

    You’ll need to update to a later version to get ~/.scons to automatically get picked up by SCons.

    Here’s the 1.2 docs, which don’t mention the ~/.scons

    http://scons.org/doc/1.2.0/HTML/scons-man.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big mystery here, I have a Gdataxml document property: GDataXMLDocument *doc;
I have a bit of a mystery here that I am not quite understanding
Using nl.siegmann.epublib I have taken a resource from a book which I try to
This should be a no brainer but I have a small mystery with the
have written this little class, which generates a UUID every time an object of
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=
Have deployed numerous report parts which reference the same view however one of them
Have an issue with marshall and unmarshall readers and writers. So here it is.
I know I'm reaching for straws here, but this one is a mystery... any
Here's my situation. I have a library that has a set of enums that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.