In an earlier thread, I mentioned that I needed something like Netcat or Socat to create a serial > IP connection. I realized after some thought that I had downloaded the netcat tarball, unpacked it and ended up with the uncompiled program. I attempted to put it together with cc and discovered that i have no compiler application on my production box. Google mentioned GCC, which I found the correct RPM's (including dependencies) for, and I was able to install most of then until I realized that I have a quandry:
[root@dev21 /home/dev/gcc] rpm -Uvh gcc-4.6.3-2.aix5.2.ppc.rpm
error: failed dependencies:gcc-cpp = 4.6.3-2 is needed by gcc-4.6.3-2
[root@dev21 /home/dev/gcc] rpm -Uvh gcc-cpp-4.6.3-2.aix5.2.ppc.rpm
error: failed dependencies: gcc = 4.6.3-2 is needed by gcc-cpp-4.6.3-2
A needs B needs A
Please explain this to me. Can i use the --nodeps flag?
I'm at a loss at this point. Any help would be appreciated.
No, you can not use the --nodeps flag it you want it to work. Each rpm has its own dependency and it is necessary for that dependency to be met.
If you want to do it manually (which is what you are doing), you must know the dependencies of each package and issue the rpm command with each one in daisy chain. That is:
Now, there is a tool that automatically checks for each dependency required and it will try to download it from the configured distribution repository.
This tool is yum for RHEL and clones of it, and Fedora <= 21.
Fedora >= 22 had yum replaced by DNF.
Suse uses zypper.
Hi, im building a new PC for my FreeBSD - sorry it's not really UNIX related but I dont really visit any other online forums, and lost ideas of people to ask,
Basically would it work if bought this motherboard -... (0 Replies)
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Hi,
I've installed firewall builder into my operating system (PCLinuxOS) from the repository. Now I need to configure and make run firewall builder in the main server (production server) of my company.
The technique that I want to use is pushing the script from my laptop (where I've got the... (3 Replies)
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (0 Replies)
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
LEARN ABOUT CENTOS
applydeltarpm
APPLYDELTARPM(8) System Manager's Manual APPLYDELTARPM(8)NAME
applydeltarpm - reconstruct an rpm from a deltarpm
SYNOPSIS
applydeltarpm [-v] [-p] [-r oldrpm] deltarpm newrpm
applydeltarpm -c|-C deltarpm
applydeltarpm [-c|-C] -s sequence
applydeltarpm -i deltarpm
DESCRIPTION
applydeltarpm applies a binary delta to either an old rpm or to on-disk data to re-create a new rpm. The old rpm can be specified with the
-r option, if no rpm name is provided on-disk data is used. You can use -p to make applydeltarpm print the percentage of completion, or -v
to make it more verbose about its operation.
The second an third form can be used to check if the reconstruction is possible. It may fail if the on-disk data got changed (deltarpms are
created in a way that config file changes do not matter) or the deltarpm does not match the rpm the delta was generated with. The -c option
selects full (i.e. slow) on-disk checking, whereas -C only checks if the filesizes have not changed.
Instead of a full deltarpm a sequence id can be given with the -s sequence option. Such an id contains all the information that is needed
to do reconstruction checking.
Finally information about a deltarpm can be printed with the -i option.
MEMORY CONSIDERATIONS
applydeltarpm was written to work on systems with limited memory. It uses a paging algorithm to keep the size of in-core data low and not
bring the system in an out-of-memory situation.
EXIT STATUS
applydeltarpm returns 0 if the rpm could be recreated or the checking succeeded, it returns 1 and prints an error message to stderr if
something failed.
SEE ALSO makedeltarpm(8), rpm(8)AUTHOR
Michael Schroeder <mls@suse.de>
Feb 2005 APPLYDELTARPM(8)