Questions tagged [source-code]
The source-code tag has no summary.
75 questions
1
vote
2
answers
80
views
How to get bash script's current line contents being processed prior to interpretation? [duplicate]
When using bash -x or set -x in a script the output shows the result of the line being processed but not the source line which produced the result. There are times when knowing this as well could ...
0
votes
0
answers
25
views
Failed to run 'splint' to check code in embedded project
I am working on an embedded Linux system (kernel-5.10.24) on an SOC platform. Now I am trying to use splint to do code analysis, but I hit parse errors.
I am using GNU toolchains for the SOC (mips), ...
0
votes
1
answer
31
views
How do I reverse a wine install?
I have built wine, the windows emulator from source with a specific patch.
Now accidentally the source directory is removed, after I already run sudo make install.
Is there a way to 'reverse' the ...
0
votes
0
answers
26
views
How to build Pagespeed PSOL binaries from source for ARM64 (aarch64) Raspberry Pi 4 on Ubuntu Server?
I am running Ubuntu Server 22.04 (aarch64) on my Raspberry Pi 4. It is a web server.
I am trying to build the Nginx Pagespeed Module for the Raspberry Pi 4 with modern PSOL binaries.
I have written a ...
0
votes
1
answer
189
views
Why does Bash behave differently when compiled from source code?
I ran
git clone https://git.savannah.gnu.org/git/bash.git
cd bash/
./configure
make
./bash
I noticed that the newly launched Bash instance did not inherit the environment, specifically the PS1 ...
0
votes
1
answer
774
views
PHP was compiled with zlib module, but phpinfo() show it's disabled
In order to use Joomla! 4.3.1, I've compiled PHP 8.2 in an Oracle Linux 8.6 Server, with support for zlib compression:
# php --ri zlib
zlib
ZLib Support => enabled
Stream Wrapper => compress....
1
vote
0
answers
64
views
minimal instalation for X11R7.7
For the source code available here: https://www.x.org/releases/X11R7.7-RC1/src/, what are the minimal set I should install to get a working enviroment and be able to start it with the command startx?
1
vote
1
answer
388
views
/var/lib/plocate/plocate.db: has version 4294967295, expected 0 or 1; please rebuild it
No matter how many times I rebuild the plocate db I get:
/var/lib/plocate/plocate.db: has version 4294967295, expected 0 or 1; please rebuild it.
How in the world did I manage this??
/sbin/updatedb....
0
votes
1
answer
209
views
Install mmdebstrap from source
I am trying to install mmdebstrap from source. I cannot find any instructions online nor file any Makefiles and such in the repo
0
votes
2
answers
367
views
Rely on the existence of a package manager or install package via downloading the source?
I'd like to create a script that is able to install my desired set of packages in any Linux distro (initially create it to run in Ubuntu and later expand it to whichever) and basically function as an ...
1
vote
1
answer
232
views
Why is "struct pid" member `numbers` defined as an array of size 1?
I noticed that, in struct pid in
pid.h,
the member numbers is defined as an array of size 1.
struct pid
{
refcount_t count;
unsigned int level;
spinlock_t lock;
/* lists of tasks that ...
1
vote
1
answer
730
views
Where can I get the current source code for SUSE SLES products?
I'm having a critical support issue with SLES that doesn't make any measurable progress (for months now).
So I wanted to have a look at the source code myself; maybe I can spot the issue.
(It seems a ...
2
votes
1
answer
20k
views
git clone from https URL fails, says it's 'remote-https' is not a git command and that templates werent' found
I'm working on a CentOS 7.9 GNU/Linux system. I've built and installed a newer version of git (2.34.1 instead of 1.8.3.1 that's bundled with the distribution) under /opt/git/2.34.1, with a symlink to ...
6
votes
2
answers
4k
views
How can I get glibc/libstdc++ sources and set them up for gdb to find?
I'm debugging this program which raises an exception. This makes my debugger look for some source code, e.g. ../sysdeps/unix/sysv/linux/raise.c - and fail to find it.
Now, I realize it's not necessary ...
0
votes
1
answer
475
views
How would I go about compiling GNUzilla/Icecat from source in support for my specific ARM CPU?
I recently picked up the Pine H64 which has the Allwinner “H6” Quad-Core ARM Cortex A53 64-Bit Processor. How would I go about compiling Icecat in support for this on Manjaro ARM?