07-28-2009
Solaris 10 - Compiling package from source? Different from pkgadd?
Hey everyone,
I'm using a SPARC based Solaris 10 5/09 machine and want to install PHP support to it. I already have mysql and apache( came with OS, just started the proccess) installed, so this is the last thing before I can get to learning development
However, there's something I'm not sure about.
I downloaded php 5.2.10 from
PHP: Downloads but this is the "source". I'm thinking this is not installed via the usual package installation with pkgadd, there might be a compilation step involved.( I assume this because I downloaded the companion cd and all the packages are separated from the source - *,tar.bz2, same as the file i have. Am i wrong?)
How do I compile the source package before I pkgadd them? And, since this is php, is there something altogether different that i need to worry about?
Thank you very much for the help,
AG
10 More Discussions You Might Find Interesting
1. HP-UX
Hi
i have compiled and installed bash 3.2 on my hp-ux parisc
its in path /usr/local/pkg/bash/bin/bash .....When im search for this bash (through whereis bash) im not findind but other which i hve done in same procedure( gettext,m4) ..Im able to find through whereis search option
can any1... (3 Replies)
Discussion started by: vasanthan
3 Replies
2. Programming
HI All,
I m compiling a 27 MB cpp file and compiler crashes.
My enviroment : RH 9, compiler g++
how i m compiling
g++ -fPIC -DWITH_OPENSSL -DWITH_COOKIES -c soapC.cpp
it took almost 30 -32 to throw error like report bug etc. I will post the same error, but if can any body tell how to... (2 Replies)
Discussion started by: helpmeforlinux
2 Replies
3. Solaris
Hi,
This is not a question thread, but rather a solution to an issue I have encountered on Solaris 11.
It turns out that pkgadd is not available by default on Solaris 11. The solution is to install it with:
pkg install SUNWpkgcmdsI hope this will save people some time.
Cheers,
... (4 Replies)
Discussion started by: JVerstry
4 Replies
4. AIX
Hello all. I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs with no issues, but when the time comes to make, this happens:
make: make 1254-025 There must be an existing description file or specify a target.
... (4 Replies)
Discussion started by: raidzero
4 Replies
5. Solaris
I'm having a little trouble with a Solaris package build/install.
I have the following entries in my prototype file...
# Interfaces file - all versions installed and auto linked to installation type...
f none $OPTDIR/config/interfaces.DEV 0444 $OWNER $GROUP
f none... (0 Replies)
Discussion started by: JerryHone
0 Replies
6. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I was trying to istall Gdkpixbuff 2.26.1 in my laptop ubuntu 11.10, when I did:
./configure and I got these error message
*** 'pkg-config --modversion glib-2.0' returned 2.33.1, but GLIB (2.30.0) was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib.... (1 Reply)
Discussion started by: yifangt
1 Replies
8. Programming
I am trying to compile a c++ source file print_options.cpp and getting lot of errors
g++ -I/media/ios120/chrisd/research/tomso-branches/tomso_12_05 /media/ios120/chrisd/research/tomso-branches/tomso_12_05/libs/program_options/print_options.cpp
In file included from... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Shell Programming and Scripting
Need assistance in compile a source code with PERL flags
Compile source code CDFconvert-2.2.3 which requires Fortran 90,Perl interpreter , Perl/TK module , NetCDF library , Gempak
I have all the above required libraries .
Issue is when compiling the source code it looks for local... (4 Replies)
Discussion started by: ajayram_arya
4 Replies
10. Solaris
I have some simple package installations that have worked in previous versions of Solaris just fine. I can install the packages, then install newer versions right over the top without error. In previous versions I had to specify the -G option during the installation in order for this to work.
... (0 Replies)
Discussion started by: moondog25
0 Replies
LEARN ABOUT DEBIAN
dh-make-pear
DH-MAKE-PEAR(1) dh-make-pear User Manual DH-MAKE-PEAR(1)
NAME
dh-make-pear - Create debian source packages from pear modules
SYNOPSIS
dh-make-pear [--help ] [--version ] [--rename ] [--arch any | all] [--state STATE] [--depends DEPENDS] [--maintainer MAINTAINER]
[--prefix PREFIX] [--templatedir TEMPLATEDIR] [PACKAGE]
DESCRIPTION
This manual page documents briefly the dh-make-pear command.
dh-make-pear creates the files required to build a debian source package from a PHP extension as it is distributed through PEAR.
The last parameter passed to dh-make-pear can be either the .tgz archive containing the php extension or the name of the extension. In the
second case dh-make-pear will first download the archive from http://pear.php.net. If dh-make-pear downloads the archive itself, it will
always take the most recent version.
dh-make-pear will by default create a directory named php-<pear-package-name> which will contain the debian files and the unpacked files
from the extension. It will also create a symlink php-<pear-package-name>_<version>.orig.tar.gz pointing towards the original source. After
creating the files you can go into then new directory and build the debian package with dpkg-buildpackage -rfakeroot.
dh-make-pear tries to extract as much information about the package from the file package.xml which is part of the pear extension.
Debian source packages created by dh-make-pear can later easily be updated with uscan.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below. For a complete description, see the Info files.
-h --help
Show summary of options.
-v --version
Show version of program.
--rename
Do not link orig.tar.gz but move the source into .orig.tar.gz.
--arch
Set architecture of created debian source package to 'any' or 'all'. Defaults to 'all'.
--state
Set preferred state for downloaded package. Defaults to 'stable'.
--depends
Adds more packages to Depends: beside php-pear.
--prefix
Sets prefix of debian source package name. Each name ends in '<pear-package-name>'. Defaults to 'php-'.
--maintainer
Explicitly sets the maintainer. In most cases it will be propperly guessed by reading some of the environment variables.
--templatedir
Use a different directory with templates for the debian files. Defaults to /usr/share/dh-make-php/pear.template.
ENVIRONMENT
DEBFULLNAME - get the real name of the maintainer
LOGNAME or USER - get the username
DEBEMAIL or EMAIL - get the email address of the user
SEE ALSO
dh-make-pecl (1).
AUTHOR
UWE STEINMANN <steinm@debian.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2004-2010 Uwe Steinmann
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
dh-make-pear 09/01/2010 DH-MAKE-PEAR(1)