Unix Technical Forum

mklpp problems?

This is a discussion on mklpp problems? within the AIX Operating System forums, part of the Unix Operating Systems category; --> I'm trying to create packages for installp using mklpp and using the lpp_name below. The mklpp commands makes the ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 06:47 AM
Mike
 
Posts: n/a
Default mklpp problems?

I'm trying to create packages for installp using mklpp
and using the lpp_name below. The mklpp commands makes
the lpp without problems, but inutoc will not create
the .toc file. Inutoc complains:

0503-005 inutoc: The format of the toc file is invalid.

Any idea what's going on?

(aix 5.2ML4)
(mklpp-1.2.9.0)

------------------------------------- orig file ------------
5 R I tmp.local {
tmp.local.rte 01.00.0000.0000 01 N U en_US Testing building packages
[
%
%
%
%
]
}
------------------------------------- orig file ------------


------------------------------------- expanded file --------
5 R I tmp.local {
tmp.local.rte 01.00.0000.0000 01 N U en_US Testing building packages
[
%
/usr 4
/usr/lpp 2
/usr/lpp/tmp.local
/usr/local 2
/usr/local/mikee 2
/usr/local/mikee/local 12
/usr/local/mikee/local/include 148
/usr/local/mikee/local/lib 573
/usr/local/mikee/local/lib/pkgconfig 1
/usr/local/mikee/local/share 6
/usr/local/mikee/local/share/man 2
/usr/local/mikee/local/share/man/man3 9
/usr/local/mikee/local/share/cvs 2
/usr/local/mikee/local/share/cvs/contrib 341
/usr/local/mikee/local/share/doc 2
/usr/local/mikee/local/share/doc/mxml 343
/usr/local/mikee/local/bin 6672
/usr/local/mikee/local/man 13
/usr/local/mikee/local/man/man1 365
/usr/local/mikee/local/man/man5 50
/usr/local/mikee/local/man/man8 14
/usr/local/mikee/local/man/cat1 4
/usr/local/mikee/local/man/cat3 14
/usr/local/mikee/local/man/man3 11
/usr/local/mikee/local/info 347
INSTWORK 153 153
%
%
%
]
}

-------------------------------------- expanded file -------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 06:47 AM
Paul Landay
 
Posts: n/a
Default Re: mklpp problems?

Mike wrote:
> I'm trying to create packages for installp using mklpp
> and using the lpp_name below. The mklpp commands makes
> the lpp without problems, but inutoc will not create
> the .toc file. Inutoc complains:
> 0503-005 inutoc: The format of the toc file is invalid.
> Any idea what's going on?

:
> ------------------------------------- orig file ------------
> 5 R I tmp.local {
> tmp.local.rte 01.00.0000.0000 01 N U en_US Testing building packages
> [
> %
> %
> %
> %
> ]
> }
> ------------------------------------- orig file ------------


The problem is the first character ('5') of the lpp_name file.
The IBM AIX pub:
http://publib.boulder.ibm.com/infoce...de3b433190mela
says this:
Field Name Format Separator Description
1. Format Integer White space Indicates the release
level of installp for which this package was built. The values are:
* 1 - AIX 3.1
* 3 - AIX 3.2
* 4 - AIX 4.1 and later
Note the "4" is 'AIX 4.1 and later'. There is no '5' for that field.

Paul Landay
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 06:47 AM
Mike
 
Posts: n/a
Default Re: mklpp problems?

In article <4207A887.3010508@us.ibm.com>, Paul Landay wrote:
> Mike wrote:
>> I'm trying to create packages for installp using mklpp
>> and using the lpp_name below. The mklpp commands makes
>> the lpp without problems, but inutoc will not create
>> the .toc file. Inutoc complains:
>> 0503-005 inutoc: The format of the toc file is invalid.
>> Any idea what's going on?

> :
>> ------------------------------------- orig file ------------
>> 5 R I tmp.local {
>> tmp.local.rte 01.00.0000.0000 01 N U en_US Testing building packages
>> [
>> %
>> %
>> %
>> %
>> ]
>> }
>> ------------------------------------- orig file ------------

>
> The problem is the first character ('5') of the lpp_name file.
> The IBM AIX pub:
> http://publib.boulder.ibm.com/infoce...de3b433190mela
> says this:
> Field Name Format Separator Description
> 1. Format Integer White space Indicates the release
> level of installp for which this package was built. The values are:
> * 1 - AIX 3.1
> * 3 - AIX 3.2
> * 4 - AIX 4.1 and later
> Note the "4" is 'AIX 4.1 and later'. There is no '5' for that field.
>
> Paul Landay


I should have read the manual more closely. I had seen the
2, 3, 4 and thought the manual was out of date, that's why
I put the 5 there.

It works great with a 4.

Thanks.

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com