[Date Prev][Date Next]
RE: (ITS#5215) Use of ln is hardcoded in some files
OK, forget about my remark on Cygwin/MinGW.
However, you should update the "Porting OpenLDAP" FAQ to mention MSYS.
Then with MSYS, I get an error when running make on servers/slapd Makefile:
in case there is no extra LDFLAG, the lines
@for i in $(LDFLAGS) ; do \
path=`expr "$$i" : "-L\(.*\)"`; \
if test $$? != 0; then continue; fi; \
paths="$$paths $$path"; \
cause a sh error: "syntax error near unexpected token ';'"
De : Howard Chu [mailto:email@example.com]
Envoyé : mercredi 7 novembre 2007 04:08
À : firstname.lastname@example.org
Cc : email@example.com
Objet : Re: (ITS#5215) Use of ln is hardcoded in some files
> Full_Name: Emmanuel Duru
> Version: 2.3.38
> OS: Windows
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (220.127.116.11)
> configure allows the use of "cp" instead of "ln", but the build/shtool
> a hardcoded "ln" (line 1266).
> Some makefiles (libraries/liblunicode, libraries/libldap_r and
> servers/slapd/back-hdb) use a hardcoded "-s" option. This is a problem on
> Windows because in cygwin environment "cp -s" behaves the same way as "ln
> The use of "ln" is not welcome here because it creates a Windows shortcut,
> is not understood by mingw compiler.
We only support the MSYS build environment on Windows.
If you'd like to submit a patch to address this issue that doesn't break the
other platforms, we can look at incorporating it.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/