<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Il 30/09/2012 19:13, Dimitar Dobrev ha
      scritto:<br>
    </div>
    <blockquote
      cite="mid:1349025208.88474.YahooMailNeo@web122401.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">Hi, Antonio,<br>
        <br>
        libcppparser.so is one of the libraries created by smokegen. If
        it's missing, there's something wrong with smokegen. Check if
        you have libcppparser.so in /home/antonio/qyoto/lib. If so, make
        sure you have permission to read it (I've always build Qyoto
        with admin privileges so this may be the problem with your
        setup). If not, check if you have something like
        libcppparser2.so or libcppparser.so.2, etc, and if so, create a
        link named libcppparser.so and try again. Else please post here
        what you get in the console after you make install smokegen.<br>
      </div>
    </blockquote>
    <br>
    Hello Dimitar, thank you for answer!<br>
    <br>
    libcppparser.so is in lib/ folder and I have permission to read:<br>
    <br>
        -rw-r--r-- 1 root    root    660646 set 30 19:37 libcppparser.so<br>
    <br>
    After make install:<br>
    <br>
        antonio@belldell:~/qyoto/smokegen/build$ make install<br>
        [ 61%] Built target cppparser<br>
        [ 80%] Built target smokegen<br>
        [ 90%] Built target generator_smoke<br>
        [ 92%] Built target generator_dump<br>
        [ 95%] Built target smokebase<br>
        [ 97%] Built target smokeapi<br>
        [100%] Built target smokedeptool<br>
        Install the project...<br>
        -- Install configuration: ""<br>
        -- Installing: /home/antonio/qyoto/bin/smokegen<br>
        -- Removed runtime path from "/home/antonio/qyoto/bin/smokegen"<br>
        -- Installing:
    /home/antonio/qyoto/include/smokegen/generatorenvironment.h<br>
        -- Installing:
    /home/antonio/qyoto/include/smokegen/generator_export.h<br>
        -- Installing:
    /home/antonio/qyoto/include/smokegen/generatorpreprocessor.h<br>
        -- Installing:
    /home/antonio/qyoto/include/smokegen/generatorvisitor.h<br>
        -- Installing:
    /home/antonio/qyoto/include/smokegen/name_compiler.h<br>
        -- Installing: /home/antonio/qyoto/include/smokegen/options.h<br>
        -- Installing:
    /home/antonio/qyoto/include/smokegen/type_compiler.h<br>
        -- Installing: /home/antonio/qyoto/include/smokegen/type.h<br>
        -- Installing: /home/antonio/qyoto/include/smoke.h<br>
        -- Installing: /home/antonio/qyoto/share/smokegen/string.h<br>
        -- Installing: /home/antonio/qyoto/lib/libcppparser.so<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/SmokeConfig.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/FindLibraryWithDebug.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/FindPhonon.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/FindQImageBlitz.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/FindQScintilla.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/FindQwt5.cmake<br>
        -- Installing:
/home/antonio/qyoto/share/smoke/cmake/HandleImportedTargetsInCMakeRequiredLibraries.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/MacroLogFeature.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/MacroOptionalAddBindings.cmake<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/MacroOptionalFindPackage.cmake<br>
        -- Installing:
    /home/antonio/qyoto/lib/smokegen/generator_smoke.so<br>
        -- Installing:
    /home/antonio/qyoto/lib/smokegen/generator_dump.so<br>
        -- Installing: /home/antonio/qyoto/bin/smokeapi<br>
        -- Removed runtime path from "/home/antonio/qyoto/bin/smokeapi"<br>
        -- Installing: /home/antonio/qyoto/lib/libsmokebase.so.3.0.0<br>
        -- Installing: /home/antonio/qyoto/lib/libsmokebase.so.3<br>
        -- Installing: /home/antonio/qyoto/lib/libsmokebase.so<br>
        -- Installing:
    /home/antonio/qyoto/share/smoke/cmake/SmokeVersionConfig.cmake<br>
        antonio@belldell:~/qyoto/smokegen/build$ <br>
    <br>
    <br>
    Even if I build everything as root without setting
    CMAKE_INSTALL_PREFIX, the same error occurs:<br>
    <br>
        antonio@belldell:~/qyoto$ sudo su<br>
        [sudo] password for antonio: <br>
        root@belldell:/home/antonio/qyoto#<br>
        ............<br>
        root@belldell:/home/antonio/qyoto/smokegen/build# make install<br>
        [ 61%] Built target cppparser<br>
        [ 80%] Built target smokegen<br>
        [ 90%] Built target generator_smoke<br>
        [ 92%] Built target generator_dump<br>
        [ 95%] Built target smokebase<br>
        [ 97%] Built target smokeapi<br>
        [100%] Built target smokedeptool<br>
        Install the project...<br>
        -- Install configuration: ""<br>
        -- Installing: /usr/local/bin/smokegen<br>
        -- Removed runtime path from "/usr/local/bin/smokegen"<br>
        -- Installing:
    /usr/local/include/smokegen/generatorenvironment.h<br>
        -- Installing: /usr/local/include/smokegen/generator_export.h<br>
        -- Installing:
    /usr/local/include/smokegen/generatorpreprocessor.h<br>
        -- Installing: /usr/local/include/smokegen/generatorvisitor.h<br>
        -- Installing: /usr/local/include/smokegen/name_compiler.h<br>
        -- Installing: /usr/local/include/smokegen/options.h<br>
        -- Installing: /usr/local/include/smokegen/type_compiler.h<br>
        -- Installing: /usr/local/include/smokegen/type.h<br>
        -- Installing: /usr/local/include/smoke.h<br>
        -- Installing: /usr/local/share/smokegen/string.h<br>
        -- Installing: /usr/local/lib/libcppparser.so<br>
        -- Installing: /usr/local/share/smoke/cmake/SmokeConfig.cmake<br>
        -- Installing:
    /usr/local/share/smoke/cmake/FindLibraryWithDebug.cmake<br>
        -- Installing: /usr/local/share/smoke/cmake/FindPhonon.cmake<br>
        -- Installing:
    /usr/local/share/smoke/cmake/FindQImageBlitz.cmake<br>
        -- Installing: /usr/local/share/smoke/cmake/FindQScintilla.cmake<br>
        -- Installing: /usr/local/share/smoke/cmake/FindQwt5.cmake<br>
        -- Installing:
/usr/local/share/smoke/cmake/HandleImportedTargetsInCMakeRequiredLibraries.cmake<br>
        -- Installing:
    /usr/local/share/smoke/cmake/MacroLogFeature.cmake<br>
        -- Installing:
    /usr/local/share/smoke/cmake/MacroOptionalAddBindings.cmake<br>
        -- Installing:
    /usr/local/share/smoke/cmake/MacroOptionalFindPackage.cmake<br>
        -- Installing: /usr/local/lib/smokegen/generator_smoke.so<br>
        -- Installing: /usr/local/lib/smokegen/generator_dump.so<br>
        -- Installing: /usr/local/bin/smokeapi<br>
        -- Removed runtime path from "/usr/local/bin/smokeapi"<br>
        -- Installing: /usr/local/lib/libsmokebase.so.3.0.0<br>
        -- Installing: /usr/local/lib/libsmokebase.so.3<br>
        -- Installing: /usr/local/lib/libsmokebase.so<br>
        -- Installing:
    /usr/local/share/smoke/cmake/SmokeVersionConfig.cmake<br>
        # now smokeqt:<br>
        ........<br>
        root@belldell:/home/antonio/qyoto/smokeqt/build# make<br>
        [  0%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp,
    x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp,
    x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp,
    x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp<br>
        /usr/local/bin/smokegen: error while loading shared libraries:
    libcppparser.so: cannot open shared object file: No such file or
    directory<br>
        make[2]: *** [qtcore/smokedata.cpp] Errore 127<br>
        make[1]: *** [qtcore/CMakeFiles/smokeqtcore.dir/all] Errore 2<br>
        make: *** [all] Errore 2<br>
        root@belldell:/home/antonio/qyoto/smokeqt/build# <br>
    <br>
    <br>
    Permissions:<br>
    <br>
        root@belldell:/usr/local/lib# ll<br>
        totale 692<br>
        drwxr-xr-x  6 root   root      4096 set 30 19:56 ./<br>
        drwxr-xr-x 13 root   root      4096 set 10 19:01 ../<br>
        -rw-r--r--  1 root   root    660646 set 30 19:56 libcppparser.so<br>
        lrwxrwxrwx  1 root   root        17 set 30 19:56 libsmokebase.so
    -> libsmokebase.so.3<br>
        lrwxrwxrwx  1 root   root        21 set 30 19:56
    libsmokebase.so.3 -> libsmokebase.so.3.0.0<br>
        -rw-r--r--  1 root   root     20090 set 30 19:56
    libsmokebase.so.3.0.0<br>
        drwxr-xr-x  2 root   root      4096 set 30 19:56 smokegen/<br>
    <br>
    <br>
    Thank you again!<br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>