- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 11.31 where is libtermcap.a
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 09:00 AM
11-01-2009 09:00 AM
on 11.23 system, it built fine,
and we have
# swlist ProgSupport.PROG-MIN | grep termcap
... /usr/old/usr/lib/libtermcap.a
... /usr/lib/libtermcap.a
on 11.31 system,
# swlist ProgSupport.PROG-MIN | grep termcap
... <
so where is libtermcap.a
bv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 06:25 PM
11-01-2009 06:25 PM
Re: 11.31 where is libtermcap.a
The attached information is from a Japanese document.
It might help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 07:33 PM
11-01-2009 07:33 PM
Re: 11.31 where is libtermcap.a
Had no problem finding it
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51A_HTML/MAN/MAN3/0801___X.HTM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 07:53 PM
11-01-2009 07:53 PM
Re: 11.31 where is libtermcap.a
And if we were discussing Tru64 instead of
HP-UX, ...
"man termcap" suggests that you really want
to be using terminfo, instead. I know
nothing, but I'd guess that termcap support
was dropped in 11.31.
Where did you find this "less" kit? Is there
a more portable edition somewhere (one which
can use terminfo instead of termcap)?
You did re-"configure" the thing, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 08:30 PM
11-01-2009 08:30 PM
Re: 11.31 where is libtermcap.a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 05:45 AM
11-02-2009 05:45 AM
Re: 11.31 where is libtermcap.a
what fileset is it in
and where is it located.
On the 11.23 system,
I found it in
...HPUXBaseOS.ProgSupport.PROG-MIN
using
swlist -l file | grep libtermcap
... HPUXBaseOS.ProgSupport.PROG-MIN: /usr/old/usr/lib/libtermcap.a
... HPUXBaseOS.ProgSupport.PROG-MIN: /usr/lib/libtermcap.a
and, indeed:
Pine3 ## find /usr -name '*termcap*'
... /usr/lib/libtermcap.a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 05:55 AM
11-02-2009 05:55 AM
Re: 11.31 where is libtermcap.a
You might want to look for libtermcap.*, for the shared version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 06:10 AM
11-02-2009 06:10 AM
Re: 11.31 where is libtermcap.a
I see nothing in Stevens reply that is stalking or harassing. If by pointing out that the man page link you posted is in fact a Tru64 man page is harassment then that is a different definition of harassment than I have ever seen.
While I may not always approve of Stevens methods or style, he usually provides good information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 07:03 AM
11-02-2009 07:03 AM
Re: 11.31 where is libtermcap.a
Potentially useful (and missing) info:
Using which "less" kit from where?
"[T]rying to build" how, exactly? Actual
commands?
Actual results? Why, exactly, are you
seeking a "libtermcap.a"?
> on 11.23 system, it built fine, [...]
And what, exactly, did you do there?
> [...] this is your last warning
I wish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 07:42 AM
11-02-2009 07:42 AM
Re: 11.31 where is libtermcap.a
The question is where is libtermcap.a, which exists on my 11.23 system in ProgSupport.PROG-MIN.
And the make worked fine on the 11.23 system.
But:
The HPUX porting archive.
The source tarball.
gunzip+untar
cd into source directory
./configure
make
On the 11.23 system it worked fine.
On the 11.31 system, the ./configure failed because it could not find the termcap library.
So, whoever has libtermcap.a on their 11.31 system, could you tell me where it is located and within which fileset.
Perhaps my 11.31 install inadvertently left out something.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 08:42 AM
11-02-2009 08:42 AM
Solutionhttp://docs.hp.com/en/5991-1101/ch10s08.html
So I expect as warned, v3 removed the library.
man termcap(3X) on a v3 system gives the same idea -- the functions listed are specifically stated to be "emulation routines" and the library is libcurses, not libtermcap.
In other words, I do believe you're looking for something that doesn't exist. Your 'less' source needs to use Xcurses instead of termcap interfaces -- which likely would mean you need to contact the developers of 'less' and see if they have source which addresses that issue, unless you feel like revising their code for them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 09:02 AM
11-02-2009 09:02 AM
Re: 11.31 where is libtermcap.a
the porting archive shows dependencies, one being termcap of course, and they apparently have a version of that.
I will try that.
But others replied here that they had libtermcap.a on their system and I'm wondering where it came from.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 09:03 AM
11-02-2009 09:03 AM
Re: 11.31 where is libtermcap.a
Perhaps not to you, but to anyone who might
try to reproduce your problem, it might
really matter. You think?
> The question is where is libtermcap.a,
> [...]
That's your question, not mine. I looked,
but found none on my 11.31 system, which is
why I didn't think you'd find it on yours.
But I also didn't think that you'd really
need it.
> The HPUX porting archive.
> The source tarball.
Thanks. I'll just pop those into my Web
browser. (Hmmm. Doesn't seem to work.)
Following guidance from Google, I sucked
down this source kit:
http://www.greenwoodsoftware.com/less/less-436.tar.gz
On my system:
rux # uname -a
HP-UX rux B.11.31 U ia64 1678555272 unlimited-user license
rux # gcc --version
gcc (GCC) 4.3.3
[...]
rux # gzip -dc less-436.tar.gz | tar xf -
rux # cd less-436
> On the 11.31 system, the ./configure
> failed because it could not find the
> termcap library.
Not on mine:
rux # ./configure
[...]
checking for working terminal libraries... using -lcurses
[...]
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
[So, no sign of working "termcap" stuff.]
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
[...]
rux # make
[...]
gcc -o less main.o screen.o brac.o ch.o charset.o cmdbuf.o command.o cvt.o decode.o edit.o filename.o forwback.o help.o ifile.o input.o jump.o line.o linenum.o lsystem.o mark.o optfunc.o option.o opttbl.o os.o output.o pattern.o position.o prompt.o search.o signal.o tags.o ttyin.o version.o -lintl -lgen -lcurses
[...]
I see no sign of anyone expecting to use
"libtermcap.a".
rux # ./less --version
less 436
Copyright (C) 1984-2009 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Homepage: http://www.greenwoodsoftware.com/less
> So, whoever has libtermcap.a on their
> 11.31 system, [...]
While we wait for someone to find one, ...
> Perhaps my 11.31 install inadvertently
> left out something.
Perhaps, but I doubt it. Your problem
description, on the other hand, certainly
left out some things, however.
> Actual results?
As usual, actual commands with their actual
results can be more useful than vague and
incomplete descriptions and interpretations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 09:10 AM
11-02-2009 09:10 AM
Re: 11.31 where is libtermcap.a
> libtermcap.a on their system and I'm
> wondering where it came from.
Who? Where? You mean this?:
> Had no problem finding it
Did you then follow that link he supplied to
find the (old, obsolete) Tru64 "man" page?
> the porting archive shows dependencies, one
> being termcap of course,
Trust no one, I always say. Perhaps on an
older HP-UX version, this would be more true.
> and they apparently have a version of
> that.
So, get it from them? (If you _really_ think
that you need it.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 01:30 PM
11-02-2009 01:30 PM
Re: 11.31 where is libtermcap.a
do you try to sound like an asshole, or does it just come naturally?
Just wondering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 03:23 PM
11-02-2009 03:23 PM
Re: 11.31 where is libtermcap.a
It's easy when I'm driven to it, by, for
example:
1. A misleading Subject. Was your goal
to get "less" working, or to find
"libtermcap.a"?
2. A thoroughly incomplete problem
description.
3. A failure to answer simple questions,
with the explanation that the answers
don't "really matter", thus not resolving
the deficiencies in the original problem
description. (One might reasonably argue
that if you really _knew_ what was
important, then you might not need to be
asking about this stuff here.)
Forum rules preclude personal abuse, so,
while I might feel a powerful urge to call
an apparently incompetent questioner a
moron, I try to limit my complaints to the
defects in the question itself, but I
wouldn't try to discourage the obvious
inference. This may present the appearance
of my having a bad attitude, which may also
be true.
By the way, assuming that getting "less"
working actually was the original goal,
how's that going? (As shown, it worked for
me.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 05:22 PM
11-02-2009 05:22 PM
Re: 11.31 where is libtermcap.a
That answers my second question.
"It comes naturally."
>>>1. A misleading Subject.
"11.31 where is libtermcap.a"
what is misleading about that?
>>>2. A thoroughly incomplete problem
description.
Why don't you re-read the original post, genius.
I show that libtermcap.a exists on 11.23
and not on 11.31.
I with
... "so where is libtermcap.a"
Simple question.
Which was really my question and which was the subject line of the post.
But you, in you astonishing arrogance, assumed that I don't know what I'm doing.
I didn't ask for help in building 'less'.
I didn't ask you to reproduce the error I got.
I knew where that came from and I stated it clearly -- libtermcap was missing.
And you reply with
"That's your question, not mine."
You're a real piece of work.
>>>3. A failure to answer simple questions
Again, genius, re-read my reply to your first post.
I *did* answer your questions.
You just don't like the fact that I also pointed out that *your* question was irrelevant to my actual question, as you so much like to mention to others in your responses.
>>>3. (One might reasonably argue
>>> that if you really _knew_ what was
>>> important, then you might not need to be
>>> asking about this stuff here.)
An arrogant jerk certainly might argue that.
You might do better to consider that not everyone that posts here is an ignorant neophyte.
Sometimes things come up that hopefully someone else has run across and to which you just need a quick answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 07:45 PM
11-02-2009 07:45 PM
Re: 11.31 where is libtermcap.a
> I didn't ask for help in building 'less'.
You win. Apparently I completely
misunderstood your goal.
You have my best wishes in your quest for the
lost "libtermcap.a".
On the bright side, you're free to award more
points for the Tru64 "man" page pointer than
for anything with which I might have burdened
you, thus breaking my heart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2009 06:02 AM
11-03-2009 06:02 AM
Re: 11.31 where is libtermcap.a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2009 06:11 AM
11-03-2009 06:11 AM
Re: 11.31 where is libtermcap.a
I missed the point. Who were you warning? bv? or Steven?
I must admit I got a chuckle out of the last few postings, though I must question whether that's the sort of professionalism we should seek to demonstrate on this esteemed site. I've certainly had my moments as well, though!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2009 06:18 AM
11-03-2009 06:18 AM
Re: 11.31 where is libtermcap.a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2009 06:22 AM
11-03-2009 06:22 AM
Re: 11.31 where is libtermcap.a
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 12:26 PM
11-05-2009 12:26 PM
Re: 11.31 where is libtermcap.a
Sorry 'bout that.
Anyway,
I found libtermcap.a
It's on the INSTALL DVD,as would be expected,
but with a wrinkle:
there are TWO different filesets,
. one for Itanium
& one for PArisc
... (see below for the details of those filests)
and, for whatever reason,
apparently HP is not allowing termcap on Itanium version HPUX.
I have the following scenarios:
11.31 on Itanium with NO libtermcap (reason for this post)
11.23 on Itanium and it also does NOT have libtermcap
... ( I only just did verify this.
... Its ProgSupport.PROG-MIN fileset looks the
... same as the 11.31 version. see below
... )
11.23 on PArisc which DOES HAVE libtermcap
I cannot verify that it installs on 11.31 PArisc,
however, since I have no such system.
Here are the 2 filesets.
Notice that last chars of the fileset names:
charley ## swlist -s /dvd \
ProgSupport.PROG-MIN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,\
v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
... ProgSupport.Runtime.PROG-MIN B.11.31 Minimum Programming Tools (IPF)
... /
... /usr
... /usr/bin
... /usr/bin/m4
... /usr/bin/prof
... /usr/ccs
... /usr/ccs/bin
... /usr/ccs/bin/m4
... /usr/ccs/bin/prof
charley ## swlist -s /dvd \
ProgSupport.PROG-MIN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,\
v=HP,fr=B.11.31,fa=HP-UX_B.11.31_PA
... ProgSupport.Runtime.PROG-MIN B.11.31 Minimum Programming Tools (PA-RISC)
... /
... /usr
... /usr/bin
... /usr/bin/m4
... /usr/bin/prof
... ...
... /usr/lib/llib-lcurses
... /usr/lib/llib-lcurses.1
... /usr/old
... /usr/old/usr
... /usr/old/usr/lib
... /usr/old/usr/lib/libtermcap.a
... /usr/old/usr/lib/libtermlib.a
... /usr/lib/libtermcap.a
... /usr/lib/libtermlib.a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 12:38 PM
11-05-2009 12:38 PM
Re: 11.31 where is libtermcap.a
It may be just as well that you did (eventually) locate it...who know what else you may want to get from the porting centre at wants termcap...
I do wonder why the archive from the porting centre seems to insist on having it, while the original doesn't, but that's an issue for another day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2009 12:38 PM
11-05-2009 12:38 PM
Re: 11.31 where is libtermcap.a
I just copied the version that I built on 11.23 PArisc and used that on the Itanium 11.31 system.
The source for 'less' that Steve pointed out had issues with terminfo and I didn't feel like debugging them.
I have my own tweaked termcap entries that I carry with me that work for all my own tools, including 'less'.
bv