Re: Problem building OCIO Nuke component


natha...@...
 

Are you running make with parallel jobs enabled (e.g. "make -j 4")? If so, the real error is likely buried further back in the build output.


On Wednesday, May 22, 2013 9:15:58 PM UTC-7, dje...@... wrote:
Hi,
I'm having trouble building OCIO Nuke component.

cmake doesn't throw errors (apart for truelight, but I'm not building for it)

But when I make, the process stops and I get this error (here's part of the log and the error in red at the end:

.....
libtool: install: /usr/bin/install -c .libs/liblcms2.lai /tmp/ociobuild/ext/dist/lib/liblcms2.la
libtool: install: /usr/bin/install -c .libs/liblcms2.a /tmp/ociobuild/ext/dist/lib/liblcms2.a
libtool: install: chmod 644 /tmp/ociobuild/ext/dist/lib/liblcms2.a
libtool: install: ranlib /tmp/ociobuild/ext/dist/lib/liblcms2.a
libtool: finish: PATH="/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ck/bin:/sbin" ldconfig -n /tmp/ociobuild/ext/dist/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/ociobuild/ext/dist/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Making install in include
 /usr/bin/install -c -m 644 'lcms2.h' '/tmp/ociobuild/ext/dist/include/lcms2.h'
 /usr/bin/install -c -m 644 'lcms2_plugin.h' '/tmp/ociobuild/ext/dist/include/lcms2_plugin.h'
Making install in utils/tificc
 /usr/bin/install -c -m 644 './tificc.1' '/tmp/ociobuild/ext/dist/share/man/man1/tificc.1'
Making install in utils/transicc
  /bin/sh ../../libtool --mode=install /usr/bin/install -c 'transicc' '/tmp/ociobuild/ext/dist/bin/transicc'
libtool: install: /usr/bin/install -c .libs/transicc /tmp/ociobuild/ext/dist/bin/transicc
Making install in utils/linkicc
  /bin/sh ../../libtool --mode=install /usr/bin/install -c 'linkicc' '/tmp/ociobuild/ext/dist/bin/linkicc'
libtool: install: /usr/bin/install -c .libs/linkicc /tmp/ociobuild/ext/dist/bin/linkicc
Making install in utils/jpgicc
 /usr/bin/install -c -m 644 './jpgicc.1' '/tmp/ociobuild/ext/dist/share/man/man1/jpgicc.1'
Making install in utils/psicc
  /bin/sh ../../libtool --mode=install /usr/bin/install -c 'psicc' '/tmp/ociobuild/ext/dist/bin/psicc'
libtool: install: /usr/bin/install -c .libs/psicc /tmp/ociobuild/ext/dist/bin/psicc
Making install in testbed
 /usr/bin/install -c -m 644 'lcms2.pc' '/tmp/ociobuild/ext/dist/lib/pkgconfig/lcms2.pc'
[ 84%] Completed 'LCMS'
[ 84%] Built target LCMS
make: *** [all] Error 2

Anyone know what's going on?

Building OCIO alone (cmake -D CMAKE_INSTALL_PREFIX=/software/ocio /home/ck/Documents/imageworks-OpenColorIO-8883824/) completes, but it's when I add the Nuke argument (NUKE_INSTALL_PATH=<my nuke path>) that I get the error message above.

Please help! Thanks in advance,
Cheers 

Join ocio-dev@lists.aswf.io to automatically receive all group messages.