Ask Your Question
1

No package libgl-dev available

asked 2016-07-24 08:29:21 -0600

wolfv gravatar image

I am trying to build a software called Solvespace. This my first attempt at a "Build". Instructions for building Solvespace are on Debian are at https://github.com/solvespace/solvespace I did not find any instructions for building Solvespace on fedora.

I found the names of the dfs packages on fedora packages, except for the libgl-dev package:

$ sudo dnf install libgl-dev
No package libgl-dev available.
Error: Unable to find a match.

Many packages on fedora packages start with "libgl". But "libgl" is not listed.

How can I install libgl-dev package on fedora 24?

Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-07-27 10:07:22 -0600

wolfv gravatar image

SolveSpace is running on my PC. Hooray!

Here are the complete command lines to install SolveSpace on fedora 24:

$ sudo dnf install libpng-devel json-c-devel freetype-devel fontconfig-devel gtkmm24-devel pangomm-devel libGL-devel mesa-libGLU-devel glew-devel cmake 
$ git clone https://github.com/solvespace/solvespace 
$ cd solvespace 
$ git checkout v2.1 
$ git submodule update --init extlib/libdxfrw 
$ mkdir build 
$ cd build 
$ cmake .. 
$ make 
$ sudo make install

Results in two executables, they both launch SolveSpace:

/usr/local/bin/solvespace
/home/wolfv/Documents/developer/cad/solvespace/build/src/solvespace
edit flag offensive delete link more
1

answered 2016-07-24 08:58:40 -0600

sergiomb gravatar image

updated 2016-07-27 21:03:37 -0600

I think you want:
mesa-libGL-devel
mesa-libGLU-devel
glew-devel

altlinux already package it is just copy :) https://packages.altlinux.org/uk/Sisy...

I built solvespace in copr: https://copr.fedorainfracloud.org/cop... and http://copr-dist-git.fedorainfracloud...

when you have a new software you always may try search it in copr

dnf copr search solvespace

sergiomb/builds_for_Stable_Releases

UPDATE:
ah with "git submodule update --init extlib/libdxfrw" we have the second source that have my rpm . I always advice build the rpm and install as rpm here is the source .spec and location of all elements http://copr-dist-git.fedorainfracloud...

from this notes: http://www.serjux.com/build_kernel/bu...

dnf install mock

Note: To use mock, a user should become a member of the mock group by adding their username to the mock line in /etc/group. This can be done with the following command:

sudo /usr/sbin/usermod -a -G mock $USER

Note that mock is not intended to be run directly as root. Beware that adding a user to the mock group means that the user can easily get root access on the machine without providing a password.

rpmbuild -bs solvespace.spec  --define "_sourcedir ." --define '_srcrpmdir .'  && mock -r fedora-24-x86_64 --no-clean --rebuild ./solvespace-2.1-1.fc23.src.rpm
edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-07-24 08:29:21 -0600

Seen: 1,816 times

Last updated: Jul 27 '16