Questions tagged [compiling]
Questions related to compiling software from sources, usually using the "make" command.
2,571
questions
2
votes
1
answer
985
views
gcc error libSDL missing while using "make"
I'm trying to compile a program.
I first found out I needed the SDL1.2-devel package so I installed them all (manually, probably didn't do it right).
Before I installed SDL-dev packages, I couldn't ...
4
votes
3
answers
4k
views
Could not find wx-config error when building Audacity from source
When building Audacity from source the configuration fails and prints this error:
configure: error: Could not find wx-config: is wxWidgets installed?
is wx-config in your path?
I've read the build ...
-2
votes
2
answers
541
views
Getting this error while installing wifi driver Leoxsys in Ubuntu 16.04 [closed]
Realtek Wi-Fi driver Auto installation script
November, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8192EU_linux_v4.2.2_7585....
2
votes
0
answers
449
views
What is the better way to install GCC6.1? [closed]
I'm deciding which way I want to install GCC6.1.
There are two options, adding the ppa:ubuntu-toolchain-r/test repository, and installing via apt. Or going to one of the mirrors of GCC, downloading a ...
0
votes
1
answer
89
views
-lrandomProcesses not found
I am attempting to install a piece of software and when it is installing (technically compiling) I recieve an error called
/usr/bin/ld: cannot find -lrandomProcesses
I have looked on the internet ...
0
votes
2
answers
3k
views
g++-5.real: error: unrecognized command line option ‘-pthread-lQtGui’
I have configure my rcssmonitor and when I want to make the file it gets this error
Can someone help me with?
configure log:
./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu
checking for a ...
2
votes
1
answer
5k
views
unregonized command line option '--showme:link' error
I ma attempting to install OpenFOAM on ubuntu 14.04 on a virtualbox. However, when I run the script to compile the source, I receive a
cc: error: unrecognized command line option '--showme:link'
I ...
0
votes
1
answer
30
views
Serious issue while compiling
So here i was, porting ubuntu touch, when suddenly this error pops up and i cant's really find a solution. it says "/usr/bin/ld: cannot find -lGL"
please help me.
Much appreciated. Thank you.
4
votes
2
answers
10k
views
VMware Workstation 12 wont compile modules on linux kernel 4.6
I recently had to install kernel 4.6 in my Ubuntu 16.04 to stop the random "suspend" crashes.
After install I ran:
sudo vmware-modconfig --console --install-all
and got the error:
<snip>
...
1
vote
1
answer
1k
views
Compile BCM4352 Wireless Driver
I was trying to compile the latests driver v.6.30.223.271-2 published in Broadcom site, reading this post I try to compile the driver following:
http://askubuntu.com/a/652844
But I have an error ...
-1
votes
1
answer
63
views
How do I download (compile?) tar.gz2 or similar files?
I downloaded a tar.gz2 file and unpacked it using the package installer, but I don't know how to compile it. I looked at guides saying to find the README or INSTALL files, but I looked everywhere and ...
0
votes
1
answer
394
views
OpenCL makefile error
I'm attempting to run a program (openGraphiti), and am running into some errors I can't seem to get past.
Here is my full make error, but the relevant part is
No rule to make target `/usr/lib/...
1
vote
0
answers
2k
views
CMake error HDF5
I´m trying to install a program on Ubuntu. Therefore, I´ve to install OpenMP, Eigen, CMake and HDF5. After compiling all these libraries with Cmake I finally got to the last step: Installing ParOSol
...
4
votes
1
answer
718
views
Building UCB logo 6 - errors in mathcalls.h
After hearing of Seymour Papert's passing, I wanted to install Berkeley Logo (UCBLogo). The Ubuntu repos only have v5.5.
After downloading and extracting the archive, working out its dependencies (...
1
vote
1
answer
6k
views
How to compile and run using GCC?
I'm taking this course from Coursera and they asked us to have at least some knowledge in C .
So as they asked us to use GCC And Ubuntu , I installed both of them , I then followed this tutorial from ...
0
votes
0
answers
116
views
porting package to newer ubuntu version
i want to port a package (tremulous) from 12.04 to 14.04 and 16.04. i never worked with ubuntu packages so i need some guidance.
i did
sudo apt-get build-dep tremulous
sudo apt-get source ...
2
votes
1
answer
1k
views
Building nginx deb package with custom openssl
I'm trying to build nginx packages from a deb package source (from the popular, semi-official nginx mainline PPA) but linked to an openssl fork that contains ChaCha20 and Poly1305 additions.
I ...
2
votes
1
answer
2k
views
Using ffmpeg to encode from yuv to m4v with MPEG-4 encoder
I am trying to encode a raw yuv file to m4v as follows:
ffmpeg -s cif -r 30 -b 64000 -bt 3200 -g 30 -i akiyo_cif.yuv -vcodec mpeg4 a02.m4v
But it did not work and I got this error from the console ...
0
votes
1
answer
205
views
Makefile problem
I was trying to make make command for a code in the remote computer.I found there is a problem and refuse to complete compiling. I need to get the logic of thinking on how to know the problem and ...
1
vote
0
answers
69
views
configuring kernel build
I hope this is the right place for such question (if not please tell me and I'll move the question).
I am building ubuntu kernel,
I use instructions in
http://www.variwiki.com/index.php?title=...
1
vote
2
answers
454
views
How to track files installed from source code?
When we install a package with package management, this program is able to track files which belongs to application.
But when we compile and install a application from source code, package management ...
4
votes
2
answers
2k
views
What is the role of static libraries?
Static Libraries by default live in /usr/lib or /usr/lib64 but I deleted all of them in my OS with this command:
find / -name *.a -exec rm -rf {} \;
My linux is already OK and everything works good!...
5
votes
1
answer
13k
views
How to install jsconcpp in ubuntu 14.04 for C++ development?
As the question tells how should I install jsonccpp in ubuntu 14.04. I have downloaded the jsoncpp-src-0.5.0.tar.gz form sourceforge. Then I opened nautilus using sudo and copied,pasted and extracted ...
2
votes
1
answer
2k
views
How do you build a python application using snapcraft?
I'm trying for several hours, I'm getting this :
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-UWeLSq-build/
Command '['/bin/sh', '/tmp/tmpkajulyzd', 'python2',
'/home/...
1
vote
0
answers
2k
views
Codeblocks error undefined reference to curl_global_ in C++
I new to the web application of c++ and trying to learn about fetching websites and its contents using curl in c++ . My aim is to create a c++ programe which can parse json data from a website. I am ...
5
votes
3
answers
17k
views
X11/extensions/Xcomposite.h: No such file or directory
I've tried to compile https://unix.stackexchange.com/a/228674 under Ubuntu.
Unfortunately ending up with following error:
/tmp/find-cursor$ make
cc find-cursor.c -o find-cursor -lX11
find-cursor.c:...
-1
votes
1
answer
50
views
Snapcraft is downloading Ubuntu files
Just tried creating a snap yesterday for an application and failed miserably, I will go at it this evening after work.
What bugs me though is the Ubuntu directory which gets created and where more ...
0
votes
2
answers
279
views
How I can copy a src code from my computer to the remote computer
I am beginner in linux and I don't know many details about it.
I am trying to copy a folder from my computer to remote computer to install it in the remote computer and work with it. how I can do that....
5
votes
1
answer
1k
views
How to install new versions of G++ that use the corresponding C++ standard library?
I am trying to install multiple versions of the g++ compiler for testing purposes.
I would like to be able to install g++ 4.9.3,5.1.0, 5.2.0, and 6.1.0.
I know that I can do
sudo add-apt-...
0
votes
0
answers
9k
views
/usr/bin/ld: cannot find -lboost_filesystem
I'm building a third-party application and it can not find boost_filesystem. I'm running Ubuntu 14.04.4 LTS I already installed these:
apt-get -y install libboost-dev
apt-get -y install libboost-...
1
vote
2
answers
2k
views
Undefined References eclipse using libav
I am trying to install the newest version of libav from the libav website. Currently being version 11.7. I have unziped, configured, make, and make install.
For ./configure I had tried using various ...
2
votes
0
answers
2k
views
How do I find what library was compiled with lto 4.0 instead of 4.1?
All of a sudden I've been getting the following error (something probably updated my gcc or something):
lto1: fatal error: bytecode stream generated with LTO version 4.0 instead of the expected 4.1
...
1
vote
1
answer
1k
views
Missing gnu/stubs-64.h in 32bit ubuntu on 64bit machine while compiling hyperterm
I've try to compile hyperterm but I have error that sys/cdefs.h is missing I have it in /usr/include/i386-linux-gnu/sys/cdefs.h so I call:
CPATH=/usr/include:/usr/include/i386-linux-gnu scripts/...
1
vote
1
answer
581
views
Problem with cmake and package libccext2
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/etherlab ../pdserv-1.1.0
-- Mercurial was not found.
-- checking for module 'libccext2'
-- package 'libccext2' not found
CMake Error at /usr/share/cmake-2.8/...
1
vote
1
answer
2k
views
arm-linux-gnu-strip command
From Linux man pages:
arm-linux-gnu-strip command discards all symbols from object files objfile. The list of object files may include archives.
When would one use this command and for what purpose?
1
vote
2
answers
388
views
Which Ubuntu flavor? [closed]
I have a HP 255 G3 (specs can be found here) And I can't decide what Ubuntu flavor to install into it, vanilla, Gnome or Lubuntu, because I don't know the core differences in them. (The DE differences ...
0
votes
1
answer
733
views
undefined reference to espeak function
after typing make to compile a project that is depends on espeak
i got the following error at linking stage
`EspeakTTSWorker.cpp:(.text+0x118): undefined reference to `espeak_Initialize'
...
1
vote
1
answer
198
views
NS-2.31 Make fail while adding a transport layer protocol
While adding a transport layer protocol in ns-2.31 in ubuntu 14.04, I am coming across the following error that I have been unable to resolve.
"make: *** [dtsncc/dtsncc-cache.o] Error 1" (...
55
votes
3
answers
186k
views
"fatal error: openssl/opensslv.h: No such file or directory" compiling mitmproxy
I'm trying to install the mitmproxy package via pip like this:
$ sudo pip install mitmproxy
It terminates with following error message:
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -...
4
votes
1
answer
15k
views
I get no output when I compile Java code from the Terminal
When I try to run my Hello World program it doesn't show any output:
$ ls
hello.class hello.java
$ javac hello.java
$
1
vote
3
answers
2k
views
Gedit error for non sudo - undefined symbol: cairo_surface_set_device_scale (undefined symbol: cairo_surface_set_device_scale)
for some reason I am unable to run gedit as a normal user. I get the following error:
heberto@heberto-XPS-13:~$ gedit
gedit: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgdk-3.so.0: undefined ...
1
vote
2
answers
2k
views
ld cannot find -lvulkan
After successfully installing the LunarG Vulkan SDK (or so I thought) and setting the environment variables in the /etc/profile I still can't build the Vulkan samples. I followed very carefully the ...
1
vote
1
answer
2k
views
compile lynx browser with ssl
cannot get compiled lynx to work with https.
./configure --with-ssl --with-gnutls --with-gnutls-openssl
make
sudo make install
compile reports (in part):
checking if you want ssl library... yes
...
1
vote
1
answer
169
views
'autoconf' 2.50 not found when compiling 'mate-common' 1.15.0
I wanted to compile mate 1.15 on Ubuntu 16.04, but when I run ./autogen.sh in mate-common-1.15.0 it outputs this :
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing ...
0
votes
1
answer
326
views
make dmrshark error : sqrtf@@GLIBC2.0 undefined reference
I want to make dmrshark from https://github.com/nonoo/dmrshark ,but when I make that, it gives an error while making it. Can anybody help me?
Error message:
make[2]: Leaving directory `/home/m/sdr/...
1
vote
0
answers
1k
views
Problem with programme installation in Ubuntu 16.04
The full error I get when I type make is
Making install in libraries/utils
make[1]: Entering directory '/home/ioanna/Desktop/Biogeme/biogeme-2.5/libraries/utils'
make install-am
make[2]: Entering ...
5
votes
1
answer
10k
views
Install old version of boost
I am trying to compile this program called Doppia and it requires an older version of Boost (somewhere around 1.54 - 1.55) however when I try to install it using
sudo apt-get install libboost-all-dev
...
2
votes
1
answer
3k
views
compile can't find GL lib
bjorn@bjorn-031:~/samples/SOP$ gcc -lGL
/usr/bin/ld: cannot find -lGL
I've installed libglu1-mesa-dev and rebooted. I'm using Nvidia drivers.
This output look strange to me though:
ldconfig -v
......
2
votes
1
answer
3k
views
Where to find core dumps from gcc and g++ compiled code?
I compiled some C code, once with gcc, and then with g++, so I got two output executable files. When executing both files I found that it told me:
Segmentation fault (core dumped)
But there is no ...
9
votes
2
answers
19k
views
Missing SDL_ttf.h
I am trying to install Marathon on my laptop. Been following along with the instructions at: https://github.com/Aleph-One-Marathon/alephone/wiki/Linux%20Install%20Instructions#ubuntu.
I installed the ...