Installation :: Rpm Getting Generated In Diff Directory?

Sep 17, 2010

When I build my software with rpmbuild command, the rpms are not gettinggenerated in the directory specified in rpmmacros file(%_rpmdir)This is what I am doing..

rpmbuild -bb -vv --buildroot <build root path> --target=x86_64 --rcfile /tmp/rpmrc /tmp/mySpecfile.spec
# cat /tmp/rpmrc

[code]....

View 3 Replies


ADVERTISEMENT

Software :: Setting Git-diff --color-words As Git-diff?

Jun 2, 2010

I like the output of

Code:

git diff --color-words old..new
but I do not know how to set --color-words permanently in the ~/.gitconfig file.

Edit: I guess I should've said that I do not want an alias for diff --color-words

View 5 Replies View Related

Ubuntu Installation :: Install A . Diff File In 10.04?

Jun 27, 2011

I downloaded a package with an extension .diff.gz. I extracted it and got a .diff file. how to install a .diff file?

View 1 Replies View Related

Ubuntu Installation :: Update - Error - PkgProblemResolver:Resolve Generated Breaks - This May Be Caused By Held Packages

Oct 10, 2010

I'm trying to update my Ubuntu 10.04 to 10.10... But I get this error message:pkgProblemResolver:Resolve generated breaks, this may be caused by held packages

I tried to disable all the repositories, and also "sudo apt-get -f"... But still having this error message...

View 8 Replies View Related

CentOS 5 :: Best Way To Have 3 HDs With Diff Os In Same Box?

Apr 15, 2009

I have centos 5.29 on one hard drive in a box and now someone wants to hook up his own XP Hard drive every now and then when I am not using centos.

Rather than have to disconnect everytime, is there a way I can have the 2 drives in the box and have the option at bootup which one to use?

View 1 Replies View Related

General :: How To Use Diff File

Jun 18, 2010

when i compile a software ABySS, it reported that:

/usr/local/include/google/sparsehash/libc_allocator_with_realloc.h:66: warning: unused parameter 'n'
make[2]: *** [libalign_a-Aligner.o] Error 1
make[2]: Leaving directory `/var/data/abyss-1.2.0/Align'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/data/abyss-1.2.0'
make: *** [all] Error 2

someone said it because of a bug of google-sparsehash. and gave a patch "deallocate.diff ". my problem is how to use deallocate.diff to fix the bug.

View 1 Replies View Related

Programming :: Can Diff Take Arrays As Input

Jun 19, 2010

Does diff not like arrays? How do achieve the following?

Code:

stuart@stuart:~/music transfer$ diff file1.txt file2.txt
1c1
< bonkers_in_phoenix.mp3

[code]....

View 14 Replies View Related

Applications :: Difference Between Diff And Dwdiff And Other Cmd Line?

Apr 19, 2010

1/ I haven't catch the difference between dwdiff, diff or dircomp If one wants to only output files (JPEG, doc, etc.), which have been created, absent or modified The command:

diff -r -q

works well, any advantage for another command? Subtilities between commands for issues like:

* identical content, but renamed files
* identical names & date & weight, but different content (virus)

2/ Is there a way to tell diff to store in a specific directory all missmatched files?
Something as

diff - r -q oldBackup actualData /media/sda1/discrepant

Where diff would store in media/sda1/discrepant all files which are new or modified after comparison between oldBackup and actualData

View 1 Replies View Related

General :: Diff The Output Of One Bash Script Against Another?

Jul 6, 2011

I would like to compare the (screen) output of one bash script with the (screen) output of another bash script to ensure the output is exactly the same.The reason for this is that I am receiving a consolidated data feed from an IP address and have moved some of the data feed to a 'new' source IP address. I will turn off the feed from the original once satisfied that the new is receiving the same data. The format of the output from the scripts are exactly the same.

Tried so far
./IDCGRE.sh | grep FX.CK | diff < ./IDCGRE2.sh
./IDCGRE.sh | grep FX.CK | ./IDCGRE2.sh | diff

[code]...

View 3 Replies View Related

General :: Install And XP On Diff / H/D Connected To Same Machine?

Nov 30, 2010

I have two H/D and i need to install XP and RHEL5.3 in different H/D connected to single machine.so that when i boot from first H/D linux will boot or if i choose second XP will boot.

View 7 Replies View Related

Software :: Linux Diff For Links Nonresolving?

Feb 8, 2010

Where can i find such subj? I don't see that standart diff supports such feature. It will be used for backup big directory like /home. Because directory is too big so repositories like svn are unacceptable. Good case seems to be diff+tar.gz to save differences for last n-th monthes for example. /home could contain doth hard and symbolic links that are not resolvable on backup machine but could have sense at all (= be resolvable on other machines where /home is used too via nfs mounting).

View 4 Replies View Related

Programming :: Shell Script - Which Should Diff Between PS Outputs

Feb 16, 2010

I would like to make a one-liner, which diff's "ps aux" output before and after killing a process. So basically it should be a combination of fallowing commands:
1) diff -u
2) ps aux | awk '{print $2}'
3) kill `ps aux | grep [c]ron | awk '{print $2}'`
4) ps aux | awk '{print $2}'

How to achieve this? Something like this:
Code:
diff $( kill `ps aux | grep [c]ron | awk '{print $2}'` && ps aux | awk '{print $2}' ) $( ps aux | awk '{print $2}' )
I don't have pgrep or pkill available.

View 3 Replies View Related

General :: Copy Images From Diff Folder In Shell?

Apr 20, 2011

I have 500 folders of templates in one folder. Now each folder has file called template_thumbnail.png . now i want something so that all those files get copied to one folder with name same as the home folder name

I have cygwin installed and i can copy that folder in there so basically it will linux shell script

View 1 Replies View Related

Ubuntu :: Bootchart - Similar Specs = 10sec Diff?

May 19, 2010

My Friend and I have a similar spec PC apart from mine has 4GB DDR2 his 2GB DDR2 and Mine quad core 2.3Ghz and his Dual core 2.3Ghz.... Both on a fresh 10.04 install with Grub2

Bootchart beats mine by about 10sec why?[Files Attached]

Edit files here: (Attached got resized)

Mine : [URL]
Friend : [URL]

View 9 Replies View Related

Programming :: Bash Syntax \ See 1 If The Exit Value Of Diff Is 0, And Otherwise Wanna See 0?

Dec 26, 2010

I'm new to scripting and I have a trouble with if statement syntax. The code is: Code: #there is a diff command here, and it does what i want but#i wanna see 1 if the exit value of diff is 0, and otherwise i wanna see 0.#the problem is here: (syntax error near unexpected token "then")

if["$?"==0];
then
echo 1

[code].....

View 1 Replies View Related

Fedora :: In Dual Boot, Clock Is Diff. By 4 Hours In Windows?

Jul 24, 2009

I have Fedora in dual boot with windows on a laptop. I have a weird clock problem. If I get the clock set correctly in Fedora, then it's 4 hours too fast in Windows. When I fix it in Windows and then restart into Fedora, it's 4 hours too slow in Fedora!Why are they competing with each other and how do I get them to both be correct?

View 6 Replies View Related

General :: Redirection - Redirect The Output Of A Program To The Diff Command?

Jan 13, 2011

I have a program that writes to stdout. Is there a way that I can redirect the output to the linux diff command or do I have to write the output to a file and then compare that. For example I have a bunch of test input files for a program and the corresponding expected output in another set of files. And I'd like to do something like ./program < t1.input | diff t1.expected.

View 3 Replies View Related

General :: Get Gnome Terminal Execute Different Commands From Diff. Tabs?

Jan 6, 2010

In gnome terminal it is possible to open multiple tabs with Quote:$ gnome-terminal --tab-with-profile=jake_lardasset --tab-with-profile=virtualsexgranny -x alpineWe got even further....Quote:gnome-terminal --tab-with-profile=james_treesexer --command pymol --tab-with-profile=loverboy13 --command alpineand pymol runs, but not in the tab and alpine runs in the tab.The problem is, that when using a script to check mail it has Quote:gnome-terminal --tab-with-profile=chrissypink --command alpine --tab-with-profile=jake_hugerichard -x ssh xxxx@xxxx.ut.eenot the other way aroundIs there a simpler way to do this?And why is it not possible to execute ssh with the --command parameter and -x has to be used ,but top and so on can be executed with --command

View 2 Replies View Related

General :: Install Immunity Debugger On System And Found It Very Diff?

Jul 19, 2010

install immunity debugger on system and found it very diff?

View 2 Replies View Related

Software :: Compare/diff A Range Of Lines From Two Text Files?

Mar 26, 2010

i tried using diff --GTYPE-group-format= with <%, but not sure that right solution.Here's what im trying to do. I have two c source files, file1 and file2. file1 has a function in it that's been modified in file2. However, the functions begin at differnt line numbers in eachof the files. Is there a way to specify a range of file numbers on file1 and file2 to compare, using diff or any other combination of utilities? I can always output text from a range of lines from each file to two separate and new files and then compare those, but that's tedious. I could also write up a script to automate this type of solution, but I imagine there's an existing way of doing this.

View 1 Replies View Related

Programming :: Print A Message When A Diff Shows Files Match?

Jul 16, 2009

I'm writing a script using ksh that diffs two dirs that contain about 30 files, and writing the results on a logfile. When files differ, it writes the difference with no problem, but I also need the script to write a message if no differences are found.

View 3 Replies View Related

Programming :: Generated With The GPS Locations Of Certain Sites?

Aug 21, 2010

I am sitting here at my computer at 2:30am on a saturday morning with no idea what the hell im doing. But here's my goal I have a KML File for Google Earth. This file is generated with the GPS locations of certain sites.

I have a text file with extra information about certain sites. What i'm trying to figure out how to do is by using perl I want to open the text file grab the first location on line one and search for it in the KML file. When that line is found I want to edit the Description field in that KML file and add something to the description and change the placemark from Yellow to Blue.

Can anyone give me advice on the best way to handle this and where I can start. I can understand if nobody wants to give me the answer directly but I would like to be pointed in the right direction

View 2 Replies View Related

Programming :: Cut The String In The Result Generated By AWK?

Aug 5, 2010

I wanted to get the ORACLE_HOME of the listener's running on the server.I have been using the following to get the reult. /opt/oracle/admin/PHYPE/bdump> ps -ef|grep /bin/tnslsnr|grep -v grep|awk '{print $9}'

Result is as follows

/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/9.2.0/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/9.2.0/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr

Now i wanted to cut the /bin/tnslsnr part and the remaining should write to the file.

View 4 Replies View Related

Debian Configuration :: Apply Driver Diff Patch Into A Custom Kernel

May 21, 2011

I' d like to apply this patch into my squeeze: [URL] Can someone pls explain howto apply driver diff patch into a custom kernel?

View 9 Replies View Related

General :: Use The Diff Command To Get The Difference Between A String Of Text And The Contents Of A File?

Mar 31, 2010

I am not especially cli adept so could someone tell me the best way to use the diff command to get the difference between a string of text and the contents of a file instead of between the contents of two files?

View 3 Replies View Related

Fedora :: Copying The Acer A150 Install To A Completely Diff Laptop?

Feb 13, 2010

Is it possible for me to copy the A150 install to a completely different laptop?I have the A150 setup the way I want it with packages and synaptics, and I want to copy it's install over to a medion laptop.

View 4 Replies View Related

OpenSUSE :: Okular And Dvi Files Generated By Latex?

Jan 24, 2010

I write my courses with Latex and I used Kdvi to read them. Since there is Okular the rendreing is very bad and I have to use back xdvi which works perfectly but is less friendly. I have no problem with pdf files. Did somebody exprience the same thing? How is it possible to solve it? I forgot to say that the problem occurs with opensuse 11.2, 11.2 and I've updated to the last version of Okular

View 6 Replies View Related

OpenSUSE Network :: Rule Generated By SuSEfirewall2 ?

Sep 13, 2010

I configured SuSEfirewall2 with no open ports on a openSUSE 11.1 box.

When I list firewall rules (iptables -L -n) the first rules in the INPUT chain are

Code:

2nd and 3rd rules are ok, allowing outbound requests. But how about the first rule? To me it looks like it accepts anything incoming hands down. I can't believe it, do I read this right? In such case the first rule short-circuits all subsequent rules on this chain.

View 1 Replies View Related

Networking :: Routing Locally Generated Packets

Aug 9, 2010

My requirement was to direct certain traffic from various ports down different Internet connections. Basically, for locally generated packets, the OUTPUT chain in the mangle tables is used. You can MARK packets in this chain for ip rule processing.Now the "clear as mud" part. There must be a valid routing decision made without the fwmark, selecting the right source address, even if the gateway ip is invalid.

View 2 Replies View Related

General :: File Generated Automatically In RHEL 3.0?

Aug 2, 2010

I am running redhat ent linux 3.0 with oracle database . Recently , I got a problem,perhaps some temporary files are created automatically and occupied my HDD . But I cannot find which files are created autamatically . Is there any way or any os related log file so that I can find that which files are generated automatically OR how can I trace it from OS perspective? I have to check oracle related tmp,trace and log file in every folder.

View 1 Replies View Related







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