<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Sylvestre,<br>
    <br>
    thanks for your effort.<br>
    I'm struggling with the new version and I don't know what is wrong.<br>
    <br>
    First, I removed all old packages and installed the new packages:<br>
    <br>
    $ sudo aptitude install clang-3.4 clang-3.4-doc
    libclang-common-3.4-dev libclang-3.4-dev libclang1-3.4
    libclang1-3.4-dbg libllvm-3.4-ocaml-dev libllvm3.4 libllvm3.4-dbg
    lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc llvm-3.4-examples
    llvm-3.4-runtime<br>
    The following NEW packages will be installed:<br>
      clang-3.4 clang-3.4-doc libclang-3.4-dev libclang-common-3.4-dev
    libclang1-3.4 libclang1-3.4-dbg libllvm-3.4-ocaml-dev libllvm3.4
    libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc <br>
      llvm-3.4-examples llvm-3.4-runtime <br>
    0 packages upgraded, 15 newly installed, 0 to remove and 0 not
    upgraded.<br>
    Need to get 173 MB of archives. After unpacking 284 MB will be used.<br>
    Get: 1 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    libllvm3.4 amd64 1:3.4~svn183093-1~exp1 [8,947 kB]<br>
    Get: 2 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    lldb-3.4 amd64 1:3.4~svn183093-1~exp1 [8,175
    kB]                                                                                             
    <br>
    Get: 3 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    libclang-common-3.4-dev amd64 1:3.4~svn183093-1~exp1 [6,804
    B]                                                                               
    <br>
    Get: 4 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    libclang1-3.4 amd64 1:3.4~svn183093-1~exp1 [6,710
    B]                                                                                         
    <br>
    Get: 5 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    clang-3.4 amd64 1:3.4~svn183093-1~exp1 [10.9
    MB]                                                                                             
    <br>
    Get: 6 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    clang-3.4-doc all 1:3.4~svn183093-1~exp1 [692
    kB]                                                                                            
    <br>
    Get: 7 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    libclang-3.4-dev amd64 1:3.4~svn183093-1~exp1 [6,774
    B]                                                                                      
    <br>
    Get: 8 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    llvm-3.4-runtime amd64 1:3.4~svn183093-1~exp1 [39.3
    kB]                                                                                      
    <br>
    Get: 9 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    llvm-3.4 amd64 1:3.4~svn183093-1~exp1 [1,552
    kB]                                                                                             
    <br>
    Get: 10 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    llvm-3.4-dev amd64 1:3.4~svn183093-1~exp1 [16.1
    MB]                                                                                         
    <br>
    Get: 11 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    libllvm-3.4-ocaml-dev amd64 1:3.4~svn183093-1~exp1 [268
    kB]                                                                                 
    <br>
    Get: 12 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    llvm-3.4-doc all 1:3.4~svn183093-1~exp1 [1,756
    kB]                                                                                          
    <br>
    Get: 13 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    llvm-3.4-examples all 1:3.4~svn183093-1~exp1 [106
    kB]                                                                                       
    <br>
    Get: 14 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    libclang1-3.4-dbg amd64 1:3.4~svn183093-1~exp1 [6,726
    B]                                                                                    
    <br>
    Get: 15 <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy/main
    libllvm3.4-dbg amd64 1:3.4~svn183093-1~exp1 [124
    MB]                                                                                        
    <br>
    Fetched 173 MB in 2min 17s (1,255
    kB/s)                                                                                                                                                                    
    <br>
    Selecting previously unselected package libllvm3.4:amd64.<br>
    (Reading database ... 352410 files and directories currently
    installed.)<br>
    Unpacking libllvm3.4:amd64 (from
    .../libllvm3.4_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Unpacking lldb-3.4 (from
    .../lldb-3.4_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    <b>dpkg: error processing
      /var/cache/apt/archives/lldb-3.4_1%3a3.4~svn183093-1~exp1_amd64.deb
      (--unpack):</b><br>
     trying to overwrite '/usr/lib/x86_64-linux-gnu/liblldb.so.1', which
    is also in package lldb-3.3 1:3.3~svn181334-1~exp1<br>
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)<br>
    Selecting previously unselected package libclang-common-3.4-dev.<br>
    Unpacking libclang-common-3.4-dev (from
    .../libclang-common-3.4-dev_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package libclang1-3.4.<br>
    Unpacking libclang1-3.4 (from
    .../libclang1-3.4_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package clang-3.4.<br>
    Unpacking clang-3.4 (from
    .../clang-3.4_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package clang-3.4-doc.<br>
    Unpacking clang-3.4-doc (from
    .../clang-3.4-doc_1%3a3.4~svn183093-1~exp1_all.deb) ...<br>
    Selecting previously unselected package libclang-3.4-dev.<br>
    Unpacking libclang-3.4-dev (from
    .../libclang-3.4-dev_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package llvm-3.4-runtime.<br>
    Unpacking llvm-3.4-runtime (from
    .../llvm-3.4-runtime_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package llvm-3.4.<br>
    Unpacking llvm-3.4 (from
    .../llvm-3.4_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package llvm-3.4-dev.<br>
    Unpacking llvm-3.4-dev (from
    .../llvm-3.4-dev_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package libllvm-3.4-ocaml-dev.<br>
    Unpacking libllvm-3.4-ocaml-dev (from
    .../libllvm-3.4-ocaml-dev_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package llvm-3.4-doc.<br>
    Unpacking llvm-3.4-doc (from
    .../llvm-3.4-doc_1%3a3.4~svn183093-1~exp1_all.deb) ...<br>
    Selecting previously unselected package llvm-3.4-examples.<br>
    Unpacking llvm-3.4-examples (from
    .../llvm-3.4-examples_1%3a3.4~svn183093-1~exp1_all.deb) ...<br>
    Selecting previously unselected package libclang1-3.4-dbg.<br>
    Unpacking libclang1-3.4-dbg (from
    .../libclang1-3.4-dbg_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Selecting previously unselected package libllvm3.4-dbg:amd64.<br>
    Unpacking libllvm3.4-dbg:amd64 (from
    .../libllvm3.4-dbg_1%3a3.4~svn183093-1~exp1_amd64.deb) ...<br>
    Processing triggers for man-db ...<br>
    <b>Errors were encountered while processing:</b><br>
     /var/cache/apt/archives/lldb-3.4_1%3a3.4~svn183093-1~exp1_amd64.deb<br>
    E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
    A package failed to install.  Trying to recover:<br>
    Setting up libllvm3.4:amd64 (1:3.4~svn183093-1~exp1) ...<br>
    Setting up libllvm3.4-dbg:amd64 (1:3.4~svn183093-1~exp1) ...<br>
    Setting up llvm-3.4-doc (1:3.4~svn183093-1~exp1) ...<br>
    Setting up llvm-3.4-runtime (1:3.4~svn183093-1~exp1) ...<br>
    Setting up clang-3.4-doc (1:3.4~svn183093-1~exp1) ...<br>
    Setting up libclang-common-3.4-dev (1:3.4~svn183093-1~exp1) ...<br>
    Setting up libclang1-3.4 (1:3.4~svn183093-1~exp1) ...<br>
    Setting up clang-3.4 (1:3.4~svn183093-1~exp1) ...<br>
    Setting up llvm-3.4 (1:3.4~svn183093-1~exp1) ...<br>
    Setting up libclang-3.4-dev (1:3.4~svn183093-1~exp1) ...<br>
    Setting up llvm-3.4-dev (1:3.4~svn183093-1~exp1) ...<br>
    Setting up llvm-3.4-examples (1:3.4~svn183093-1~exp1) ...<br>
    Setting up libclang1-3.4-dbg (1:3.4~svn183093-1~exp1) ...<br>
    Setting up libllvm-3.4-ocaml-dev (1:3.4~svn183093-1~exp1) ...<br>
    <br>
    <br>
    Afterwards, I tried to compile a simple program and received the
    following error:<br>
    <br>
    clang++ main.cpp <br>
    In file included from main.cpp:1:<br>
    In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/iostream:40:<br>
    In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/ostream:40:<br>
    In file included from
    /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/ios:39:<br>
    In file included from
    /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/iosfwd:42:<br>
    In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/postypes.h:42:<br>
    In file included from
    /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/cwchar:46:<br>
    /usr/include/wchar.h:40:11: fatal error: 'stdarg.h' file not found<br>
    # include <stdarg.h><br>
              ^<br>
    1 error generated.<br>
    <br>
    It is possible that the new clang version requires one more package
    dependence?<br>
    Sorry, for all the trouble.<br>
    <br>
    <br>
    Cheers!<br>
    <br>
    Tim<br>
    <br>
    On 06/03/2013 09:50 AM, Sylvestre Ledru wrote:
    <blockquote cite="mid:51AC4AD7.3040500@debian.org" type="cite">
      <pre wrap="">Hello Tim,

You are right. I renamed some packages to improve the coinstallation of
various version of clang (it is not fixed but close).
I updated <a class="moz-txt-link-freetext" href="http://llvm.org/apt/">http://llvm.org/apt/</a>
This command should work

apt-get install clang-3.4 clang-3.4-doc libclang-common-3.4-dev
libclang-3.4-dev libclang1-3.4 libclang1-3.4-dbg libllvm-3.4-ocaml-dev
libllvm3.4 libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc
llvm-3.4-examples llvm-3.4-runtime

Thanks for the feedback.
Sylvestre


Le 02/06/2013 20:29, Tim Schmidt a écrit :
</pre>
      <blockquote type="cite">
        <pre wrap="">Hey Sylvestre,

thanks for your fast answer. Unfortunately, two dependencies cannot be
solved:

+++++++++++++++++++++++++++++++++++++++++++++++++++
$ sudo aptitude install clang-3.4 clang-3.4-doc libclang-common-dev
libclang-dev libclang1 libclang1-dbg libllvm-3.4-ocaml-dev libllvm3.4
libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc
llvm-3.4-examples llvm-3.4-runtime
The following NEW packages will be installed:
  libclang-common-dev{b} libclang-dev lldb-3.4
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.7 MB/20.8 MB of archives. After unpacking 78.7 MB will
be used.
The following packages have unmet dependencies:
 libclang-common-dev : Depends: libllvm3.4 (= 1:3.4~svn182723-1~exp1)
but 1:3.4~svn183083-1~exp1 is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libclang-common-dev [Not Installed]
2)     libclang-dev [Not Installed]



Accept this solution? [Y/n/q/?]
+++++++++++++++++++++++++++++++++++++++++++++++++++

Can I fix this by myself?

Tim


On 06/02/2013 08:03 PM, Sylvestre Ledru wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 02/06/2013 18:15, Tim Schmidt wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Good evening,

I tried to install the current version of clang-3.3 from:

deb <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy main
deb-src <a class="moz-txt-link-freetext" href="http://llvm.org/apt/wheezy/">http://llvm.org/apt/wheezy/</a> llvm-toolchain-wheezy main

</pre>
          </blockquote>
          <pre wrap="">Please try with clang-3.4 instead of 3.3.

Sylvestre


</pre>
        </blockquote>
        <pre wrap="">
</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>