PG_BUILDEXT(1) Debian PostgreSQL infrastructure PG_BUILDEXT(1)NAME
pg_buildext - Build and install a PostgreSQL extension
SYNOPSIS
pg_buildext action srcdir target opts
DESCRIPTION
pg_buildext is a script that will build a PostgreSQL extension in a VPATH way. It supports the configure, build, install, and clean
actions, and will choose to build for the intersection of versions known in debian/pgversions (versions supported by the package) and in
/usr/share/postgresql-common/supported-versions (versions supported in this release).
OPTIONS
action
One of configure, build, install, or clean.
srcdir
Where to find the extension sources, including the debian subdirectory. (Usually $(CURDIR).) If not specified, defaults to the current
directory.
target
The target directory where to build the sources, it will get created for you if it does not exist. If the target contains a %v sign, it
will get replaced by the specific version of PostgreSQL being built against. (Usually build-%v.)
opts
%v signs in opts will get replaced as in target.
configure
Options to pass to the configure script. (Most PostgreSQL extensions do not have a configure script.)
build
Custom CFLAGS options to use for the build.
install
Package name to install for. Make will be called with DESTDIR="srcdir/debian/package".
clean
clean does not take extra options.
USAGE
As pg_buildext invokes make for the build, install, and clean actions, invocations from debian/rules (which is a makefile) should be
prefixed with + so the sub-makes can talk with the make jobserver.
EXAMPLE
build-stamp:
+pg_buildext configure $(CURDIR) build-%v "--libdir=/usr/lib/postgresql/%v/lib --datadir=/usr/share/postgresql-%v-plsh"
+pg_buildext build $(CURDIR) build-%v
install: build
+pg_buildext install $(CURDIR) build-%v postgresql-%v-plsh
clean:
+pg_buildext clean $(CURDIR) build-%v
AUTHOR
Dimitri Fontaine <dim@tapoueh.org>, with extensions by Christoph Berg <myon@debian.org>.
Debian 2012-10-08 PG_BUILDEXT(1)
Check Out this Related Man Page
GO(1) General Commands Manual GO(1)NAME
go - tool for managing Go source code
SYNOPSIS
go command [arguments]
DESCRIPTION
The Go distribution includes a command, named go, that automates the downloading, building, installation, and testing of Go packages and
commands.
COMMANDS
Each command is documented in its own manpage. For example, the build command is documented in go-build(1). The commands are:
build compile packages and dependencies
clean remove object files
doc run godoc on package sources
env print Go environment information
fix run go tool fix on packages
fmt run gofmt on package sources
get download and install packages and dependencies
install
compile and install packages and dependencies
list list packages
run compile and run Go program
test test packages
tool run specified go tool
version
print Go version
vet run go tool vet on packages
EXAMPLES
TODO
SEE ALSO go-build(1), go-clean(1).
AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others).
2012-05-13 GO(1)
Hello guys.
I have a problem i'm a newbie with Redhat , in other word i dont know much about it.
I just did a clean install and i'm trying to fto the box from a Xp computer ,
The error i'm getting is "ftp: connect : Unknown error number"
O know that i need to edit some files ir... (5 Replies)
I'm trying to install gcc from hp with swinstall but what happens is the following:
I change source to the correct depot, it complains it can't find anything, when I change target to /usr/local, it shows the depot in the list. Next, I mark it for install, install it, but then it gets installed... (4 Replies)
I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start.
This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
Hi,
I need to install the GCC compiler on a my Linus machine.
First step is to run the ./configure command and here we need to specify
./configure --target="target machine name (CPU type-Manufacturer-OS)
or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Basically, I'm trying to install this program called MAQ.
Maq User's Manual
I've downloaded it and I tried to type in $ ./configure; make; make install
but the ouput I got was this:
bash: ./configure: No such file or directory
make: Entering directory `/home/vlay/bwa-0.5.0'
make:... (8 Replies)
I am working on an application with some rather interesting build performance issues. If we build on Solaris/Linux x86/AMD64 the build is rather fast, but it takes more than five times as long on our Solaris Sparc servers (single-threaded builds on the workstations, but multi-threaded on the... (5 Replies)
Hi, I am new to linux and have a challenge while I am debugging my application logs n linux boxes.
our log file xxx.log will have different responses coming in its way while an user logs in. Each response might be of 2000 lines or more. Many users do login at a time and our log file goes big... (24 Replies)
I have a SLES 11(SP1) server that I am trying to install graphviz 2.28 on. Unfortunately that is not a comman combination, so I can't just use an RPM to install it, I have to build it from source. When doing so, when I configure it, I can't get it to recognize that pangocairo is actually... (4 Replies)
Hello,
I am trying to install Dmalloc 5.5.2 on AIX 5.3
While installing it both :sh ./configure and make run without errors. Then the command: make install finishes like this:
./mkinstalldirs /usr/local/include
./mkinstalldirs: not found
make: The error code from the last command is 1... (8 Replies)
Hi, I am using CENTOS and for now, I am not able to install or to configure the istat command on Linux. So, is there a way to do the same that the shell is doing below, but not using istat command? I would appreciate any help on it.
#!/bin/sh
HOUR=0
MONTHN=0
if
then
:
else
... (10 Replies)
Heyas
I'm trying to rewrite the install procedure of TUI, applying the standards of the Autotools.
Inofficial:
unix - Why always ./configure; make; make install; as 3 seperate steps? - Stack Overflow
autoconf automake tutorial
Official:
... (4 Replies)
I am trying to decode "configure" script for "bluez" package as far as how are "configure" options for cross-compiling passed to libtoool or GCC to build C++ library.
As far as I can tell the "configure" triplet analysis (case) has no options to analyze anything with "linux" in it ,therefore... (5 Replies)
"Debian 9 64x - LXDE"
I try to create an install script in bash. Lets assume i want to install samba.
I call from the mainscript the install script for samba \folder\samba.sh.
The script samba.sh should get executed in a new terminal window, so i can watch for install errors.
The... (13 Replies)