add "-f" to ln -s command to remove error message when link already exists
--------------------------------------------------------------------------
Key: XERCESC-1605
URL: http://issues.apache.org/jira/browse/XERCESC-1605
Project: Xerces-C++
Type: Improvement
Components: Build
Versions: 2.7.0
Reporter: Philip Schlesinger
Priority: Trivial
gmake log:
generating XercesMessages_en_US.res
building /PEBuilds/bldtogether/xerces-c-src_2_7_0/lib/libXercesMessages27.0.a
pkgdata: No -O option found, trying 'icu-config --incfile'.
pkgdata: icu-config: using '-O
/PEBuilds/bldtogether/local/lib/icu/3.4.1/Makefile.inc'
Warning: Found path 'XercesMessages2_7_0_' in file name. Assuming compatibility
(-E) mode.
generating assembly code for XercesMessages2_7_0.dat
-rwxrwxr-x 1 vwbuild sys 99890 Jun 20 16:07
libXercesMessages2_7_0.a
# Reading res-file-list-unix.txt..
# Output file: ./lib$(LIBNAME).a
/fn/as/4.0.0/bin/aix/gmake -f ./XercesMessages2_7_0_dll.mak
symlink /PEBuilds/bldtogether/xerces-c-src_2_7_0/lib/libXercesMessages27.a
ln: /PEBuilds/bldtogether/xerces-c-src_2_7_0/lib/libXercesMessages27.a exists.
Specify -f to remove.
gmake[2]: *** [libXercesMessages.a] Error 1
gmake[1]: *** [messageloaders] Error 2
gmake: *** [Util] Error 2
Fix:
file: xerces-c-2_7_0/src/xercesc/util/MsgLoaders/ICU/resources/Makefile.in
Line 121
Change: ln -s ${FQ_RESLIB_REAL_NAME} ${FQ_RESLIB_SO_NAME}
To: ln -s -f ${FQ_RESLIB_REAL_NAME} ${FQ_RESLIB_SO_NAME}
Line 123
Change: ln -s ${FQ_RESLIB_SO_NAME} ${FQ_RESLIB_LINK_NAME}
To: ln -s -f ${FQ_RESLIB_SO_NAME} ${FQ_RESLIB_LINK_NAME}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]