Using 'sudo apt-get install build-essentials'
Drop the 's' off of the package name.
You want sudo apt-get install build-essential
You may also need to run sudo apt-get update
to make sure that your package index is up to date.
For anyone wondering why this package may be needed as part of another install, it contains the essential tools for building most other packages from source (C/C++ compiler, libc, and make).
Sample program for openSuse and openGL environment
You need to set the DISPLAY
environment variable to point to your X server (which must, obviously, be started).
If that's the same host that's running that code, DISPLAY=:0
will work for usual setups.
If you're running that code remotely via SSH, make sure both your server and your ssh client are set up for (and using) X11 forwarding. (It should "just work" after that.)
If you're running remotely with something else than SSH, set DISPLAY=<hostname or IP address of your display>:<display number>
, so something like:
DISPLAY=192.168.0.1:0.0
[Note: For OpenGL to work well remotely, you'll need a server that has the GLX extension.]
What are build-essential & build-dep?
The build-essential
package is a reference for all the packages needed to compile a Debian package. It generally includes the GCC/g++ compilers and libraries and some other utilities.
Check out the documentation here.
not able to build mod_tile on openSUSE
i am using this code
https://github.com/springmeyer/mod_tile
to build mod_tile now its working fine.
Related Topics
Open-Source Opengl Profiler for Linux
How to Get Groupname When I Have The Groupid
How to Add My Scheduler to Linux Kernel
Linux Command 'Ll' Is Not Working
Why Does The Linker Modify a -Defsym "Absolute Address"
Rtnetlink Answers: No Such File or Directory
Install Lisp on My Linux Machine
How to Stop Sed from Buffering
Docker Installation on Linux Mint 19.2 Doesn't Work
Does Grub Switch to Protected Mode
Stop a Running Dotnet Core Website Running on Kestrel
Ldd Shows Varied Addresses on X86 Linux
What Is The Maximum Number of Subdirectories Allowed in Ext4
Analog of Com Programming in Linux/Unix
Differences Between Sponge and Tee
Sleep in a While Loop Gets Its Own Pid
How to Read/Write From/To a Linux /Proc File from Kernel Space