General :: Pack Some Binary Blobs With Rpm?

Nov 3, 2010

Suppose i have some binary blobs in ~/pkg/opt, ( I created those with the standard ./configure, make, make DESTDIR=~/pkg/opt install ).Is it possible to pack this structure into an installable rpm that can be installed/uninstalled from a RHEL/CentOS system...? rpm -ivh my_package.rpm ? Doing this in Slackware is easy, as well as in Arch, one installs to a fakeroot ( pkg ), creates a PKGBUILD, and runs makepkg -R PKGBUILD, this creates an installable Arch Package. But i am not very familiar with the more fashionable package formats, *.debs and *.rpms. Can i just pack the thing from binary, or do I have to build it and pack it in the process? makepkg -R PKGBUILD just packs it if one is lazy enough to write the whole PKGBUILD.

View 1 Replies


ADVERTISEMENT

Fedora :: 13 - Can't Make Service Pack Using Gpk-service-pack

Jun 29, 2010

I have little problem with gpk servce pack (from gpk-package-extra package). When im trying to make list of my packages in system i have:

Quote:

Can't write the file, no permissions. OK, but when i run gpk service package as root, program freeze, i click create packages list option but application never create this file, status is always on 0%, even after 1 hour. I saw video tutorial, where base are created by normal user i /home - why i can't Console says nothing about this.

View 2 Replies View Related

Programming :: Finding A Utility To Combine Two Or More Binary Files Into A Single Binary File?

May 5, 2011

Is there any Linux utility to combine two or more binary files into a single binary file ?

View 7 Replies View Related

Programming :: Version Info Coded Into ELF Binary / Author And Company Name Into ELF Binary?

Nov 30, 2010

How to coded version info and other information likes author and company name into the ELF binary?

I prefer the put the version info during build step.

View 5 Replies View Related

General :: Pack 15 Different Scripts Into A Single RPM ?

Apr 6, 2011

I have more then 15 different scripts - bash, perl etc (I run the scripts on Red Hat Linux)

I want to pack all scripts by RPM. How to do that?

For example I want to do: rpm -Uvh all_scripts_pack

And then to get all script under /root/New_DIR (the rpm need also to create the New_DIRdirectory)

View 2 Replies View Related

General :: Way To Pack A Loadable Module In To .deb Package

May 21, 2010

I wrote a hello world loadable module and tried to pack it as a .deb package. While trying to do so, I came across some technique that were applicable to userland applications.

Is there any way to pack a loadable module in to .deb package?

View 2 Replies View Related

General :: Possible To Run An X86 Binary On An ARM Processor?

Dec 13, 2010

Is it possible to convert/recompile an already compiled x86 binary into an ARM binary?I'm using a BeagleBoard with a command-line Ubuntu (Maverick) and want to run a Ventrilo server but the x86 executable they supply cannot be run on the hardware as far as I can tell (most likely due to differing architecture).Unfortunately I don't have access to the source to allow me to recompile it natively.

View 3 Replies View Related

General :: See If A Binary Is Running?

Aug 19, 2010

I'm trying to autodetect if certain applications (for example, Firefoxre running. I figured the easiest way would be by checking process names.

View 2 Replies View Related

General :: Creating A New Binary?

Jan 5, 2011

I need to change the functions of some linux commands. We can't edit the binary files provided in /bin, is there any other method other than alias.For ex. - I need to change the function chmod so that it takes only three consecutive integers as input (chmod 777 filename) and nothing else ? Do I have to write by own code for it, or is there any other alternate method.

View 2 Replies View Related

General :: FTP Always In Binary Mode?

Dec 27, 2010

In a DOS prompt, I would like to ftp ASCII get a file from a Linux machine. The file was created in vi, just a normal text file.in DOS prompt:

Code:
ftp> ascii
200> Switching to ASCII mode.

[code]...

View 3 Replies View Related

General :: Can't Execute Binary On Ubuntu

Feb 11, 2010

Trying to setup a new Ubuntu machine and just downloaded 'p4' (Perforce command line client). It's a single file download - a statically-linked binary executable, so I just did:

wget [URL]

...right into /usr/bin. Simple enough. Except:
root@aj-ubuntu:/usr/bin# ll p4
-rwxr-xr-x 1 root root 748808 2010-02-11 16:54 p4
root@aj-ubuntu:/usr/bin# ./p4

[Code].....

View 6 Replies View Related

General :: Specify The Location Of Libraries To A Binary?

Sep 25, 2010

I'll be using a specific example, but really this generalizes to pretty much any binary on linux that can't seem to find its' dependent libraries. So, I have a program that won't run because of missing libraries:

./cart5: error while loading shared libraries: libcorona-1.0.2.so: cannot open shared object file: No such file or directory

ldd sheds some light on the issue:
linux-vdso.so.1 => (0x00007fff18b01000)
libcorona-1.0.2.so => not found
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6

[Code]....

View 2 Replies View Related

General :: How To Create Binary RPM From Source Tar

Jun 7, 2011

Right now to install software from source I do a ./configure && make && make install which doesn't allow for easy uninstallation (some don't come with an 'uninstall' goal, and if they do you have to keep the source around). I'd like to learn how to create binary RPMs from source tar.gz files (one reason being that it makes for easier uninstallation). I tried the following but it complains with the following errors:

Code:
$ rpmbuild -ta mysource.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

Apparently that's what happens when there is no SPEC file in the tarball. But all the tars I've tried give this same error. Is there a simple way to create binary RPMs from source files - as an example, this source tar [URL].

View 4 Replies View Related

General :: Any Option To Enable Binary Log

Mar 31, 2011

Using Mysql binary log we can able to take incremental backup perfectly, like that we can able to create binary log for normal directory (or) is there any option to enable binary log for normal directory.?

View 1 Replies View Related

General :: Parsing A Binary File?

Mar 17, 2011

Is it possible to parse through a binary file using a script using either Korn shell or Bash

View 3 Replies View Related

General :: Bash 'can't Find' Binary Executables

Apr 16, 2009

I am working on a custom hand-held device which runs a variant of Ubuntu Linux, 2.6.18. I have a set of 4 binary files (for oprofile) which have been known to run in this environment, but when I copy them to /usr/bin, I can't run them: I get this message;root@ldogberry:/usr/bin# ./ophelp-sh: ./ophelp: not foundThis happens when I specify the full path, when I run from the /usr/bin directory -- it happens no matter what. Bash even does command-line completion on the file -- and then turns around and instantly claims the file is not found.

View 7 Replies View Related

General :: Compare Binary Files In System?

Mar 29, 2010

I need to compare two binary files and get output in form

for every different byte. So if file1.bin is code...

what is the easiest way to accomplish the goal? Standard tool? Some 3rd party tool?

View 5 Replies View Related

General :: Get Binary Path Of A Mono Process?

Jun 30, 2011

Is it possible to get the path of a process running under Mono in Linux? For example if I launch KeePass using mono KeePass.exe, running ps just shows the command name as mono, while what I really want is KeePass.exe.

View 1 Replies View Related

General :: Binary - Use Logs To Have Incremental Backup

May 7, 2009

I had full backup in mysql. now i added some tables .i got new binary logs. how i can i use these logs to have incremental backup.

View 3 Replies View Related

General :: Building RPM From Source (Binary Package)

Apr 15, 2010

I have this source.tar.gz, I unpack it and cd into it, then I

Code:
$mkdir build
$./configure --lots-of-options --prefix=$PWD/build
$make
$make install

So I have inside my build folder, 4 folders, usr, lib, man, share. How do I convert this into a binary rpm package...?

View 4 Replies View Related

General :: Finding Binary Dependency Trees?

Oct 25, 2010

I'm working on a Linux distro, and I have the full thing compiled and everything, but it is centered around a single program (a rendering engine). Is there any way that I can figure out what dependencies the binary has at runtime? I know I don't need gcc and a ton of other files, but I'm not sure what I can remove to decrease size (I'm aiming at under 20 MB, as Slitaz Live CD is only 30, but it has a ton more stuff than my CLI thing).

View 4 Replies View Related

General :: Binary And Source Packages Difference

Feb 4, 2011

Very often we get to hear Binary / Source when we talk about installing packages...From what I understand "Binary" refers to a natively packaged installation by a Distro wheras installation from Source would entail fetching the files, Compiling and then building the package. When we say "source" where do these codes reside? Is it diffferent for different distros or one common source like "sourceforge.net" or similar?! I know it sounds silly but what is the origin of the source codes??

One general remedy if a package is not found is to install from source... So , source would refer to a "tar.gz" or "bz2" archive present at some location like "[URL]". In some cases , id it possible that some packageas are not available in "Source". When I tried to build a package for a particular distro , I was told that some dependencies are not un the source ...What is the meaning of this? So do all distros maintain the codes in their official repositories?

View 1 Replies View Related

General :: Binary Compare Of Directory Structure

Apr 13, 2011

diff has the ability to trasverse directory structures. cmp has the ability to manage binary files.

I'm looking for something which allows me to compare a directory's contents, including files and subdirectories, and so a binary comparison.

Any suggestions, scripts, etc. which may be of help?

Some of my directories are huge, with huge (image) files in them.

View 2 Replies View Related

General :: Binary Is Not Created Without Giving Error?

Jul 13, 2011

and executing my package on red hat version 2.6.18-164.el5 and displaying no error but my binary is not created what could be problem ??

make[1]: Leaving directory `/root/kartik/POC_SSI_1/iub_dogw/ipr/common/cspl'
gcc -print-file-name=libgcc.a -g -Wall -Werror -D_GNU_SOURCE -r -o /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/bcpapp -lgcc -lc /root/kartik/POC_SSI_1

[code]...

View 2 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

General :: Permission Denied When Trying To Execute Binary Burned To A CD-R

Mar 23, 2010

On an Ubuntu 9.10 (Karmic Koala) machine, I burned a CD from the command prompt using: cdrecord -v speed=16 dev=0,1,0 /FPS.iso.The CD now contains an executable and some files. I tested the CD by loading it onto another machine (Red Hat 5.3) and when I try to run the program I get the following message:bash: ./FPS1_1: Permission denied.I can open other files like text documents (the executable also comes with shared libraries).I realized I had burned the CD as root so I burned another one as another user but I still have the same problem.

View 2 Replies View Related

General :: Command To Find The Source Package Of A Binary?

May 30, 2010

I know there's a which command, that echoes the full name of a binary (e.g. which sh). However, I'm fairly sure there's a command that echoes the package that provides a particular binary. Is there such a command? If so, what is it? I'd like to be able to run this:

commandName ls and get coreutils for example.

View 1 Replies View Related

General :: Unconvert Text File From Binary Format

Dec 28, 2010

I've got a rather large CSV file (~700MB) which I know to consist of lines of 27-character alpha-numeric hashes; no commas or anything fancy. Somehow, during its migration from Windows to Linux (via winSCP and then a few regular SCPs), it has converted into some kind of binary format I am unfamiliar with.If I open the file in vi, everything appears fine, and it says [converted] at the bottom, although I know it's not a line endings issue (and dos2unix doesn't help). If I 'head' the file, it looks proper except for a " at the beginning of the first line. If I open up the file in nano, however, I see the at the start and then "^@" before every character (even newlines and EoF).

If I try to re-save or copy the file (say via: head file.csv > short.txt), this special encoding is preserved. I copied the first ten lines out of vi (which displays it properly) into my Windows clipboard via my SSH client, then pasted it into a new text file, test.txt. This file is visually identical when opened in vi (and similar through 'head', minus the ), although it's roughly half of the filesize. I have no idea what format this once-text file got converted to (it's notoriously hard to search the internet for symbols), but surely there must be some way to convert it back.

View 1 Replies View Related

General :: Libraries - Binary Executable Properties : Ldd Alternative?

Mar 23, 2011

The Linux ldd command can show the dynamic libraries used by an executable. It's a bash script.But it seems to be fragile, and does not work on some binaries. Is there an alternative tool? In my specific example, I can use:

% file datab2txt

datab2txt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped

but ldd fails with:

% ldd -v datab2txt

not a dynamic executable

View 2 Replies View Related

General :: Compatibility - List Of Binary Compatible Derivates?

Jun 29, 2011

I'm looking for an overview of binary compatible linux derivates to enterprise Linux versions. A usable definition of this compatibility is given on Wikipedia. I already know candidates for this:

CentOS (Community ENTerprise
Operating System) is binary
compatible to RHEL (Red Hat
Enterprise Linux).
SL (Scientific Linux) is binary
compatible to RHEL (Red Hat
Enterprise Linux).

I think there are for sure many more. Who can help? Maybe this will grow into a fine overview... I'd like to edit the question to complete it with the data from answers.

View 1 Replies View Related







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