Build-Essential for Opensuse

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



Leave a reply



Submit