Sponsored Content
Operating Systems HP-UX how install source file HP-UX Post 302106403 by mr_manny on Thursday 8th of February 2007 09:12:48 AM
Old 02-08-2007
Can you utilize sam/swinstall to install source packages?

I always use the following when installing from source:

Whether your installing from source or a depot, dependencies may need to be resolved before proceeding w/the install.

It may also be necessary to add options for ./configure, read the README.
Setting compiler flags, pointing the tree to other required packages, and coordinating options with them. Once this has been done, the rest of the process is usually not much more than:

$ sh ../configure

$ make

$ make test or sometimes make check - see the makefile (I often skip this step, I guess I'm a bit impatient)

$ sudo make install

The final step, sudo, temporarily grants root privileges (assuming this has been explicitly configured by the system administrator) so that files may be copied to the proper places on the system. If sudo is not available, your only other option is to perform this step as as root.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Post Shell programming: Question about source a file and read data from the file

This is shell programming assignment. It needs to create a file called .std_dbrc contains STD_DBROOT=${HOME}/class/2031/Assgn3/STD_DB (which includes all my simple database files) and I am gonna use this .std_dbrc in my script file (read the data from the database files) like this: .... (3 Replies)
Discussion started by: ccwq
3 Replies

2. Debian

Kernel source not found. (can't install network card drivers)

I've had no luck with help on linuxquestions so I figured I'd try here. I'm using debian etch. The problem is that I can not install my network card because it says: Makefile:62: *** Linux kernel source not found. Stop. I have the kernel-headers installed. I've looked all over the... (9 Replies)
Discussion started by: Virtuality
9 Replies

3. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

4. UNIX for Dummies Questions & Answers

how to install "source" command!/ broken "login.cl"!

Hello, I am new to this forums and this is my first "asking help" message! i have 2 problems: 1- for unknown reasons the "source" command is not avalable in my system (UBUNTU). i can't either see it in my bin directory! 2- again for unknown reasons the "login.cl" file in the home... (0 Replies)
Discussion started by: astrosona
0 Replies

5. UNIX for Dummies Questions & Answers

How to install kernel source?

During installation of one of driver i needed to Remove any earlier version drivers using make clean -r command. Where i m getting following error. # make clean -r Kernel source is not installed make: *** Error 1 My kernel version # uname -r 2.6.18-128.2.1.4.9.el5xen Where... (4 Replies)
Discussion started by: pinga123
4 Replies

6. Programming

how to copy downloaded file into my source file folder (putty/unix)

I need to "Ensure that when you download libchat.a from the VLE you have copied it to the same folder on ius as your source files. You then refer to the library (and the libraries it needs) with: gcc -o outputfile sourcefile.c -L. -lchat -lsocket -lnsl" But I have no idea what this means! (I... (2 Replies)
Discussion started by: fakuse
2 Replies

7. Shell Programming and Scripting

Split File by Pattern with File Names in Source File... Awk?

Hi all, I'm pretty new to Shell scripting and I need some help to split a source text file into multiple files. The source has a row with pattern where the file needs to be split, and the pattern row also contains the file name of the destination for that specific piece. Here is an example: ... (2 Replies)
Discussion started by: cul8er
2 Replies

8. UNIX for Dummies Questions & Answers

Problem with install aquila dsp library from source.

Hi All, I am trying to install aquila-dsp. an open source c++ library from dsp functions in my ubuntu 12.10. I downloaded the aquila source. configured, make and did make install. It seems to be installed in /usr/lib/aquila. The compile fails in linking when I try using api provided by... (0 Replies)
Discussion started by: tamil.pamaran
0 Replies

9. UNIX for Dummies Questions & Answers

Trying to install libtool from source - newbie

Hey all, I am trying to configure software (Open Cascade) and I am receiving the following error: configure.ac:24: warning: macro `AM_PROG_LIBTOOL' not found in library I know I must be missing libtool, however, when I try and grab libtool (a lot of sites have the proper tarball and... (2 Replies)
Discussion started by: bphqk3
2 Replies
MK-BUILD-DEPS(1)														  MK-BUILD-DEPS(1)

NAME
mk-build-deps - build a package satisfying a package's build-dependencies SYNOPSIS
mk-build-deps --help|--version mk-build-deps [options] control file | package name ... DESCRIPTION
Given a package name and/or control file, mk-build-deps will use equivs to generate a binary package which may be installed to satisfy all the build dependencies of the given package. If --build-dep and/or --build-indep are given, then the resulting binary package(s) will depend solely on the Build-Depends/Build-Depends-Indep dependencies, respectively. OPTIONS
-i, --install Install the generated packages and its build-dependencies. -t, --tool When installing the generated package use the specified tool. (default: apt-get --no-install-recommends) -r, --remove Remove the package file after installing it. Ignored if used without the --install switch. -a foo, --arch foo If the source package has architecture-specific build dependencies, produce a package for architecture foo, not for the system architecture. (If the source package does not have architecture-specific build dependencies, the package produced is always for the pseudo-architecture all.) -B, --build-dep Generate a package which only depends on the source package's Build-Depends dependencies. -A, --build-indep Generate a package which only depends on the source package's Build-Depends-Indep dependencies. -h, --help Show a summary of options. -v, --version Show version and copyright information. -s, --root-cmd Use the specified tool to gain root privileges before installing. Ignored if used without the --install switch. AUTHOR
mk-build-deps is copyright by Vincent Fourmond and was modified for the devscripts package by Adam D. Barratt <adam@adam-barratt.org.uk>. This program comes with ABSOLUTELY NO WARRANTY. You are free to redistribute this code under the terms of the GNU General Public License, version 2 or later. Debian Utilities 2013-12-23 MK-BUILD-DEPS(1)
All times are GMT -4. The time now is 11:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy