Questions related to compiling software, normally using the "make" command.

learn more… | top users | synonyms (2)

5
votes
2answers
2k views

Maya Calendar from Elementary OS on Ubuntu

The Maya Calendar from Elementary OS seems really nice: Has anyone been able to run it on Ubuntu ? Is it available on some repository ? After installing the dependencies, I only get a ton of error ...
0
votes
1answer
4k views

How to enable c99 and c11 on gcc?

When I compile the following code it gives compilation error that error: ‘for’ loop initial declarations are only allowed in C99 mode for(int i = 0; i < 5; i++) and to compile your code use ...
0
votes
2answers
32 views

Where should I put compiled binaries so that the would become searchable?

I'm compiling software from source. This software project doesn't come with an installer, so I just put the binary in /usr/local/bin, then I can start it from the terminal with a command software ...
0
votes
0answers
16 views

revkit installation [duplicate]

so i need to install this software called revkit on ubuntu 12.10. below are the instructions as per the manual: Requirements RevKit needs a couple of packages which can easily be installed with the ...
1
vote
3answers
380 views

How to install RevKit

I’m trying to install a software called RevKit on Ubuntu 12.10 and the following instructions1 need to be followed: RevKit can be downloaded from the www.revkit.org website. Opening a Bash ...
1
vote
0answers
70 views

How to do build a 64-bit develop environment in Ubuntu 12.04 LTS 32-bit? [closed]

I using the Ubuntu 12.04.4 LTS 32-bit. But now, I want to build 64-bit binaries & packages as same source of Ubuntu 12.04.4 LTS 32-bit on it. I think that, If I use CLFS(Cross Linux From ...
1
vote
1answer
133 views

“Can not compile without isnan function or macro” when trying to compile geos on 14.04

Using a procedure for building geos on ubuntu 12.04, I'm trying to build geos on 14.04 and get the error, "Can not compile without isnan function or macro" when make is executed. sudo apt-get -y ...
1
vote
0answers
58 views

'__FDELT' and '__FDMASK' not declared in this scope (posix_types.h not included)

I'm running Ubuntu 12.04 LTS, 64bit version. I'm getting the following error when compiling a C++ program: ../elements/userlevel/socket.cc:477: error: '__FDELT' was not declared in this scope ...
1
vote
1answer
273 views

How to set /usr/bin/i586-mingw32msvc-g++ to gww?

I use cross compiling for C++ using MinGW... I use /usr/bin/i586-mingw32msvc-g++ filename.cpp to compile, but I want to be able to type gww filename.cpp I think I need to set a PATH ...
2
votes
1answer
247 views

trying to install terminal window managers

I'd like to try some terminal window managers such as Viper Window Manager (VWM) and Twin ("Textmode WINdow"), but I'm having difficulties getting them running in Ubuntu. Are packages available for ...
2
votes
0answers
154 views

Is it possible to compile a kernel module under chroot?

Under a chroot environment, is it possible to build a kernel module without having the kernel installed, just the headers? It sounds like something you wouldn't want to do, but in my case I do. I've ...
1
vote
0answers
211 views

use NUT 2.7.1 in Ubuntu server 12.04 [closed]

I have questions in regards to using a different version of NUT than what is available through apt-get for Ubuntu server 12.04. The version of NUT that is available in Ubuntu server 12.04 is 2.6.3. ...
0
votes
0answers
472 views

g++ 4.8.2 on ubuntu 14.04 fails to compile source files

I'm really frustrated at present in that g++ is throwing up so many errors even on a simple .cpp file. I'm typing: g++ test.cpp at the command line. Thanks in advance for any help. I downloaded g++ ...
1
vote
0answers
158 views

RTL8723AE PCIe driver problem

I have looked at this question but I get this error while compiling and am unable to load the module afterwards: make -C /lib/modules/3.13.0-24-generic/build ...
0
votes
1answer
251 views

Compiling the mysql_fdw for postgresql?

I'm attempting to compile the MySQL Foreign Data Wrapper for Postgresql 9.1+, on Ubuntu 12.04 LTS and having a fair bit of trouble getting it to work. So far I've managed to use git to download the ...
1
vote
1answer
317 views

Is it possible to produce an ISO image of my current installed Ubuntu OS? [duplicate]

I am running Ubuntu 12.04 TLS. Is there a way to produce an ISO installable image of my current system so as I could burn the image on a CD and be able to install it on an other laptop ? I tried ...
0
votes
1answer
551 views

Compile evolution development snapshot 3.13.1

I have downloaded evolution development snapshot from this link: https://wiki.gnome.org/Apps/Evolution and now I have trouble compiling the source code. I am using ubuntu 14.04 and this version of ...
1
vote
1answer
7k views

ubuntu /usr/bin/ld: cannot find -lgcc_s

I am compiling a fortran program by using g77 on Ubuntu 14.04, I got the following error: ubuntu /usr/bin/ld: cannot find -lgcc_s Didn't you ever have experience with such problem?
1
vote
1answer
717 views

How do I install a specific version of java on Ubuntu

I am trying to build Android from source and it require Java 1.6 to build. So, I installed OpenJDK version 6. However, when I try to build using the make command I get the following message: Your ...
0
votes
1answer
183 views

gem install eventmachine fails, using rvm

Ubuntu 13.10 64bit, ruby 2.1.1 rvm 1.25.24 gem 2.2.2 from log file: compiling pipe.cpp ...
2
votes
0answers
171 views

Compiling error checkinstall

Hi I wanna compile my first package (Wine) under Ubuntu (it's also my first day with this OS). I ran ./configure and make, no errors. But when I did checkinstall then I got this back: ...
0
votes
0answers
97 views

globus toolkit installation

I'm trying to install globus toolkit on Ubuntu 14.04. When I ran make command I got problem that I mentioned below: globus@JMD:~/gt5.0.2-all-source-installer$ sudo make | tee installer [sudo] ...
0
votes
1answer
190 views

Which is exact method to install from source?

I have run (gradually) following command to install gdebi from source: apt-get build-dep gdebi apt-get source gdebi cd gdebi-0.9.5.3 dpkg-buildpackage -uc -us -b Which gives me error (posted last ...
1
vote
0answers
26 views

How to point to Boost built from source

I like to keep my Boost installations full and up to date to the latest release. I just noticed that I sloppily approved libboost-dev-all, and some of my programs that I develop are not able to ...
0
votes
0answers
228 views

/usr/bin/ld: error: cannot find -lpython2.7

While installing pyscard.py I get this error, gcc -pthread -shared -Wl,-rpath,$ORIGIN/../lib -g -L/home/builder/jenkins/workspace/Python_Masters/ARCH/x86_64/label/Linux/core/lib ...
1
vote
1answer
627 views

Compiling Intel-phc says I don't have headers

Trying to follow an online tutorial "Intel-phc with latest kernel on Ubuntu". My ubuntu kernel version is 3.2.0-38-generic (Ubuntu 14.04). Following the instructions I downloaded kernel 3.14.2 from ...
0
votes
0answers
61 views

problem in compiling xv6 mit's project

Currently, I am working on XV6 but there is a problem when I build it withmake qemu then it gives me following error: i386-elf-gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb ...
0
votes
0answers
25 views

Could not find Urbi when compiling

I have installed urbi-suite-1.22.1-linux32 and to compile the system I try both of the following commands: ./build.sh and cd __build cmake -DCMAKE_INSTALL_PREFIX=$(pwd)/install But I get ...
0
votes
0answers
38 views

Workoflow for regularly updating custom compiled kernels

Suppose you want a kernel with additional features such as the grsecurity patches which are not included in the ubuntu standard kernel images. Doing this once is not a big deal but when you update it, ...
4
votes
0answers
299 views

bfd.h should include libiberty/ansidecl.h in Ubuntu 14.04?

binutils package seems to be changed, as include directory of libiberty.h has moved to /usr/include/libiberty, thus there is possible a wrong include in bfd.h regarding ansidecl.h. Getting those ...
1
vote
1answer
5k views

Error 255 when trying to install openssl-1.0.1g from source

installing man1/cms.1 cms.pod around line 457: Expected text after =item, not a number cms.pod around line 461: Expected text after =item, not a number cms.pod around line 465: Expected text after ...
2
votes
1answer
211 views

Compile error when trying to run make

I have the following error when trying to run make command, /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../libcppunit.a when searching for -lcppunit /usr/bin/ld: ...
0
votes
1answer
136 views

Adding extract tool to nautilus (compiled from source code)

How can add and Extract Zip File tool to nautilus? I installed nautilus from the standard source code in repository. Now: ? I remember there was a extract here selection in this menu before ...
0
votes
1answer
147 views

./configure error xft.pc is missing

i try to install something and did as asked in the readme ./configure but it gives me the following error: checking for xft... Package xft was not found in the pkg-config search path. Perhaps you ...
0
votes
1answer
38 views

`build-dep` download location?

I downloaded build dependency of nautilus with sudo apt-get build-dep nautilus now; where can I find its .h and .cpp files?
2
votes
2answers
181 views

ffmpeg: installing from repository or compiling from source?

When googling for "install ffmpeg ubuntu" the first link I've got was https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide, so I followed it, and unfortunutely got some errors during ffmpeg ...
0
votes
0answers
85 views

Using .apk files on ubuntu

I wanted to know if .apk files xan be reverse compiled to get source code and then be recompiled for x86 platform to make it work on an ubuntu or windows system? Related Question: Can I run Android ...
1
vote
1answer
138 views

Error in connecting CMake to FreeBASIC compiler. CMake Error: The source directory does not appear to contain CMakeLists.txt

I was in the middle of installing Allegro to help me compile C++ games and animations. I needed to install a Make program to get the ball rolling. I installed CMake and tried to connect it to my ...
1
vote
1answer
51 views

Missing libriaries for a GUI .bas test and how does one get them? ld: cannot find -lX11, -lXext, -lXpm, -lXrandr, -lXrender

I was testing out FreeBASIC compilier for its ability to make interactive software (in this case, a simple game called Asteroids.) The .bas code for it is right below: ' ÜÛÛÛÛÜ ...
1
vote
1answer
121 views

Error when compiling a .bas file using FreeBASIC: Expected End-of-Line, found '['

I tried making a simple code to get into .bas based coding. I was using FreeBASIC code compiler to create my codes. I tried making a simple code that will bring out any text into the terminal. ...
0
votes
0answers
488 views

I already have the newest version of g++ but I still get a 127 error what do I do?

I have done the following. I just don't know what to try next. I supposedly have the newest version of gcc by following these directions sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo ...
0
votes
2answers
3k views

How do you fix a gcc compile 127 error? sudo apt-get install g++ doesn't work

*emphasized text*when I try to run a program I get the following error. ubuntu@ubuntu-VirtualBox:~/Desktop$ make g++ -Wall -Wno-switch -I. -g -c -o pass.o pass.cpp make: g++: Command not found ...
0
votes
0answers
24 views

Recompiling the kernel after modifying the “irq.c” Module

I modified the irq.c file in the kernel by including several printk() statements to trace some values that I wanted to recovered. Logically, after modifying the irq.c file I attempted to recompile the ...
0
votes
0answers
58 views

Trying to compile 'mips64' program with gcc 3.3 but it has an error when building binutils and gcc

I tried building binutils and gcc3.3 for mips64 and everything goes well until: make CC=$GCC make install [For make an error saying, that: gmp.h and confdefs.h are not found] [For make install: ...
3
votes
2answers
95 views

Is there a plugin for the terminal which allow to detect and open files?

I'm looking for a terminal plugin/extension that would allow me to detect files path in terminal output and open them in a text editor by clicking on them. The perfect solution would open the file at ...
0
votes
1answer
29 views

Can i recompile kernel in dualboot environment?

I need to fix a value hid-ids.h and compile kernel so that my device will work. But i'm on dualboot with windows 8. If this goes wrong can it damage grub or will this just affect my ubuntu ...
0
votes
0answers
387 views

Buliding and running NS-3 based program and doing all that trough Geany

everyone! Now, I wanted to set up my Geany so I can build, compile and execute any NS-3 based program instead of always using console way and compiling there the program and executing again in the ...
-3
votes
1answer
126 views

Trying to Compile Latest OpenSSL from Source Fails With Errors [closed]

I'm running Ubuntu x86_64, and want to upgrade to OpenSSL 1.0.1.f. wget <openssl latest> tar -xzvf openssl.tar.gz cd <openssl dir> ./configure --prefix=/usr make In the console output, ...
0
votes
1answer
211 views

collect2 error while compiling fortran code

I have installed necdf-4 successfully. I am getting collect2: error: ld returned 1 exit status error when I compile a fortran code that writes netcdf files. I use gfortran compiler. I am sure the ...
0
votes
2answers
1k views

Vim cannot find syntax.vim

Recently, I needed to build Vim from source to use a plugin that required Lua interpreting. This worked fine on my laptop, but my tower computer is having some issues. Any time I run Vim, I recieve ...