Re: Building GNU Apps on HP-UX Itainium



On Tue, 30 Jan 2007 15:18:22 -0800, Rick Jones <rick.jones2@xxxxxx> wrote:

breyfogle <breyfogle@xxxxxxx> wrote:

[Kudos for not top posting, will say though that trimming previous
text is generally a good thing since almost all news readers these
days will thread posts correctly... :) ]

Thanks for the reply. The new HP has the full install of HP's
software development tools, F90, ANSI C, C++.

Good.

I've been to the "hpux.connect.org.uk" site looking for info without
finding much of anything related to Itanium packages. That's
actually the site where I downloaded the source-code packages I'm
working with.

These days they build both PA-RISC and Itanium2 versions of what they
work-on/refresh. Taking your a2ps example from below I can see where
you wouldn't think there is much Itanium on the site:

http://hpux.connect.org.uk/hppd/hpux/PostScript/a2ps-4.13/

that package on their site goes back to 2000. Looking at some other
packages - say the latest they show on the main page:

http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/gd-2.0.33/

You will see both PA-RISC and Itanium2.

If there is a package on hpux.connect.org.uk which doesn't have an
Itanium version, I think the best thing to do is to go ahead and
contact the librarian via the Contact Us links scattered hither and
yon:

hpux@xxxxxxxxxxxxxx

As for build errors, It's hard for me right now to know what is
important and what isn't.

Cut and paste to posts here would be one possibility.

When I first tried to build GNU a2ps, the configure script failed
because it could not identify a proper host. Setting the host option
to something the script would accept, moved the process a bit
further until a series of compile errors popped up indicating
missing header files (undefined typedefs mainly). Patching those
(which should not have been necessary) got the process to the link
step which seemed to complain about both missing shared libraries
and unresolved references.

Given the age of connect.org.uk's port of a2ps it might be worthwhile
to find something newer as a starting point. Or asking the
connect.org.uk librarian to. Just guessing, but the missing libraries
were probably prereqs for things that do not ship with HP-UX.

The connect.org.uk folks may not have been as good about listing
build/runtime dependencies on those older packages. On the newer ones
they seem to be pretty good about it, which should make life easier.

I'm guessing that the configure script only knows about standard
PA-RISC installations and an Itanium installation is enough
different to confuse the process.

In the case of a2ps, if there were indeed something looking at the
machine type, that port is old enough it wouldn't have groked ia64
coming-out of uname.

rick jones

....Made a bit of progress by building a simplier package (enscript) that does similar things. I can get enscript build with only the following warning messages. Something is not right WRT lex (I think). Although the enscript build completes, when it is run, I can get fatal run-time errors about these same undefined symbols. Any Ideas ?



cc -g -o states main.o utils.o prims.o process.o gram.o lex.o .../afmlib/libafm.a ../compat/libcompat.a -ll

ld: (Warning) Unsatisfied symbol "yylenguc" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyinput" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyunput" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyolsp" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyoutput" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yytextuc" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyextra" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyfnd" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyprevious" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yylsp" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yylstate" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yytextarr" in file /usr/lib/hpux32/libl.so
ld: (Warning) Unsatisfied symbol "yyback" in file /usr/lib/hpux32/libl.so
13 warnings.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.



Relevant Pages

  • Re: Building GNU Apps on HP-UX Itainium
    ... finding much of anything related to Itanium packages. ... actually the site where I downloaded the source-code packages I'm ... missing header files. ... connect.org.uk librarian to. ...
    (comp.sys.hp.hpux)
  • Re: package management
    ... CL Librarian can fetch packages from ASDF-Install (no GPG signature checking ... I don't consider support in Librarian, ... Using .asd files from packages' subdirectories is ...
    (comp.lang.lisp)
  • Re: package management
    ... CL Librarian can fetch packages from ASDF-Install (no GPG signature ... No support. ... I don't consider support in Librarian, ... distribution has its own system for package management and one ...
    (comp.lang.lisp)
  • Re: package management
    ... Fetching packages from version control systems (CVS, SVN, and ... No support. ... Librarian is meant to create complete ... Such shelf should be updated at once. ...
    (comp.lang.lisp)
  • apt-get dist-upgrade failure
    ... Hit http://ftp.debian.org testing Release.gpg ... Hit http://security.debian.org etch/updates/main Packages ... perl: warning: Setting locale failed. ...
    (Debian-User)