[panda-users] help setting-up PANDA...

Manolis Stamatogiannakis mstamat at gmail.com
Mon Dec 1 19:20:16 EST 2014


It seems that no c++ compiler is installed on your system.

Have you installed the build-essential metapackage? This should pull a c++
compiler.

Otherwise, install one manually. g++ is the default package. You may also
choose a specific-version package (e.g. g++-4.8).

Good luck,
Manolis


2014-12-01 23:43 GMT+01:00 Rick Karcich <rmkarcich at gmail.com>:

> ...need a little guidance in setting up PANDA...
>
> re: instructions from
> https://github.com/moyix/panda/blob/master/docs/compile.txt   -- for
> Ubuntu 14.04, i've successfully accomplished Step #1
>
> ??? Step #2 -- i'vd downloaded LLVM3.5 and Clang for Ubuntu 14.04 -- and
> have extracted Clang into a 'clang' dir under llvm/tools...
>
> when running the configure step, i get the following (pls see error at the
> end)...
> rick at rick-Latitude-D620:~/PANDA/llvm-3.5.0.src$ ls
> autoconf                     CMakeLists.txt   CREDITS.TXT  lib
> Makefile            projects    unittests
> bindings                     CODE_OWNERS.TXT  docs         LICENSE.TXT
> Makefile.common     README.txt  utils
> clang-tools-extra-3.5.0.src  config.log       examples     LLVMBuild.txt
> Makefile.config.in  test
> cmake                        configure        include      llvm.spec.in
> Makefile.rules      tools
> rick at rick-Latitude-D620:~/PANDA/llvm-3.5.0.src$ CC=gcc-4.7 CXX=g++-4.7
> ./configure --disable-optimized --enable-assertions --enable-debug-symbols
> --enable-debug-runtime --enable-targets=x86 && REQUIRES_RTTI=1 make -j
> $(nproc)
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc-4.7 accepts -g... yes
> checking for gcc-4.7 option to accept ISO C89... none needed
> checking whether we are using the GNU C++ compiler... no
> checking whether g++-4.7 accepts -g... no
> checking how to run the C preprocessor... gcc-4.7 -E
> checking whether GCC or Clang is our host compiler... unknown
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking type of operating system we're going to host on... Linux
> checking type of operating system we're going to target... Linux
> checking target architecture... x86
> checking optimization flags... -O3
> checking for GNU make... make
> checking whether ln -s works... yes
> checking for nm... /usr/bin/nm
> checking for cmp... /usr/bin/cmp
> checking for cp... /bin/cp
> checking for date... /bin/date
> checking for find... /usr/bin/find
> checking for grep... /bin/grep
> checking for mkdir... /bin/mkdir
> checking for mv... /bin/mv
> checking for ranlib... ranlib
> checking for ar... ar
> checking for rm... /bin/rm
> checking for sed... /bin/sed
> checking for tar... /bin/tar
> checking for pwd... /bin/pwd
> checking for dot... echo dot
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for bzip2... /bin/bzip2
> checking for cat... /bin/cat
> checking for doxygen... no
> checking for groff... /usr/bin/groff
> checking for gzip... /bin/gzip
> checking for pdfroff... no
> checking for zip... /usr/bin/zip
> checking for ocamlc... no
> checking for ocamlopt... no
> checking for ocamldep... no
> checking for ocamldoc... no
> checking for gas... no
> checking for as... /usr/bin/as
> checking for linker version... 2.24
> checking for compiler -Wl,-R<path> option... yes
> checking for compiler -rdynamic option... yes
> checking for compiler -Wl,--version-script option... yes
> checking for grep that handles long lines and -e... (cached) /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking tool compatibility... configure: error: g++|clang++|icc required
> but not found
> rick at rick-Latitude-D620:~/PANDA/llvm-3.5.0.src$
>
>
>
> On Tue, Nov 25, 2014 at 11:02 AM, Rick Karcich <rmkarcich at gmail.com>
> wrote:
>
>> re: instructions from
>> https://github.com/moyix/panda/blob/master/docs/compile.txt
>>
>> my config
>> rick at rick-Latitude-D620:~/PANDA$ uname -a
>> Linux rick-Latitude-D620
>>
>> *3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686
>> i686 GNU/Linux*
>> 1) i'm able to run < sudo apt-get update && sudo apt-get dist-upgrade > *without
>> error.*..  i've attached my sources.list
>>
>> 2) following steps in compile.txt(install guide) show the following:
>> rick at rick-Latitude-D620:/etc/apt$ *sudo apt-get install build-essential*
>> [sudo] password for rick:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Package build-essential is not available, but is referred to by another
>> package.
>> This may mean that the package is missing, has been obsoleted, or
>> is only available from another source
>>
>> E: *Package 'build-essential' has no installation candidate*
>> rick at rick-Latitude-D620:/etc/apt$ *sudo apt-get build-dep qemu*
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: *Unable to find a source package for qemu*
>> rick at rick-Latitude-D620:/etc/apt$ *sudo apt-get install nasm*
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E:* Unable to locate package nasm*
>> rick at rick-Latitude-D620:/etc/apt$ *sudo apt-get install libssl-dev*
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies:
>>  libssl-dev : Depends: zlib1g-dev but it is not installable
>>               Recommends: libssl-doc but it is not going to be installed
>> E: *Unable to correct problems, you have held broken packages.*
>> rick at rick-Latitude-D620:/etc/apt$
>>
>> *Please let me know how to fix this ...*
>>
>> Thx very much!
>>
>>
>
> _______________________________________________
> panda-users mailing list
> panda-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/panda-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/panda-users/attachments/20141202/e3eb2009/attachment-0001.htm


More information about the panda-users mailing list