Opened 11 years ago

Closed 11 years ago

#6 closed defect (fixed)

installation script of cups-base-1_4_8.wpi uses wrong LIBPATH

Reported by: estellnb Owned by: bart
Priority: major Milestone:
Component: cups Version:
Severity: Keywords:
Cc:

Description

cups-base-1_4_8.wpi always tries to search for dlls in the first line of config.sys that contains the word LIBPATH= even if it is a line commented out with rem. I have corrected the issue by adding the following line 2 to the installation script:

1: DO i = 1 TO match.0 2: IF left(strip(match.i),length('LIBPATH='))=='LIBPATH=' THEN DO 3: PARSE UPPER VAR match.i 'LIBPATH=' _lpath 4: IF _lpath <> THEN LEAVE 5: END 6: END

Futhermore I had to crop the optional package dependency with no 99 (error message: invalid package dep. no or similar)

Attachments (2)

cups-base-1_4_8.wis (22.6 KB) - added by estellnb 11 years ago.
working installation script with dep99 cropped
pck99-del.diff (599 bytes) - added by estellnb 11 years ago.
diff for cropped package dependency (invalid)

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by estellnb

Attachment: cups-base-1_4_8.wis added

working installation script with dep99 cropped

Changed 11 years ago by estellnb

Attachment: pck99-del.diff added

diff for cropped package dependency (invalid)

comment:1 Changed 11 years ago by estellnb

you may have to have a look at the optional package dep. no 99 however; it was reported to be invalid; perhaps we can drop it: at me that worked well.

comment:2 Changed 11 years ago by diver

we did here http://svn.netlabs.org/samba/browser/trunk/client/src/resources/ndpsmb.tpl a similar check. imho our version is a bit cleaner.

comment:3 Changed 11 years ago by Alex Taylor

Noted. Thanks.

The current WPIs are badly out of date. I have new ones ready for uploading (I fixed the '99' bug months ago, in fact) but I've been having trouble with access.

comment:4 Changed 11 years ago by Alex Taylor

Try the latest WPIs now.

comment:5 Changed 11 years ago by Alex Taylor

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.