• RSS
  • Facebook
  • Twitter
  • Linkedin
Home > Error File > Error File /usr/src/redhat/sources

Error File /usr/src/redhat/sources

o checking whether we are using the GNU C compiler... Solution: To see all valid groups less /usr/share/doc/rpm-*/GROUPS RPM build errors: Installed (but unpackaged) files found:..... make[1]: Leaving directory `/root/dgrp-1.9/daemon' (cd config; make all) make[1]: Entering directory `/root/dgrp-1.9/config' echo "#!/bin/sh" > dgrp_gui echo "# Run wish from the user's PATH \\" >> dgrp_gui echo "exec wish -f asked Jan 2, 2007 in Realport by hm2k New to the Community (8 points) Please log in or register to add a comment.

Posts: 16,711 Rep: this is a red hat 9 thread you are not using rh9 please start a new thread with CentOS 6.4 or centOS 5.9 in the title the solution Polyline split at node in QGIS Should I ever use the pronoun "ci"? It could also mean the directory is undefined because of an error in the rpm file. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Bonuses

make[1]: Leaving directory `/root/dgrp-1.9/dgelreset' (cd dinc; make LINUX) make[1]: Entering directory `/root/dgrp-1.9/dinc' make[2]: Entering directory `/root/dgrp-1.9/dinc' make[2]: Nothing to be done for `all'. Please visit this page to clear all LQ-related cookies. yes checking for gcc option to accept ANSI C... Message was edited by: hm2k answered Jan 2, 2007 by hm2k New to the Community (8 points) Please log in or register to add a comment. 0 votes The SSL files

Basic knowlegde about RPMs is expected, if you need that see links at the bottom of the page. Name: Version: 6.2 Release: 2 Source:/root/ Group: Development/Debuggers BuildRoot:/var/tmp/ %description Bad file: /root/rpmbuild/SOURCES/ No such file or directory RPM build errors: Bad file: /root/rpmbuild/SOURCES/ No such file or directory linux But what does the "src" mean?

A gentle introduction to source code This package file contains not the executable, or "binary", files that a normal package contains, CentOS The Community ENTerprise Operating System Skip to content Search Advanced search Quick links Unanswered posts Active topics Search The team FAQ Login Register Board index CentOS 4 CentOS 4 -

none needed checking for current kernel version... 2.6.9-42.ELsmp -> 2.6.9-42. -> 2.6.9 checking for kernel headers... "Not found." **************************************************************************** * Unable to locate matching kernel source for the * linux 2.6.9-42.ELsmp Even though many guides teach how to build RPMS (the right way) as a non-root user, this the first howto I have seen that has an example of system wide rpmmacros Dec 4 '09 at 13:51 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote You have set Name to rpms and version to 1 rpmbuild will sawoy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sawoy 04-26-2004, 01:40 AM #5 sawoy LQ Newbie Registered: Mar 2004 Location:

Indeed, it looks like the source is not installed. Failing configure script. gcc checking for C compiler default output... If not, I recommend contacting Digi Technical Support to pursue this matter further.

  1. The configuration (spec) file is the input the utility called rpmbuild.
  2. Can not write to /var/tmp/nano-1.2-1-root.
  3. EL.src.rpm Prep it;# cd /usr/src/redhat/SPECS# rpmbuild -bp --target $(arch) kernel-2.6.specMove and link it;# cd /usr/src/redhat/BUILD/kernel- /usr/src/# mv linux- /usr/src/# cd /usr/src# ln -s ./linux- linux# cd /usr/src/linuxEdit the Makefile (your choice
  4. answered Jan 2, 2007 by userid0 Veteran of the Digi Community (2,113 points) Please log in or register to add a comment. 0 votes This is the problem i'm faced with
  5. I'm assuming if I reboot it will automatically launch the new kernel, and it should compile without any issues?
  6. The source code is then compiled into a binary that can be executed by the computer.

    As part of the process of building package files (a process we cover
  7. Let's take a look: # ls -al /usr/src/redhat/SOURCES/ -rw-rw-r-- 1 root root 364 Apr 24 22:35 cdp-0.33-cdplay.patch -rw-r--r-- 1 root root 916 Jan 8 12:07 cdp-0.33-fsstnd.patch -rw-r--r-- 1
  8. Does Detect Magic allow you to recognize the shape of a magic item?
  9. snip Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/dgrp-buildroot Wrote: /home/herrold/rpmbuild/RPMS/i386/dgrp-1.9-6.i386.rpm Wrote: /home/herrold/rpmbuild/RPMS/i386/dgrp-debuginfo-1.9-6.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.62800 + umask 022 ...
  10. I'm assuming I need to do: ln -s /usr/src/kernels/2.6.9-42.0.3.EL-smp-i686 /usr/src/linux-2.6.9-42.ELsmp And that should work.

Saou 2003: Freshrpms spec files online. Wiki: Fedora Documents: Packaging Standards and Fedora spec template. yes checking whether we are cross compiling... Do NOT use the 'rpmbuild -bi' command:-bi Do the "%install" stage from the spec file (after doing the %prep and %build stages).

Why does MatrixFunction with Sinc return this error? check over here Are you new to sawoy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sawoy 02-09-2008, 08:15 AM #6 rshendershot LQ Newbie Registered: Jun 2006 Posts: What am I doing wrong?Note: performing the same upon kernel-2.6.9-42.0.2.EL.src.rpm complains about group and user named buildsvn rather than buildcentos.-----------------So attempting the two-step dl and install, the download works fine -

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Let's try an install of a source package: # rpm -i cdp-0.33-3.src.rpm #

Well that doesn't tell us very much Antonym for the word "hero" not in the sense of "villain" Why do Trampolines work? his comment is here Anyone got any fantastic ideas of how to install this on CentOS?

However, the first bit of the procedure listed in this thread gets the .rpm anyhow. why? asked 6 years ago viewed 2996 times active 1 year ago Related 4Newbie rpmbuild error6Bad exit status from /var/tmp/rpm-tmp.ajKra4 (%prep)1How to build a RPM package with custom changes4rpmbuild issues on CentOS

This is the first rpm install I've tried.

we should always use a non-privileged user account to do this. Is it rude or cocky to request different interviewers? Failing configure script." On CentOS it appears that "/usr/src/linux-2.6.9-42.ELsmp" would not exist, however "/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686" does. Posts: 16,711 Rep: you are aware that this thread is from 2004 and for the now very dead RH9 RH9 did not have "yum" that was not added until many years

gcc checking for gcc version... >= 3.2 (3.4.6) checking for gcc... For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. share|improve this answer answered Apr 12 '11 at 17:15 Ignacio Vazquez-Abrams 445k64795953 so need to update the spec file? %{_sourcedir} in place of Source:/root/ –jon Apr 12 '11 at weblink Creating a blank spec file $ cd ~/rpmbuild/SPECS $ vi program.spec The following is an example of what the template may be like: Name: Version: Release: 1%{?dist} Summary: Group: License: URL:

What directory do I put it in?If so how do I specify rpm to put it there? Browse other questions tagged linux rpmbuild or ask your own question. Draw an asterisk triangle Is this the right way to multiply series? RPM permits patches to be processed when building binary packages.

E.g, Change "Release: 18" to "Release: 18.1"Get dependent rpms (XFree86-devel ncurses-devel libpng-devel libjpeg-devel libungif-devel libtiff-devel) and istall them. Is this the right way to multiply series? snip 10:32:03 (301.39 KB/s) - `40002086_M.src.rpm' saved [3077003/3077003] [[email protected] build]$ rpmbuild --rebuild 40002086_M.src.rpm Installing 40002086_M.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.37748 + umask 022 ... When must I use #!/bin/bash and when #!/bin/sh?

Why are so many metros underground? Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started How do I input n repetitions of a digit in bash, interactively Unix command that immediately returns a particular return code? rpm -E "%{sourcedir}" –Ignacio Vazquez-Abrams Apr 12 '11 at 17:22 give me example –jon Apr 12 '11 at 17:25 but already in /usr/src/redhat/SOURCES as you said

Having a problem logging in? I'm getting the same error on CentOS 5.9 too.