Sponsored Content
Full Discussion: compiling coreutils
Top Forums Programming compiling coreutils Post 302504241 by wakatana on Monday 14th of March 2011 06:03:56 AM
Old 03-14-2011
Quote:
Originally Posted by Corona688
id.c, cat.c, and uniq.c aren't binaries so you're barking up the wrong tree. You're also assuming all the source code for id resides in id.c and so forth, which isn't necessarily true, they may have other source files in common.

You might try 'cd src ; make id'
Before ./configure
Code:
[cepido@localhost src]$ make id
cc     id.c   -o id
id.c:20:20: fatal error: config.h: No such file or directory
compilation terminated.
make: *** [id] Error 1
[cepido@localhost src]$ echo $?
2

After ./configure
Code:
[cepido@localhost src]$ make id
  CC       id.o
id.c:26:29: fatal error: selinux/selinux.h: No such file or directory
compilation terminated.
make: *** [id.o] Error 1
[cepido@localhost src]$ echo $?
2



Quote:
Originally Posted by Corona688
Just as the 'id' utility doesn't reside in id-0.78-1.fc14.i686.tar.gz, not every individual program has its own tiny individual package. I think passwd belongs to the shadow password tools.
Code:
[cepido@localhost src]$ rpm -qf `which passwd`
passwd-0.78-1.fc14.i686

seems passwd utility resides in passwd package Smilie
 

8 More Discussions You Might Find Interesting

1. Programming

C compiling

I recently loaded SuSE on my intel comp. I am presently taking a walk down memory lane from my days at UofT. I was fiddling round with cc and the gcc compilers. I wrote a basic basic basic program . I tried to compile it as I remember doing in Uni. The problem is that it can't find the header... (5 Replies)
Discussion started by: cantcatchme
5 Replies

2. UNIX for Dummies Questions & Answers

compiling

would anyone know of a good online tutorial on compiling and installing tarballs? i'm looking for one that assumes that you know very little to nothing about unix. (3 Replies)
Discussion started by: nydel
3 Replies

3. UNIX for Dummies Questions & Answers

compiling qt

i am trying to compile and install free qt for x11 2.2.4 in order to use kde 2.1. i'm using freebsd 4.3 i currently have XFree86 installed and working. i followed these instructions: ftp://ftp.trolltech.com/qt/source/INSTALL i get through the unpacking fine and i set my .profile. --... (2 Replies)
Discussion started by: nydel
2 Replies

4. Programming

compiling

I am new to unix so please forgive ignorance. I am running openbsd-2.9 and need some help. All the software I run was added via the package system openbsd has. There have been times when I need an app. But it was not in the openbsd ports and or packages system. I usually just wait for it to show up... (1 Reply)
Discussion started by: Blunt_Killer
1 Replies

5. UNIX for Advanced & Expert Users

re-compiling

I have a problem. How can I be sure that the binary currently in production is the binary originally produced by the compiler? I ask because recompiling the sources (ALL sources + stripping away the metadata: strip ...) does not give the same result. I am pretty sure that I wasn't hacked! ... (5 Replies)
Discussion started by: aViking
5 Replies

6. UNIX for Dummies Questions & Answers

doubt while compiling using cc

I was trying to compile a proc code. All steps when fine, except the last step which threw an error - I was just trying to compile it manually. Any ideas what this error means. Does it mean I am using the wrong library? (3 Replies)
Discussion started by: ranj@chn
3 Replies

7. UNIX for Dummies Questions & Answers

Installing SU coreutils from BSD to unix AIX

Dear all Good day. Can any one advice me how to install the SU tool coreutils from BSD installed with linux on AIX unix ??? Thx in advance (0 Replies)
Discussion started by: islam.said
0 Replies

8. Programming

Error with compiling

Hi guys. I have a header file: unp.h like this: #ifndef _UNP_H_ #define _UNP_H_ extern ssize_t readn(int filedes, void *buff, size_t nbytes); extern ssize_t writen(int filedes, const void *buff, size_t nbytes); extern void err_quit(const char *msg); #define TRUE 1 #define FALSE 0 ... (2 Replies)
Discussion started by: majid.merkava
2 Replies
SYNC(1) 							   User Commands							   SYNC(1)

NAME
sync - Synchronize cached writes to persistent storage SYNOPSIS
sync [OPTION] [FILE]... DESCRIPTION
Synchronize cached writes to persistent storage If one or more files are specified, sync only them, or their containing file systems. -d, --data sync only file data, no unneeded metadata -f, --file-system sync the file systems that contain the files --help display this help and exit --version output version information and exit BUGS
Persistence guarantees vary per system. See the system calls below for more details. AUTHOR
Written by Jim Meyering and Giuseppe Scrivano. REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report sync translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
fdatasync(2), fsync(2), sync(2), syncfs(2) Full documentation at: <http://www.gnu.org/software/coreutils/sync> or available locally via: info '(coreutils) sync invocation' GNU coreutils 8.28 January 2018 SYNC(1)
All times are GMT -4. The time now is 05:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy