Thread: FW: Postgres 7.4 runing on BSD

FW: Postgres 7.4 runing on BSD

From
"Gregory S. Williamson"
Date:
If anyone has any advice on building Postgres 7.4 for a freeBSD box it sure would be welcome.

TIA,

Greg Williamson
DBA
GlobeXplorer LLC

----------------------

well, it takes gmake to build Postgres..

having trouble installing 'gmake' on the BSD box; it started to do its BSD autoinstall thing and built a whole crapload
ofstuff when I just wanted gmake, and is now crashing looking for a library... 

wc-eng-01bsd# cd gmake
wc-eng-01bsd# make
===>  Extracting for gmake-3.80_1
>> make-3.80.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from ftp://ftp.gnu.org/gnu/make/.
fetch: ftp://ftp.gnu.org/gnu/make/make-3.80.tar.bz2: No route to host
>> Attempting to fetch from http://mirrors.usc.edu/pub/gnu/make/.
fetch: http://mirrors.usc.edu/pub/gnu/make/make-3.80.tar.bz2: Operation timed out
>> Attempting to fetch from ftp://gatekeeper.dec.com/pub/GNU/make/.
Receiving make-3.80.tar.bz2 (920645 bytes): 100%
430149 bytes transferred in 6.4 seconds (65.90 kBps)
>> Checksum OK for make-3.80.tar.bz2.
===>  Patching for gmake-3.80_1
===>  Applying FreeBSD patches for gmake-3.80_1
/bin/rm /usr/home/postgres/postgres/gmake/work/make-3.80/doc/make.info*
===>   gmake-3.80_1 depends on shared library: intl.5 - not found
===>    Verifying install for intl.5 in /usr/ports/devel/gettext
>> gettext-0.11.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from ftp://ftp.gnu.org/gnu/gettext/.
Receiving gettext-0.11.5.tar.gz (3724099 bytes): 100% (ETA 00:00)
3724099 bytes transferred in 53.4 seconds (68.12 kBps)
===>  Extracting for gettext-0.11.5_1
>> Checksum OK for gettext-0.11.5.tar.gz.
===>  Patching for gettext-0.11.5_1
===>  Applying FreeBSD patches for gettext-0.11.5_1


(much crap later....)

 install  -o root -g wheel -m 444 uintmax_t.m4 /usr/local/share/aclocal/uintmax_t.m4
 install  -o root -g wheel -m 444 ulonglong.m4 /usr/local/share/aclocal/ulonglong.m4
Making install in tests
/bin/sh ./mkinstalldirs /usr/local/share/gettext
 install  -o root -g wheel -m 444 ABOUT-NLS /usr/local/share/gettext/ABOUT-NLS
/bin/sh ./mkinstalldirs /usr/local/share/gettext
 install  -o root -g wheel -m 555 config.rpath /usr/local/share/gettext/config.rpath
 install  -o root -g wheel -m 555 mkinstalldirs /usr/local/share/gettext/mkinstalldirs
===>   Generating temporary packing list
/bin/mkdir -p /usr/local/share/emacs/site-lisp
install  -o root -g wheel -m 444 /usr/ports/devel/gettext/work/gettext-0.11.5/misc/po-compat.el
/usr/local/share/emacs/site-lisp
install  -o root -g wheel -m 444 /usr/ports/devel/gettext/work/gettext-0.11.5/misc/po-mode.el
/usr/local/share/emacs/site-lisp
/bin/mkdir -p /usr/X11R6/share/locale
===>   Compressing manual pages for gettext-0.11.5_1
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for gettext-0.11.5_1
===>   Returning to build of gmake-3.80_1
Error: shared library "intl.5" does not exist
*** Error code 1


Re: FW: Postgres 7.4 runing on BSD

From
Larry Rosenman
Date:

--On Friday, December 05, 2003 12:43:24 -0800 "Gregory S. Williamson"
<gsw@globexplorer.com> wrote:

> If anyone has any advice on building Postgres 7.4 for a freeBSD box it
> sure would be welcome.
cvsup your ports tree, cd /usr/ports/databases/postgresql7; make; make
install


>
> TIA,
>
> Greg Williamson
> DBA
> GlobeXplorer LLC
>
> ----------------------
>
> well, it takes gmake to build Postgres..
>
> having trouble installing 'gmake' on the BSD box; it started to do its
> BSD autoinstall thing and built a whole crapload of stuff when I just
> wanted gmake, and is now crashing looking for a library...
>
> wc-eng-01bsd# cd gmake
> wc-eng-01bsd# make
> ===>  Extracting for gmake-3.80_1
>>> make-3.80.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
>>> Attempting to fetch from ftp://ftp.gnu.org/gnu/make/.
> fetch: ftp://ftp.gnu.org/gnu/make/make-3.80.tar.bz2: No route to host
>>> Attempting to fetch from http://mirrors.usc.edu/pub/gnu/make/.
> fetch: http://mirrors.usc.edu/pub/gnu/make/make-3.80.tar.bz2: Operation
> timed out
>>> Attempting to fetch from ftp://gatekeeper.dec.com/pub/GNU/make/.
> Receiving make-3.80.tar.bz2 (920645 bytes): 100%
> 430149 bytes transferred in 6.4 seconds (65.90 kBps)
>>> Checksum OK for make-3.80.tar.bz2.
> ===>  Patching for gmake-3.80_1
> ===>  Applying FreeBSD patches for gmake-3.80_1
> /bin/rm /usr/home/postgres/postgres/gmake/work/make-3.80/doc/make.info*
> ===>   gmake-3.80_1 depends on shared library: intl.5 - not found
> ===>    Verifying install for intl.5 in /usr/ports/devel/gettext
>>> gettext-0.11.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>>> Attempting to fetch from ftp://ftp.gnu.org/gnu/gettext/.
> Receiving gettext-0.11.5.tar.gz (3724099 bytes): 100% (ETA 00:00)
> 3724099 bytes transferred in 53.4 seconds (68.12 kBps)
> ===>  Extracting for gettext-0.11.5_1
>>> Checksum OK for gettext-0.11.5.tar.gz.
> ===>  Patching for gettext-0.11.5_1
> ===>  Applying FreeBSD patches for gettext-0.11.5_1
>
>
> (much crap later....)
>
>  install  -o root -g wheel -m 444 uintmax_t.m4
> /usr/local/share/aclocal/uintmax_t.m4  install  -o root -g wheel -m 444
> ulonglong.m4 /usr/local/share/aclocal/ulonglong.m4 Making install in tests
> /bin/sh ./mkinstalldirs /usr/local/share/gettext
>  install  -o root -g wheel -m 444 ABOUT-NLS
> /usr/local/share/gettext/ABOUT-NLS /bin/sh ./mkinstalldirs
> /usr/local/share/gettext
>  install  -o root -g wheel -m 555 config.rpath
> /usr/local/share/gettext/config.rpath  install  -o root -g wheel -m 555
> mkinstalldirs /usr/local/share/gettext/mkinstalldirs ===>   Generating
> temporary packing list
> /bin/mkdir -p /usr/local/share/emacs/site-lisp
> install  -o root -g wheel -m 444
> /usr/ports/devel/gettext/work/gettext-0.11.5/misc/po-compat.el
> /usr/local/share/emacs/site-lisp install  -o root -g wheel -m 444
> /usr/ports/devel/gettext/work/gettext-0.11.5/misc/po-mode.el
> /usr/local/share/emacs/site-lisp /bin/mkdir -p /usr/X11R6/share/locale
> ===>   Compressing manual pages for gettext-0.11.5_1
> ===>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib
> ===>   Registering installation for gettext-0.11.5_1
> ===>   Returning to build of gmake-3.80_1
> Error: shared library "intl.5" does not exist
> *** Error code 1
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

Re: FW: Postgres 7.4 runing on BSD

From
Vivek Khera
Date:
>>>>> "LR" == Larry Rosenman <ler@lerctr.org> writes:

LR> --On Friday, December 05, 2003 12:43:24 -0800 "Gregory S. Williamson"
LR> <gsw@globexplorer.com> wrote:

>> If anyone has any advice on building Postgres 7.4 for a freeBSD box it
>> sure would be welcome.
LR> cvsup your ports tree, cd /usr/ports/databases/postgresql7; make; make
LR> install

That would render a 7.3.4 installation.

I just installed from the source tarball.  first, install libgnugetopt
and gmake from ports, then run this config command:

./configure --enable-syslog --with-includes=/usr/local/include --with-libraries=/usr/local/lib

then follow the normal install instructions.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

Re: FW: Postgres 7.4 runing on BSD

From
Larry Rosenman
Date:

--On Friday, December 05, 2003 17:29:06 -0500 Vivek Khera
<khera@kcilink.com> wrote:

>>>>>> "LR" == Larry Rosenman <ler@lerctr.org> writes:
>
> LR> --On Friday, December 05, 2003 12:43:24 -0800 "Gregory S. Williamson"
> LR> <gsw@globexplorer.com> wrote:
>
>>> If anyone has any advice on building Postgres 7.4 for a freeBSD box it
>>> sure would be welcome.
> LR> cvsup your ports tree, cd /usr/ports/databases/postgresql7; make; make
> LR> install
>
> That would render a 7.3.4 installation.
I thought I saw a commit from SeanC...
# $FreeBSD: ports/databases/postgresql7/Makefile,v 1.117 2003/12/04
15:24:57 erw
in Exp $
#

PORTNAME?=      postgresql
PORTVERSION?=   7.4
PORTREVISION?=  0

I did :-0)



>
> I just installed from the source tarball.  first, install libgnugetopt
> and gmake from ports, then run this config command:
>
> ./configure --enable-syslog --with-includes=/usr/local/include
> --with-libraries=/usr/local/lib
>
> then follow the normal install instructions.
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Vivek Khera, Ph.D.                Khera Communications, Inc.
> Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
> AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

Re: FW: Postgres 7.4 runing on BSD

From
Vivek Khera
Date:
>>>>> "LR" == Larry Rosenman <ler@lerctr.org> writes:


LR> PORTNAME?=      postgresql
LR> PORTVERSION?=   7.4
LR> PORTREVISION?=  0

LR> I did :-0)

I stand outdated ;-)