SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Ubuntu installation issue (by Russell Gray)
Just found the product and it looks interesting, however I am using Ubuntu 16.04 LTS and encounter a problem at:
"After that, build SolveSpace as following:

mkdir build
cd build
* cmake ..
make
sudo make install"

The cmake command requires more input than this?
Since I am new to Ubuntu and SolveSpace I thank you for whatever help you can give.
Wed Sep 28 2016, 11:32:25
(no subject) (by whitequark)
>
The cmake command requires more input than this?

It does not. Why do you say that it does? Is there an error message? If so, post it here.
Wed Sep 28 2016, 12:13:59
(no subject) (by Andrew Bromley)
There should not be an * before the cmake command, just type:-
cmake ..
at the command prompt.
Wed Sep 28 2016, 14:46:18
re: Installation issues (by Russell Gray)
The asterisk just indicates where the issue began, at 'cmake ..'.
Note that there was no more information after the double periods.
As of several moments ago I get the following:

russell@russell-Satellite-P755:~$ apt-get install libpng-dev libjson-c-dev libfreetype6-dev \
> libfontconfig1-dev libgtkmm-2.4-dev libpangomm-1.4-dev \
> libcairo2-dev libgl-dev libglu-dev cmake
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
russell@russell-Satellite-P755:~$ sudo apt-get install libpng-dev libjson-c-dev libfreetype6-dev \
> libfontconfig1-dev libgtkmm-2.4-dev libpangomm-1.4-dev \
> libcairo2-dev libgl-dev libglu-dev cmake
[sudo] password for russell:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
Note, selecting 'libgl1-mesa-dev' instead of 'libgl-dev'
Note, selecting 'libglu1-mesa-dev' instead of 'libglu-dev'
libcairo2-dev is already the newest version (1.14.6-1).
libcairo2-dev set to manually installed.
libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2).
libglu1-mesa-dev is already the newest version (9.0.0-2.1).
libgtkmm-2.4-dev is already the newest version (1:2.24.4-2).
libjson-c-dev is already the newest version (0.11-4ubuntu2).
libpangomm-1.4-dev is already the newest version (2.38.1-1).
libpng12-dev is already the newest version (1.2.54-1ubuntu1).
cmake is already the newest version (3.5.1-1ubuntu2).
libfontconfig1-dev is already the newest version (2.11.94-0ubuntu1.1).
libgl1-mesa-dev is already the newest version (11.2.0-1ubuntu2.2).
The following packages were automatically installed and are no longer required:
ebtables firewalld gir1.2-networkmanager-1.0 ipset libavahi-ui-gtk3-0
libfreerdp-plugins-standard libgtksourceviewmm-3.0-0v5 libgtkspellmm-3.0-0v5
libipset3 liblept5 libmessaging-menu0 libssh-4 libtesseract3
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-22
linux-headers-4.4.0-22-generic linux-headers-4.4.0-24
linux-headers-4.4.0-24-generic linux-headers-4.4.0-28
linux-headers-4.4.0-28-generic linux-headers-4.4.0-31
linux-headers-4.4.0-31-generic linux-headers-4.4.0-34
linux-headers-4.4.0-34-generic linux-image-4.4.0-21-generic
linux-image-4.4.0-22-generic linux-image-4.4.0-24-generic
linux-image-4.4.0-28-generic linux-image-4.4.0-31-generic
linux-image-4.4.0-34-generic linux-image-extra-4.4.0-21-generic
linux-image-extra-4.4.0-22-generic linux-image-extra-4.4.0-24-generic
linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic
linux-image-extra-4.4.0-34-generic pyside-tools python-ply python3-decorator
python3-selinux python3-slip python3-slip-dbus remmina-common tor
tor-geoipdb torsocks xul-ext-calendar-timezones
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
russell@russell-Satellite-P755:~$ git submodule update --init extlib/libdxfrw
fatal: Not a git repository (or any of the parent directories): .git
russell@russell-Satellite-P755:~$ mkdir build
mkdir: cannot create directory �build�: File exists
russell@russell-Satellite-P755:~$ cd build
russell@russell-Satellite-P755:~/build$ cmake .. -DENABLE_TESTS=OFF
CMake Error: The source directory "/home/russell" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
russell@russell-Satellite-P755:~/build$ make
make: *** No targets specified and no makefile found. Stop.
russell@russell-Satellite-P755:~/build$ sudo make install
make: *** No rule to make target 'install'. Stop.

Please note that as of this morning there is information after 'cmake ..'.
Thu Sep 29 2016, 08:49:56
(no subject) (by whitequark)
@Russell, you need to run `git ...` and all later commands in a git checkout of solvespace. Try `git clone https://github.com/solvespace/solvespace` `cd solvespace` first.
Thu Sep 29 2016, 09:29:30
(no subject) (by User1)
@whitequark, is it a way built it without internet connection? In offline mode?
Mon Oct 3 2016, 09:38:34
(no subject) (by whitequark)
@User1, sure. Do `git clone https://github.com/solvespace/solvespace && cd solvespace && git submodule update --init` on a machine with an Internet connection; then transfer the entire "solvespace" folder to your offline machine. You will also need all -dev packages mentioned in README on your offline machine.
Mon Oct 3 2016, 18:29:01
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.