Opened 13 years ago

Last modified 11 years ago

#31536 closed defect

openldap fails build in liblber : multiple target patterns — at Initial Version

Reported by: from-macports.org@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: openldap

Description

My /Developer partition is on another drive. Therefore, the path to the drive is /Volumes/750gb HDD/Developer.

When compiling openldap (gnupg requires this) it fails due to a:

:info:build Makefile:402: * multiple target patterns. Stop.

error. This appears to be due to a path problem in the library makefiles. Example excerpt from the Makefile: assert.lo: ../../include/portable.h assert.lo: assert.c assert.lo: ../../include/ldap_cdefs.h assert.lo: ../../include/ac/fdset.h assert.lo: ../../include/ac/assert.h

When you combine the lines: assert.lo: /Volumes/750gb\HDD/Developer/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h

It compiles normally.

Other makes in libraries seem to have this as well.

Attached: Full error log, makefile excerpt.

Change History (2)

Changed 13 years ago by from-macports.org@…

Attachment: Makefile added

The resulting Makefile.

Changed 13 years ago by from-macports.org@…

Attachment: error_log.txt added

Exerpt of the build log that shows the error.

Note: See TracTickets for help on using tickets.