depot generating hpux 11.11 workstationmain


 
Thread Tools Search this Thread
Operating Systems HP-UX depot generating hpux 11.11 workstationmain
# 1  
Old 03-28-2002
depot generating hpux 11.11 workstationmain

Hello,

we running on a hpux workstation hpux 11.11 ( model B180 L ) latest relaese from december 2001. now we would like to install an tool which will allow us to generate our own depots. this programm names mkpkg ( relaese 3.0 alpha 5 ) and we downloaded it from http://www.hpl.hp.com/personal/Carl_Staelin/ .

In the INSTALL file is described how to install it. After the make command the installation breaks with message

bb: /tmp/mkpkg-3.0alpha5 #make
cc -Ae -O -o getpw getpw.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "getpw.c", line 28: error 1705: Function prototypes are an ANSI feature.
*** Error exit code 1

In line 28 in /tmp/*/getpw.c we found this:

main(int ac, char *av[])
{
int c;
uid_t uid;
char *name;
struct passwd *p;
char *usage = "getpw [-n] [-p] [-u] [-g] [-G] [-h] [-s] <uid>|<uname>";

.

We do not understand what really is meaned. Is there anybody who can help us?

THX
# 2  
Old 03-28-2002
HP-UX comes with a old c compiler included. It is /usr/bin/cc. It can only compile old K&R c and lacks a lot of features like an optimizer.

Most vendors sell the C compiler as a separate product and do not include a c compiler at all. Hp would like to join this club, but their kernel bulding process requires a c compiler. So they include the old compiler and hope that you will buy the new one.

If you have HP's Ansi C compiler, it will be in /opt/ansic/bin/cc. You will need to use this compiler to compile that code you downloaded.

Another approach might be to obtain gcc, which is a free c compiler with ansi support. But don't be surprised if you need to make some changes to the code to get it to compile with gcc. gcc is a little weird sometimes.
# 3  
Old 03-28-2002
MySQL

Quote:
Originally posted by Perderabo
HP-UX comes with a old c compiler included. It is /usr/bin/cc. It can only compile old K&R c and lacks a lot of features like an optimizer.

Most vendors sell the C compiler as a separate product and do not include a c compiler at all. Hp would like to join this club, but their kernel bulding process requires a c compiler. So they include the old compiler and hope that you will buy the new one.

If you have HP's Ansi C compiler, it will be in /opt/ansic/bin/cc. You will need to use this compiler to compile that code you downloaded.

Another approach might be to obtain gcc, which is a free c compiler with ansi support. But don't be surprised if you need to make some changes to the code to get it to compile with gcc. gcc is a little weird sometimes.
Smilie
so we found a newer workstation with an ANSI / C Compiler. it works!

thx!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

DEPOT software

I am using SAM and it is asking for the location of the DEPOT software. I don't know what the DEPOT software is. Can anyone explain and tell me where the default location for the software is? Thanks in advance (3 Replies)
Discussion started by: Randydog
3 Replies

2. HP-UX

Regarding Depot in HP Unix

Hi, Can anyone tell me how to know the files on the HP Unix server associated with the installed depot? BR, Prasanth (2 Replies)
Discussion started by: prasanth438
2 Replies

3. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

4. Infrastructure Monitoring

HPUX 11. net-snmp depot file

Dose any know know where I can find the HPUX net-snmp depot file for HPUX b.11.11 I found the 11.23 version which of course will not install. Any help would be greatly appreciated thanks. (0 Replies)
Discussion started by: krisarmstrong
0 Replies

5. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

6. HP-UX

Creating a depot

Hi. I am working on creating a depot that should be relocatable(I should be able to install it to a directory of my choice). The hp-ux help library talks about the variables SW_LOCATION and SW_ROOT_DIRECTORY to accomplish this. I have set the is_relocatable parameter to true in my psf. I... (1 Reply)
Discussion started by: JStone
1 Replies

7. HP-UX

Depot file properties

Hi How can we identify the informations like Author, meta data, dependency and other information from a depot file? (1 Reply)
Discussion started by: sethumadhavan
1 Replies

8. HP-UX

Binaries/Depot for Subversion 1.4.3 for HP/UX 11.11

Could anyone help me out by providing binaries/depot for subversion 1.4.3? The hpux version is: HP-UX myhappybox B.11.11 U 9000/800 I am having trouble compiling the sources for hpux, the provided dependancies are extracted, but it continually falls over. We have previously had svn... (3 Replies)
Discussion started by: spud
3 Replies

9. HP-UX

configuration of depot file.

Hi all, I am new to hp-ux.I installed depot file.But i don't know how to configure that depot file.If anybody knows the configuration of depot file please help me. It's urgent, because i have to configure that depot file. Thanks & Regards, Balaraju. (2 Replies)
Discussion started by: balarajum
2 Replies

10. HP-UX

VNC depot

Hi All, I'm having a very difficult time compiling VNC for HPUX 11.0. Is there a vnc depot sitting somewhere out there ? Thanks a bunch, KENT (1 Reply)
Discussion started by: kxchen_home
1 Replies
Login or Register to Ask a Question