Closed
Bug 62857
Opened 25 years ago
Closed 23 years ago
LDAP build for OS/2
Categories
(Directory Graveyard :: LDAP C SDK, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhpedemonte, Assigned: dmosedale)
References
Details
Attachments
(1 file, 6 obsolete files)
|
3.98 KB,
patch
|
Details | Diff | Splinter Review |
This bug is for file changes necessary to get LDAP building under
OS/2.
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
Reassigning to Michael Hein so he can review the proposed patch.
Assignee: mcs → mhein
| Reporter | ||
Comment 3•25 years ago
|
||
Comment 4•24 years ago
|
||
Some ifdefs must be changed for EMX too, not only VACPP
| Assignee | ||
Comment 5•24 years ago
|
||
These patches are for the 4.0 branch of the SDK, and are needed for
--enable-ldap to work properly on OS/2. Taking so that I can land turn on
--enable-ldap by default soon. Dmitry, do you have other EMX patches ready?
Otherwise I'd like to check this in as is.
Assignee: mhein → dmose
Blocks: 70658
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 6•24 years ago
|
||
Can you checkin your patches? Default EMX build can't be be broken until LDAP is
optional. I'll patch it later or send me patched files (dunno how to apply diffs
w/o CVS stuffs).
Comment 7•24 years ago
|
||
At least this can be changed now:
XP_OS2_VACPP -> XP_OS2
ifeq ($(MOZ_OS2_TOOLS),VACPP) -> ifeq ($(OS_ARCH),OS2)
| Reporter | ||
Comment 8•24 years ago
|
||
| Reporter | ||
Comment 9•24 years ago
|
||
I cleaned up the patch to work with latest code, but I have a few
questions with some of the files:
autoconf.mk.in:
Should I explicitly set those values (BIN_SUFFIX and LINK) in the file
like that, or should they be defined in configure.in and AC_SUBST'd
into autoconf.mk?
liblber/Makefile.in &
libldap/Makefile.in:
What do you think of my changes here (in regards to SRCS->CSRCS and
the OS/2 "install::" target)? Are these correct? Should we not be
taking advantage of what NSPR has already defined in its rules.mk?
| Assignee | ||
Comment 10•24 years ago
|
||
Not long after 0.9, we'll be moving to the v5.0 version of the LDAP SDK, which
comes with a new build system, so the current build system will be going away.
So I'd suggest making as few changes as possible to this one, since we know it
more-or-less works as is. With that in mind:
* autoconf.mk.in: moving this stuff to configure.in seems like more effort than
it's worth
* Makefile.ins: in theory those changes may be the Right Thing, but since we
know the existing rules (especially wrt to the SRCS/CSRCS/REALOBJS/OBJS stuff),
I'd vote for not changing this stuff either.
Comment 11•24 years ago
|
||
One more patch for EMX:
mozilla/directory/c-sdk/ldap/include/ldap.h
+#ifdef XP_OS2
+#include <sys/select.h>
+#endif
+#ifdef XP_OS2_EMX
+/*
+ * EMX-specific tweaks:
+ * o Use stricmp instead of strcmpi.
+ */
+#define strcmpi stricmp
+#endif
After that LDAP can be built. Need more time to test is it working.
Comment 12•24 years ago
|
||
| Reporter | ||
Comment 13•24 years ago
|
||
| Reporter | ||
Comment 14•24 years ago
|
||
Well, in accordance to dan's comments, I have put back the
REALOBJS/OBJS rules and just hacked the Makefiles to work under OS/2.
Let me know what you think of this. The above patch also includes
dmitry's changes.
Comment 15•24 years ago
|
||
r=mkaply
We'll keep a close eye on this when it goes in.
Comment 16•24 years ago
|
||
sr=cls
| Assignee | ||
Comment 17•24 years ago
|
||
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 19•23 years ago
|
||
Reopening; need to check in the ldapcsdk_branch_50 so that mozilla doesn't
regress when we switch to that branch.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 20•23 years ago
|
||
I've just attached a forward port of the code changes to the
ldapcsdk_branch_50. The build system changes will need to be redone, as the
buildsystem has seen significant changes since the 4.0 SDK. mcs/mhein, can I
get a review on this?
Attachment #20697 -
Attachment is obsolete: true
Attachment #22902 -
Attachment is obsolete: true
Attachment #28823 -
Attachment is obsolete: true
Attachment #28904 -
Attachment is obsolete: true
Attachment #28910 -
Attachment is obsolete: true
| Assignee | ||
Comment 21•23 years ago
|
||
Comment on attachment 71004 [details] [diff] [review]
Forward-port of code changes to ldapcsdk_branch_50, v1.
Bogus patch includes lots of irrelevant changes. New patch soon.
Attachment #71004 -
Attachment is obsolete: true
| Assignee | ||
Comment 22•23 years ago
|
||
OK, this is better. mcs/mhein: now I'm requesting a review for real. :-)
Comment 23•23 years ago
|
||
adding nsbeta1+ since needed for merge from the LDAP C SDK v4.0
Keywords: nsbeta1+
Comment 24•23 years ago
|
||
Looks okay (I don't think it will break any non-OS2 builds anyway). r=mcs
| Assignee | ||
Comment 25•23 years ago
|
||
Fix checked in to ldapcsdk_branch_50.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•