Server :: How To Compile Package In SuSE
Mar 26, 2011I want to compile a package say firefox, I dont want to use yast or yast2.
View 3 RepliesI want to compile a package say firefox, I dont want to use yast or yast2.
View 3 RepliesI originally attempted to compile and install xmonad package by package, and the end result was this:
Code:
$ xmonad /home/adx/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory)
X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Serial number of failed request: 7 Current serial number in output stream: 8 I figured I left out a flag on the make file or something, so I tried the slackbuild packages next; however, the same error was present at launch.
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"
I am trying to learn C++ by myself. I just wrote my first code lines but I am unable to compile them, I keep getting "fig15_1.cpp:2: iostream: No such file or directory". I have tried gcc and g++ (both installed in my system) but to no avail. The following is my code
Code:
// Entrada/salida en C++
#include <iostream>
using namespace std;
[Code]....
I have used a new header file named curses.h in my program.when i try to compile my program it shows me the following error "No such path or directory".What may be the problem?A part of the program is shown below
#include<unistd.h>
#include<stdlib.h>
#include<curses.h>
[code]...
I have SUSE Linux 10.1 kernel 2.6.16.21.I copied the source RPM package for the broadcom netxtreme gigabit network adaptor and put it in the location /usr/src/linux as the instructions said. when I try to build it it is looking in the location 2.6.16.21-0.25-smp as you can see from the stdout shown below. So this version of the kernel is obviously 2.6.16.21-0.25-smp but I got the kernel source code for 2.6.16.21 from kernel.org. So the question is how to find the source code for 2.6.16.21-0.25-smp so that the driver will compile.---regards, WER
====================================Installing Source RPM Package=============================
walker:/usr/src/packages # rpmbuild -bb SPECS/tg3.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.64419
+ umask 022
+ cd /usr/src/packages/BUILD
[code].....
I have a Rosewill b/g/n wireless USB adapter. I downloaded the source code of the linux driver from Rosewill website. How do I compile the code and then install the driver? I think that I can just type "make" to compile the code, but, how to install the driver after the compilation?
View 2 Replies View RelatedQuote:
Maybe increase swap space will help? How to do it? When I install suse 11 on this box, I remeber it shows the swap space is 2G, I didn't find it anywhere now...
Quote:
i just grabed a book and wrote a program and tried to compile it using 'javac' and everytime i'm getting this error:
javac Example.java
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
[Code]....
compile package C++ with GNU compiler under Linux, I can share my program's
View 3 Replies View RelatedI have made two source files named as sum.c and average.cI have included sum.c in average.c
both files in Documents directory.when i compile average.ot followingerror"average.c:4:22: fatal error: sum.c: No such file or directorycompilation terminated.How to solve this issue?I have tried to copy sum.c to usrinclude folder but unable to copy
why it is that when I download the sendmail debian source package for etch and build it using dpkg-buildpackage -b -nc I get a 645543 byte sendmail executable whereas when I download the sendmail binary that is 703292 bytes.
View 1 Replies View RelatedI am trying to compile the iputils package on FC12 statically but badly stuck up on a below error. My requirement is; I need to have ping utility built statically.
Any clue whats missing here? Per my understanding its trying to locate the glibc and when I search for glibc rpm I can see all those packages are properly installed.
[root@bastionNUX iputils-s20100418]# make LDFLAGS="-static -s"
gcc -static -s ping.o ping_common.o -o ping
/usr/bin/ld: cannot find -lc
[Code].....
I'm experiencing the following problem with latex. A tex file using using the beamer documentclass and the pstricks package will not compile properly. To be more precise, latex-ing results in a dvi file but the pspictures are missing. When using pdflatex I'm repeatedly prompted with a?. Replying with enter all the time gives a pdf file without the pictures again. I'm running 11.2 with KDE and the normal preinstalled texlive. Version 2008-13-15.1-x86_64 from the Update repo that is. A minimal example where this happens would be:
[Code]....
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 RelatedIs there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.
Is there an easier way to compile programs and their dependencies manually or are package managers the only way?
I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?
I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:
mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1
The error is correct but this folder is created in the same process!
I am running memory test on SUSE, Memory test is just writing some patterns into a memory and reading it back in all CPU threads. After a while, when memory test is running in the background , I am trying to reset the system by echo b> /proc/sysrq-trigger command, Upon SUSE warm reset , I am seeing some UNCORRECTABLE MEMORY ERROR in model specific register (MSR : 0x421),
I am seeing this behavior on one of my server which has huge amount of memory.,Have you ever seen this UCECC error when SUSE generates warm reset when memory test in the background ?
When i try to install rpm package for apache2 the command line gives error: Failed dependencies:
apache2-MPM is needed by apache2-2.2.3-16.18.x86-64
libapr1 >= 1.0 is needed by apache2-2.2.3-16.18.x86-64
libapr1< 2.0 is needed by apache2-2.2.3-16.18.x86-64
libapr-1.so.0()(64bit) is needed by apache2-2.2.3-16.18.x86-64
libaprutil-1.so.0()(64bit) is needed by apache2-2.2.3-16.18.x86-64
I was trying to install from the suse disc . I thought that rpm would automatically solve problems with dependencies as these dependent packages must be present on disc too.
Back in the day when I was using openSUSE and KDE3 I really loved the way the menu entries were organized into submenus. (For example: the Multimedia menu used to have the following submenus: Audio, TV, Video, etc.) I've been using neither openSUSE nor KDE3 for more than a year (switched to Arch + KDE4).
Not that I have anything against openSUSE. On the contrary, I think it's a fantastic distro, but the time came when I needed to move on (going rolling release was what finally sold Arch to me). However, I have taken with me many of the things I learned to love on Suse. One of them was the menu's layout, which for me works better that vanilla kde's. What I would like to know is:
1) If that menu layout was something from KDE3 that got lost in the move to KDE4, or something SUSE added.
2) Which Suse package provides the layout (the default menu layout is given by menu files on /etc/xdg). I would like to take a look and copy it to my Arch install.
I don't have wireless connection .What's the suitable package for that?
View 1 Replies View RelatedI finally convinced my wife to remove Windows from her Acer Aspire 5680 and instead to use OpenSuse, but unfortunately I am having some major trouble for no reason.
You see as soon as I installed the OS, I tried to add some new programs, like Thunderbird, etc but I keep getting an Accessing the Package Management failed error message. It says that it can't continue because process 9172 is blocking it. But I opened the System Monitor and can't find the **** 9172! My OpenSuse installation doesn't have this problem.
how to fix it? I can't install or update any software at all!
I have a Nis server on Suse 11 which is configured using Yast and nis clients on Suse and CentOs .All clients which is on the Suse Os is working fine. But on CentOs , users couldn't login using nis username.I have mounted home directory using nfs in fstab . I can switch to nis users homedirectory only when i am root. But nis users could'nt login on reboot.' ypcat passwd username ' is showing the output . No selinux is enabled in the client .Is there is any problem with Suse server to Centos Client in nis ??
View 2 Replies View RelatedThe more I use openSUSE 11.2, the more I love it. Today, I tried another highly recommended KDE4 distro, and while it was nice, I immediately recognized that the excellent integration and refinements SUSE includes are very much to my liking. openSUSE is nearly perfect for me in every way -- except one. The package management continues to leave me baffled.I was hoping I would eventually learn to like it as much as Synaptic, aptitude/apt-get and the other tools on Debian-based distros. But the more I read, the more I am questioning whether I will ever like it.I'm now fairly convinced that Debian-based package management is the gold standard. (Of course, I'm just going on what I have read. I'm far from expert, and I'm hoping to get educated by posting questions like this one.)
But I doubt I will find a distro that is equal to openSUSE in every way except that it uses Debian-based package management. (I wish such a distro existed.)So, if I have to live with YaST, zypper, RPMs, etc., how can I learn to have the best experience with the least amount of investment? Low investment is important because if I really wanted to invest the time to become more of an expert in operating systems, package management, etc., I would probably just jump to Arch Linux and KDEmod and enjoy a rolling release. Or maybe Gentoo, etc. What I like about openSUSE is that it just works. It works out of the box. Except for package management.
deal with the initial setup of all the stuff on another (Debian-based) distro that isn't to my liking or that just doesn't work, and then thereafter enjoy that distro's good package management..have a great out of the box experience and the overall nicest initial OS experience I ever remember, but live every day with a package management system that isn't up to what I experienced under Ubuntu.Quote from the link above: It is almost unfair to include Red Hat in the same category as Suse because, frankly, Suse makes Red Hat look like geniuses. I don't know why a company which can create arguably the most attractive and professional looking distribution available in the Linux world has such a godawful package manager.
I have downloaded tarballs of gpg2 (gnupg-2.0.16), compiled it, compiled dependencies etc. and have it installed on my Suse 10 box. Now I want to install it on another suse 10 box. Instead of doing the compiling/installing steps once again, is there a good way I can package gpg2, or tar it on my server, so it can be easily installed on the other server? Also, when I installed gpg, it was installed everywhere, /usr/local/lib, /usr/local/bin, my download dir etc. How do I pick the needed libraries and executable to make the package? maybe I Should specify a path for the gpg to be installed, then tar the whole directory. how to do the first part?
View 1 Replies View RelatedThere 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 RelatedI used to share my internet connection for my palm via bluetooth dund on opensuse 10.1. Now I upgraded to opensuse 11.2, and have been trying to configure the same for 5 hours, without success. The problem is: dund seems to be in bluez-utils, but this package does not seem to be available from the official opensuse 11.2 repo. It is available from an unofficial one, but that is version 3.x and it conflicts with the version 4.x package of bluez. So, I either have bluez 4.x or bluez-utils 3.x, whilst I would need both.
Is there a solution for this problem, or any other way to share internet via bluetooth? (All previous howtos seem to be rendered useless with the recent "developments" of bluez, but, hey, file sending to my palm still works to some extent, so, there is much room for more "developments" until bluetooth is rendered completely unuseable).
Edit: In a changelog at a RedHat site, I found that the bluez-utils package was integrated into the bluez package, and later some tools like dund were split out into a bluez-compat package. Maybe the same happened to bluez in opensuse, too. But I have both the bluez and the bluez-compat packages installed, and hcid and sdpd are nowhere. Where did they disappear during the very important re-organization of bluez tools?
Edit2: Kind of solved. Hcid was renamed to bluetoothd, and probably the other tools and config files changed names, too. Old howto's are in fact useless, and I am about to sacrifize my next days in order to become a blootooth expert just to configure this wrecked internet sharing.
yast2 matched nothing when I typed "iSCSI" in it. Can anybody give a help? My desktop is Dell precision T3500 workstation, it is installed with SLED 10.0, then for some software installation, I update its kernel to SLED 11(2.6.7). I see in many forum yast should be able to install iSCSI initiator very easy, but this doesn't work for me.
View 2 Replies View RelatedI have been having trouble with installing ATI drivers on my box. I have tried the repository way and that fails due to checksum differences. I want to try the command line way but. every time I run the installer it acts like it worked, then when I close it by clicking Okay I get a message that says the compile has failed.
I am wondering if there is a kernel setting that needs to be changed? The output error log has the following output:
tmp/ati.hXMXES Package build failed [Error] Generate Package - error generating package : SuSE/SUSE112-AMD64
This is what happens when i try to update "accessing the package manager faild" "system manager is locked by the application with pus 10464 (/user/sbin/packagekitd).
View 1 Replies View Related