Hi Pablo, On 03/08/2010 10:59 AM, Pablo Carneiro Elias wrote: > Hi all, > > some recent update broke opensg build on windows. I've found out one of the > problems: > > at line 1068>: EXECUTE_PROCESS(COMMAND "date" "/T" OUTPUT_VARIABLE > ${RESULT}) > > should be>: EXECUTE_PROCESS(COMMAND "date /T" OUTPUT_VARIABLE ${RESULT})
I haven't tried it on Windows, so I wasn't aware of that one. I copied that fragment from another CMakeLists.txt, so I assumed it would be correct. :-/ Would you be interested in hosting a Windows nightly build? I'm looking for some help on that one... > there is also another error, cmake complains about wrong number of arguments > calling command REGEX REPLACE, at line 1069: > > string(REGEX REPLACE "(..)/(..)/..(..).*" "\\3\\2\\1" ${RESULT} > ${${RESULT}}) > > cmake error is: > > > CMake Error at CMakeLists.txt:1069 (string): > string sub-command REGEX, mode REPLACE needs at least 6 arguments total to > > command. > Call Stack (most recent call first): > CMakeLists.txt:1079 (TODAY) > > > at which I cannot figure the real issue. Hm, which version of CMake are you using? Given that the same code is used in the Linux path, and works fine with my 2.9, it might be related to that (I'm using 2.9 because I couldn't get the RPM build to work with the 2.6 that comes with FC11). > One more thing is that linux build is now generating RPM packages by > default. AFAICT there is no way of disabling it from outside (e.g > environment vars), so those who > > do not use RPM packages don't have much choice by now. We particularly > use tar.bz2 ;) > > Wouldn't it be the case of enabling external configuration for > CPack build, at which one can choose which type to generate (TBZ, ZIP, > RPM...)? I added a OSGBUILD_PACKAGE_TYPE variable that allows you to set it. If it is set to "" it tries to pick a default. I'll commit the change as soon as the build finishes and works. Hope it helps Dirk ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users