Tag Info

Hot answers tagged

8

You can solve your problem in another and more simple way: Use ldd on your executable to see the linked libraries, for example: $ ldd /bin/bash linux-vdso.so.1 => (0x00007fffb2fd4000) libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fac9ef91000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fac9ed8d000) libc.so.6 => ...


4

If you would like to know whether a command has succeeded or failed, you usually have to check its exit code. Zero indicates success, non-zero shows failure. Example in shell: gcc foo.c rc=$? # Store exit code for later use if [ $rc -ne 0 ]; then # $rc not equal to zero echo "gcc exited with $rc" fi You could also use && or || to execute a ...


3

It is not bad by any stretch of imagination if your goal is to build software from sources. Some cases when this is necessary are: you are a developer that builds software you want to test some software that is not available as an ubuntu package or a new version of software that is not available yet However, outside of these cases, it is recommended to ...


3

./configure; make; make install is bad because it is difficult to undo unless: the developer provided an uninstall target, or you provided a prefix to configure, so all the installed files are tucked away in a neat corner of the filesystem. One should use checkinstall instead. Install it: sudo apt-get install checkinstall And then use checkinstall ...


1

As the link below explains, somewhere in the 2.6.19 kernel, linux/config.h was removed. http://www.linuxquestions.org/questions/linux-kernel-70/removal-of-include-linux-config-h-file-in-2-6-19-kernel-506363/


1

There is now much easier method. Install NodeJs. And via NPM install less-monitor https://www.npmjs.org/package/less-monitor


1

One suggestion regarding statifier: If address space layout randomization (ASLR) is causing it to fail you don't have to turn it off for the whole machine. You can turn it off just for that process: $ setarch `uname -m` -R statified_pdfedit [args...] It'll run that command with randomized layout disabled (no need to be root).


1

In ubuntu, this manual represents a wrong way to install from source something, that exists in the library. The right one is this: apt-get source <package> sudo apt-get build-dep <package> dpkg-buildpackage -rfakeroot -uc -b dpkg -i <package>.deb. Full instructions here For kernel and libs procedure is different.


1

The application that you're trying to build requires Gnuradio 3.7.6 but only 3.7.2 is available from Ubuntu repositories on a 14.04 system. You'll have to build Gnuradio from source: Open a terminal window, move to the directory you would like the source files to be stored (e.g. cd src/), remove old build-gnuradio file, and run this command: $ wget ...


1

Yes you can update linux kernel without updating your linux distro. To install the latest kernel you can always visit http://kernel.ubuntu.com and https://wiki.ubuntu.com/Kernel to see what's going on. As of today the latest kernel is 3.17. If you are using ubuntu 14.04, for example goto this link: Install/Upgrade to Linux Kernel 3.17 in Ubuntu 14.04 ...


1

Solved by muru in comments: You should be grepping the stderr: gcc ... |& grep. – muru



Only top voted, non community-wiki answers of a minimum length are eligible