HI Valery,

There are couple of things going on here.  First up the mention
/usrib64 is a bug in some new install path helper message, I've fixed
this particular error by adding a / into the message so that it'll
appear /usr/local/lib64 or /usr/lib64.  A second change I made is to
make the reporting of this message so hopefully reads a bit more
naturally:

The build system is configured to instal libraries to /usr/local/lib64
Your applications may not be able to find your installed libraries unless you:
    set your LD_LIBRARY_PATH (user specific) or
    update your ld.so configuration (system wide)
You have an ld.so.conf.d directory on your system, so if you wish to ensure that
applications find the installed osg libraries, system wide, you could install a
openscenegraph specific ld.so configuration with:
    sudo make install_ld_conf

I also made this message only appear if the the
CMAKE_INSTALL_PREFIX==/usr/local and only on the first run of cmake so
it doesn't nag you when not required.  We need to further refine the
logic about when to report the message, but for now it should at least
be a step in the right direction.  In you case it shouldn't emit this
message at all as it's unnecessary.

The second error you are reporting looks to be a QT install specific
issue.  Which linux distro are you using?  Which version of QT is
installed? Which version of cmake are you using? Could you go into
ccmake . to review the QT related variables to see what it has and has
not found.

Cheers,
Robert.


On Thu, Jan 29, 2009 at 10:10 AM, Valery A. Bickov
<[email protected]> wrote:
> Hi.
>
> I'm trying to build last version of OSG from svn on amd64 linux:
>
> cd trunk
> mkdir build
> cd build
> cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
>
> <a lot of output>
> -- checking for module 'xrandr'
> --   found xrandr, version 1.2.2
> You will be installing libraries to /usrlib64
> Your loader may not be able to find your installed libraries unless you:
>  set your LD_LIBRARY_PATH (user specific)
>  update your ld.so configuration (system wide)
> You have an ld.so.conf file in /etc
> You may need to add /usrlib64 to it.
> -- Configuring done
> -- Generating done
> -- Build files have been written
>
> Why it wants install to /usrlib64???
>
> And else one problem:
> cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
> -DBUILD_OSG_EXAMPLES:BOOL=ON
>
> <a lot of output>
> You will be installing libraries to /usrlib64
> Your loader may not be able to find your installed libraries unless you:
>  set your LD_LIBRARY_PATH (user specific)
>  update your ld.so configuration (system wide)
> You have an ld.so.conf file in /etc
> You may need to add /usrlib64 to it.
> CMake Error: The following variables are used in this project, but they
> are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the
> CMake files:
> QT_QTOPENGL_LIBRARY_RELEASE (ADVANCED)
>    linked by target "example_osgviewerQT" in
> directory 
> /var/tmp/portage/media-gfx/openscenegraph-9999/work/openscenegraph-9999/examples/osgviewerQT
>
> -- Configuring incomplete, errors occurred!
>
> Best regards,
> Valery
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to