Red Hat / Fedora :: Makfile Which Can Compile A Tree For Source File And Create Output In Separate Directory

Jul 29, 2010

I am new to linux platform and my requirment is to write a makfile which can compile a tree for source file and create the output in separate directory .

View 1 Replies


ADVERTISEMENT

General :: Create Download Directory And Source File

Aug 5, 2011

i just uppgraded to Centos 6. Linux 2.6.32-71.29.1.el6.i686 on i686. now im getting some troubble whit this file: wget [URL]... i create a downloads directory and download the source file and--

mkdir $HOME/downloads
cd $HOME/downloads

But when i try to build courier-authlib whit this comand: #sudo rpmbuild -ta courier-authlib-0.63.0.tar.bz2. I get this:

[code]...

what can be the reason?

View 5 Replies View Related

General :: Create Archives Of A Directory Tree On Ubuntu Box?

Oct 29, 2010

Are there any other archiving tools than tar that preserve Linux file permissions and user/group flags? I want to create archives of a directory tree on my ubuntu box. The directory trees are large, a first run with tar cvpzf archive.tgz /home/foo/bar yielded a 5GB archive. I also want to keep all permissions and other flags and special files.I'm fine with a 5GB archive, however to look inside that archive -- since it is a compressed tar archive -- the whole 5GB have to be decompressed first! (Or so it appears when opening it with the archive viewer -- I'm happy to be corrected.)So I need a way to "backup" a directory (tree) while preserving full filesystem attributes and right and creating an archive with an "index" that hasn't to be decompressed for browsing its contents. An archive is either a single file, or a (small) set of files that carries full and complete information within this file/s. That is, it can live on any filesystem (size permitting), it can be burnt onto a DVD, you can split it (after which the point of this question is really lost - but still), ...

View 3 Replies View Related

Ubuntu :: File Copy Via 9.10 On Windows Not Updating Directory Tree ?

Aug 19, 2010

I have ubuntu 9.10 & windows 7 on my laptop. I have one 40GB Primary partition (C & 60 GB logical partition on my windows. I have given another 20GB for ubuntu.

I hibernated my windows7 & then started ubuntu 9.10. Then I copied a folder containing some PDF files from my ubuntu to that 60GB (D on windows. Then I rebooted the machine & choose windows from GRUB. the windows came up from hibernation but nowhere I was able to see that folder which I copied.

Since ubuntu supports (understands) NTFS file system it means when I copied that folder it should have updated the Directory Tree of NTFS on that 60GB (D but that folder is not shown.

When I restart the windows the folder appears (ofcourse because windows checks the file system again for consistency while in hibernation it does not).

View 3 Replies View Related

Fedora :: Install Burg From Source - 'No Such File Or Directory'

May 1, 2011

I am following instructions from [URL]... i've gotten to the point where it says

[code]...

No such file or directory. I hate installing from source for this exact reason, something always goes wrong. and i'm left scratching my head. But I really want this boot loader.

View 7 Replies View Related

General :: Not Able To Compile Source RPM File

Oct 15, 2010

I am trying to build a source rpm file through a source rpm package but while compiling I am getting the below errors as,

[root@nisserver tmp]# ls
gconfd-root mapping-root ssh-kvrIrp2633
keyring-fgwCIY nmap-5.21-1.src.rpm virtual-root.2hSYRa
keyring-vx1pvB orbit-root

[root@nisserver tmp]# rpmbuild --rebuild nmap-5.21-1.src.rpm
Installing nmap-5.21-1.src.rpm
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49535 .....

RPM build errors:
user fyodor does not exist - using root
group fyodor does not exist - using root
user fyodor does not exist - using root
group fyodor does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.73783 (%build)

What next step need to be taken to install the rpm file from the source file.

View 6 Replies View Related

Software :: Create A DVD With A Separate Chapter For Each .avi File?

Mar 2, 2010

I use DeVeDe a lot, and it works great for general conversion and DVD authoring. I don't know, however, how to create a DVD such that each of the original .avi files will be their own chapters. In other words, I have about six or seven .avi files (episodes of a season of a television show) and I want to create a DVD with those episodes that I can navigate separately. Do I first convert each .avi? How then do I create a single DVD with six or seven chapters/episodes?

View 2 Replies View Related

Fedora Installation :: How To Install Kernel Source Tree Of Fedora 14's Current Kernel?

Feb 23, 2011

I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?

View 6 Replies View Related

Software :: Error - Mkdir: Cannot Create Directory `/dev/cgroup/cpu/user/5900': No Such File Or Directory

Jun 21, 2011

I get the following error whenever I launch bash:

Code:
mkdir: cannot create directory `/dev/cgroup/cpu/user/5900': No such file or directory
bash: /dev/cgroup/cpu/user/5900/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/5900/notify_on_release: No such file or directory
It seems like it's probably from this part of .bashrc:

[Code]...

What does this code do, why, and what's causing it to go wrong?

View 7 Replies View Related

Fedora :: Can't Compile From C Source

Jun 4, 2011

I often like to use packages that have to be compiled from source. However, even after downloading gcc, I can't compile anything, because the configure script gives me a message about being unable to execute C programs. I gather that this is because of a "noexec" option in /proc/self/mounts. Problem is that the file apparently cannot even be edited by root. Perhaps there is an alternate type of fedora distribution I could use?

View 2 Replies View Related

Programming :: Can't Compile C++ - Execvp: No Such File Or Directory

Mar 2, 2011

i was trying to Compile my c++ program..cme across this problem....but my c programs are getting compilied without any problem.I am using fedora 14. Below is the way terminal reacted to my program..

gcc prog1.cpp gcc: error trying to exec 'cc1plus': execvp: No such file or directory

View 4 Replies View Related

Fedora :: Unable To Compile Gammu Source On F13

Sep 17, 2010

I couldn't compile gammu-1.28 on my Fedora 13 when running ./configure.To make sure what i'm doing, i was install cmake from fedora repository directly using "yum install cmake" and completed. And then to make sure again, i was update my gcc using "yum update gcc". But there was still errors during running ./configure. Finally, i decided to update all needed inside my fedora using "yum update" to make sure again.

View 7 Replies View Related

Fedora Installation :: How To Compile Ruby 1.8.7 From Source

Nov 10, 2010

I already got the source from here [url] i need ruby 1.8.7 because i want to install activerecord usually i use yum for installing anything. but for ruby,

Code:

Package ruby-1.8.6.399-6.fc13.i686 already installed and latest version

View 3 Replies View Related

General :: Can't Compile Gcc - Fatal Error: Stdio.h: No Such File Or Directory

Feb 19, 2011

I am trying to upgrade my NAS with anew toolchain, gcc-4.5.2. The NAS have been "hacked" fonz_plug, that contain a gcc version 4.1.3 with uClibc. I have download all needed tar files and done the following.My goal is to upgrade the gcc to 4.5.2 and replace the ucLibc on the system with a GNU libc.

# Pass one
#
# binutils
./configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --with-gmp=/ffp --with-mpfr=/ffp
But when I try to compile the gcc with
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-__cxa_atexit --with-float=soft --enable-languages=c,c++ --with-build-sysroot=/ffp --with-build-time-tools=/ffp/bin --with-system-zlib --enable-threads=posix --disable-bootstrap

[Code]...

View 6 Replies View Related

Software :: Compile Source Written For Ubuntu In Fedora?

Jun 8, 2010

I recently downloaded a source file from [URL] and wanted to compile it for fedora. I found that the source was written for ubuntu as all the instruction in README file was for ubuntu machine. Can I compile the source for fedora?

View 13 Replies View Related

Programming :: Create A .bin File From Java Source Code?

Jan 4, 2010

i am trying to generate a linux executable data (bin data) from my java source code.

View 4 Replies View Related

Software :: Unable To Compile Gnome Commander - Bash: ./configure: No Such File Or Directory

Feb 2, 2011

I have downloaded the latest gnome commander source code from the gnome commander home page. Following the instructions in the readme I have extracted it from the tar ball and changed to the top level directory of the source code. I execute ./configure and get a bunch of "checking" results.

Quote:

bash: ./configure: No such file or directory
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9/src$ cd ..
ken@ubuntu:~/Desktop/gnome-commander-1.2.8.9$ ./configure

[code]....

I find Makefile.am and Makefile.in present in the directory. I generally install from deb packages. Still, I don't think it should be this hard to compile a package given the seemingly simple directions provided.

View 4 Replies View Related

Ubuntu :: Unable To Find The Kernel Source Tree Nvidia Driver Install

May 12, 2010

So after getting around the Fakeraid bug, and the grub bug, and all the other bugs killing my system fixed and then i moved on to install my video driver. There was nothing in Administration>Hardware Drivers, so i downloaded the latest driver for my two 8600m gt cards. Did the whole ctrl+alt+f2 and then stopping xserver and then running the driver install only to run into yet another damn bug(see log below)

I have tried fixing it by doing what other threads have said to do e.g:[URL] still nothing. Below is the Nvidia log.

[Code]....

View 9 Replies View Related

Ubuntu :: Is There Any Program / Script That Can Create Torrent File For Each File In Directory?

Apr 14, 2010

Is there any program/script that can create a torrent file for each file in a directory? I have been looking all over but can't seem to find anything of the sort. I have 700+ files I REALLY don't want to make my self.

View 1 Replies View Related

Debian :: Cache A Directory Tree?

Nov 30, 2015

I have a home storage of many drives which are seldom accessed, and extremely seldom written to. So, I made several RAID1 arrays with "write-mostly" drives in each one, so that all the drives spin down after a while, and if they are accessed, only one drive in each array has to spin up. This way, I hope to minimize the risk of losing anything due to mechanical shock or wear.

But it was not so easy. First, the write-mostly drives did spin up on every read request due to a bug in the kernel, so I managed to get the fix accepted into the newer kernels (which is my largest contribution to the Linux development so far. See [URL] .....) Now, if I read directly from the array, it works as expected (only the first drive spins up); but if I create a filesystem there (ext4) and read from it, the second drive still spins up anyway. (Does ext4 write something when it reads a file?.. I have it mounted with relatime, so AFAIK it shouldn't...)

Well, I thought, I'll just mount the filesystems read-only and remount them if I need to modify the data there, which is not very often, to say the least. Also, this way the drives don't have to spin up every system shutdown to unmount the filesystems; during a power outage, it used to take a lot of time for them to spin up one by one just to unmount, while my UPS had to survive long enough for them to finish. That's one more problem solved.

But I decided to improve even further. Sometimes I just want to see the contents of those arrays without even accessing some files (for example, when I accidentally click the wrong network drive button in Windows, or when I just want to see if I have something there or not). If I read the directory trees during startup and keep them cached, then those drives won't even have to spin up at those moments! The question is, is there a way to do it? I remember Linus boasting about our kernel being the best at caching the filesystem trees, and I know there is vmtouch [URL] .... which allows us to keep some files cached, but what about the directory tree itself?.. If I simply "find" all the files there, it seems to work, but they get evicted from cache sooner or later...

View 3 Replies View Related

General :: Using Fork() To Create A Binary Tree?

Sep 26, 2010

I am working on a project where I need to use the C language to generate a tree of processes. I understand how fork() works but I cant seem to get fork() to create two children from one parent and then have the two children create two more children.

Right now what i am seeing is a chain...where the parent creates one child...and that child creates another ONE child..etc.

Here is what I have so far:

for (i=0; i<n;i++){
if (childpid = fork()) break;
}
if (childpid == -1){
perror ("

[Code]....

View 3 Replies View Related

Fedora :: Fstab Ext3 F11 - Automatically Mount The Drive In File Tree At The Location /mnt/TheDrive?

May 15, 2010

With a 1Tb USB drive plugged in, we'll call it "TheDrive", I boot my machine and "TheDrive" is mounted automatically. The icon is on the desk-top. "TheDrive" mounts to /media/TheDrive. Everything is fine. But, I would like to automatically mount the drive in my file tree at the location /mnt/TheDrive. I would not like to have the drive automatically mounted to /media/ and appear on the desktop. I know that this requires the use of fstab; but, I do not know what to add to this file.

[Code]...

View 14 Replies View Related

Ubuntu / Apple :: Failed To Create File '/root/.local/share/recently-used.xbel.AC7YXV': No Such File Or Directory

Jun 22, 2011

I have iMac 2.4GHz with rEFIT installed. I installed Unity on one of the partition. Kernel is still 2.6.38.8. I am getting error message when I run the command
sudo gedit /etc/x11/xorg.conf

The error message is

(gedit:2139): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AC7YXV': No such file or directory

(gedit:2139): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

View 3 Replies View Related

Ubuntu :: Possible To Write Script / When Prompted In Terminal To Output Tree Listing Of Files And Folder

Mar 9, 2010

is it possible to write a script, when prompted in the terminal to output a tree listing of files and folder with out using a tree command.for example. control the output of ls -l to output that list like a tree (-- or /-)

View 3 Replies View Related

Fedora X86/64bit :: Catalyst 10.7 And 13x64 - "no Such File Or Directory Couldn't Create Cookie" Get A Black Screen

Jul 26, 2010

I just installed the 10.7 drivers (no workaround they just installed). And now after boot i get a black screen. I have a Radeon HD 4850 there is a way to fix this without reinstalling the OS. Ok in recovery mode when I type Startx i get: line 143: /usr/bin/mcookie: no such file or directory Couldn't create cookie Then if i type Xorg -configure i get : Fatal server error: Cannot open log file "/var/log/Xorg.0.log" Please consult the fedora project support.

View 14 Replies View Related

Ubuntu :: Convert Files, But Keep The Directory Tree?

Jun 10, 2010

I've got a directory structure full of files. I want to convert them all into some other format, but I don't know how to keep the directory structure, is there a way so I can "set" which command to use on files instead of `cp`?

View 4 Replies View Related

Fedora :: Compile From Source - Install Buddi Budget Manager And The ./configure Command Doesn’t Work

Nov 24, 2009

Ive been using linux for a few months now and every now and again i come accross a program that doesnt have a rpm package but says that it can be installed on Fedora using source. I'm familiar with build essentials and the following commands:-

tar xzvf package.tar.gz
cd package
./configure
make
make install

but from what i have read fedora uses a differnet compiler. I'm trying to install Buddi budget manager and the ./configure command doesnt work, which im guessing is because it doesnt have a configure file? Can anyone confirm how to compile from source and whether there are any tutorials specific to fedora.

View 4 Replies View Related

General :: Rsync To Copy Directory Tree From NAS Drive ?

Apr 10, 2010

I have a WD world book edition 1TB NAS drive, and just purchased an acomdata 1tb drive and connected it to the NAS via USB. If I recall I think the WD NAS has a ext_ or some type of linux filesystem on it, and the acomdata has a ntfs filesystem on it.

What I want to do is copy over certain directory trees of the NAS to the USB attached drive. I usually use MS synctoy to sync folders from my windows pc to the NAS drive, and MS richcopy to make the initial transfer from PC to NAS. For this operation though, since it is taking place entirely on the NAS and its connected drive, I thought that rsync would be the best option, and it is available on my NAS drive.

Last night I entered in rsync -avr /movies/* /usb1-1share1/ to copy the entire "movies" dir to the drive, which shows up as usb1-1share1 on the NAS drive. It copied most of the directory tree ok, but a lot of the folders were empty, so this morning I tried rsync -Carv --ignore-existing /movies/* /usb1-1share1/ to try and get all the files missed, without recopying the 24GB that did make it across. This also managed to copy a few more GB over, but not everything.

I am running the command from an ssh session on the NAS using putty on my PC, in as user "admin" which should have all rights over these folders. There is a bunch of errors in the command window like this: rsync: failed to set times on "/shares/usb1-1share1/movies/classics/fulldvd/First Blood DVD/.VTS_01_2.VOB.RxdjWZ": Operation not permitted (1)

I want to restart another session and get the files it missed, but I want to find out what I am doing wrong first. Should I be doing this as root user? am I missing some switches or just plain doing it all wrong?

View 3 Replies View Related

General :: Ftp Whole Directory Tree Using Vsftpd As Ftp Server In Fedora11

Feb 11, 2010

I am trying to ftp a whole directory tree using vsftpd as ftp server in fedora11

Code:

I am getting error while transfering a directory tree ...

View 1 Replies View Related

General :: Cannot Predict How Many Levels Deep Directory Tree Is

Sep 30, 2010

This little fragment does the opposite of what I want and I am trying to figure out how to reverse it. I want to strip off the directory and echo just the filenames. I cannot predict how many levels deep the directory tree is.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved