Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Local Build Execution Without Global Installation for Xschem #272

Open
ananthchellappa opened this issue Jan 2, 2025 · 1 comment

Comments

@ananthchellappa
Copy link

Currently, when Xschem is already installed globally, building the repository from GitHub and running the executable from the src directory works seamlessly. However, in the absence of a global installation, executing the locally built Xschem results in the following error:

Tcl_AppInit() err 3: xschem.tcl not found, you are probably missing XSCHEM_SHAREDIR

The error indicates that the executable is attempting to locate resources in /usr/local/share/xschem, which requires a global installation of Xschem. This behavior limits the usability of locally built instances for testing or development purposes.

To enhance usability, it is proposed update the setup process to allow the local build to operate independently of global installation. This would involve modifying the build or execution scripts to dynamically locate or use relative paths for required resources, ensuring smooth functionality in standalone environments.

Action Required: Update the build and execution flow to enable local builds of Xschem to run without requiring a global installation.

@StefanSchippers
Copy link
Owner

StefanSchippers commented Jan 2, 2025

You need to go into the src/ directory and start xschem from there. This is what xschem uses to search all needed files in local directory.
If it still fails rename your local ~/.xschem/xschemrc file to something different (xschemrc_backup)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants