Forum OpenACS Q&A: Re: freebsd 4.5 ports: pgdriver depending on postgres 7.3 breaks install

Tom,

I'm running OpenACS on FreeBSD 4.7, and my recommandation is to compile what you need from source, even if it may seem 'messy'. You will need gmake and libxml2, and those can be installed though the ports collection.
/usr/ports/devel/gmake
/usr/ports/textproc/libxml2

PG 7.2.4 'just compiles' when using gmake, as per the installation instructions.

aolserver3.3ad13-oacs1-beta-src.tar.gz needs a few tweaks, as some BSD specific changes are no longer needed (for 4.7). You may need them for 4.5.

./aolserver/include/Makefile.global:line 262:
- TCL8X_LIB=libtcl83g.a
+ TCL8X_LIB=libtcl8.3g.a

nssha1/nssha1.c from line 139:
/*
typedef unsigned int u_int32_t;
typedef unsigned char u_int8_t;
*/

And this patch from https://openacs.org/forums/message-view?message_id=81818

./aolserver/nsd/tclvar.c from line 221;
  if (hPtr == NULL) {
      result = TCL_ERROR;
      Tcl_AppendResult(interp, "no such key: ", argv[2], NULL);
    } else if (result == TCL_OK) {

I've got a lot more FreeBSD details if you need them.

Frank.

Frank wrote:
<blockquote>I'm running OpenACS on FreeBSD 4.7, and my recommandation is to
compile what you need from source, even if it may seem 'messy'.
</blockquote>

i agree. meanwhile i've upgraded the system to 4.7... had been meaning to anyway 😉

<blockquote>You will need gmake and libxml2, and those can be installed though
the ports collection.
</blockquote>

i hoped as much, thanks for confirming that.

<blockquote>PG 7.2.4 'just compiles' when using gmake, as per the
installation instructions.
</blockquote>

yes, i can confirm that, meanwhile ;)

<blockquote>aolserver3.3ad13-oacs1-beta-src.tar.gz needs a few tweaks,
as some BSD specific changes are no longer needed (for 4.7).
You may need them for 4.5.
</blockquote>

thanks for the tips. that's exactly where i'm stuck at the moment. i'm sure i'll get back to you on your offer for freebsd specific help!

n.b. this is just a test-setup using an old 200 mhz pentium. after that i'm planning to deploy it on two different 'real world' freebsd 4.7 systems and will write a "walkthrough" for installing openacs 4.6 on freebsd 4.7 (the day i'm finished with that, i'm sure freebsd 4.8 and openacs 4.7 will be released *g*)

Frank wrote:
<blockquote>I'm running OpenACS on FreeBSD 4.7, and my recommandation is to
compile what you need from source, even if it may seem 'messy'.
</blockquote>

i agree. meanwhile i've upgraded the system to 4.7... had been meaning to anyway 😉

<blockquote>You will need gmake and libxml2, and those can be installed though
the ports collection.
</blockquote>

i hoped as much, thanks for confirming that.

<blockquote>PG 7.2.4 'just compiles' when using gmake, as per the
installation instructions.
</blockquote>

yes, i can confirm that, meanwhile ;)

<blockquote>aolserver3.3ad13-oacs1-beta-src.tar.gz needs a few tweaks,
as some BSD specific changes are no longer needed (for 4.7).
You may need them for 4.5.
</blockquote>

thanks for the tips. that's exactly where i'm stuck at the moment. i'm sure i'll get back to you on your offer for freebsd specific help!

n.b. this is just a test-setup using an old 200 mhz pentium. after that i'm planning to deploy it on two different 'real world' freebsd 4.7 systems and will write a "walkthrough" for installing openacs 4.6 on freebsd 4.7 (the day i'm finished with that, i'm sure freebsd 4.8 and openacs 4.7 will be released *g*)