<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.20710" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Arial size=2>I am trying to compile the KDE4 sources from
branches/KDE/4.0 and I receive this message from
sandbox:<BR>symlink: /usr/kde/svn/share/doc/HTML/en/sonnet/common
(symlink to /usr/kde/svn/share/doc/HTML/en/common)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is the only item to fail during
installing phase of kdelibs. The installer is trying to access a directory
outside of the temp install directory setup by sandbox. The install prefix is
passed to the configure script, and this is evident since everything else
compiles and installs to the right directory.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The cmake command "create_symlink" might what is at
fault. It is not respecting the install prefix variable, or it could be an error
in the following macro:<BR>macro (KDE4_CREATE_HANDBOOK _docbook)<BR>
get_filename_component(_input ${_docbook} ABSOLUTE)<BR> set(_doc
${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #Bootstrap<BR> if
(_kdeBootStrapping)<BR> set(_ssheet
${CMAKE_SOURCE_DIR}/kdoctools/customization/kde-chunk.xsl)<BR>
set(_bootstrapOption "--srcdir=${CMAKE_SOURCE_DIR}/kdoctools/")<BR>
else (_kdeBootStrapping)<BR> set(_ssheet
${KDE4_DATA_INSTALL_DIR}/ksgmltools2/customization/kde-chunk.xsl)<BR>
set(_bootstrapOption)<BR> endif (_kdeBootStrapping)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> file(GLOB _docs
*.docbook)<BR> add_custom_command(OUTPUT
${_doc}<BR> COMMAND ${KDE4_MEINPROC_EXECUTABLE}
--check ${_bootstrapOption} --cache ${_doc}
${_input}<BR> DEPENDS ${_docs}
${_KDE4_MEINPROC_EXECUTABLE_DEP} ${_ssheet}<BR>
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}<BR> )<BR>
add_custom_target(handbook ALL DEPENDS ${_doc})</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
if(KDE4_ENABLE_HTMLHANDBOOK)<BR> set(_htmlDoc
${CMAKE_CURRENT_SOURCE_DIR}/index.html)<BR>
add_custom_command(OUTPUT
${_htmlDoc}<BR> COMMAND
${KDE4_MEINPROC_EXECUTABLE} --check ${_bootstrapOption} -o ${_htmlDoc}
${_input}<BR> DEPENDS ${_input}
${_KDE4_MEINPROC_EXECUTABLE_DEP}
${_ssheet}<BR> WORKING_DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}<BR>
)<BR> add_custom_target(htmlhandbook DEPENDS
${_htmlDoc})<BR> endif(KDE4_ENABLE_HTMLHANDBOOK)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> set(_args ${ARGN})</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> set(_installDest)<BR>
if(_args)<BR> list(GET _args 0
_tmp)<BR> if("${_tmp}" STREQUAL
"INSTALL_DESTINATION")<BR>
list(GET _args 1 _installDest
)<BR> list(REMOVE_AT _args 0
1)<BR> endif("${_tmp}" STREQUAL
"INSTALL_DESTINATION")<BR> endif(_args)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> get_filename_component(dirname
${CMAKE_CURRENT_SOURCE_DIR} NAME_WE)<BR>
if(_args)<BR> list(GET _args 0
_tmp)<BR> if("${_tmp}" STREQUAL
"SUBDIR")<BR> list(GET _args 1
dirname )<BR> list(REMOVE_AT
_args 0 1)<BR> endif("${_tmp}" STREQUAL
"SUBDIR")<BR> endif(_args)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
if(_installDest)<BR> file(GLOB _images
*.png)<BR> install(FILES ${_doc} ${_docs}
${_images} DESTINATION
${_installDest}/${dirname})<BR> # TODO symlinks on
non-unix platforms<BR> if
(UNIX)<BR> # execute some cmake
code on make install which creates the
symlink<BR> install(CODE
"execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
\"${_installDest}/common\" \"${_installDest}/${dirname}/common\" )"
)<BR> endif (UNIX)<BR>
endif(_installDest)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>endmacro (KDE4_CREATE_HANDBOOK)</FONT></DIV>
<DIV><FONT face=Arial size=2>in</FONT></DIV>
<DIV><FONT face=Arial size=2>The sonnet doc uses the html install var so it
might be something with this. The function with create symlink, shouldn't the
_installDest var have have the first / dropped? So it would be usr/kde/svn.....
instead of /usr/kde/svn... ? Or CD to the dir where the symlinking is going on
to and drop the _installDest altogehter?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV></BODY></HTML>