Programming :: Build A Package Using A Different Lib Than The One Installed?

Jul 11, 2011

Is is possible to compile (but not install) a library, and then compile a package using that library instead of the version that's installed?

View 4 Replies


ADVERTISEMENT

Ubuntu :: LTIB Showing Package Not Present: Rpm-build Software Not Installed

Oct 15, 2010

ltib is showing following package not present: rpm-build Software not installed, even though rpmbbuild is already installed. I am trying this on Ubuntu.

View 1 Replies View Related

SUSE :: Package A War File As An RPM Package - Always Giving Errors In %build Stage

Feb 14, 2011

Still I am asked to package a war file as an RPM package. That is an unusual RPM packaging(To me). If you guys could guide me I have a war file inside a folder, that folder is inside a tar file as a SOURCE for RPM package. The structure is like below.

[Code]...

I simply want that the war file from sources is transferred to the web app of my tomcat server through RPM. I try to package it as an RPM, but its always giving me errors in %build stage. When I try to remove %build from stage from the spec file, then it says command missing.

My system details are:
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 1
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"

View 5 Replies View Related

Fedora :: Can't Build Rpm Package?

Mar 9, 2010

I'm building an rpm from the following program source:[URL].. but I'm getting the following error after running rmpbuild: (here I only show the log after configure, see attachment for a full log):

configure: creating ./config.status
config.status: creating Makefile
----the prefix for installation directories is:/usr
If this choice is not convenient, re-execute this configure
with the --prefix option, e.g.

[Code]...

I can figure that it cannot install under /usr/bin, rather it have to install in %{buildroot}, but I don't know how to deal with that. Please I need help with this!

View 9 Replies View Related

Ubuntu Installation :: How To Build A .deb Package From Git

Jan 4, 2011

I work at a small company where we use to deploy things by just checking out the repo and copying stuff to production servers. This has to come to an end, enter .deb packages!

So I'm wondering what's the best procedure to do that. I already know how to create .deb packages, most of our stuff is Python and we're going to use python-support and cdbs. But how to maximally automate this?

We have a Git repo and ideally the whole thing should work like this:

* a tag is created in the Git repo (the version can be provided manually)

* some file like 'version.py' is created so that setup.py and the packaged software can refer to it and know the tag

* changelog is created from the Git commit logs

* the package is built (that's the part I've worked out - python-support and cdbs are involved here)

* optionally, the package is uploaded somewhere

There's a .deb package named 'git-buildpackage', is it suitable for this task? So far I can tell that it has one drawback - it looks for the 'debian/' directory in the root of the repository, which is not the case - our repo consists of several subdirectories, each contains a subproject that will be packaged independently.

View 2 Replies View Related

Server :: Kernerl3.0.0 Build As Rpm Package?

Aug 16, 2011

i make rpm package from linux kerlne 3.0.0 source. default spec file in "linux-3.0/scripts/package/mkspec" ,i add %post lines,this step use to install new kernel with rpm (ivh) tools and configure grub automatically

Quote:

echo "%post"
echo '/sbin/new-kernel-pkg --mkinitrd --depmod --install "$__KERNELRELEASE" || exit $?'
then ,make rpm-pkg, it makes rpms bellow:
Wrote: /root/rpmbuild/SRPMS/kernel-3.0.0-1.src.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kernel-3.0.0-1.x86_64.rpm

[Code]...

View 3 Replies View Related

Fedora X86/64bit :: Build Multilib RPM Package In X86-64?

Dec 5, 2009

I am running Fedora 12 x86-64. I have a SRPM and want to build both x86-64 and i686 package. But the rpmbuild -ba can only build x86-64 package. --target=i686 is not working fine too, it try to find dependency in /usr/lib64. How can I build i686 package?

View 1 Replies View Related

Ubuntu :: E: Couldn't Find Package Build?

Jun 27, 2010

When I type this command ;sudo apt-get install build essentialI got this ;

Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]...

View 2 Replies View Related

General :: Build Package For Evolution - Brutus?

Jul 22, 2010

i am new to linus and trying to connect evolution to exchange 2007 using evolution-brutus plug in. However not able to complete the compiling stage. where to download the following rpm. I am using Ubuntu 10.04 LTS- the Lucid Lynx

configure: WARNING: You should have the rpmdev-setuptree program if building evolution-brutus RPMs checking for rpmdev-wipetree... no configure: WARNING: You should have the rpmdev-wipetree program if building evolution-brutus RPMs checking for build. no configure: WARNING: You should have the build program if building evolution-brutus RPMs on SUSE checking for dpkg-buildpackage..

View 4 Replies View Related

Slackware :: Build Notes For LFS 6.6 With Package Users?

Oct 20, 2010

Edit: Ack! Duplicate post. See my thread, What a slacker learned from building Linux from Scratch..., the build notes are in this post.

View 1 Replies View Related

Fedora :: Package To Install To Build Packages From Source

Mar 15, 2010

What package do I have to install to build packages from sources? I am trying to build the TrueCrypt package from source.

View 1 Replies View Related

General :: Launch Firefox 7.0a1 Nightly Build From A .bz2 Package?

Jul 5, 2011

I got Thunderbird 5.0a2 Beta because it had the file that runs it in there, but I can't find it anywhere in the Firefox Nightly Build one. There's also no config file in there either, and I don't want to replace my Aurora 6.0a2 Beta with the very unstable Alpha until I try it out. I would try it in the Virtual Machine but it'd take too long to set it all up.

[URL]

I downloaded the .bz2 file and Archiver extracted it for me. I remember in Slackware you just use installpkg on .bz2 files... Or was it .gz... I forget, anyway, how can I run Nightly-Build? Run-Mozilla.sh opens my Aurora browser.

View 6 Replies View Related

Software :: Package Gpart Fails To Build On Powerpc?

Apr 17, 2010

Question is: How do I compile a package for little endian on big endian proceessors? Gpart is known to build on arm-el, ia64, i386, and amd64. I'm using gcc 4.3 and have versions 3.4, 4.1, 4.2. Build environment is debian lenny, powerpc.

View 4 Replies View Related

Slackware :: Build GCompris A Childrens Educational Package?

Jul 5, 2011

I've been trying to build gCompris a childrens educational package. I got the compressed source & build from slackbuilds.org The only dependency mentioned in the readme was gnet so built and installed that ok .

With gCompris the build was progressing fine until a it hit a point at " text2html" .Looked in the 4th install disk of slackware 13.37 no sign of either.looked in slackbuild also no mention of either.

View 11 Replies View Related

Ubuntu Installation :: Build-Essential Package Missing / Obsoleted

Jun 20, 2011

Today is my first day to use ubuntu for my C++ programming. However, when I was trying to install build-essential, it failed. This is the output shown:

vie@vie-laptop:~/TestC++$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package build-essential has no installation candidate
vie@vie-laptop:~/TestC++$ .....

View 3 Replies View Related

General :: Use Compile File Build Package Without Messing Up Library

Apr 11, 2010

I want to build a package from source using src2pkg, but I don't know how to avoid library miss match. Suppose I have Firefox 3.5.2 on Slackware 13.0 64 and I want to upgrade it to 3.6.2. Last time when I venturesomely installed Firefox-3.6.2-current into my Slackware 13.0, I got library miss match. Thus, instead of upgrading the whole packages to current (which is impractical and cumbersome), I want to build 3.6.2 from source. How can I do this? Is there any guideline how to use src2pkg? Or should I rather use makepkg? Do I need to create a Makefile?

View 7 Replies View Related

Slackware :: Slackpkg Makes A Package And Uses The Adapted Build Script?

Jun 27, 2010

When I do slackpkg -N package I get a build script.I can change that so It will do what I want.

But what can I do so slackpkg makes a slackware package and uses the adapted build script ?

View 5 Replies View Related

General :: OpenSuse: Build Is Installed But Not Recognized By Make?

Jul 3, 2010

I was trying to follow instructions in [URL]

There is a reference to build in my kernel (with red background), se below:

linux-om4s:/lib/modules/2.6.31.5-0.1-default # ls
build modules.alias modules.alias.temp modules.builtin.bin modules.dep.bin modules.symbols source updates
kernel modules.alias.bin modules.builtin modules.dep

[Code]....

Both make and build have been properly installed in Software Manager.

View 6 Replies View Related

Programming :: Build A Simple Program For C Programming Class?

Feb 12, 2011

im trying to build a simple program for my C programming class, this is the source code

#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;

[Code]...

i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?

View 5 Replies View Related

Ubuntu Installation :: Error - Dpkg: Warning: Files List File For Package `libsdl-image1.2' Missing, Assuming Package Has No Files Currently Installed

Sep 23, 2010

When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.

Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.

[Code]....

View 4 Replies View Related

Debian :: Build A Deb-package In Order To Detect And React To The --purge Switch?

Jun 27, 2010

how does one have to build a deb-package in order to detect and react to the --purge switch?

View 1 Replies View Related

Debian Configuration :: Remove The Packages Installed From Using Build Dependencies

Jun 15, 2011

Does aptitude(or apt-get) have the functionality to remove the packages installed from using build-dep? It just seems convenient if you want to remove a program that was built from source.

View 4 Replies View Related

Ubuntu :: Package Seems Not Installed While It Actually Is Installed

Mar 24, 2011

i have to use lh command. I have installed all updates for ubuntu, live-build (the package for lh) and its updates. So my system is fully updated.When i hit "lh" command i get the following message: The program 'lh' is currently not installed. You can install it by typing:

sudo apt-get install live-build

When i do type: "sudo apt-get install live-build" i get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
live-build is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

View 5 Replies View Related

CentOS 5 :: Package Installed But Not Installed?

Apr 3, 2009

I am trying to put up my own Quake2 server to play with my friends. During this installation process I have encountered rather confusing issue. First I downloaded the Q2 server binaries in RPM package and tried installing it:

[Code]...

View 5 Replies View Related

Debian :: Installing Kernel Sources - Make Command To Build Package Fails

Jul 22, 2010

I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".

View 3 Replies View Related

Ubuntu :: Dev Package For Intern.h Ruby - ERROR: Failed To Build Gem Native Extension

Oct 26, 2010

I am currently trying to get my RadRails working. There are certain tasks I cannot complete and I'm guessing that installing mongrel and some other items would get everything going. I run the update and it seems to fail horribly and I've been looking on google for the last 2 hours to the answer to this one. This is there errors I have gotten so far.

By the way I am currently using Ubuntu 10.04 if that makes any difference. I have already downloaded and installed sqlite3 and sqlite dev.

Code:

>gem install -l mongrel-1.1.5.gem
Building native extensions. This could take a while...
ERROR: Error installing mongrel-1.1.5.gem:
ERROR: Failed to build gem native extension.

[code]....

Now at this point I am just trying to find the intern.h header file and can't find out what to download to get that.

View 2 Replies View Related

Ubuntu :: Build Deb Packages For Two Versions Of Same Product That Can Be Installed On The Machine Simultaneously

Apr 28, 2010

I want to build deb packages for two versions of same product that can be installed on the machine simultaneously. The source folder structure for both the packages have a common folder needed by both the versions. So i need to keep the common folder till both the versions are removed from the machine.My problem is that i can't install both the versions at the same time, i.e i have to uninstall the installed version and then install the other version. After installing one version, if i try to install another version, an overwrite error comes up. is there any option in dpkg for overwrite? Or is there any way to partially uninstall a deb package?

View 5 Replies View Related

Programming :: Build Ip Packet With C,socket Programming?

Jan 30, 2011

How can we build a packet using C?we have a structure called sockaddr_in which is use to for IPv4,so that we can define address,port and etc in this way:

Code:
struct sockaddr_in sock;
sock.sin_family=AF_INET;

[code]...

View 5 Replies View Related

Ubuntu Installation :: Configure: Error: You Must Have GLib 2.4.0 Or Newer Development Headers Installed To Build

Oct 9, 2010

I am trying to build Pidgin on my Lucid install and on running configure, I get the following:

Quote:

configure: error: You must have GLib 2.4.0 or newer development headers installed to build.

If you have these installed already you may need to install pkg-config so I can find them. I tried installing pkg-config, but it's already in its newest version. I then tried going to the following website

[URL]

and downloaded and extracted glib on my computer. That changed nothing. I was hoping someone could tell me what's going on here. I just tried the this:

Quote:

sudo apt-get install libgtk2.0-0

and got

Quote:

libgtk2.0-0 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

View 8 Replies View Related

Programming :: RPM: Package Requires Old Version Of Same Package?

Nov 22, 2010

I'm building a certain RPM package that must require an old version of that same package in order to be installed/upgraded. Is this possible?

For example:

For a package foo v5, somewhere in the spec file:
"Requires: foo >= 4"

I'm declaring this on the Requires tag of the spec file, but when I try to install or upgrade the package (without having the previous required version installed) I get no dependency error! As for other dependencies it all works fine. If, instead, I create a package named "bar" that "Requires: foo >= 4", when installing I do get the expected dependency error. I'm thinking it's not possible to require an old version of the same package.

View 2 Replies View Related







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