Jonathan Gibbs <jono...@...>
Sorry for such a mundane topic here, but I'm stuck getting this to build. I got ilmbase, openexr, boost1.42 and oiio built, I believe sucessfully, and everything is found after a minor amount of hacking the cmake files (mostly because I'm not installing in the normal spots).
And, just when I was about to declare victory, the first problem I haven't a clue what to do about.
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
There's not a lot to go on, so any bits of advise will help. I may try this over again on OS X tonight.
Here's the longer output I get after running a make nuke:
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Project source dir = /pic1/osl/osl/src -- Project build dir = /pic1/osl/osl/build/linux64 -- CMAKE_SYSTEM_NAME = Linux -- CMAKE_SYSTEM_VERSION = 2.6.18-164.el5 -- CMAKE_SYSTEM_PROCESSOR = x86_64 -- Unix! Linux -- platform = linux64 -- THIRD_PARTY_TOOLS_HOME = unknown -- SPECIAL_COMPILE_FLAGS = -- ILMBASE_VERSION = 1.0.1 -- ILMBASE_HOME = /pic1/install/usr/local -- ILMBASE_INCLUDE_AREA = /pic1/install/usr/local/include -- ILMBASE_LIBRARIES = /pic1/install/usr/local/lib/libImath.so;/pic1/install/usr/local/lib/libHalf.so;/pic1/install/usr/local/lib/libIlmThread.so;/pic1/install/usr/local/lib/libIex.so -- OPENEXR_VERSION = 1.6.1 -- OPENEXR_VERSION_DIGITS = 010601 -- OPENEXR_HOME = /pic1/install/usr/local -- OPENEXR_INCLUDE_AREA = /pic1/install/usr/local/include -- OPENEXR_LIBRARY = /pic1/install/usr/local/lib/libIlmImf.so -- Found ZLIB: /usr/lib64/libz.so -- BOOST_ROOT /pic1/install/usr/local/include/boost -- Boost found true -- Boost include dirs /pic1/install/usr/local/include -- Boost library dirs /pic1/install/usr/local/lib -- Boost libraries boost_filesystem;boost_regex;boost_system;boost_thread -- OPENGL_FOUND= USE_OPENGL= -- TBB_HOME = unknown -- TBB includes = /pic1/osl/osl/src/include -- TBB library = -- Looking for flex -- Looking for flex -- /usr/bin/flex -- Looking for bison -- Looking for bison -- /usr/bin/bison -- OPENIMAGEIOHOME = /pic1/oiio/dist/linux64 -- OpenImageIO includes = /pic1/oiio/dist/linux64/include -- OpenImageIO library = /pic1/oiio/dist/linux64/lib/libOpenImageIO.so -- OpenImageIO namespace = -- CMAKE_INSTALL_RPATH = /pic1/osl/osl/dist/linux64/lib -- FLEX_BISON flex=osllex.l bison=oslgram.y prefix=osl -- Flex include dir = /usr/include -- FLEX_BISON flex=../liboslexec/osolex.l bison=../liboslexec/osogram.y prefix=oso -- Flex include dir = /usr/include -- FLEX_BISON flex=osolex.l bison=osogram.y prefix=oso -- Flex include dir = /usr/include -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/emitter.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/glass.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/matte.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/image.osl running cmake -E copy /pic1/osl/osl/src/../LICENSE /pic1/osl/osl/build/linux64/License.txt 2>&1 running cmake -E copy /pic1/osl/osl/src/../README /pic1/osl/osl/build/linux64/Readme.txt 2>&1 -- Configuring done -- Generating done -- Build files have been written to: /pic1/osl/osl/build/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
--jono
|
|
Can you try this: make nuke make VERBOSE=1 That ought to echo all the commands. Also, what happens when you ls -al /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp ? On Mar 31, 2010, at 4:07 PM, Jonathan Gibbs wrote: Sorry for such a mundane topic here, but I'm stuck getting this to build. I got ilmbase, openexr, boost1.42 and oiio built, I believe sucessfully, and everything is found after a minor amount of hacking the cmake files (mostly because I'm not installing in the normal spots).
And, just when I was about to declare victory, the first problem I haven't a clue what to do about.
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
There's not a lot to go on, so any bits of advise will help. I may try this over again on OS X tonight.
Here's the longer output I get after running a make nuke:
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Project source dir = /pic1/osl/osl/src -- Project build dir = /pic1/osl/osl/build/linux64 -- CMAKE_SYSTEM_NAME = Linux -- CMAKE_SYSTEM_VERSION = 2.6.18-164.el5 -- CMAKE_SYSTEM_PROCESSOR = x86_64 -- Unix! Linux -- platform = linux64 -- THIRD_PARTY_TOOLS_HOME = unknown -- SPECIAL_COMPILE_FLAGS = -- ILMBASE_VERSION = 1.0.1 -- ILMBASE_HOME = /pic1/install/usr/local -- ILMBASE_INCLUDE_AREA = /pic1/install/usr/local/include -- ILMBASE_LIBRARIES = /pic1/install/usr/local/lib/libImath.so;/pic1/install/usr/local/lib/libHalf.so;/pic1/install/usr/local/lib/libIlmThread.so;/pic1/install/usr/local/lib/libIex.so -- OPENEXR_VERSION = 1.6.1 -- OPENEXR_VERSION_DIGITS = 010601 -- OPENEXR_HOME = /pic1/install/usr/local -- OPENEXR_INCLUDE_AREA = /pic1/install/usr/local/include -- OPENEXR_LIBRARY = /pic1/install/usr/local/lib/libIlmImf.so -- Found ZLIB: /usr/lib64/libz.so -- BOOST_ROOT /pic1/install/usr/local/include/boost -- Boost found true -- Boost include dirs /pic1/install/usr/local/include -- Boost library dirs /pic1/install/usr/local/lib -- Boost libraries boost_filesystem;boost_regex;boost_system;boost_thread -- OPENGL_FOUND= USE_OPENGL= -- TBB_HOME = unknown -- TBB includes = /pic1/osl/osl/src/include -- TBB library = -- Looking for flex -- Looking for flex -- /usr/bin/flex -- Looking for bison -- Looking for bison -- /usr/bin/bison -- OPENIMAGEIOHOME = /pic1/oiio/dist/linux64 -- OpenImageIO includes = /pic1/oiio/dist/linux64/include -- OpenImageIO library = /pic1/oiio/dist/linux64/lib/libOpenImageIO.so -- OpenImageIO namespace = -- CMAKE_INSTALL_RPATH = /pic1/osl/osl/dist/linux64/lib -- FLEX_BISON flex=osllex.l bison=oslgram.y prefix=osl -- Flex include dir = /usr/include -- FLEX_BISON flex=../liboslexec/osolex.l bison=../liboslexec/osogram.y prefix=oso -- Flex include dir = /usr/include -- FLEX_BISON flex=osolex.l bison=osogram.y prefix=oso -- Flex include dir = /usr/include -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/emitter.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/glass.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/matte.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/image.osl running cmake -E copy /pic1/osl/osl/src/../LICENSE /pic1/osl/osl/build/linux64/License.txt 2>&1 running cmake -E copy /pic1/osl/osl/src/../README /pic1/osl/osl/build/linux64/Readme.txt 2>&1 -- Configuring done -- Generating done -- Build files have been written to: /pic1/osl/osl/build/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
--jono
-- You received this message because you are subscribed to the Google Groups "OSL Developers" group. To post to this group, send email to osl...@.... To unsubscribe from this group, send email to osl...@.... For more options, visit this group at http://groups.google.com/group/osl-dev?hl=en.
-- Larry Gritz l...@...
|
|
Jonathan Gibbs <jono...@...>
OK, I think I found it. The VERBOSE was helpful.
It's running this:
/usr/bin/flex -+ -o /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp /pic1/osl/osl/src/liboslcomp/osllex.l
And it appears in my version of flex, you cannot have a space between the "-o" and the output filename. Stated the way it is above, flex is thinking that .cpp file is an input file.
% /usr/bin/flex --version /usr/bin/flex version 2.5.4
And wow, according to flex.sourceforge.net, this version is from July 27, 1997(!), but they still have it on the front page, along with 2.5.33-2.5.35 from 2006-2008. I think Red Hat RHEL5 is stuck on this older version, and you are probably not.
Taking the space out of src/cmake/flexbison.cmake did the trick.
Thanks! --jono
toggle quoted message
Show quoted text
On Wed, Mar 31, 2010 at 4:30 PM, Larry Gritz <l...@...> wrote: Can you try this:
make nuke make VERBOSE=1
That ought to echo all the commands. Also, what happens when you
ls -al /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp
?
On Mar 31, 2010, at 4:07 PM, Jonathan Gibbs wrote:
Sorry for such a mundane topic here, but I'm stuck getting this to build. I got ilmbase, openexr, boost1.42 and oiio built, I believe sucessfully, and everything is found after a minor amount of hacking the cmake files (mostly because I'm not installing in the normal spots).
And, just when I was about to declare victory, the first problem I haven't a clue what to do about.
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
There's not a lot to go on, so any bits of advise will help. I may try this over again on OS X tonight.
Here's the longer output I get after running a make nuke:
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Project source dir = /pic1/osl/osl/src -- Project build dir = /pic1/osl/osl/build/linux64 -- CMAKE_SYSTEM_NAME = Linux -- CMAKE_SYSTEM_VERSION = 2.6.18-164.el5 -- CMAKE_SYSTEM_PROCESSOR = x86_64 -- Unix! Linux -- platform = linux64 -- THIRD_PARTY_TOOLS_HOME = unknown -- SPECIAL_COMPILE_FLAGS = -- ILMBASE_VERSION = 1.0.1 -- ILMBASE_HOME = /pic1/install/usr/local -- ILMBASE_INCLUDE_AREA = /pic1/install/usr/local/include -- ILMBASE_LIBRARIES = /pic1/install/usr/local/lib/libImath.so;/pic1/install/usr/local/lib/libHalf.so;/pic1/install/usr/local/lib/libIlmThread.so;/pic1/install/usr/local/lib/libIex.so -- OPENEXR_VERSION = 1.6.1 -- OPENEXR_VERSION_DIGITS = 010601 -- OPENEXR_HOME = /pic1/install/usr/local -- OPENEXR_INCLUDE_AREA = /pic1/install/usr/local/include -- OPENEXR_LIBRARY = /pic1/install/usr/local/lib/libIlmImf.so -- Found ZLIB: /usr/lib64/libz.so -- BOOST_ROOT /pic1/install/usr/local/include/boost -- Boost found true -- Boost include dirs /pic1/install/usr/local/include -- Boost library dirs /pic1/install/usr/local/lib -- Boost libraries boost_filesystem;boost_regex;boost_system;boost_thread -- OPENGL_FOUND= USE_OPENGL= -- TBB_HOME = unknown -- TBB includes = /pic1/osl/osl/src/include -- TBB library = -- Looking for flex -- Looking for flex -- /usr/bin/flex -- Looking for bison -- Looking for bison -- /usr/bin/bison -- OPENIMAGEIOHOME = /pic1/oiio/dist/linux64 -- OpenImageIO includes = /pic1/oiio/dist/linux64/include -- OpenImageIO library = /pic1/oiio/dist/linux64/lib/libOpenImageIO.so -- OpenImageIO namespace = -- CMAKE_INSTALL_RPATH = /pic1/osl/osl/dist/linux64/lib -- FLEX_BISON flex=osllex.l bison=oslgram.y prefix=osl -- Flex include dir = /usr/include -- FLEX_BISON flex=../liboslexec/osolex.l bison=../liboslexec/osogram.y prefix=oso -- Flex include dir = /usr/include -- FLEX_BISON flex=osolex.l bison=osogram.y prefix=oso -- Flex include dir = /usr/include -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/emitter.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/glass.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/matte.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/image.osl running cmake -E copy /pic1/osl/osl/src/../LICENSE /pic1/osl/osl/build/linux64/License.txt 2>&1 running cmake -E copy /pic1/osl/osl/src/../README /pic1/osl/osl/build/linux64/Readme.txt 2>&1 -- Configuring done -- Generating done -- Build files have been written to: /pic1/osl/osl/build/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
--jono
-- You received this message because you are subscribed to the Google Groups "OSL Developers" group. To post to this group, send email to osl...@.... To unsubscribe from this group, send email to osl...@.... For more options, visit this group at http://groups.google.com/group/osl-dev?hl=en.
-- Larry Gritz l...@...
-- You received this message because you are subscribed to the Google Groups "OSL Developers" group. To post to this group, send email to osl...@.... To unsubscribe from this group, send email to osl...@.... For more options, visit this group at http://groups.google.com/group/osl-dev?hl=en.
|
|
Wowza, and I thought we had an old flex! Is there any good reason for us to "fix" this (I suppose by trying to detect these old versions?), or are you happy just keeping it as a local fix on your end? By the way, the way we handle site-specific build issues (and we have so many of them) is with some special makefile magic in site/spi/... and a couple lines in the main Makefile that checks 'uname -n' and includes the right site file. You may wish to do that on your end (in site/your_place, of course), and for that matter we'd be happy to commit it (it can't break anybody else) so you don't have to worry about constant re-merging. -- lg On Mar 31, 2010, at 5:47 PM, Jonathan Gibbs wrote: OK, I think I found it. The VERBOSE was helpful.
It's running this:
/usr/bin/flex -+ -o /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp /pic1/osl/osl/src/liboslcomp/osllex.l
And it appears in my version of flex, you cannot have a space between the "-o" and the output filename. Stated the way it is above, flex is thinking that .cpp file is an input file.
% /usr/bin/flex --version /usr/bin/flex version 2.5.4
And wow, according to flex.sourceforge.net, this version is from July 27, 1997(!), but they still have it on the front page, along with 2.5.33-2.5.35 from 2006-2008. I think Red Hat RHEL5 is stuck on this older version, and you are probably not.
Taking the space out of src/cmake/flexbison.cmake did the trick.
Thanks! --jono
On Wed, Mar 31, 2010 at 4:30 PM, Larry Gritz <l...@...> wrote:
Can you try this:
make nuke make VERBOSE=1
That ought to echo all the commands. Also, what happens when you
ls -al /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp
?
On Mar 31, 2010, at 4:07 PM, Jonathan Gibbs wrote:
Sorry for such a mundane topic here, but I'm stuck getting this to build. I got ilmbase, openexr, boost1.42 and oiio built, I believe sucessfully, and everything is found after a minor amount of hacking the cmake files (mostly because I'm not installing in the normal spots).
And, just when I was about to declare victory, the first problem I haven't a clue what to do about.
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
There's not a lot to go on, so any bits of advise will help. I may try this over again on OS X tonight.
Here's the longer output I get after running a make nuke:
% make platform=linux64, hw=x86_64 dist_dir = dist/linux64 -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Project source dir = /pic1/osl/osl/src -- Project build dir = /pic1/osl/osl/build/linux64 -- CMAKE_SYSTEM_NAME = Linux -- CMAKE_SYSTEM_VERSION = 2.6.18-164.el5 -- CMAKE_SYSTEM_PROCESSOR = x86_64 -- Unix! Linux -- platform = linux64 -- THIRD_PARTY_TOOLS_HOME = unknown -- SPECIAL_COMPILE_FLAGS = -- ILMBASE_VERSION = 1.0.1 -- ILMBASE_HOME = /pic1/install/usr/local -- ILMBASE_INCLUDE_AREA = /pic1/install/usr/local/include -- ILMBASE_LIBRARIES = /pic1/install/usr/local/lib/libImath.so;/pic1/install/usr/local/lib/libHalf.so;/pic1/install/usr/local/lib/libIlmThread.so;/pic1/install/usr/local/lib/libIex.so -- OPENEXR_VERSION = 1.6.1 -- OPENEXR_VERSION_DIGITS = 010601 -- OPENEXR_HOME = /pic1/install/usr/local -- OPENEXR_INCLUDE_AREA = /pic1/install/usr/local/include -- OPENEXR_LIBRARY = /pic1/install/usr/local/lib/libIlmImf.so -- Found ZLIB: /usr/lib64/libz.so -- BOOST_ROOT /pic1/install/usr/local/include/boost -- Boost found true -- Boost include dirs /pic1/install/usr/local/include -- Boost library dirs /pic1/install/usr/local/lib -- Boost libraries boost_filesystem;boost_regex;boost_system;boost_thread -- OPENGL_FOUND= USE_OPENGL= -- TBB_HOME = unknown -- TBB includes = /pic1/osl/osl/src/include -- TBB library = -- Looking for flex -- Looking for flex -- /usr/bin/flex -- Looking for bison -- Looking for bison -- /usr/bin/bison -- OPENIMAGEIOHOME = /pic1/oiio/dist/linux64 -- OpenImageIO includes = /pic1/oiio/dist/linux64/include -- OpenImageIO library = /pic1/oiio/dist/linux64/lib/libOpenImageIO.so -- OpenImageIO namespace = -- CMAKE_INSTALL_RPATH = /pic1/osl/osl/dist/linux64/lib -- FLEX_BISON flex=osllex.l bison=oslgram.y prefix=osl -- Flex include dir = /usr/include -- FLEX_BISON flex=../liboslexec/osolex.l bison=../liboslexec/osogram.y prefix=oso -- Flex include dir = /usr/include -- FLEX_BISON flex=osolex.l bison=osogram.y prefix=oso -- Flex include dir = /usr/include -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/emitter.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/glass.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/matte.osl -- cmd: /pic1/osl/osl/build/linux64/shaders/../oslc/oslc /pic1/osl/osl/src/shaders/image.osl running cmake -E copy /pic1/osl/osl/src/../LICENSE /pic1/osl/osl/build/linux64/License.txt 2>&1 running cmake -E copy /pic1/osl/osl/src/../README /pic1/osl/osl/build/linux64/Readme.txt 2>&1 -- Configuring done -- Generating done -- Build files have been written to: /pic1/osl/osl/build/linux64 ( cd build/linux64 ; make ) make[1]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[2]: Entering directory `/usr/pic1/osl/osl/build/linux64' make[3]: Entering directory `/usr/pic1/osl/osl/build/linux64' [ 1%] Generating osllex.cpp /usr/bin/flex: can't open /pic1/osl/osl/build/linux64/liboslcomp/osllex.cpp make[3]: *** [liboslcomp/osllex.cpp] Error 1 make[3]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[2]: *** [liboslcomp/CMakeFiles/oslcomp.dir/all] Error 2 make[2]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/pic1/osl/osl/build/linux64' make: *** [cmake] Error 2
--jono
-- You received this message because you are subscribed to the Google Groups "OSL Developers" group. To post to this group, send email to osl...@.... To unsubscribe from this group, send email to osl...@.... For more options, visit this group at http://groups.google.com/group/osl-dev?hl=en.
-- Larry Gritz l...@...
-- You received this message because you are subscribed to the Google Groups "OSL Developers" group. To post to this group, send email to osl...@.... To unsubscribe from this group, send email to osl...@.... For more options, visit this group at http://groups.google.com/group/osl-dev?hl=en.
-- You received this message because you are subscribed to the Google Groups "OSL Developers" group. To post to this group, send email to osl...@.... To unsubscribe from this group, send email to osl...@.... For more options, visit this group at http://groups.google.com/group/osl-dev?hl=en.
-- Larry Gritz l...@...
|
|
Chris Foster <chri...@...>
On Thu, Apr 1, 2010 at 1:33 PM, Larry Gritz <l...@...> wrote: Wowza, and I thought we had an old flex!
Is there any good reason for us to "fix" this (I suppose by trying to detect these old versions?), or are you happy just keeping it as a local fix on your end? The newer versions seem to allow you to omit the space between the -o and the output file name, so it should be easy to just commit the change and be backward compatible shouldn't it? ~Chris
|
|
Jonathan Gibbs <jono...@...>
The newer versions seem to allow you to omit the space between the -o and the output file name, so it should be easy to just commit the change and be backward compatible shouldn't it? There's no need to do anything for me, but I suspect others will run into this. 2.5.4 seems to be specially important if some pretty recent distros still use it, and it's still got a prominent spot on the download page. I found this bit of info from an Ubuntu site: "The behaviour of Flex has undergone a major change since version 2.5.4a; Flex scanners are now reenterant, you may have multiple scanners in the same program with differing sets of defaults, and they play nicer with modern C and C++ compilers. The Flip side is that Flex no longer conforms to the POSIX lex behaviour, and the scanners require conforming implementations when flex is used in ANSI C mode. The package flex-old provides the older behaviour." It seems some people are stuck on 2.5.4 because backwards compatibility was broken after that. The good news (for me) is I got it all working, compiled some shaders and ran them with the testshade. Given how little experience I have using cmake or getting big packages built from source on linux, I'd say it was quite easy! --jono
|
|
I'll give that a try, and if it works for the flex versions we are using, I'll make that change. -- lg On Mar 31, 2010, at 8:51 PM, Chris Foster wrote: On Thu, Apr 1, 2010 at 1:33 PM, Larry Gritz <l...@...> wrote:
Wowza, and I thought we had an old flex!
Is there any good reason for us to "fix" this (I suppose by trying to detect these old versions?), or are you happy just keeping it as a local fix on your end? The newer versions seem to allow you to omit the space between the -o and the output file name, so it should be easy to just commit the change and be backward compatible shouldn't it?
~Chris -- Larry Gritz l...@...
|
|