General :: Install All Files Of Package When Compiling?

Jun 19, 2010

Where is the best path to install all files of package when compiling?

For example - I want to install ProFTPd, so there's an option

--prefix=/usr/local/proftpd

, which means, that all files after compilation (including binary and configuration files) will be stored here. As you know, all packages, which are installed via package system (like zypper on SuSE or apt on Ubuntu) usually stores its configuration files in /etc/ and binary files in /sbin/ and also stores a link in my $PATH, so i can run in just by typing proftpd (without /sbin).

The huge advantage of packages installed via package system, i think, is easy uninstall process. I'd like to be able to uninstall compiled packages also easy.

I think i could be able to create some batch file, which I'll be able to use like this:

uninstall --package=proftpd

And my script will find all proftpd files in usuall paths (/etc, /sbin) and remove it using rm.

Is there any best practices, where to store all these files, or are there any (dis)advantages of my first example (--prefix=/usr/local/proftpd)?

I really don't think, that it's nice to have 2 paths with configuration files and binary files, but maybe I'm misunderstanding the basic principals of Linux... :-)

View 4 Replies


ADVERTISEMENT

Ubuntu :: Uninstall Package That Install From Compiling Tar Gz File

Sep 16, 2010

1. How to uninstall package that install from compiling tar gz file

2. how to stop some service ?

View 4 Replies View Related

General :: Error While Compiling Binutils 2.15.92 Package?

Feb 11, 2011

I am trying to compile binutils 2.15.92 package on RHEL 5.4, which is required with gcc 3.4.6 version. I have already installed gcc 3.4.6 on /opt/gcc.

I have given the --prefix as /opt/binutils during compilation. I have all flex, bison and m4 packages installed.

I am getting following error during compilation..

Code:
root/binutils/binutils-2.15.92.0.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
ar.o: In function `mri_emul':
ar.c:(.text+0x9f2): undefined reference to `yyparse'

[Code]....

View 7 Replies View Related

Software :: Install MySQL By Compiling Source Files?

Apr 25, 2010

I am trying to install MySQL by compiling source files.Using mysql-5.1.46]version./configure --prefix=/usr/local/mysql was fine and I am getting following error while "make"

[Code]...

View 2 Replies View Related

Ubuntu :: Install The Avant Window Navigator By Compiling The Source Files?

May 17, 2010

I'm trying to install the Avant Window Navigator by compiling the source files and installing that way. I've extracted the file avant-window-navigator-0.4.0.tar.gz, but when I run the ./configure command, I get an error.

Code:

configure: error: in `/usr/src/avant-window-navigator-0.4.0':
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure

[Code].....

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

General :: Gcc Compiler Is Not Compiling Old C Programming Files Because Of Timestamp?

Nov 20, 2010

I am using makefile to complile all C Programming files. But certain files are not getting compiled and hence its object file is not getting generated. This is happening due to files haven't been modified for a long time. It seems that compiler knows that its object file is there hence no need to complie it actually it is not.

View 14 Replies View Related

Fedora :: Compiling Rtorrent - No Package 'openssl' Found

Jul 12, 2010

i ve been trying to compile rtorrent from source and while configuring i run to this: Code: checking for OPENSSL. configure: error: Package requirements (openssl) were not met: No package 'openssl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. i tried to install openssl and than i came up to this:

[Code]....

View 3 Replies View Related

Fedora :: Compiling Programs - No Package Libnotify Found

Jul 26, 2011

I want to compile program. "./configure" giving :

Code:
[kuba@Kuba-fedora uget-1.8.0]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executable .....

Configure: error: Package requirements (libnotify) were not met:
No package 'libnotify' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
and LIBNOTIFY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. But I have the newest version of libnotify.

View 2 Replies View Related

Ubuntu Installation :: Found A Bunch Of RPM Package-management Stuff Such As Rpm, Alien, Compiling Tools?

Feb 20, 2010

Pretty much self explanatory:This morning I went into the update manager, and found a bunch of RPM package-management stuff such as rpm, alien, compiling tools, etc. What is up with this?I suspect they are setting the scenery for some big press release saying they now support RPM packages in Ubuntu too. Any ideas? (or better, inside info from someone who knows)

View 3 Replies View Related

General :: Know All The Files That Some Package Uses?

Jul 18, 2010

How do I know all the files that some package uses? And how do I know all the packages that some package uses as dependencies? With 'apt-get' command.

View 5 Replies View Related

General :: How Open *.package - Files

Feb 20, 2010

I downloaded *.package file with a program archive, how open this file?

View 6 Replies View Related

General :: Installing Only Some Of The Files From A Package?

Mar 13, 2011

OS: Debian testing Is it possible to instruct apt-get to install only some of the files in a package?.Here is the specific problem I'm facing: I have installed latex using the latex installer from CTAN. Now I'd like to install lyx but when apt-get install lyx reports it will install all the deb latex packages (it seems to be unaware latex is already installed). can I instruct apt-get to install only the lyx files with the extra 300MB or so of latex?.

View 3 Replies View Related

General :: Package Versioning And Difference Of MD5Sum On Files?

Jun 20, 2011

I noticed something a little odd I'm hoping someone can enlighten me on. I noticed in a couple of cases that a package has the proper version, but differs in two regards.

1. The package ends up with a .el4 on the end of the version for Red Hat 4.

2. The actual MD5Sum of the files the package provides differ.

An example below:

Code:

[root@RH4ES32-MCE bin]# for i in `rpm -ql GConf2`;do md5sum $i;done;
md5sum: /etc/gconf/2: Is a directory
9f90335546f7c57ae6fb552cc2b919c5 /etc/gconf/2/path
md5sum: /etc/gconf/gconf.xml.defaults: Is a directory

[code].....

So my package changed slightly to now show .el4 versus just 2-2.8.1-1 I've indicated in the first output above that the first couple of lines differ. I stopped my comparison at that point as they truly are different.

View 8 Replies View Related

Ubuntu :: Compiling Games From .tar.gz Files

Jul 20, 2011

just need to know how i would do this, I've tried it before, and I've gotten the following error, no matter what i tried:

View 2 Replies View Related

Ubuntu :: Missing Library Files While Compiling

Aug 18, 2010

I have tried to compile several programs from source code and have into a similar error in each case. I try make the program and I get an error like: fail program confsdefs.h. Reading further into the log file, I see there is a long list of missing library files when I compile something like Samba 3.5.x:

[Code]...

I have searched for dependency information and used apt-get to add anything I can find. How can I identify and find the dependencies for source? I have checked the source documentation though typically does not list required packages. My other question is how to check the path used to locate the libraries? Given the length of the missing library list, I think the problem may be configuring make.

View 2 Replies View Related

Programming :: Compiling And Linking Multiple Files Using Gcc?

Mar 13, 2011

compiling and linking using gcc: What does a file name with a suffix '.a' represent? If I have multiple .c and .h files, how can I link them together? How can I create the .a file?

View 6 Replies View Related

Red Hat :: Uninstalling Mplayer Installed By Compiling Source Files?

Feb 2, 2010

how to uninstall Mplayer and other programs that is installed by compiling source files(./configure, make , make install)

View 14 Replies View Related

Programming :: C++: Compiling Multiple Source Files (with Templates Involved)?

Mar 21, 2011

Code:

anisha@linux-uitj:~/junk> ls -R
.:
include src
./include:
template0.h template0.h~ template0.h.gch

[code]....

View 11 Replies View Related

Programming :: Linking And Compiling Multiple C++ Files Into One Executable Program?

Dec 17, 2009

I have 3 c++ files, classdef.h (header file with class definition), methods.cpp (class methods) and program.cpp - the program itself. Both .cpp files have

Code:

#include "classdef.h"

in files. How I can link the files together and compile them in one executable program? I am using Geany IDE for coding.

View 4 Replies View Related

General :: Install Src.rpm Package On Red Hat?

Apr 6, 2010

How can i install src.rpm package on Red hat Linux ?

View 2 Replies View Related

General :: How To Install Package In Tar.bz2?

Feb 16, 2010

i am totally newbie in linux.how to install tar.bz2?? please give me crystal clear command to open this file because a lot of threads regarding to this matter really crack my mind.

View 5 Replies View Related

General :: Is There A Package I Need To Install?

Feb 17, 2011

I have two RHEL conputers that are causing me a bit grief in the user manager gui.One computer is kernel is 2.6.18-194.8.1.el5 and the other is 2.6.18-194.11.1.el5.I don't think that matters much but wanted to give you all the onfo I had.

> All the users on the these two computers do not have root access/rights
> When a standard user access the user manager they are not prompted for the root password and cannot open the User Manager.Is there a package I need to install?

View 14 Replies View Related

General :: Cannot Install Gcc4.2-c++ Package

May 6, 2011

I am running Mandriva Linux 2010.2 KDE on my Dell Dimension 5150 desktop. Using the software manager, I tried selecting the gcc4.2-c++ package for the compiler but I get the message:

Quote:

the following package cannot be selected:

- gcc4.2-c++-4.2.3-6mnb2.i586

View 14 Replies View Related

General :: Get Public Key For A Package To Install With Yum?

Sep 16, 2010

I understand that I can specify nogpgcheck on the command line, or gpgcheck=0 in the repo file, but if I want to do it "right" how would I get the public key? And where should I have looked to find this without bothering the group? I looked in man yum and don't seem to find it.

View 6 Replies View Related

General :: Install A Package In Puppy 4?

Nov 24, 2009

i am trying to install in my puppy 4 the gxine 0.5.903i already have downloaded it to My-Documents folder.However, each time that i try to install it using the package manager the file does'nt foundedThis is my firt time using Linux and i really like puppy

View 5 Replies View Related

General :: Install Older Package Using Rpm

Nov 17, 2010

I had upgraded from Samba to Samba 3x awhile ago. Which I found out that I didn't need to do because I have to update now 9 large patch releases which I have to install in order. Starting with the first one and I'm having Samba dependencies problems now. The patch releases to install are older than what's currently installed. Hopefully, once I get the conflicts resolved the rest should fall in line.

View 4 Replies View Related

General :: How To Install Ssh2.so Package

May 9, 2011

how to install ssh2.so package. my ssh2.so went missing i think. i already google and search for it and try to install, and they fail at certain part.

View 14 Replies View Related

Ubuntu :: Install A .bin Package With Synaptic Package Manager?

Oct 2, 2010

I want to install CmapTools in my desktop, which runs v.10.04. I have downloaded the .bin file from their site.Is there a way to install it using Synaptic Package Manager?

View 2 Replies View Related

Software :: Compile And Install Xmonad Package By Package?

Jul 28, 2011

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

View 1 Replies View Related







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