Questions tagged [compiling]

Compiling is the process of transforming source code into byte codes for a particular computer architecture.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Can I compile Linux kernel with -Ofast?

I want to know if compiling the Linux kernel with -Ofast is: Worth it. Supported (what level of optimization do the kernel writers take into account?) Secure. The question arised because ...
0
votes
1answer
22 views

Do I need to build ALL dependencies from sources when building another project from sources?

My distribution's package repository does not have the current version of the tmux package I want. I downloaded the newest version in tar.gz format from the website. However, in trying to ./configure ...
0
votes
0answers
16 views

Unable to build rtlwifi driver

I have an RTL8723DE wifi card and I want to install the wifi driver for the same. I have cloned the rtlwifi_new directory and ran make. I get the following error on both the 4.19.113-1 and 5.4.28-1 ...
1
vote
1answer
56 views

Is /usr/src a valid location for a custom kernel?

While learning how to build and install a custom kernel (for kernel hacking), I came across a contradictory statement. In this StackExchange answer, the author states: in the following ...
0
votes
0answers
11 views

Compiling/Running f90 file in git bash on windows

DISCLAIMER: I am level zero in programming. I just need to run a code for now. I'm a windows user, the code is in fortran (f90). I have git bash on windows. How can I compile and run the code?
-2
votes
0answers
17 views

Installing packages during kernel compilation

I'm fairly new to linux compilation and I wonder whether is it possible to install packages (like what we get from package managers like apt , dpkg) during kernel compilation or when we are trying to ...
1
vote
1answer
20 views

Is there a way to make cmakelists.txt more verbose for compilation

Many a times while compiling some binary or library, I feel a need to have much verbose output of the build/compilation. Is there a flag or something I can write in the cmakelists.txt so I get much ...
0
votes
1answer
29 views

build apache on linux server

I have downloaded pcre from https://ftp.pcre.org/pub/pcre/pcre2-10.34.tar.gz and extracted it to /usr/local/lib when I run ./configure --with-included-apr --with-pcre=/usr/local/lib/pcre2-10.34 I ...
1
vote
1answer
42 views

Trouble installing libc-dev

I am getting this error when I try to compile a C program on Ubuntu: $ gcc aa.c aa.c:1:9: fatal error: stdio.h: No such file or directory #include<stdio.h> ^-------- compilation ...
0
votes
1answer
21 views

fatal error: kdecoration.h: No such file or directory

I got the following error during the compilation of the AuroraeDesigner from source although I've installed libkdecorations* : fatal error: kdecoration.h: No such file or directory Kubuntu : 18.04 ...
0
votes
1answer
30 views

How to compile ath9k drivers from source?

I want to make some changes in ath9k drivers for learning purposes. My problem is that when I try to compile the driver, the make command is giving many implicit declaration errors, setup_timer, ...
0
votes
1answer
38 views

Building m4 from source on FreeBSD error: don't know how to make ../../build-aux/snippet/c++defs.h

I'm using FreeBSD 13.0-CURRENT (for more information see here), and I want to use GNU m4. Downloaded this version of it, configured, and tried to make. But it gives error as stated in the title: error:...
0
votes
0answers
17 views

Yocto/Toaster Build Fails with missing Python?

I'm trying (my second) attempt to build a Linux distribution for an Embedded Linux system (ATSAM9). I loaded up the configuration exactly how it says at the Linux4Sam site and following the Yocto ...
1
vote
1answer
26 views

finding a package and what version is in various distributions (stable release) [duplicate]

I am looking to know about a package and what version is it across various distributions. I thought distrowatch might be the answer, but I found it tracks only 224 packages at the most. See https://...
0
votes
1answer
66 views

Software installation - Error : when using command 'make' - make: Fatal error: Command failed for target

EDITED: (After solved): so guy's, It's seems like the base-devel pkg. Which one have include header on it. Now working properly :) Thanks to you guy's (i get this help from a FaceBook Linux-user ...
-3
votes
1answer
49 views

Run ./configure script as user under Alpine Linux

I’m trying to compile a program from source under Alpine Linux. When I run ./configure under root everything goes well, but when I do the same as a normal user I get: ./configure: This script ...
0
votes
0answers
18 views

What is a recommended configuration for building Python from sources?

I'm building Python 3.7.4 from sources on an old(ish) GNU/Linux distribution. Now, I don't mind a longer compile time, but I don't want to risk stability for performance. I noticed there are all sorts ...
-1
votes
2answers
29 views

Trouble compiling ncurses 5 on SLES 2011

To my chagrin, I am working as a non-root user on an SLES (SUSE Linux Enterprise) 11. I'm not root and cannot have packages installed. I'm trying to build ncurses-5.9. The build configures and make ...
1
vote
2answers
132 views

Compiling GCC against a custom built GLIBC

I was trying to compile GCC 9.2 against a custom built GLIBC 2.30. I have installed GLIBC in a non-standard location. Then I have followed these steps to compile GCC: sfinix@multivac:~$ GLIBCDIR=/...
0
votes
1answer
40 views

LFS - Should Glibc be patched in Section 5.7?

I'm currently working my way through the Linux From Scratch (LFS) book, but I'm a bit confused about when to apply patches. In Section 5.7 the goal is to build glibc. The section have a pretty ...
0
votes
1answer
27 views

Manage manually compiled ViM (Debian)

I installed ViM by compiling the source code from GitHub and then I used checkinstall to install it on my system. Now I'd like to install another program with the apt package manager (which is vifm), ...
0
votes
0answers
99 views

kernel headers installed but still missing

I'm working on a RPI2B+ with a fresh install of Raspbian Buster I want to install https://github.com/Mange/rtl8192eu-linux-driver.git so I have to run the following commands : apt update apt ...
1
vote
0answers
23 views

Are dependencies suffixed with -dev on linux only required during compilation, or are they required to run the program too?

One of the libraries that I am using to build a program on Linux (Ubuntu) says it requires the following dependencies to be installed: libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev ...
0
votes
0answers
108 views

Building OpenWrt firmware only for WireGuard VPN

I am building firmware for TP-Link WR740N only for WireGuard VPN. What are the minimum packages that I need to have for a VPN to work? I tried to make firmware with this, not including the luci web ...
0
votes
0answers
55 views

Linux mint | methods are missing from ncurses

I lately installed a linux mint distribution for development... Later on i installed curses, ncurses and ncursesw by using following commands... sudo apt-get install libncurses-dev sudo apt-get ...
0
votes
2answers
60 views

fatal error , when try to compile a C programing code?

i am a beginner in ubuntu os. In the terminal box, i try to run a simple C programing code using Visual Studio, and it shows me *** fatal error: conio.h: No such file or directory that kind of ...
1
vote
1answer
49 views

How to install a compiled binary

I am still learning the basics of using Raspbian and having trouble while trying to install a program on Github with two options; source code or compiled binary. Having put the source code method ...
0
votes
0answers
60 views

How can i resolve these errors for installing wxMaxima

using CENTOS 8, I wants to install wxMaxima-16.2.2 while compiling, those errors come out: CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/yoonjungsuep/wxmaxima-16.12.2/missing ...
0
votes
1answer
179 views

Including Composer's autoloader file in your PHP script

No explicit instructions are provided at the GitHub page for php parsecsv. However, there is an obscure mention of the need to manually include the following: If you don't use a framework such as ...
0
votes
1answer
27 views

Can't compile Pango with X support

I have the goal to compile a gtk version, so I can compile Gimp manually. This is necessary because I use Gimp 2.6, and newer distros only use 2.8 or newer. So I decided to manually compile and old ...
0
votes
1answer
14 views

What folder(s)/files is safe to delete after compiling Python 3.8 from sources?

Sorry for the noob question but I can't seem to find a definitive answer on this. I have just successfully compiled Python 3.8 from sources, on Centos 7 (as a secondary python, I left python 2.7 as is)...
0
votes
0answers
171 views

What does the error “undefined reference to 'dlopen'” mean?

When I want to compile my c-file I get these messages: undefined reference to 'dlopen' undefined reference to 'dlsym' In some other posts about this topic the solution was to add -ldl to the linker ...
0
votes
1answer
25 views

Install R on rhel 6

Am getting below error when I do ./configure -with-x=no checking whether zlib support suffices... configure: error: zlib library and headers are required Installation Steps which I follow sudo ...
3
votes
1answer
104 views

ld linker ignores LD_LIBRARY_PATH

I'm having trouble linking the Intel MKL libraries to use in building Julia with MKL support. I've had this problem with other projects as well, but here I'll focus on Julia. I have MKL installed in /...
1
vote
0answers
25 views

Open Network Linux (ONL): kernel source patch

I'm trying to apply some patches on the ONL kernel. Based on a question and its reply, there is a method to apply patches. (The link: https://groups.google.com/forum/#!topic/opennetworklinux/...
1
vote
0answers
61 views

does someone knows why GCC did not compiled (building with lto and pgo)?

the error message: /var/tmp/portage/sys-devel/gcc-9.2.0-r2/work/gcc-9.2.0/gcc/d/runtime.cc:37:6: warning: type 'libcall_type' violates the C++ One Definition Rule [-Wodr] 37 | enum libcall_type ...
1
vote
0answers
126 views

how do I emerge gcc 9 on gentoo without creating too many processes?

I am stuck on building gcc 9 with lto USE flag, because it is creating over 30 lto processes when I try to do so. At this point, I have to reboot my PC. I think it may have to do with the new lto ...
2
votes
0answers
24 views

Manually installing most recent compilers locally on gentoo

I like to play with recent versions of compilers and tools, for example I like to compile the weekly gcc snapshot and test new c++ features or test the most recent CMake. I compile these and don't ...
0
votes
0answers
42 views

Compiling a “portable version” binary of a program

For lots of open source software, the compiling and installation step is usually ./configure, make & make install. However in this process configure may locate dependencies in the system, and make ...
2
votes
1answer
108 views

How to make linux shell interpret a .pyc file with python in /usr/bin?

I have the file, myapp, that is a .pyc file, and I want to make it executable. Currently, I must manually call Python to execute the program, as follows. python /usr/bin/myapp "hello world!" How can ...
1
vote
0answers
74 views

compile nginx 1.16.1 with ngx_stream_log_module

I want to compile Nginx 1.161.1 that contain ngx_stream_log_module, so I do it: ./configure --sbin-path=/usr/local/nginx/nginx \ --conf-path=/usr/local/nginx/nginx.conf \ --pid-path=/usr/local/nginx/...
2
votes
1answer
89 views

Cross compile Python 2.7.16 for armel (32-bit)

I have a device with armel architecture, the file system is running on a VM (amd64 architecture) because the device has not enough space to install compile requirements. The OS is Debian 9 (stretch). ...
0
votes
0answers
17 views

How to config 'Thinstation' before build

I'm new to thinstation. Currently, I'm using default build version for my old PC. But I would like to do some changes to the system before build it, so I don't have to change same thing every time. ...
0
votes
0answers
186 views

Installing java.xml.bind and Contiki-ng

I'm trying to install a program called Contiki-NG onto a Ubuntu build sitting in VMware on a Windows 10 station. In the process, I need to build an app called Cooja. I'm getting the following results: ...
0
votes
1answer
87 views

Clang++ Compiles, but doesn't run

I try to compile a program by typing (lets assume here I'm cd'd into the directory) clang++ file_name.cpp. It compiles and should autorun, but it doesn't, and just ends the event, and opens the ...
0
votes
1answer
340 views

Cannot change ownership to uid 1001, gid 1001: Invalid argument

I'm installing ONOS and following this guide: https://wiki.onosproject.org/display/ONOS/Developer+Quick+Start I executed the command sudo bazel build onos This will compile and assemble the ...
1
vote
2answers
226 views

Want to turn off “note” level messages in GCC

When I compile a C (no pluses) program using GCC, there are several levels of messages possible, like warning, error, and note. The note messages are useless and distracting. How do I make them go ...
1
vote
0answers
20 views

Is Desktop Manager compiled with kernel in iso distribution files

I'm trying to see the process of redistributing a linux distribution. I was wondering if all the components are compiled with the kernel or kernel is seperated from components like is Desktop Manager ...
0
votes
1answer
38 views

Updating Software on Debian to non packaged version

The most current xf86-input-wacom version on Debian is 2 years old (0.34.99.1-1) it seems like and there is a bug where the touchscreen would not work spontaneously anymore which is fixed in version 0....
-3
votes
1answer
71 views

Cannot install git on rhel 7?

[root@server14 git-2.1.2]# make install CC credential-store.o In file included from cache.h:4:0, from credential-store.c:1: git-compat-util.h:213:25: fatal error: openssl/ssl.h: ...

1
2 3 4 5
27