pkgsrc on Tru64

HP/DEC/Compaq workstations/servers and operating systems (HP-UX, Tru64, OpenVMS, NonStop, etc.)
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
mia
Posts: 1055
Joined: Wed Feb 19, 2003 1:54 pm

pkgsrc on Tru64

Unread postby mia » Sun Dec 09, 2012 12:20 am

Pkgsrc (2012Q3) on Tru64 5.1B (ongoing work)

Note: it's relatively straightforward compared to irix, this is how I've done it.

- unpack in /usr, as normal.
- edit pkg_install and libfetch's Makefiles, replace as such:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
becomes:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && ${OPSYS} != "OSF1"

bootstrap with ccc:
- run bootstrap (in /usr/pkgsrc/bootstrap), as such:
- env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc

bootstrap with gcc:
- install gcc-4.2.3-osf1-5.1b.tar.gz (google search that)
- run /usr/local/gcc4/libexec/gcc/target/version/install-tools/mkheaders
- cd /usr/pkgsrc/bootstrap
- env CC=/usr/local/gcc4/bin/gcc CFLAGS=-O2 ./bootstrap --compiler gcc

then:
/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities

Worked well for me, so odds are that it might even work for you.
BTW: I'm looking for help with some packages, if you have some spare cycles.
:Onyx2:

User avatar
mia
Posts: 1055
Joined: Wed Feb 19, 2003 1:54 pm

Re: pkgsrc on Tru64

Unread postby mia » Sat Apr 13, 2013 10:12 am

I moved to 2013Q1, and this is what I've built so far, as you will see, it's a good start:

Code: Select all

autoconf-2.69nb1.tgz         f2c-20100903.tgz             libgetopt-1.4.4.tgz          p5-gettext-1.05nb8.tgz       tnftp-20070806.tgz
autoconf213-2.13nb2.tgz      fib-980203.tgz               libiconv-1.14nb2.tgz         pax-20080110nb2.tgz          top-3.6.1nb1.tgz
automake-1.13.1.tgz          flex-2.5.36nb1.tgz           libpcap-1.3.0nb2.tgz         pcre-8.32.tgz                unzip-6.0nb1.tgz
automake14-1.4.6nb2.tgz      gettext-lib-0.18.2.1.tgz     libslang2-2.2.4nb2.tgz       perl-5.16.2nb4.tgz           vim-7.3.762.tgz
bash-4.2nb2.tgz              gettext-tools-0.18.2.1.tgz   libtool-base-2.2.6bnb8.tgz   pgp-2.6.3ianb1.tgz           vim-share-7.3.762.tgz
bash-completion-1.0nb1.tgz   gmake-3.82nb5.tgz            lynx-2.8.7nb5.tgz            pgp5-5.0inb1.tgz             wget-1.14nb2.tgz
bison-2.7.tgz                gnupg-1.4.13nb2.tgz          m4-1.4.16nb3.tgz             pkg-config-0.28.tgz          xorg-cf-files-1.0.4nb5.tgz
bzip2-1.0.6.tgz              gtar-base-1.26nb2.tgz        makedepend-1.0.4.tgz         pkg_install-info-4.5nb3.tgz  xproto-7.0.23nb2.tgz
compat_headers-0.2.tgz       gtexinfo-4.13anb1.tgz        mktemp-1.7.tgz               readline-6.2.tgz             xz-5.0.4.tgz
coreutils-8.13nb5.tgz        help2man-1.40.13.tgz         nbench-2.2.2.tgz             rsync-3.0.9nb1.tgz           zip-3.0nb2.tgz
curl-7.29.0nb2.tgz           imake-1.0.5.tgz              nbpatch-20100124.tgz         screen-4.0.3nb5.tgz          zlib-1.2.7.tgz
digest-20121220.tgz          kbproto-1.0.6.tgz            openssh-5.8.2nb8.tgz         sudo-1.7.10p7.tgz
emacs22-nox11-22.3nb4.tgz    libffi-3.0.12.tgz            osabi-OSF1-5.1.tgz           tcp_wrappers-7.6.4.tgz


I'd appreciate if someone could help me build more packages of course; I'm bootstrapping with ccc (Compaq CC?) instead of gcc, for better results. I'm really happy I was able to build all the "essentials".
:Onyx2:

User avatar
PymbleSoftware
Posts: 1891
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

Re: pkgsrc on Tru64

Unread postby PymbleSoftware » Sat Apr 13, 2013 3:14 pm

mia wrote: I'm bootstrapping with ccc (Compaq CC?) instead of gcc, for better results.



Not sure about this but if I recall correctly, the compaq compiler initially produced better code than gcc on Tru64 but eventually advances in gcc and a lack of investment from DEC/Compaq/HP/whoever eventually reversed the situation. But don't take my word for it. measure some real results. But back in the day a lot od DEC stuff was floating around universities so a lot of very interesting research stuff was done on Ultrix and OSF/1..

I haven't fired up my Alphas in the longest time. I should have 5.1B on one of them and definitely a compiler or two as well.
I just don't have that much time with parenthood and churning out apps and constant updates.
Pretty sure I have older versions of all those binaries and much more, bash definitely is my login shell.



R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

HP C7000 BladeSever with 16 Blades 96Gb to 144Gb RAM per blade
HP C3000 Blade Server with 8 Blades 48Gb to 144Gb RAM per blade

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware

User avatar
Alver
Posts: 773
Joined: Wed Dec 07, 2005 4:46 pm
Location: Wetteren, Belgium
Contact:

Re: pkgsrc on Tru64

Unread postby Alver » Mon Apr 15, 2013 9:15 am

Oh, this is interesting - I bootstrapped pkgsrc using ccc as well, month or two back - bootstrapped fine (without a single edit) but barfed shortly thereafter. If I ever get some free time after this god forsaken work, I'll pick it up and report back. :)
while (!asleep()) sheep++;

User avatar
mia
Posts: 1055
Joined: Wed Feb 19, 2003 1:54 pm

Re: pkgsrc on Tru64

Unread postby mia » Mon Apr 15, 2013 9:45 am

Wow, thanks, this could be great indeed, packages take a long time to build, few need minor fixes; one of the issue I'm having is not being able to compile any version of gcc from ccc. That's the major issue right now.
:Onyx2:

User avatar
Alver
Posts: 773
Joined: Wed Dec 07, 2005 4:46 pm
Location: Wetteren, Belgium
Contact:

Re: pkgsrc on Tru64

Unread postby Alver » Tue Apr 16, 2013 4:27 am

Well, who needs gcc when you have ccc licenses... :D

Packages build fast enough here - dual EV7 ES47. Pity I haven't got the time to work much with it. I might be tempted to connect the service console to be able to boot it remotely, but even when connected to power (without being powered on or booted) it has fans running to cool the management boards... :roll:
while (!asleep()) sheep++;

User avatar
mia
Posts: 1055
Joined: Wed Feb 19, 2003 1:54 pm

Re: pkgsrc on Tru64

Unread postby mia » Tue Apr 16, 2013 7:55 am

How much power does an ES47 draw on average?
:Onyx2:


Return to “HP/DEC/Compaq”

Who is online

Users browsing this forum: No registered users and 3 guests