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


ADVERTISEMENT

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

OpenSUSE Install :: When Verifying A Disk After Burning Suse On It It Keeps Giving Errors

Nov 20, 2009

I've been trying to burn Suse 11.2 to a DVD now for a couple of days but I keep running into trouble. When verifying a disk after burning Suse on it it keeps giving me errors. I've tried Nero and ImgBurn, different burners, different ISOs, different burning speeds (downloaded via torrent and http) but it keeps giving me the verification error.

The only thing I haven't tried is a different brand of DVDs but until now I've never had any problems with this brand.

View 9 Replies View Related

OpenSUSE :: The Open SUSE Package Lacks The Pkgconfig File

Jun 11, 2011

There is no pkgconfig file, so "configure" and "make" commands does not find all the time automatically needed files even they exist.

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

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

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

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

OpenSUSE Install :: Errors: Package Not Downloaded

Dec 14, 2010

I am trying to install a brand new installation of Opensuse 11.3 on a PC. I am using the Gnome desktop. When installing I get SO many errors saying "YAST2: package "xxx" could not be downloaded" or "installation of package "xxx.rpm failed." Ignore, Abort Retry.

I ran a checksum on the iso I downloaded from this site and it checks out. What is going on?

View 9 Replies View Related

Ubuntu :: Synaptic Package Manager ERRORS

Jul 1, 2010

I was running the Ubuntu Software Center when my machine froze, the mouse stopped moving etc. so I had to hard boot it.

Then I got a lot of errors and it would not boot, I got in as root and ran the fsck and fixed a lot of errors and so finally got to boot into GUI

Then I saw the red error sign which said run the sudo dpkg --configure -a to fix the problem I did, it didnt?!

It gave me the error

Code:

I found the file status-old so I copied it back into status but then I got this error:

Code:

I get this error in the X as well when I run the Synaptic Pkg Mgr:

Code:

How to re install the synaptic Pkg Mgr? Or how to get it back to run with no errors?

View 2 Replies View Related

Ubuntu :: Update And Package Manager Errors

Jan 15, 2011

I'm totally new to ubuntu and i have a major problem with updating ubuntu, I was looking around for some linux based gaming and came across the online game called "Regnum Online". I installed it and all goes fine until I restart my computer next day, the top panel that usually has daily updates is missing and in its place is a red circle with an x through it I hover over it with my mouse and it reads:
"An error occurred please run package manager from the right-click menu or apt-get in a terminal to see what is wrong."

Which I then right-click and open package manager and it gives the following response:
"E: Type '<!DOCTYPE' is not known on line 2 in source list /etc/apt/sources.list.d/onemyndseye-regnum.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report."

At the bottom of this message reads:
"this usually means that your installed packages have unmet dependencies."
I don't want to lose my personal files by wiping and reinstalling ubuntu.

View 1 Replies View Related

Red Hat / Fedora :: Unable To Install Package Via Yum - Errors

Feb 17, 2010

Am trying to install some package in my red hat 5 ,via yum but am unable and getting the following errors :

I have tried to update my yum it gives the below output:

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

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

Ubuntu :: Package Manager Errors For Install Or Update

Apr 4, 2011

I'm getting the following error every time i run the package manager to install or update etc..
Code:
E: nxserver: subprocess installed post-installation script returned error exit status 1
Despite the error, apt still works and allows me to install/remove apps.
The application in question also works fine too.

View 2 Replies View Related

General :: Automating The Package Configure Script Errors?

Mar 31, 2011

Need help in doing a tedious thing and no idea how to achieve this. The thing I am after is Makefile which generates after ./configure script runs successfully. Now the thing is when we run the `configure` script it may get stuck because of lots of reasons like needs mandatory options to pass with configure, library/header file is missing, etc. So I want to automate this problems as far as I can. As I am not installing the package so apt-get/yum won't hold here for me. So what should be your suggestions on achieving this. Should I study the configure script and the sample Makefile's inside the package

View 4 Replies View Related

CentOS 5 :: Dependency Errors Install The R Statistical Package

Mar 19, 2009

I am trying to install "R" on my CentOS 5.2 machine. Arch is x86_64 and I've removed all the x86_32 packages and run a yum update.

I am receiving the following dependency errors when I do a yum install R.x86_64:

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







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