Hello Bernhard and Idan.
Thank you very much for your great help.
It seems that my error is different from Ahmad.
I report the compilings error and corresponding Linux commands.
I use cmake to compile FreeRDP and get the following error.
***************************************************************************
$sudo cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON
-DCMAKE_INSTALL_PREFIX:PATH=/usr .
-- The C compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.
Please set CMAKE_C_COMPILER to a valid compiler path or name.
fatal: Not a git repository (or any parent up to mount parent )
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- FreeRDP GIT
-- checking for module 'openssl'
-- package 'openssl' not found
CMake Error at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES) (found
version "1..1")
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindOpenSSL.cmake:234
(find_package_handle_standard_args)
cmake/FindOptionalPackage.cmake:27 (find_package)
CMakeLists.txt:102 (find_required_package)
-- Configuring incomplete, errors occurred!
***************************************************************************
Before I use cmake to compile FreeRDP, I perform the following operation and
get the error as follows.
***************************************************************************
$sudo apt-get install build-essential libboost-all-dev subversion
subversion-tools git-core libapache2-svn autoconf libtool cmake libssl-dev
libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev libxv-dev
libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev libxrandr-dev
libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libavutil-dev
libavcodec-dev libpng12-dev
[sudo] password for inbay:
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version.
git-core is already the newest version.
cmake is already the newest version.
libxml2 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: gcc (>= 4:4.4.3) but it is not going to be installed
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be
installed
libapache2-svn : Depends: apache2.2-common but it is not going to be installed
Depends: libsvn1 (>= 1.6) but it is not going to be installed
Conflicts: libapache2-svn:i386 but 1.6.17dfsg-3ubuntu3.3 is
to be installed
libapache2-svn:i386 : Depends: apache2.2-common:i386 but it is not going to be
installed
Depends: libsvn1:i386 (>= 1.6) but it is not going to be
installed
Conflicts: libapache2-svn but 1.6.17dfsg-3ubuntu3.3 is
to be installed
libasound2-dev : Depends: libc6-dev but it is not going to be installed or
libc-dev
Conflicts: libasound2-dev:i386
libasound2-dev:i386 : Conflicts: libasound2-dev
libavcodec-dev : Depends: libavcodec53 (<= 4:0.8.10-99) but it is not going to
be installed or
libavcodec-extra-53 (<= 4:0.8.10.99) but it is not
going to be installed
Depends: libavcodec53 (>= 4:0.8.10-0ubuntu0.12.04.1) but it
is not going to be installed or
libavcodec-extra-53 (>= 4:0.8.10) but it is not
going to be installed
Conflicts: libavcodec-dev:i386 but 4:0.8.10-0ubuntu0.12.04.1
is to be installed
libavcodec-dev:i386 : Conflicts: libavcodec-dev but 4:0.8.10-0ubuntu0.12.04.1
is to be installed
libavutil-dev : Depends: libavutil51 (<= 4:0.8.10-99) but it is not going to
be installed or
libavutil-extra-51 (<= 4:0.8.10.99) but it is not
going to be installed
Depends: libavutil51 (>= 4:0.8.10-0ubuntu0.12.04.1) but it is
not going to be installed or
libavutil-extra-51 (>= 4:0.8.10) but it is not going
to be installed
Conflicts: libavutil-dev:i386 but 4:0.8.10-0ubuntu0.12.04.1 is
to be installed
libavutil-dev:i386 : Conflicts: libavutil-dev but 4:0.8.10-0ubuntu0.12.04.1 is
to be installed
libboost-all-dev : Depends: libboost-dev but it is not going to be installed
Depends: libboost-date-time-dev but it is not going to be
installed
Depends: libboost-filesystem-dev but it is not going to be
installed
Depends: libboost-graph-dev but it is not going to be
installed
Depends: libboost-graph-parallel-dev but it is not going to
be installed
Depends: libboost-iostreams-dev but it is not going to be
installed
Depends: libboost-math-dev but it is not going to be
installed
Depends: libboost-mpi-dev but it is not going to be
installed
Depends: libboost-mpi-python-dev but it is not going to be
installed
Depends: libboost-program-options-dev but it is not going
to be installed
Depends: libboost-python-dev but it is not going to be
installed
Depends: libboost-regex-dev but it is not going to be
installed
Depends: libboost-serialization-dev but it is not going to
be installed
Depends: libboost-signals-dev but it is not going to be
installed
Depends: libboost-system-dev but it is not going to be
installed
Depends: libboost-test-dev but it is not going to be
installed
Depends: libboost-thread-dev but it is not going to be
installed
Depends: libboost-wave-dev but it is not going to be
installed
libcups2-dev : Depends: libgnutls-dev but it is not going to be installed
Depends: libkrb5-dev but it is not going to be installed
Conflicts: libcups2-dev:i386 but 1.5.3-0ubuntu8 is to be
installed
libcups2-dev:i386 : Conflicts: libcups2-dev but 1.5.3-0ubuntu8 is to be
installed
libgstreamer-plugins-base0.10-dev : Depends: libgstreamer-plugins-base0.10-0
(= 0.10.36-1ubuntu0.1) but it is not going to be installed
Depends: libc6-dev but it is not going to
be installed or
libc-dev
Depends: libglib2.0-dev but it is not
going to be installed
Depends: gir1.2-gst-plugins-base-0.10 (=
0.10.36-1ubuntu0.1) but it is not going to be installed
Conflicts:
libgstreamer-plugins-base0.10-dev:i386 but 0.10.36-1ubuntu0.1 is to be installed
libgstreamer-plugins-base0.10-dev:i386 : Conflicts:
libgstreamer-plugins-base0.10-dev but 0.10.36-1ubuntu0.1 is to be installed
libgstreamer0.10-dev : Depends: libgstreamer0.10-0 (= 0.10.36-1ubuntu1) but it
is not going to be installed
Depends: libc6-dev but it is not going to be installed
or
libc-dev
Depends: libglib2.0-dev but it is not going to be
installed
Depends: gir1.2-gstreamer-0.10 (= 0.10.36-1ubuntu1) but
it is not going to be installed
Recommends: debhelper but it is not going to be
installed
Conflicts: libgstreamer0.10-dev:i386 but
0.10.36-1ubuntu1 is to be installed
libgstreamer0.10-dev:i386 : Recommends: debhelper:i386
Conflicts: libgstreamer0.10-dev but
0.10.36-1ubuntu1 is to be installed
libpng12-dev : Depends: zlib1g-dev but it is not going to be installed
Conflicts: libpng12-dev:i386 but 1.2.46-3ubuntu4 is to be
installed
libpng12-dev:i386 : Conflicts: libpng12-dev but 1.2.46-3ubuntu4 is to be
installed
libssl-dev : Depends: zlib1g-dev but it is not going to be installed
Recommends: libssl-doc but it is not going to be installed
Conflicts: libssl-dev:i386 but 1.0.1-4ubuntu5.11 is to be
installed
libssl-dev:i386 : Recommends: libssl-doc:i386 but it is not installable
Conflicts: libssl-dev but 1.0.1-4ubuntu5.11 is to be
installed
libtool : Depends: gcc but it is not going to be installed or
c-compiler
Depends: cpp but it is not going to be installed
Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: file but it is not going to be installed
Recommends: libltdl-dev but it is not going to be installed
libx11-dev : Depends: libxau-dev (>= 1:1.0.0-1) but it is not going to be
installed
Depends: libxdmcp-dev (>= 1:1.0.0-1) but it is not going to be
installed
Depends: libxcb1-dev but it is not going to be installed
Recommends: libx11-doc but it is not going to be installed
libxcursor-dev : Depends: libxrender-dev but it is not going to be installed
Depends: libxfixes-dev but it is not going to be installed
Conflicts: libxcursor-dev:i386 but 1:1.1.12-1ubuntu0.1 is to
be installed
libxcursor-dev:i386 : Conflicts: libxcursor-dev but 1:1.1.12-1ubuntu0.1 is to
be installed
libxdamage-dev : Depends: libxfixes-dev but it is not going to be installed
Conflicts: libxdamage-dev:i386 but 1:1.1.3-2build1 is to be
installed
libxdamage-dev:i386 : Conflicts: libxdamage-dev but 1:1.1.3-2build1 is to be
installed
libxext-dev : Conflicts: libxext-dev:i386 but 2:1.3.0-3ubuntu0.1 is to be
installed
libxext-dev:i386 : Conflicts: libxext-dev but 2:1.3.0-3ubuntu0.1 is to be
installed
libxinerama-dev : Conflicts: libxinerama-dev:i386 but 2:1.1.1-3ubuntu0.1 is to
be installed
libxinerama-dev:i386 : Conflicts: libxinerama-dev but 2:1.1.1-3ubuntu0.1 is to
be installed
libxkbfile-dev : Depends: libxkbfile1 (= 1:1.0.7-1ubuntu0.1) but it is not
going to be installed
libxrandr-dev : Depends: libxrender-dev but it is not going to be installed
Conflicts: libxrandr-dev:i386
libxrandr-dev:i386 : Conflicts: libxrandr-dev
libxv-dev : Depends: libxv1 (= 2:1.0.6-2ubuntu0.1) but it is not going to be
installed
subversion : Depends: libsvn1 (= 1.6.17dfsg-3ubuntu3.3) but it is not going to
be installed
Depends: libapr1 (>= 1.2.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
solution).
***************************************************************************
Please Note that I perform the above installation (apt-get install) and cmake
Successfully under Ubuntu 12.04.2 LTS (ubuntu-12.04.2-server-i386.iso released
in 14-Feb-2013 the following official website of Ubuntu). No any error was
reported.
http://old-releases.ubuntu.com/releases/12.04.1/
Thank you.
Best regards,
Yang Hong
> Date: Sun, 9 Mar 2014 12:24:39 +0100
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [Freerdp-devel] xfreerdp version 1.1
>
> Hi,
>
> On Sat, Mar 08, 2014 at 09:52:25PM -0400, Yang Hong wrote:
> > It seems that I also got the same error message as Ahmad,
> >
> > CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not
> > found.
> >
> > Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
> where did you get this error message on one of the systems you describe
> below?
>
> > Then I use the following command in Ubuntu 13.04
> >
> > sudo apt-get install build-essential libboost-all-dev subversion
> > subversion-tools git-core libapache2-svn autoconf libtool cmake libssl-dev
> > libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev
> > libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev
> > libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
> > libavutil-dev libavcodec-dev libpng12-dev
> >
> > I fail to install cmake.
> What was the problem with installing cmake? Any error you could share
> with us?
>
> > However, the same command works well in Ubuntu 12.04, therefore, no any
> > error message for
> >
> > cmake . -DMONOLITHIC_BUILD=ON -DCMAKE_INSTALL_PREFIX=/home/freerdp/usr
> >
> > It seems that this is the dependencies issue of "apt-get install" in Ubuntu
> > 13.04. I have no clue to solve this issue by using Google search.
> My guess would be that some dependencies were already installed on your
> 12.04.
>
> If you give us a more detailed an precies description on your problem
> with ubuntu 13.04 one might be able to help.
>
> Best regards,
> Bernhard
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Freerdp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freerdp-devel