Comments (16)
Are you building from a tarball or git repo? If the former, the source code should have version.h
in the root directory in which you extract the tarball contents. If the latter, try doing first autoreconf -ifv && ./configure
. Please let us know if this helps or does not help.
from lepton-eda.
the make command ran, but make install command showed error
mkdir: cannot create directory ‘/usr/local/share/icons’: Permission denied
mkdir: cannot create directory ‘/usr/local/share/icons’: Permission denied
Failed to create directory /usr/local/share/icons/hicolor/16x16/mimetypes
make[4]: *** [Makefile:692: install-data-local] Error 1
make[4]: Leaving directory '/mnt/d/lepton-eda/lepton-eda/liblepton/data'
make[3]: *** [Makefile:572: install-am] Error 2
make[3]: Leaving directory '/mnt/d/lepton-eda/lepton-eda/liblepton/data'
make[2]: *** [Makefile:544: install-recursive] Error 1
make[2]: Leaving directory '/mnt/d/lepton-eda/lepton-eda/liblepton'
make[1]: *** [Makefile:815: install-recursive] Error 1
make[1]: Leaving directory '/mnt/d/lepton-eda/lepton-eda'
make: *** [Makefile:1269: install] Error 2
from lepton-eda.
Usually on Linux, you need superuser permissions to install anything into a directory under /usr
. So instead of plain make install
you have to use something like sudo make install
if sudo
is properly configured on your system. Another option is to log in as the root
user and do make install
. BTW, please first ensure the directory /usr/local/share
exists on your system (I'm not sure what ubuntu app provides on windows).
from lepton-eda.
I think the sudo make install worked, but when i try to run lepton-schematic, this happens
(guile-2.2:8863): Gtk-WARNING **: 13:47:06.686: cannot open display:
from lepton-eda.
It may be due to running the program under the user that does not access to the current X server display. E.g., if I log in as vzh
and run sudo lepton-schematic
in terminal under root
, I get the same error cannot open display: :0
. Of course, it can be somehow solved using X utilities such as xhost
and xauth
though in my case I'd better run the program without sudo
:-) Please check if the user you're running the program under has appropriate permissions to access the X server display reported. Googling for the issue may help in this case, I believe.
from lepton-eda.
First of all, I really appreciate your help and thank you for bearing with a newb.
I think I solved the problem (guile-2.2:8863): Gtk-WARNING **: 13:47:06.686: cannot open display:
by the following command
export DISPLAY="$(grep nameserver /etc/resolv.conf | sed 's/nameserver //'):0"
But now when I enter lepton-schematic
no GUI opens up and the terminal goes blank.
from lepton-eda.
@RGT1995 You could try the following command:
DISPLAY=:0 lepton-schematic
/etc/resolv.conf
contains the address of your name server,
but you want to run the app on your local machine.
from lepton-eda.
@RGT1995, do you have any other GTK app installed on your system? Maybe running it would provide you with some new hints in solving the issue.
from lepton-eda.
@graahnul-grom I tried that but it did not work.
from lepton-eda.
@vzh I tried to run gnome-calculator it showed
Unable to init server: Could not connect: Connection refused
(gnome-calculator:2601): Gtk-WARNING **: 16:41:13.866: cannot open display: localhost:0.0
from lepton-eda.
@RGT1995, it's obviously not an issue with Lepton then. I doubt I would be of much help here. Just never used such a configuration. You have to learn how to connect to the X server on your machine. First, I would try ps ax|grep X
or ps ax|grep xorg
to find out the X process which runs on your machine and learn what args it runs with. Then maybe use top
or some similar program to find the process owner, it may be root
or your local user account. Probably, that information could provide you with some farther hints. And... maybe some forums dedicated to ubuntu-app
exist? You could try to ask about the issue there or search for issues mentioned there before. Anyways, if you resolve your issue, please let us know. I'd be glad to add such info to our wiki.
from lepton-eda.
I've found a relevant documentation at
https://wiki.ubuntu.com/WSL, especially this chapter:
https://wiki.ubuntu.com/WSL#Running_Graphical_Applications
It seems that you have to install the X server separately
and run it before starting any GUI apps.
Another possibility to run Lepton EDA under Windows
is to use Cygwin.
We have a wiki page describing the installation process:
https://github.com/lepton-eda/lepton-eda/wiki/Cygwin
from lepton-eda.
@vzh @graahnul-grom
Lepton-schematic is running on my windows.
Thanks for the support.
from lepton-eda.
Hooray!
Could you please share with us the way you solved your last issue with connection to X?
from lepton-eda.
I started with dowloading WSL and ubuntu.
Then using sudo apt install
most of the dependencies could be installed.
After installing lepton, I downloaded Xming and launched Xlaunch with no access control.
In the ubuntu terminal I ran
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
from lepton-eda.
@RGT1995, @graahnul-grom , thank you! I've added the page on installation under Windows referring to this issue and some links above.
from lepton-eda.
Related Issues (20)
- Links to gitter.im are broken HOT 7
- Cannot load lepton-schematic configuration HOT 22
- LM317 has pinseq visible instead of pinnumber HOT 2
- Segfault after multiple opening/closing of Edit Attributes dialog box HOT 19
- Custom Color Maps? HOT 2
- lepton-schematic not starting HOT 9
- Behavioral source in Lepton-eda HOT 4
- lepton-tragesym fails HOT 2
- *wishlist* Customizable net/bus width and junction cue sizes HOT 1
- segfault crash is lepton-schematic HOT 2
- Switcap backend doesn't work completely, like it does in gEDA/gaf HOT 8
- lepton-eda_1.9.11 from https://packages.ubuntu.com/groovy/lepton-eda cannot be installed on Ubuntu 20.04.3 HOT 3
- lepton-schematic-1.9.17 fails to run (compilation of /usr/share/lepton-eda/scheme/lepton/ffi.scm failed) HOT 9
- lepton-schematic ubuntu impish fails to run HOT 7
- Gtk3 port: issue with zooming when gui::warp-cursor=true
- Q: Is this Functional Electronic Computer-Aided Design (fECAD) solution? (Basically OpenSCAD for electronics?) HOT 2
- lepton-archive --extract behavior
- Failure to compile schema at first start HOT 1
- lepton-netlist will not run HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lepton-eda.