Opened 12 years ago

Closed 12 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 12 years ago.
working installation script with dep99 cropped
pck99-del.diff (599 bytes ) - added by estellnb 12 years ago.
diff for cropped package dependency (invalid)

Download all attachments as: .zip

Change History (7)

by estellnb, 12 years ago

Attachment: cups-base-1_4_8.wis added

working installation script with dep99 cropped

by estellnb, 12 years ago

Attachment: pck99-del.diff added

diff for cropped package dependency (invalid)

comment:1 by estellnb, 12 years ago

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 by diver, 12 years ago

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 by Alex Taylor, 12 years ago

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 by Alex Taylor, 12 years ago

Try the latest WPIs now.

comment:5 by Alex Taylor, 12 years ago

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