Tag Info

New answers tagged

2

install libhdf5-dev add patch to libhdf5 in Makefile.config. example: INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/


1

I got it! You need to change line 19 in Makefile to @${LD} -o $@ ${OBJ} ${LDFLAGS}


4

/usr/bin/gcc is just a symbolic link, eg: $ ls -la /usr/bin/gcc lrwxrwxrwx 1 root root 7 Mär 12 17:28 /usr/bin/gcc -> gcc-4.9 Why the link on your system does not exist (anymore), we can only speculate about it. You have two options: Create the symbolic link sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc or Reinstall the package gcc sudo apt-get ...


2

applications and they don't include a makefile That depends on what has provided the author of the program. Use the script autogen.sh or configure Read the instructions in INSTALL Read the instructions in README Create your own Makefile, eg: nano Makefile with the lines below helloworld : helloworld.c cc -o helloworld helloworld.c and run make ...


2

For Jack, the last message that you get is db.h... no To install that header file, type: sudo apt-get install libdb4.7-dev The error ardour also points to libdb.


0

It seems your autoconf and automake packages are not up to date, did you try to update them? if not, you may run: sudo apt-get update sudo apt-get dist-upgrade sudo apt-get upgrade and afterwards if your problem is still unsolved try to install autoconf and automake again: sudo apt-get install automake sudo apt-get install autoconf


1

Turns out the CPU was not cooling properly, and this wasn't reported to the OS, nor in any way did it make the system shut down. During compilation, CPUs maxed out quickly at 100C. Running sensors showed that the critical limit of the CPU was in fact 100C. After dismounting the cooler, I could see that only a small patch of thermal paste had actually ...


1

Your error message gives you the exact cause of the issue, and I've wrapped it in three asterisks below: file.c:102:0: fatal error: ***error writing to /tmp/ccF9p6T9.s: No space left on device*** This means that your /tmp directory, whIch holds temporary files and such, is full. You've said that you never reboot the box, because it's always computing ...


0

As far as I can determine, you are using a 4th generation Intel core processor with a BIOS version that is too old to be used with that processor. You should update the BIOS version from 0604 to 2403 and then re-try your benchmark compiles. Note there seems to be some notes about needing a "BIOS updater tool first before using the new Intel 4th Gen Core ...


0

At last, I just figured out the best solution was to install MinGW on Wine and run the g++.exe from Wine. It works like a charm really and never gives a single problem once the setup is finished.


4

Assuming, you have a 32-bit system: Using these steps sudo apt-get install build-essential sudo apt-get install git sudo apt-get install libgnome-keyring-dev sudo apt-get install fakeroot Setup node.js curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash - sudo apt-get install nodejs Clone the Atom repository cd git clone ...


1

https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md Build it mate. As it is in readme, step by step. :)


1

I used to have these problems when configuring python with --enable-shared and the python executable would find and load the installed /usr/lib/x86_64-linux-gnu/libpython2.7.so. Removing that option from the configuration helped solve the problem.


1

First i looked this guide but it doesn't cover all libraries and a bit outdated. At first step, it makes you to install some libraries from Software Center which most likely provides old versions. Ex. libvorbis-dev The guide uses some packages from the repository for user convenience. Many of these packages, such as libvorbis-dev, are in a mature state ...


1

I would install the following libraries for building the graphical interface and using the faster atlas library: sudo apt-get install libqt4-dev libatlas-base-dev openjdk-7-jre openjdk-7-jdk libqrupdate-dev libqhull-dev you also need to set up the java path in your .bashrc export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64


1

These are the installed executables : /usr/bin/arg-cons /usr/bin/arg-db /usr/bin/arg-extract-ages /usr/bin/arg-extract-breaks /usr/bin/arg-extract-popsize /usr/bin/arg-extract-recomb /usr/bin/arg-extract-tmrca /usr/bin/arg-extract-treelen /usr/bin/arg-layout /usr/bin/arg-sample /usr/bin/arg-sample-genome /usr/bin/arg-serve /usr/bin/arg-sim ...


2

Run make to run a Makefile. This assumes that you're in the same directory as where the file Makefile is located. If you're in a different directory, run make -C directory, where directory is the path to the directory that contains the file Makefile.


0

@Thomas Vander Stichele I have come up with a workaround that uses the generated temporary file as a patch: https://www.theo-andreou.org/?p=1112#toc-apply-patches-for-policy-compliance


0

If you install a package via apt, than you cant't change the options (keyword Makefile) for the compiler because you install one or more binaries. So you have to recompile if you want that a particular option is added or removed. Alternatively, you can search a PPA that is better suited to your needs.


2

the software that you configure, make, make install can generally have the source dirs cleaned up. They should install everything they need as long as the installer was built properly. I'd suggest moving the dir that you compiled in and testing functionality before deleting. All of that work should be done in a src dir, normally the /usr/src, or even ...


2

don't try to delete anything inside / directory by your self there. In linux file system hierarchy there is /bin Common programs, shared by the system, the system administrator and the users. /sbin it contains the executable which requires the root permission to execute /lib contains the libraries required for the installed programs /usr Programs, ...


1

add below driver to the file (arch/arm/configs/bcm2835_defconfig) CONFIG_MMC_BCM2835=y CONFIG_MMC_BCM2835_DMA=y CONFIG_DMADEVICES=y CONFIG_DMA_BCM2708=y cp arch/arm/configs/bcm2835_defconfig ./.config make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- it works for me. that's ...


1

Found out how to fix this: add the following to my .pro file: linux-g++ | linux-g++-64 | linux-g++-32 { QMAKE_CXX = g++-4.8 QMAKE_CC = gcc-4.8 }


1

You're possibly missing g++ package on your machine. Open a terminal and install it using the below command: sudo apt-get install g++ To compile using g++ use this g++ -o test.o test.cpp g++ can be used to compile C++ source, the default ubuntu installation comes with gcc, but not with g++. You are trying to compile C++ source using a C ...


2

cc1plus is the c++ backend (real compiler) for gcc, if you are primarily going to program in c++ you will really want to install g++ (will have cc1plus with it). Using one the package system front ends apt-get, synaptic, software manager, or a number of others it will install the dependencies with it. execvp is a programming function, the file you found ...


2

looks like to need to install the stdc++ dev files sudo apt-get install libstdc++-4.8-dev then to compile the code g++ -o execname ./sourcefile.cpp -std=c++11


1

When you cloned the git it made a folder called GfxTablet in your home folder. Inside this is driver-uinput, change to it like this cd GfxTablet/driver-uinput Then make This makes a file binary called networktablet in GfxTablet/driver-uinput Now keep following your instructions.


0

Command cd driver-uinput is to change directory to "driver-uinput`". If you cloned git repository to your home folder, then it must be inside "GfxTablet" directory. You can get there by cd GfxTablet/driver-uinput


2

AlainD, Geany actually has the options that you're looking for built in. At the top of the screen towards the middle there is a button that looks like a little gear, as well as a button that looks like a brick wall. These are your options for compile and run. Once you've written your code to your satisfaction, you simply click the compile button, and at the ...


2

No this is not an error. The script runs and give the output which is "1". It is added to the same line the Terminal sees, and not making a new line after output through, so it seems like it isn't running. All you have to do is to add a new line character which is mostly the \n at the end of the output so that you print a new line to the end of the output, ...


2

There is nothing wrong with your code, but the auto specifier is present since c++11 version of the standard of C++ programming language. You must use g++ -std=c++11 a.cpp to compile your code.



Top 50 recent answers are included