|
From: jijun yu <Jij...@Su...> - 2008-01-09 05:39:48
|
You can try to remove the files created at build time and then use " /opt/csw/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ../ (Here a *PATH* was added) . It should work. - Jerry Anil wrote: > vds5@vds5:~/msynctool-0.35/build% /opt/csw/bin/cmake > -DCMAKE_INSTALL_PREFIX=/usr/local ../ > -- Configuring done > -- Generating done > -- Build files have been written to: /home/vds5/msynctool-0.35/build > > Notice how its installing to /bin/msynctool instead of /usr/local/bin/msynctool: > > vds5@vds5:~/msynctool-0.35/build% make install > Linking C executable msynctool > [100%] Built target msynctool > Linking C executable CMakeFiles/CMakeRelink.dir/msynctool > Install the project... > -- Install configuration: "RelWithDebInfo" > -- Installing /bin/msynctool > CMake Error: Error in cmake code at > /home/vds5/msynctool-0.35/build/tools/cmake_install.cmake:30: > FILE INSTALL cannot copy file > "/home/vds5/msynctool-0.35/build/tools/CMakeFiles/CMakeRelink.dir/msynctool" > to "/bin/msynctool". > Current CMake stack: > [2] /home/vds5/msynctool-0.35/build/tools/cmake_install.cmake > [1] /home/vds5/msynctool-0.35/build/cmake_install.cmake > *** Error code 255 > The following command caused the error: > /opt/csw/bin/cmake -P cmake_install.cmake > make: Fatal error: Command failed for target `install' > vds5@vds5:~/msynctool-0.35/build% > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users > |