Opened 22 years ago

Closed 22 years ago

Last modified 20 years ago

#364 closed defect (fixed)

openMotif needs to have its libtool patched to build shared libs correctly

Reported by: drm@… Owned by: jkh@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

This bug should be assigned to jkh@…, but he doesn't have a bugzilla account.

A number of gnu libtool-based packages have trouble in 10.2; they build their shared libs without correct versioning. The symptom is the following error message during linking:

../../libtool: test: too many arguments

and this is present in the openMotif port.

The problem and its cure are described in the referenced URL.

I can propose a fix for you, but it's a bit tricky to integrate it with your existing Portfile. The patches I know are patches to configure and ltmain.sh, applied *before* ./configure is run. On the other hand, you are modifying libtool after it is generated by ./configure, and I believe that the patch I'll supply you with already implements that modification. So the first line of your pre-build command should probably be omitted.

I will attach a patch which is a modification of the Fink patch: I've just cut out the part that is relevant to this problem and given it to you. I haven't yet tried to integrate with your Portfile or test.

Attachments (4)

patch-openMotif (1.9 KB) - added by drm@… 22 years ago.
patch for openMotif libtool problem
patch-configure (1.0 KB) - added by drm@… 22 years ago.
patch-configure
patch-ltmain.sh (812 bytes) - added by drm@… 22 years ago.
patch-ltmain.sh
Portfile (684 bytes) - added by drm@… 22 years ago.
Portfile

Download all attachments as: .zip

Change History (8)

Changed 22 years ago by drm@…

Attachment: patch-openMotif added

patch for openMotif libtool problem

Changed 22 years ago by drm@…

Attachment: patch-configure added

patch-configure

comment:1 Changed 22 years ago by drm@…

attachments.isobsolete: 01

Changed 22 years ago by drm@…

Attachment: patch-ltmain.sh added

patch-ltmain.sh

Changed 22 years ago by drm@…

Attachment: Portfile added

Portfile

comment:2 Changed 22 years ago by drm@…

Owner: changed from kevin@… to jkh@…

comment:3 Changed 22 years ago by jkh@…

Status: newassigned

comment:4 Changed 22 years ago by jkh@…

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