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

learn more… | top users | synonyms (2)

1
vote
2answers
915 views

Why does “pkg-config” print only a blank space with the “--cflags” option?

I installed libcurl using :sudo apt-get install libcurl4-openssl-dev. When I try to compile my program I read that we have to pass where libcurl is located to the GCC compiler(although for me its ...
6
votes
1answer
1k views

How to build Compiz from source?

Similarly to this question made for Unity, I would like to know what is the correct procedure to build the latest development release of Compiz from source. In particular, it would be useful to know ...
13
votes
4answers
36k views

What's the Linux equivalent to Windows batch files?

I have a batch file which I use to create an .apk file on my Windows machine. Now I need to be able to create the .apk file in Ubuntu but I don't know how translate my .bat file to a script to be able ...
2
votes
1answer
99 views

Can i reasonably link in C code to an application managed with quickly?

I'm looking around for a way to program some gui apps in ubuntu 12.04. I ran across the quickly tutorial and the tool looks fantastic. It looks like the primary language you develop with is python, ...
3
votes
1answer
2k views

How to compile wine

I am a Wine PPA user for Scott Ritchie for several years and have loved that PPA but I want to start compiling Wine for testing purposes in another PC with Ubuntu. So I have a couple of questions ...
2
votes
4answers
853 views

Can't Compile in NTFS Partition

I want to compile a source code in a NTFS partiotion but can not as shown in the following picture: Although i can write files into that partition but Compile NOT! How can i solve it?
1
vote
1answer
2k views

How to build gettext from source? [closed]

I am attempting to build gettext 0.18.1.1 from the source under Ubuntu 12.04. I need to understand how to build it from the source because I am attempting to port it to another platform. I checked ...
3
votes
2answers
3k views

Can not compile any C code under Xubuntu

I am not a seasoned C programmer, but I compile some C code sometimes. The last time I successfully compiled and run some C code I did it on the same system that I have now (the very same OS on the ...
3
votes
1answer
15k views

How can I install boost-devel in Ubuntu 12.04?

I want to compile flvtool++, but it requires boost-devel libraries. I tried to install it via this command: sudo apt-get install boost-devel But I got the error: E: Unable to locate package ...
20
votes
2answers
18k views

What's a simple way to recompile the kernel?

I'm interested in compiling a new kernel under Ubuntu 12.04 x86 64 bit. I found this wiki page which is basically a mirror for this blog and there are a lot of steps (git, etc.) that appear useless ...
3
votes
4answers
878 views

Eclipse on Ubuntu 10 java-6-openjdk has missing jar's

Out of the blue, my eclipse is reporting missing jars in my Java Build Path. netx.jar gnome-java-bridge.jar plugin.jar I wonder what I did wrong ? Was it a upgrade that messed it up ? I am unable ...
0
votes
2answers
5k views

Underfined reference clock_gettime not solved by -lrt

I'm trying to compile the program the source for which is here. As per his instructions I'm compiling using the command g++ -O3 -lrt netmon.cpp -o netmon. I get this output: ...
0
votes
1answer
710 views

automake “permissions denied”

i want to compile changes i made to a project created with automake. I changed my Makefile.am files accordingly and ran ./autogen.sh ./configure make make finally gives me the error: ... make[2]: ...
28
votes
4answers
10k views

How are packages actually installed via apt-get install?

When using the apt-get install method to install a package onto ubuntu, is there any fundamental difference between obtaining the source code for that package and building it from scratch? Does the ...
0
votes
3answers
7k views

Makeinfo package not found in 12.04

Please can anybody give me an answer for this? I have already tried: sudo apt-get install makeinfo textinfo texi2html But, I still get the error: Unable to find the pacakge.
2
votes
0answers
52 views

All special dependencies are lost when I do “quickly share” or “quickly package” [duplicate]

Possible Duplicate: Why does 'quickly package' fail with “An error has occurred when creating debian packaging”? I am developing an app using Quickly and it has a few ...
1
vote
1answer
2k views

How to overcome “Permission denied” running C program even after “chmod +x”?

After compiling a C program on Ubuntu 10.10, after executing chmod +x ./a.out, I am still getting bash: ./a.out: Permission denied. How can I run my new executable?
0
votes
2answers
2k views

g++ cannot find include files (qt3)

allan@allan-VirtualBox:~/blackjack_for_the_hopelessly_luckless$ make g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT ...
0
votes
1answer
2k views

How do I build Allegro?

I'm trying to build allegro on 12.04 but it continues to give me error, I've downloaded the tar.gz folder of version 5.0.7 and installed cmake, what else do I need? And how do I proceed?
0
votes
3answers
1k views

“./configure: command not found” error when trying to install the JRE

I was trying to install JRE on my 64-bit ubuntu 10.04 installation. Just to be sure that that is what I really want, I need to run a .jar file. I downloaded java from this link. Then I chose linux ...
7
votes
2answers
298 views

How can I install Inkscape from BZR?

In order to get the latest version of Inkscape, one has to use BZR. How can I install inkscape using BZR and properly install it on my System?. Detailed step by step guide would be preferable.
1
vote
1answer
2k views

Why can't I compile the Ralink wireless driver on 12.04?

I'm an ubuntu 12.04 user and my wireless Network card(D-Link WIRELESS N 150 DESKTOP ADAPTER DWA-525) has always worked well with the driver suggested here, However this morning I updated the Generic ...
6
votes
3answers
445 views

Will a package I compile myself perform better than installing from the repositories?

Does a package performance is different when it's compiled from sources, or installed from repository ? Is it possible, what during the compilation, the package will be "more adapted" (performance, ...
5
votes
4answers
9k views

No Terminal Library Found when Compiling Vim

I am running Ubuntu 12.04. I'm trying to a get a particular plugin for vim working and it requires that vim has ruby support enabled (the plugin is command-t). People tell me that I must go into my ...
3
votes
1answer
2k views

How do I upgrade to the latest Grub 2.00?

According to this link, GRUB 2.00 has just been released. How can one upgrade to this?
1
vote
1answer
157 views

compile a java program as different user

I am able to login as a different user using a shell script in Ubuntu, but I want to run a Java program in that user, but it halts there... for example: login as a guest user with limited ...
1
vote
0answers
20 views

Where can I find the source code to the kernel shipped in Ubuntu? [duplicate]

Possible Duplicate: Where can I find the source code for the Ubuntu Kernel? I downloaded 12.04 LTS desktop and compiled kernel. Loaded the new kernel but i did not get wireless. I have ...
0
votes
1answer
184 views

How do I recompile X.org from git?

I am having some problems with wheelmouse and mouse movement at the same time on ubuntu 12.04 and I found that the problem has been solved here: ...
0
votes
1answer
424 views

How do I compile and install gnome-tweak-tool from its git repository?

How I install the Gnome tweak tool from git://git.gnome.org/gnome-tweak-tool? I have install the Synaptic
2
votes
1answer
578 views

How to build PyQt for Deadsnakes Python 2.7 on Ubuntu 10.04?

I am trying to configure Python2.7 on Ubuntu 10.04 as an alternative package. I got the Deadsnakes PPA I set up pip and virtualenv Now, I am trying to build PyQt (PySide seems to have similar ...
0
votes
1answer
376 views

“No such file or directory” error when trying to install pcre

am using ubuntu 12.04 and am trying to install pcre however I encountered an error message when I tried to use the command: sudo make after the ./configure command. I have this error message ...
0
votes
1answer
837 views

Why am I getting autoconf AC_* macro errors?

I am trying to build this language modelling toolkit but I run into this problem when trying to get it set up. I am trying to understand what the error means, and what I should do to fix it, I dont ...
3
votes
1answer
16k views

How to run a .pyc (compiled python) file?

Whenever I compile a python file, I get a *.pyc file. When I try to run that, I get a message saying there is no program for running them. When I search for a program online via that option, it says ...
7
votes
2answers
31k views

What should I do about this error?

jonquil@jonquil-Satellite-L755D:~/Downloads/akonadi-googledata-1.2.0/build$ cmake .. -- The C compiler identification is GNU -- The CXX compiler identification is unknown -- Check for working C ...
0
votes
1answer
27 views

How do I get past this dependency?

I'm trying to install libgcal, and when I run ./configure I get the following error: configure: error: "* libxml2 not found! You need it to build Library gcalendar. *" I installed libxml2 from the ...
0
votes
1answer
519 views

Compiling a software with GTK which has no configuration script

I bumped into green, a PDF viewer for the Framebuffer. I would like to compile it, but I am not having much success, although I have installed all the dependencies... The error I am getting is: ...
1
vote
1answer
228 views

Launchpad fails to build a package for my PPA

I'm trying to build a package on Launchpad's Debian build system for PPAs but I'm having some issues with a certain package. The package I'm trying to build (zorin-xwinwrap) contains a source C file ...
-1
votes
2answers
526 views

How do I create a deb for GCC 4.7?

I'm sorry but I have tried the tutorials on various websites. Nothing, so far, has worked. I'm using Ubuntu Maverick 10.10. I've downloaded, compiled and installed GCC 4.7.0. Now I want to make a .deb ...
3
votes
1answer
458 views

I have problems with compiling powertop on Ubuntu Precise

I tried to compile the latest release of powertop from github. I get some errors and I dont know what to do to fix this. make[3]: Leaving directory `/root/powertop/src' make[2]: Leaving directory ...
1
vote
2answers
39k views

Help do I install the Ralink RT3070 wireless driver?

I bought an AZTECH WL562USB wireless adapter and am stuck trying to install the driver. The driver file I downloaded is a BZ2, called ...
1
vote
2answers
398 views

How can I create a temporary sandbox to compile from source?

I want to follow the steps found here in order to run League of Legends under Ubuntu. According to the guide, I have to compile wine from source because it needs some patches. Compiling from source ...
-1
votes
1answer
73 views

Compiling on the desktop!! no?

so I have compile my first program today, with the help of the "askubuntu's members"..... thanks so much!!! ;) this is what I have compiled : https://github.com/treeder/logitech_unifier But now, I ...
2
votes
1answer
578 views

How can I compile a C program file which I created using the Libre Office editor?

I'm new to Linux and I need some help! I am trying to compile the code taken from this post to the linux-kernel mailing list. I have pasted the file into Libre Office and saved it as pairing_tool.c ...
0
votes
1answer
245 views

How to I compile uget from source?

I've downloaded uget from its source fourge link. It is a tar.gz file. I have read that i could install a file of this type by extracting its contents and following these steps. ./configure make ...
16
votes
5answers
84k views

How to compile a .java file

How can I compile a .java file. What programs will I need and if I need java jdk I need help installing that. I'm very new to ubuntu so any program I need to install I will need a tutorial on how to ...
4
votes
1answer
3k views

How to enable RELRO support?

We have been trying to build a LFS system on 12.04 64-bit. In the configuration stage of glibc, I receive the error configure: error: linker with -z relro support required How can I enable the ...
0
votes
1answer
1k views

Error with trying to compile with make.(This also includes a snapshot after doing apt-get update)

This is the error I get: Fetched 120 kB in 1min 1s (1,937 B/s) Reading package lists... Done W: GPG error: http://update.yuuguu.com hardy Release: The following signatures couldn't ...
4
votes
3answers
4k views

Compiling C++ inside a folder in Ubuntu 12.04

I have some question about compiling .cpp inside a folder, it says first.cpp No such file or directory but when I run it in home it compiles. Any settings I might have left out? Thanks. Here's ...
0
votes
1answer
369 views

How do i install Broadcom wireless driver after compile a custom kernel?

i have compiled a custom kernel(ck-patchs,ubuntu-patchs) for my netbook, everything workis good, but not wireless, i can't install "Wireless Broadcom STA driver" i got this message : Desculpe, a ...
0
votes
1answer
636 views

Segment fault error when try to scan host by ettercap

I wanna scan host via ettercap in ubuntu 11.04 but it return following error Ooops ! This shouldn't happen... Segmentation Fault... Please recompile in debug mode, reproduce the bug and send a ...