当前环境

[root@linux ~]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

配置C、C++编译环境

使用源安装

yum clean all
yum makecache
yum update -y
yum install gcc-c++ gdb cmake -y

效果如下

[root@localhost ~]# yum clean all
27 files removed
[root@localhost ~]# yum makecache
Rocky Linux 8 - AppStream                                                                                                                                  1.0 MB/s | 8.8 MB     00:08    
Rocky Linux 8 - BaseOS                                                                                                                                     924 kB/s | 3.7 MB     00:04    
Rocky Linux 8 - Extras                                                                                                                                     9.7 kB/s |  11 kB     00:01    
Metadata cache created.
[root@localhost ~]# yum update -y
Last metadata expiration check: 0:00:01 ago on Fri 05 Aug 2022 12:20:23 AM CST.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost ~]# yum install gcc-c++ gdb cmake -y
Last metadata expiration check: 0:00:06 ago on Fri 05 Aug 2022 12:20:23 AM CST.
Dependencies resolved.
===========================================================================================================================================================================================
 Package                                          Architecture                         Version                                               Repository                               Size
===========================================================================================================================================================================================
Installing:
 cmake                                            x86_64                               3.20.2-4.el8                                          appstream                                12 M
 gcc-c++                                          x86_64                               8.5.0-10.1.el8_6                                      appstream                                12 M
 gdb                                              x86_64                               8.2-18.el8                                            appstream                               298 k
Installing dependencies:
 binutils                                         x86_64                               2.30-113.el8                                          baseos                                  5.8 M
 cmake-data                                       noarch                               3.20.2-4.el8                                          appstream                               1.7 M
 cmake-filesystem                                 x86_64                               3.20.2-4.el8                                          appstream                                43 k
 cmake-rpm-macros                                 noarch                               3.20.2-4.el8                                          appstream                                43 k
 cpp                                              x86_64                               8.5.0-10.1.el8_6                                      appstream                                10 M
 emacs-filesystem                                 noarch                               1:26.1-7.el8                                          baseos                                   69 k
 gc                                               x86_64                               7.6.4-3.el8                                           appstream                               108 k
 gcc                                              x86_64                               8.5.0-10.1.el8_6                                      appstream                                23 M
 gdb-headless                                     x86_64                               8.2-18.el8                                            appstream                               3.7 M
 glibc-devel                                      x86_64                               2.28-189.5.el8_6                                      baseos                                   78 k
 glibc-headers                                    x86_64                               2.28-189.5.el8_6                                      baseos                                  482 k
 guile                                            x86_64                               5:2.0.14-7.el8                                        appstream                               3.5 M
 isl                                              x86_64                               0.16.1-6.el8                                          appstream                               834 k
 kernel-headers                                   x86_64                               4.18.0-372.13.1.el8_6                                 baseos                                  9.3 M
 libatomic_ops                                    x86_64                               7.6.2-3.el8                                           appstream                                37 k
 libbabeltrace                                    x86_64                               1.5.4-3.el8                                           baseos                                  199 k
 libipt                                           x86_64                               1.6.1-8.el8                                           appstream                                49 k
 libmpc                                           x86_64                               1.1.0-9.1.el8                                         appstream                                60 k
 libpkgconf                                       x86_64                               1.4.2-1.el8                                           baseos                                   34 k
 libstdc++-devel                                  x86_64                               8.5.0-10.1.el8_6                                      appstream                               2.0 M
 libtool-ltdl                                     x86_64                               2.4.6-25.el8                                          baseos                                   57 k
 libuv                                            x86_64                               1:1.41.1-1.el8_4                                      appstream                               155 k
 libxcrypt-devel                                  x86_64                               4.1.1-6.el8                                           baseos                                   24 k
 make                                             x86_64                               1:4.2.1-11.el8                                        baseos                                  497 k
 pkgconf                                          x86_64                               1.4.2-1.el8                                           baseos                                   37 k
 pkgconf-m4                                       noarch                               1.4.2-1.el8                                           baseos                                   16 k
 pkgconf-pkg-config                               x86_64                               1.4.2-1.el8                                           baseos                                   14 k
 vim-filesystem                                   noarch                               2:8.0.1763-19.el8_6.2                                 appstream                                49 k
Installing weak dependencies:
 gcc-gdb-plugin                                   x86_64                               8.5.0-10.1.el8_6                                      appstream                               118 k

Transaction Summary
===========================================================================================================================================================================================
Install  32 Packages

Total download size: 87 M
Installed size: 228 M
Downloading Packages:
(1/32): cmake-filesystem-3.20.2-4.el8.x86_64.rpm                                                                                                           211 kB/s |  43 kB     00:00    
(2/32): cmake-rpm-macros-3.20.2-4.el8.noarch.rpm                                                                                                           813 kB/s |  43 kB     00:00    
(3/32): cmake-data-3.20.2-4.el8.noarch.rpm                                                                                                                 844 kB/s | 1.7 MB     00:02    
(4/32): gc-7.6.4-3.el8.x86_64.rpm                                                                                                                          390 kB/s | 108 kB     00:00    
(5/32): cmake-3.20.2-4.el8.x86_64.rpm                                                                                                                      1.1 MB/s |  12 MB     00:11    
(6/32): cpp-8.5.0-10.1.el8_6.x86_64.rpm                                                                                                                    589 kB/s |  10 MB     00:18    
(7/32): gcc-gdb-plugin-8.5.0-10.1.el8_6.x86_64.rpm                                                                                                         602 kB/s | 118 kB     00:00    
(8/32): gdb-8.2-18.el8.x86_64.rpm                                                                                                                          673 kB/s | 298 kB     00:00    
(9/32): gdb-headless-8.2-18.el8.x86_64.rpm                                                                                                                 507 kB/s | 3.7 MB     00:07    
(10/32): gcc-c++-8.5.0-10.1.el8_6.x86_64.rpm                                                                                                               815 kB/s |  12 MB     00:15    
(11/32): isl-0.16.1-6.el8.x86_64.rpm                                                                                                                       593 kB/s | 834 kB     00:01    
(12/32): libatomic_ops-7.6.2-3.el8.x86_64.rpm                                                                                                              345 kB/s |  37 kB     00:00    
(13/32): libipt-1.6.1-8.el8.x86_64.rpm                                                                                                                     464 kB/s |  49 kB     00:00    
(14/32): libmpc-1.1.0-9.1.el8.x86_64.rpm                                                                                                                   389 kB/s |  60 kB     00:00    
(15/32): libstdc++-devel-8.5.0-10.1.el8_6.x86_64.rpm                                                                                                       726 kB/s | 2.0 MB     00:02    
(16/32): libuv-1.41.1-1.el8_4.x86_64.rpm                                                                                                                   492 kB/s | 155 kB     00:00    
(17/32): vim-filesystem-8.0.1763-19.el8_6.2.noarch.rpm                                                                                                     457 kB/s |  49 kB     00:00    
(18/32): guile-2.0.14-7.el8.x86_64.rpm                                                                                                                     422 kB/s | 3.5 MB     00:08    
(19/32): emacs-filesystem-26.1-7.el8.noarch.rpm                                                                                                            437 kB/s |  69 kB     00:00    
(20/32): glibc-devel-2.28-189.5.el8_6.x86_64.rpm                                                                                                           539 kB/s |  78 kB     00:00    
(21/32): glibc-headers-2.28-189.5.el8_6.x86_64.rpm                                                                                                         578 kB/s | 482 kB     00:00    
(22/32): binutils-2.30-113.el8.x86_64.rpm                                                                                                                  654 kB/s | 5.8 MB     00:09    
(23/32): libbabeltrace-1.5.4-3.el8.x86_64.rpm                                                                                                              571 kB/s | 199 kB     00:00    
(24/32): libpkgconf-1.4.2-1.el8.x86_64.rpm                                                                                                                 543 kB/s |  34 kB     00:00    
(25/32): libtool-ltdl-2.4.6-25.el8.x86_64.rpm                                                                                                              537 kB/s |  57 kB     00:00    
(26/32): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm                                                                                                            447 kB/s |  24 kB     00:00    
(27/32): make-4.2.1-11.el8.x86_64.rpm                                                                                                                      510 kB/s | 497 kB     00:00    
(28/32): pkgconf-1.4.2-1.el8.x86_64.rpm                                                                                                                    351 kB/s |  37 kB     00:00    
(29/32): pkgconf-m4-1.4.2-1.el8.noarch.rpm                                                                                                                 292 kB/s |  16 kB     00:00    
(30/32): pkgconf-pkg-config-1.4.2-1.el8.x86_64.rpm                                                                                                         261 kB/s |  14 kB     00:00    
(31/32): gcc-8.5.0-10.1.el8_6.x86_64.rpm                                                                                                                   472 kB/s |  23 MB     00:50    
(32/32): kernel-headers-4.18.0-372.13.1.el8_6.x86_64.rpm                                                                                                   527 kB/s | 9.3 MB     00:18    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                      1.6 MB/s |  87 MB     00:56     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                   1/1 
  Installing       : libmpc-1.1.0-9.1.el8.x86_64                                                                                                                                      1/32 
  Installing       : cmake-rpm-macros-3.20.2-4.el8.noarch                                                                                                                             2/32 
  Installing       : cmake-filesystem-3.20.2-4.el8.x86_64                                                                                                                             3/32 
  Installing       : cpp-8.5.0-10.1.el8_6.x86_64                                                                                                                                      4/32 
  Running scriptlet: cpp-8.5.0-10.1.el8_6.x86_64                                                                                                                                      4/32 
  Installing       : pkgconf-m4-1.4.2-1.el8.noarch                                                                                                                                    5/32 
  Installing       : make-1:4.2.1-11.el8.x86_64                                                                                                                                       6/32 
  Running scriptlet: make-1:4.2.1-11.el8.x86_64                                                                                                                                       6/32 
  Installing       : libtool-ltdl-2.4.6-25.el8.x86_64                                                                                                                                 7/32 
  Running scriptlet: libtool-ltdl-2.4.6-25.el8.x86_64                                                                                                                                 7/32 
  Installing       : libpkgconf-1.4.2-1.el8.x86_64                                                                                                                                    8/32 
  Installing       : pkgconf-1.4.2-1.el8.x86_64                                                                                                                                       9/32 
  Installing       : pkgconf-pkg-config-1.4.2-1.el8.x86_64                                                                                                                           10/32 
  Installing       : libbabeltrace-1.5.4-3.el8.x86_64                                                                                                                                11/32 
  Running scriptlet: libbabeltrace-1.5.4-3.el8.x86_64                                                                                                                                11/32 
  Installing       : kernel-headers-4.18.0-372.13.1.el8_6.x86_64                                                                                                                     12/32 
  Running scriptlet: glibc-headers-2.28-189.5.el8_6.x86_64                                                                                                                           13/32 
  Installing       : glibc-headers-2.28-189.5.el8_6.x86_64                                                                                                                           13/32 
  Installing       : libxcrypt-devel-4.1.1-6.el8.x86_64                                                                                                                              14/32 
  Installing       : glibc-devel-2.28-189.5.el8_6.x86_64                                                                                                                             15/32 
  Running scriptlet: glibc-devel-2.28-189.5.el8_6.x86_64                                                                                                                             15/32 
  Installing       : emacs-filesystem-1:26.1-7.el8.noarch                                                                                                                            16/32 
  Installing       : binutils-2.30-113.el8.x86_64                                                                                                                                    17/32 
  Running scriptlet: binutils-2.30-113.el8.x86_64                                                                                                                                    17/32 
  Installing       : vim-filesystem-2:8.0.1763-19.el8_6.2.noarch                                                                                                                     18/32 
  Installing       : libuv-1:1.41.1-1.el8_4.x86_64                                                                                                                                   19/32 
  Installing       : cmake-data-3.20.2-4.el8.noarch                                                                                                                                  20/32 
  Installing       : cmake-3.20.2-4.el8.x86_64                                                                                                                                       21/32 
  Installing       : libstdc++-devel-8.5.0-10.1.el8_6.x86_64                                                                                                                         22/32 
  Installing       : libipt-1.6.1-8.el8.x86_64                                                                                                                                       23/32 
  Installing       : libatomic_ops-7.6.2-3.el8.x86_64                                                                                                                                24/32 
  Installing       : gc-7.6.4-3.el8.x86_64                                                                                                                                           25/32 
  Installing       : guile-5:2.0.14-7.el8.x86_64                                                                                                                                     26/32 
  Running scriptlet: guile-5:2.0.14-7.el8.x86_64                                                                                                                                     26/32 
  Installing       : gdb-headless-8.2-18.el8.x86_64                                                                                                                                  27/32 
  Installing       : isl-0.16.1-6.el8.x86_64                                                                                                                                         28/32 
  Running scriptlet: isl-0.16.1-6.el8.x86_64                                                                                                                                         28/32 
  Installing       : gcc-8.5.0-10.1.el8_6.x86_64                                                                                                                                     29/32 
  Running scriptlet: gcc-8.5.0-10.1.el8_6.x86_64                                                                                                                                     29/32 
  Installing       : gcc-gdb-plugin-8.5.0-10.1.el8_6.x86_64                                                                                                                          30/32 
  Running scriptlet: gcc-gdb-plugin-8.5.0-10.1.el8_6.x86_64                                                                                                                          30/32 
  Installing       : gdb-8.2-18.el8.x86_64                                                                                                                                           31/32 
  Installing       : gcc-c++-8.5.0-10.1.el8_6.x86_64                                                                                                                                 32/32 
  Running scriptlet: guile-5:2.0.14-7.el8.x86_64                                                                                                                                     32/32 
  Running scriptlet: gcc-c++-8.5.0-10.1.el8_6.x86_64                                                                                                                                 32/32 
  Verifying        : cmake-3.20.2-4.el8.x86_64                                                                                                                                        1/32 
  Verifying        : cmake-data-3.20.2-4.el8.noarch                                                                                                                                   2/32 
  Verifying        : cmake-filesystem-3.20.2-4.el8.x86_64                                                                                                                             3/32 
  Verifying        : cmake-rpm-macros-3.20.2-4.el8.noarch                                                                                                                             4/32 
  Verifying        : cpp-8.5.0-10.1.el8_6.x86_64                                                                                                                                      5/32 
  Verifying        : gc-7.6.4-3.el8.x86_64                                                                                                                                            6/32 
  Verifying        : gcc-8.5.0-10.1.el8_6.x86_64                                                                                                                                      7/32 
  Verifying        : gcc-c++-8.5.0-10.1.el8_6.x86_64                                                                                                                                  8/32 
  Verifying        : gcc-gdb-plugin-8.5.0-10.1.el8_6.x86_64                                                                                                                           9/32 
  Verifying        : gdb-8.2-18.el8.x86_64                                                                                                                                           10/32 
  Verifying        : gdb-headless-8.2-18.el8.x86_64                                                                                                                                  11/32 
  Verifying        : guile-5:2.0.14-7.el8.x86_64                                                                                                                                     12/32 
  Verifying        : isl-0.16.1-6.el8.x86_64                                                                                                                                         13/32 
  Verifying        : libatomic_ops-7.6.2-3.el8.x86_64                                                                                                                                14/32 
  Verifying        : libipt-1.6.1-8.el8.x86_64                                                                                                                                       15/32 
  Verifying        : libmpc-1.1.0-9.1.el8.x86_64                                                                                                                                     16/32 
  Verifying        : libstdc++-devel-8.5.0-10.1.el8_6.x86_64                                                                                                                         17/32 
  Verifying        : libuv-1:1.41.1-1.el8_4.x86_64                                                                                                                                   18/32 
  Verifying        : vim-filesystem-2:8.0.1763-19.el8_6.2.noarch                                                                                                                     19/32 
  Verifying        : binutils-2.30-113.el8.x86_64                                                                                                                                    20/32 
  Verifying        : emacs-filesystem-1:26.1-7.el8.noarch                                                                                                                            21/32 
  Verifying        : glibc-devel-2.28-189.5.el8_6.x86_64                                                                                                                             22/32 
  Verifying        : glibc-headers-2.28-189.5.el8_6.x86_64                                                                                                                           23/32 
  Verifying        : kernel-headers-4.18.0-372.13.1.el8_6.x86_64                                                                                                                     24/32 
  Verifying        : libbabeltrace-1.5.4-3.el8.x86_64                                                                                                                                25/32 
  Verifying        : libpkgconf-1.4.2-1.el8.x86_64                                                                                                                                   26/32 
  Verifying        : libtool-ltdl-2.4.6-25.el8.x86_64                                                                                                                                27/32 
  Verifying        : libxcrypt-devel-4.1.1-6.el8.x86_64                                                                                                                              28/32 
  Verifying        : make-1:4.2.1-11.el8.x86_64                                                                                                                                      29/32 
  Verifying        : pkgconf-1.4.2-1.el8.x86_64                                                                                                                                      30/32 
  Verifying        : pkgconf-m4-1.4.2-1.el8.noarch                                                                                                                                   31/32 
  Verifying        : pkgconf-pkg-config-1.4.2-1.el8.x86_64                                                                                                                           32/32 

Installed:
  binutils-2.30-113.el8.x86_64              cmake-3.20.2-4.el8.x86_64                        cmake-data-3.20.2-4.el8.noarch              cmake-filesystem-3.20.2-4.el8.x86_64            
  cmake-rpm-macros-3.20.2-4.el8.noarch      cpp-8.5.0-10.1.el8_6.x86_64                      emacs-filesystem-1:26.1-7.el8.noarch        gc-7.6.4-3.el8.x86_64                           
  gcc-8.5.0-10.1.el8_6.x86_64               gcc-c++-8.5.0-10.1.el8_6.x86_64                  gcc-gdb-plugin-8.5.0-10.1.el8_6.x86_64      gdb-8.2-18.el8.x86_64                           
  gdb-headless-8.2-18.el8.x86_64            glibc-devel-2.28-189.5.el8_6.x86_64              glibc-headers-2.28-189.5.el8_6.x86_64       guile-5:2.0.14-7.el8.x86_64                     
  isl-0.16.1-6.el8.x86_64                   kernel-headers-4.18.0-372.13.1.el8_6.x86_64      libatomic_ops-7.6.2-3.el8.x86_64            libbabeltrace-1.5.4-3.el8.x86_64                
  libipt-1.6.1-8.el8.x86_64                 libmpc-1.1.0-9.1.el8.x86_64                      libpkgconf-1.4.2-1.el8.x86_64               libstdc++-devel-8.5.0-10.1.el8_6.x86_64         
  libtool-ltdl-2.4.6-25.el8.x86_64          libuv-1:1.41.1-1.el8_4.x86_64                    libxcrypt-devel-4.1.1-6.el8.x86_64          make-1:4.2.1-11.el8.x86_64                      
  pkgconf-1.4.2-1.el8.x86_64                pkgconf-m4-1.4.2-1.el8.noarch                    pkgconf-pkg-config-1.4.2-1.el8.x86_64       vim-filesystem-2:8.0.1763-19.el8_6.2.noarch     

Complete!
[root@localhost ~]# 

安装编译库组件

yum install -y autoconf automake libtool openssl openssl-devel pam-devel libX11-devel libXfixes-devel libXrandr-devel libmpc-deve tigervnc-server

结果如下

image-1659601576124

安装NASM-RPM安装

[root@localhost ~]# wget https://www.nasm.us/pub/nasm/releasebuilds/2.13/linux/nasm-2.13-0.fc24.src.rpm
--2022-08-05 01:32:50--  https://www.nasm.us/pub/nasm/releasebuilds/2.13/linux/nasm-2.13-0.fc24.src.rpm
Resolving www.nasm.us (www.nasm.us)... 198.137.202.136, 2607:7c80:54:3::136
Connecting to www.nasm.us (www.nasm.us)|198.137.202.136|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 807510 (789K) [application/x-rpm]
Saving to: ‘nasm-2.13-0.fc24.src.rpm’

nasm-2.13-0.fc24.src.rpm                       100%[===================================================================================================>] 788.58K  71.5KB/s    in 13s     

2022-08-05 01:33:04 (61.7 KB/s) - ‘nasm-2.13-0.fc24.src.rpm’ saved [807510/807510]

[root@localhost ~]# rpm -ivh nasm-2.13-0.fc24.src.rpm 
Updating / installing...
   1:nasm-2.13-0.fc24                 warning: user nasmbuild does not exist - using root
warning: group hpa does not exist - using root
################################# [100%]
warning: user nasmbuild does not exist - using root
warning: group hpa does not exist - using root
[root@localhost ~]# wget https://www.nasm.us/pub/nasm/releasebuilds/2.13/linux/nasm-2.13-0.fc24.x86_64.rpm
--2022-08-05 01:35:29--  https://www.nasm.us/pub/nasm/releasebuilds/2.13/linux/nasm-2.13-0.fc24.x86_64.rpm
Resolving www.nasm.us (www.nasm.us)... 198.137.202.136, 2607:7c80:54:3::136
Connecting to www.nasm.us (www.nasm.us)|198.137.202.136|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 363710 (355K) [application/x-rpm]
Saving to: ‘nasm-2.13-0.fc24.x86_64.rpm’

nasm-2.13-0.fc24.x86_64.rpm                    100%[===================================================================================================>] 355.19K  68.5KB/s    in 5.3s    

2022-08-05 01:35:35 (67.2 KB/s) - ‘nasm-2.13-0.fc24.x86_64.rpm’ saved [363710/363710]

[root@localhost ~]# rpm -ivh nasm-2.13-0.fc24.x86_64.rpm 
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:nasm-2.13-0.fc24                 ################################# [100%]
[root@localhost ~]# 

离线安装Xrdp

下载源码

https://github.com/neutrinolabs/xrdp/releases

yum install -y wget
wget https://github.com/neutrinolabs/xrdp/releases/download/v0.9.19/xrdp-0.9.19.tar.gz

效果如下

[root@localhost ~]# yum install -y wget
Last metadata expiration check: 0:02:24 ago on Fri 05 Aug 2022 12:25:29 AM CST.
Package wget-1.19.5-10.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost ~]# wget https://github.com/neutrinolabs/xrdp/releases/download/v0.9.19/xrdp-0.9.19.tar.gz
--2022-08-05 00:27:55--  https://github.com/neutrinolabs/xrdp/releases/download/v0.9.19/xrdp-0.9.19.tar.gz
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/1660127/6a43c050-0b79-42ce-9ab2-fa3bd23c1fb6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220804%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T082757Z&X-Amz-Expires=300&X-Amz-Signature=d20d5f605dcf246bb62b21785a715a731934fc2bf8d1abe55c2052aac42c9d58&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1660127&response-content-disposition=attachment%3B%20filename%3Dxrdp-0.9.19.tar.gz&response-content-type=application%2Foctet-stream [following]
--2022-08-05 00:27:56--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/1660127/6a43c050-0b79-42ce-9ab2-fa3bd23c1fb6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220804%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220804T082757Z&X-Amz-Expires=300&X-Amz-Signature=d20d5f605dcf246bb62b21785a715a731934fc2bf8d1abe55c2052aac42c9d58&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1660127&response-content-disposition=attachment%3B%20filename%3Dxrdp-0.9.19.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2020366 (1.9M) [application/octet-stream]
Saving to: ‘xrdp-0.9.19.tar.gz’

xrdp-0.9.19.tar.gz                             100%[===================================================================================================>]   1.93M  59.4KB/s    in 20s     

2022-08-05 00:28:17 (96.4 KB/s) - ‘xrdp-0.9.19.tar.gz’ saved [2020366/2020366]

如在内网环境请先下载好源码再上传到服务器,上传方法自行了解

开始安装

解压

[root@localhost ~]# mkdir -p /opt/apps/
[root@localhost ~]# mv xrdp-0.9.19.tar.gz /opt/apps/
[root@localhost ~]# cd /opt/apps/
[root@localhost apps]# tar -zxf xrdp-0.9.19.tar.gz 
[root@localhost apps]# ls
xrdp-0.9.19  xrdp-0.9.19.tar.gz
[root@localhost apps]# 

bootstrap

[root@localhost apps]# cd xrdp-0.9.19
[root@localhost xrdp-0.9.19]# ls
aclocal.m4        coding_style.md  config_ac-h.in  configure     depcomp   genkeymap   keygen       libxrdp    Makefile.am  missing      pkgconfig  tap-driver.sh  tools     xrdp     xup
astyle_config.as  common           config.guess    configure.ac  docs      install-sh  libpainter   ltmain.sh  Makefile.in  neutrinordp  README.md  test-driver    vnc       xrdpapi
bootstrap         compile          config.sub      COPYING       fontdump  instfiles   librfxcodec  m4         mc           NEWS.md      sesman     tests          vrplayer  xrdpvr
[root@localhost xrdp-0.9.19]# ./bootstrap 
/usr/bin/autoconf
/usr/bin/automake
/usr/bin/libtool
/usr/bin/pkg-config
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory libpainter to autoreconf
autoreconf: Entering directory `libpainter'
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:8: installing './compile'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `libpainter'
autoreconf: configure.ac: adding subdirectory librfxcodec to autoreconf
autoreconf: Entering directory `librfxcodec'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:9: installing './compile'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `librfxcodec'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:8: installing './compile'
configure.ac:6: installing './missing'
common/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
[root@localhost xrdp-0.9.19]# 

configure

[root@localhost xrdp-0.9.19]# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether make supports nested variables... (cached) yes
checking for __attribute__((format))... yes
checking for socklen_t... yes
checking CFLAGS for maximum warnings... -Wall
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Werror... yes
checking whether C compiler accepts -O2... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for OPENSSL... yes
checking for openssl... /usr/bin/openssl
checking security/_pam_types.h usability... yes
checking security/_pam_types.h presence... yes
checking for security/_pam_types.h... yes
checking security/pam_constants.h usability... no
checking security/pam_constants.h presence... no
checking for security/pam_constants.h... no
configure: imlib2 will not be supported
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for X11/extensions/Xfixes.h... yes
checking for X11/extensions/Xrandr.h... yes
checking for CHECK... no
configure: libcheck not found, unit tests will be skipped
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating common/Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating genkeymap/Makefile
config.status: creating instfiles/default/Makefile
config.status: creating instfiles/init.d/Makefile
config.status: creating instfiles/Makefile
config.status: creating instfiles/pam.d/Makefile
config.status: creating instfiles/pulse/Makefile
config.status: creating instfiles/rc.d/Makefile
config.status: creating keygen/Makefile
config.status: creating libxrdp/Makefile
config.status: creating Makefile
config.status: creating mc/Makefile
config.status: creating neutrinordp/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating pkgconfig/xrdp.pc
config.status: creating pkgconfig/xrdp-uninstalled.pc
config.status: creating sesman/chansrv/Makefile
config.status: creating sesman/libscp/Makefile
config.status: creating sesman/Makefile
config.status: creating sesman/tools/Makefile
config.status: creating tests/Makefile
config.status: creating tests/common/Makefile
config.status: creating tests/libxrdp/Makefile
config.status: creating tests/memtest/Makefile
config.status: creating tests/xrdp/Makefile
config.status: creating tools/Makefile
config.status: creating tools/devel/Makefile
config.status: creating tools/devel/tcp_proxy/Makefile
config.status: creating vnc/Makefile
config.status: creating xrdpapi/Makefile
config.status: creating xrdp/Makefile
config.status: creating xrdpvr/Makefile
config.status: creating xup/Makefile
config.status: creating config_ac.h
config.status: config_ac.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libpainter (/opt/apps/xrdp-0.9.19/libpainter)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking CFLAGS for maximum warnings... -Wall
checking whether C compiler accepts -Wwrite-strings... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating pkgconfig/libpainter.pc
config.status: creating pkgconfig/libpainter-uninstalled.pc
config.status: creating pkgconfig/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating config_ac.h
config.status: config_ac.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in librfxcodec (/opt/apps/xrdp-0.9.19/librfxcodec)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking CFLAGS for maximum warnings... -Wall
checking whether C compiler accepts -Wwrite-strings... yes
checking if we have SIMD optimisations for cpu type... yes (x86_64)
checking for nasm... nasm
checking for object file format of host system... ELF64
checking for object file format specifier (NAFLAGS) ... -felf64 -DELF -D__x86_64__
checking whether the assembler (nasm -felf64 -DELF -D__x86_64__) works... yes
checking whether the linker accepts assembler output... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/amd64/Makefile
config.status: creating src/x86/Makefile
config.status: creating tests/Makefile
config.status: creating rfxcodec.pc
config.status: creating rfxcodec-uninstalled.pc
config.status: creating config_ac.h
config.status: executing depfiles commands
config.status: executing libtool commands

xrdp will be compiled with:

  mp3lame                 no
  opus                    no
  fdkaac                  no
  jpeg                    no
  turbo jpeg              no
  rfxcodec                yes
  painter                 yes
  pixman                  no
  fuse                    no
  ipv6                    no
  ipv6only                no
  vsock                   no
  auth mechanism          PAM
  rdpsndaudin             no

  with imlib2             no

  development logging     no
  development streamcheck no

  strict_locations        no
  prefix                  /usr/local
  exec_prefix             ${prefix}
  libdir                  ${exec_prefix}/lib
  bindir                  ${exec_prefix}/bin
  sysconfdir              /etc

  unit tests performable  no

  CFLAGS = -g -O2 -Wall -Wwrite-strings -Werror
  LDFLAGS = 
[root@localhost xrdp-0.9.19]# 

make

[root@localhost xrdp-0.9.19]# make
make  all-recursive
make[1]: Entering directory '/opt/apps/xrdp-0.9.19'
Making all in common
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/common'
  CC       base64.lo
  CC       fifo.lo
  CC       file.lo
  CC       guid.lo
  CC       list.lo
  CC       list16.lo
  CC       log.lo
  CC       os_calls.lo
  CC       parse.lo
  CC       ssl_calls.lo
  CC       string_calls.lo
  CC       thread_calls.lo
  CC       trans.lo
  CC       pixman-region16.lo
  CCLD     libcommon.la
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/common'
Making all in vnc
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/vnc'
  CC       vnc.lo
  CC       vnc_clip.lo
  CC       rfb.lo
  CCLD     libvnc.la
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/vnc'
Making all in xup
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/xup'
  CC       xup.lo
  CCLD     libxup.la
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/xup'
Making all in mc
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/mc'
  CC       mc.lo
  CCLD     libmc.la
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/mc'
Making all in libxrdp
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/libxrdp'
  CC       libxrdp.lo
  CC       xrdp_bitmap32_compress.lo
  CC       xrdp_bitmap_compress.lo
  CC       xrdp_caps.lo
  CC       xrdp_channel.lo
  CC       xrdp_fastpath.lo
  CC       xrdp_iso.lo
  CC       xrdp_jpeg_compress.lo
  CC       xrdp_mcs.lo
  CC       xrdp_mppc_enc.lo
  CC       xrdp_orders.lo
  CC       xrdp_orders_rail.lo
  CC       xrdp_rdp.lo
  CC       xrdp_sec.lo
  CCLD     libxrdp.la
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/libxrdp'
Making all in libpainter
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter'
make  all-recursive
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter'
Making all in src
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/src'
  CC       painter.lo
  CC       painter_utils.lo
  CCLD     libpainter.la
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/src'
Making all in include
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/include'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/include'
Making all in pkgconfig
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/pkgconfig'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/pkgconfig'
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter'
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter'
Making all in librfxcodec
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make  all-recursive
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec'
Making all in include
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/include'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/include'
Making all in src
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
Making all in amd64
make[5]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src/amd64'
  CC       rfxencode_tile_amd64.lo
  NASM     cpuid_amd64.lo
  NASM     rfxcodec_encode_dwt_shift_amd64_sse2.lo
  NASM     rfxcodec_encode_dwt_shift_amd64_sse41.lo
  CCLD     librfxencode-amd64.la
make[5]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src/amd64'
make[5]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
  CC       rfxencode.lo
  CC       rfxencode_compose.lo
  CC       rfxencode_tile.lo
  CC       rfxencode_dwt.lo
  CC       rfxencode_quantization.lo
  CC       rfxencode_differential.lo
  CC       rfxencode_rlgr1.lo
  CC       rfxencode_rlgr3.lo
  CC       rfxencode_alpha.lo
  CC       rfxencode_diff_rlgr1.lo
  CC       rfxencode_diff_rlgr3.lo
  CC       rfxencode_rgb_to_yuv.lo
  CCLD     librfxencode.la
make[5]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
Making all in tests
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/tests'
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec'
Making all in sesman
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/sesman'
Making all in libscp
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/libscp'
  CC       libscp_connection.lo
  CC       libscp_init.lo
  CC       libscp_lock.lo
  CC       libscp_session.lo
  CC       libscp_tcp.lo
  CC       libscp_v0.lo
  CC       libscp_v1c.lo
  CC       libscp_v1c_mng.lo
  CC       libscp_v1s.lo
  CC       libscp_v1s_mng.lo
  CC       libscp_vX.lo
  CCLD     libscp.la
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/libscp'
Making all in tools
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/tools'
  CC       config.o
  CC       sesrun.o
  CC       tcp.o
  CCLD     xrdp-sesrun
  CC       sesadmin.o
  CCLD     xrdp-sesadmin
  CC       dis.o
  CCLD     xrdp-dis
  CC       sestest.o
  CCLD     xrdp-sestest
  CC       xcon.o
  CCLD     xrdp-xcon
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/tools'
Making all in chansrv
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/chansrv'
  CC       chansrv.o
  CC       chansrv_common.o
  CC       chansrv_config.o
  CC       chansrv_fuse.o
  CC       chansrv_xfs.o
  CC       clipboard.o
  CC       clipboard_file.o
  CC       devredir.o
  CC       fifo.o
  CC       irp.o
  CC       rail.o
  CC       smartcard.o
  CC       smartcard_pcsc.o
  CC       sound.o
  CC       xcommon.o
  CC       audin.o
  CCLD     xrdp-chansrv
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/chansrv'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman'
  CC       access.o
  CC       config.o
  CC       env.o
  CC       scp.o
  CC       scp_v0.o
  CC       scp_v1.o
  CC       scp_v1_mng.o
  CC       sesman.o
  CC       session.o
  CC       sig.o
  CC       xauth.o
  CC       verify_user_pam.o
  CCLD     xrdp-sesman
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman'
Making all in xrdp
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/xrdp'
  CC       funcs.o
  CC       lang.o
  CC       xrdp.o
  CC       xrdp_bitmap.o
  CC       xrdp_bitmap_load.o
  CC       xrdp_bitmap_common.o
  CC       xrdp_cache.o
  CC       xrdp_encoder.o
  CC       xrdp_font.o
  CC       xrdp_listen.o
  CC       xrdp_login_wnd.o
  CC       xrdp_mm.o
  CC       xrdp_painter.o
  CC       xrdp_process.o
  CC       xrdp_region.o
  CC       xrdp_wm.o
  CCLD     xrdp
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/xrdp'
Making all in keygen
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/keygen'
  CC       keygen.o
  CCLD     xrdp-keygen
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/keygen'
Making all in docs
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/docs'
Making all in man
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/docs/man'
  SUBST    xrdp-dis.1
  SUBST    sesman.ini.5
  SUBST    xrdp.ini.5
  SUBST    xrdp.8
  SUBST    xrdp-chansrv.8
  SUBST    xrdp-genkeymap.8
  SUBST    xrdp-keygen.8
  SUBST    xrdp-sesadmin.8
  SUBST    xrdp-sesman.8
  SUBST    xrdp-sesrun.8
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/docs/man'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/docs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/docs'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/docs'
Making all in instfiles
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles'
Making all in pam.d
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles/pam.d'
./mkpamrules auto . xrdp-sesman
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles/pam.d'
Making all in pulse
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles/pulse'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles/pulse'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles'
  SUBST    xrdp-sesman.service
  SUBST    xrdp.service
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles'
Making all in genkeymap
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/genkeymap'
  CC       genkeymap.o
  CC       evdev-map.o
  CCLD     xrdp-genkeymap
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/genkeymap'
Making all in xrdpapi
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/xrdpapi'
  CC       xrdpapi.lo
  CCLD     libxrdpapi.la
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/xrdpapi'
Making all in pkgconfig
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/pkgconfig'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/pkgconfig'
Making all in tests
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tests'
Making all in common
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/common'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/common'
Making all in libxrdp
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/libxrdp'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/libxrdp'
Making all in memtest
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/memtest'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/memtest'
Making all in xrdp
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/xrdp'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/xrdp'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tests'
Making all in tools
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tools'
Making all in devel
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel'
Making all in tcp_proxy
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel/tcp_proxy'
  CC       main.o
  CCLD     tcp_proxy
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel/tcp_proxy'
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tools'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tools'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tools'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19'

make install

[root@localhost xrdp-0.9.19]# make install
Making install in common
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/common'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/common'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 ms-erref.h ms-fscc.h ms-rdpbcgr.h ms-rdpeclip.h ms-rdpefs.h ms-rdpegdi.h ms-rdpele.h ms-rdperp.h ms-rdpedisp.h ms-smb2.h xrdp_client_info.h xrdp_constants.h xrdp_rail.h xrdp_sockets.h '/usr/local/include'
 /usr/bin/mkdir -p '/usr/local/lib/xrdp'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libcommon.la '/usr/local/lib/xrdp'
libtool: install: /usr/bin/install -c .libs/libcommon.so.0.0.0 /usr/local/lib/xrdp/libcommon.so.0.0.0
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libcommon.so.0.0.0 libcommon.so.0 || { rm -f libcommon.so.0 && ln -s libcommon.so.0.0.0 libcommon.so.0; }; })
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libcommon.so.0.0.0 libcommon.so || { rm -f libcommon.so && ln -s libcommon.so.0.0.0 libcommon.so; }; })
libtool: install: /usr/bin/install -c .libs/libcommon.lai /usr/local/lib/xrdp/libcommon.la
libtool: install: /usr/bin/install -c .libs/libcommon.a /usr/local/lib/xrdp/libcommon.a
libtool: install: chmod 644 /usr/local/lib/xrdp/libcommon.a
libtool: install: ranlib /usr/local/lib/xrdp/libcommon.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib/xrdp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xrdp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/common'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/common'
Making install in vnc
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/vnc'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/vnc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/xrdp'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libvnc.la '/usr/local/lib/xrdp'
libtool: warning: relinking 'libvnc.la'
libtool: install: (cd /opt/apps/xrdp-0.9.19/vnc; /bin/sh "/opt/apps/xrdp-0.9.19/libtool"  --silent --tag CC --mode=relink gcc -g -O2 -Wall -Wwrite-strings -Werror -avoid-version -module -o libvnc.la -rpath /usr/local/lib/xrdp vnc.lo vnc_clip.lo rfb.lo ../common/libcommon.la )
libtool: install: /usr/bin/install -c .libs/libvnc.soT /usr/local/lib/xrdp/libvnc.so
libtool: install: /usr/bin/install -c .libs/libvnc.lai /usr/local/lib/xrdp/libvnc.la
libtool: install: /usr/bin/install -c .libs/libvnc.a /usr/local/lib/xrdp/libvnc.a
libtool: install: chmod 644 /usr/local/lib/xrdp/libvnc.a
libtool: install: ranlib /usr/local/lib/xrdp/libvnc.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib/xrdp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xrdp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/vnc'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/vnc'
Making install in xup
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/xup'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/xup'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/xrdp'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libxup.la '/usr/local/lib/xrdp'
libtool: warning: relinking 'libxup.la'
libtool: install: (cd /opt/apps/xrdp-0.9.19/xup; /bin/sh "/opt/apps/xrdp-0.9.19/libtool"  --silent --tag CC --mode=relink gcc -g -O2 -Wall -Wwrite-strings -Werror -avoid-version -module -o libxup.la -rpath /usr/local/lib/xrdp xup.lo ../common/libcommon.la )
libtool: install: /usr/bin/install -c .libs/libxup.soT /usr/local/lib/xrdp/libxup.so
libtool: install: /usr/bin/install -c .libs/libxup.lai /usr/local/lib/xrdp/libxup.la
libtool: install: /usr/bin/install -c .libs/libxup.a /usr/local/lib/xrdp/libxup.a
libtool: install: chmod 644 /usr/local/lib/xrdp/libxup.a
libtool: install: ranlib /usr/local/lib/xrdp/libxup.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib/xrdp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xrdp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/xup'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/xup'
Making install in mc
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/mc'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/mc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/xrdp'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libmc.la '/usr/local/lib/xrdp'
libtool: warning: relinking 'libmc.la'
libtool: install: (cd /opt/apps/xrdp-0.9.19/mc; /bin/sh "/opt/apps/xrdp-0.9.19/libtool"  --silent --tag CC --mode=relink gcc -g -O2 -Wall -Wwrite-strings -Werror -avoid-version -module -o libmc.la -rpath /usr/local/lib/xrdp mc.lo ../common/libcommon.la )
libtool: install: /usr/bin/install -c .libs/libmc.soT /usr/local/lib/xrdp/libmc.so
libtool: install: /usr/bin/install -c .libs/libmc.lai /usr/local/lib/xrdp/libmc.la
libtool: install: /usr/bin/install -c .libs/libmc.a /usr/local/lib/xrdp/libmc.a
libtool: install: chmod 644 /usr/local/lib/xrdp/libmc.a
libtool: install: ranlib /usr/local/lib/xrdp/libmc.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib/xrdp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xrdp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/mc'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/mc'
Making install in libxrdp
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/libxrdp'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/libxrdp'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/xrdp'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libxrdp.la '/usr/local/lib/xrdp'
libtool: warning: relinking 'libxrdp.la'
libtool: install: (cd /opt/apps/xrdp-0.9.19/libxrdp; /bin/sh "/opt/apps/xrdp-0.9.19/libtool"  --silent --tag CC --mode=relink gcc -g -O2 -Wall -Wwrite-strings -Werror -o libxrdp.la -rpath /usr/local/lib/xrdp libxrdp.lo xrdp_bitmap32_compress.lo xrdp_bitmap_compress.lo xrdp_caps.lo xrdp_channel.lo xrdp_fastpath.lo xrdp_iso.lo xrdp_jpeg_compress.lo xrdp_mcs.lo xrdp_mppc_enc.lo xrdp_orders.lo xrdp_orders_rail.lo xrdp_rdp.lo xrdp_sec.lo ../common/libcommon.la )
libtool: install: /usr/bin/install -c .libs/libxrdp.so.0.0.0T /usr/local/lib/xrdp/libxrdp.so.0.0.0
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libxrdp.so.0.0.0 libxrdp.so.0 || { rm -f libxrdp.so.0 && ln -s libxrdp.so.0.0.0 libxrdp.so.0; }; })
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libxrdp.so.0.0.0 libxrdp.so || { rm -f libxrdp.so && ln -s libxrdp.so.0.0.0 libxrdp.so; }; })
libtool: install: /usr/bin/install -c .libs/libxrdp.lai /usr/local/lib/xrdp/libxrdp.la
libtool: install: /usr/bin/install -c .libs/libxrdp.a /usr/local/lib/xrdp/libxrdp.a
libtool: install: chmod 644 /usr/local/lib/xrdp/libxrdp.a
libtool: install: ranlib /usr/local/lib/xrdp/libxrdp.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib/xrdp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xrdp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/libxrdp'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/libxrdp'
Making install in libpainter
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter'
Making install in src
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/src'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/src'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libpainter.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libpainter.so.0.0.0 /usr/local/lib/libpainter.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libpainter.so.0.0.0 libpainter.so.0 || { rm -f libpainter.so.0 && ln -s libpainter.so.0.0.0 libpainter.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpainter.so.0.0.0 libpainter.so || { rm -f libpainter.so && ln -s libpainter.so.0.0.0 libpainter.so; }; })
libtool: install: /usr/bin/install -c .libs/libpainter.lai /usr/local/lib/libpainter.la
libtool: install: /usr/bin/install -c .libs/libpainter.a /usr/local/lib/libpainter.a
libtool: install: chmod 644 /usr/local/lib/libpainter.a
libtool: install: ranlib /usr/local/lib/libpainter.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/src'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/src'
Making install in include
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/include'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/include'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 painter.h '/usr/local/include'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/include'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/include'
Making install in pkgconfig
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/pkgconfig'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter/pkgconfig'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libpainter.pc '/usr/local/lib/pkgconfig'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/pkgconfig'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter/pkgconfig'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/libpainter'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/libpainter'
Making install in librfxcodec
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec'
Making install in include
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/include'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/include'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 rfxcodec_encode.h rfxcodec_decode.h rfxcodec_common.h '/usr/local/include'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/include'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/include'
Making install in src
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
Making install in amd64
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src/amd64'
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src/amd64'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src/amd64'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src/amd64'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   librfxencode.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/librfxencode.so.0.0.0 /usr/local/lib/librfxencode.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f librfxencode.so.0.0.0 librfxencode.so.0 || { rm -f librfxencode.so.0 && ln -s librfxencode.so.0.0.0 librfxencode.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f librfxencode.so.0.0.0 librfxencode.so || { rm -f librfxencode.so && ln -s librfxencode.so.0.0.0 librfxencode.so; }; })
libtool: install: /usr/bin/install -c .libs/librfxencode.lai /usr/local/lib/librfxencode.la
libtool: install: /usr/bin/install -c .libs/librfxencode.a /usr/local/lib/librfxencode.a
libtool: install: chmod 644 /usr/local/lib/librfxencode.a
libtool: install: ranlib /usr/local/lib/librfxencode.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/src'
Making install in tests
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/tests'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/tests'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec/tests'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 rfxcodec.pc '/usr/local/lib/pkgconfig'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/librfxcodec'
Making install in sesman
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/sesman'
Making install in libscp
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/libscp'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/libscp'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/xrdp'
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libscp.la '/usr/local/lib/xrdp'
libtool: warning: relinking 'libscp.la'
libtool: install: (cd /opt/apps/xrdp-0.9.19/sesman/libscp; /bin/sh "/opt/apps/xrdp-0.9.19/libtool"  --silent --tag CC --mode=relink gcc -g -O2 -Wall -Wwrite-strings -Werror -o libscp.la -rpath /usr/local/lib/xrdp libscp_connection.lo libscp_init.lo libscp_lock.lo libscp_session.lo libscp_tcp.lo libscp_v0.lo libscp_v1c.lo libscp_v1c_mng.lo libscp_v1s.lo libscp_v1s_mng.lo libscp_vX.lo ../../common/libcommon.la -lpthread )
libtool: install: /usr/bin/install -c .libs/libscp.so.0.0.0T /usr/local/lib/xrdp/libscp.so.0.0.0
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libscp.so.0.0.0 libscp.so.0 || { rm -f libscp.so.0 && ln -s libscp.so.0.0.0 libscp.so.0; }; })
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libscp.so.0.0.0 libscp.so || { rm -f libscp.so && ln -s libscp.so.0.0.0 libscp.so; }; })
libtool: install: /usr/bin/install -c .libs/libscp.lai /usr/local/lib/xrdp/libscp.la
libtool: install: /usr/bin/install -c .libs/libscp.a /usr/local/lib/xrdp/libscp.a
libtool: install: chmod 644 /usr/local/lib/xrdp/libscp.a
libtool: install: ranlib /usr/local/lib/xrdp/libscp.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib/xrdp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xrdp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/libscp'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/libscp'
Making install in tools
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/tools'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/tools'
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c xrdp-sesrun xrdp-sesadmin xrdp-dis '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/xrdp-sesrun /usr/local/bin/xrdp-sesrun
libtool: install: /usr/bin/install -c .libs/xrdp-sesadmin /usr/local/bin/xrdp-sesadmin
libtool: install: /usr/bin/install -c .libs/xrdp-dis /usr/local/bin/xrdp-dis
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/tools'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/tools'
Making install in chansrv
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/chansrv'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman/chansrv'
 /usr/bin/mkdir -p '/usr/local/sbin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c xrdp-chansrv '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/xrdp-chansrv /usr/local/sbin/xrdp-chansrv
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/chansrv'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman/chansrv'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/sesman'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/sesman'
 /usr/bin/mkdir -p '/usr/local/sbin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c xrdp-sesman '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/xrdp-sesman /usr/local/sbin/xrdp-sesman
 /usr/bin/mkdir -p '/etc/xrdp'
 /usr/bin/install -c -m 644 sesman.ini '/etc/xrdp'
 /usr/bin/mkdir -p '/etc/xrdp'
 /usr/bin/install -c startwm.sh reconnectwm.sh '/etc/xrdp'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/sesman'
Making install in xrdp
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/xrdp'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/xrdp'
 /usr/bin/mkdir -p '/usr/local/sbin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c xrdp '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/xrdp /usr/local/sbin/xrdp
 /usr/bin/mkdir -p '/usr/local/share/xrdp'
 /usr/bin/install -c -m 644 ad24b.bmp ad256.bmp xrdp24b.bmp xrdp256.bmp xrdp_logo.bmp sans-10.fv1 cursor0.cur cursor1.cur '/usr/local/share/xrdp'
 /usr/bin/mkdir -p '/etc/xrdp'
 /usr/bin/install -c -m 644 xrdp.ini xrdp_keyboard.ini '/etc/xrdp'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/xrdp'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/xrdp'
Making install in keygen
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/keygen'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/keygen'
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c xrdp-keygen '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/xrdp-keygen /usr/local/bin/xrdp-keygen
make  install-data-hook
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/keygen'
umask 077 && \
if [ ! -f /etc/xrdp/rsakeys.ini ]; then \
  ./xrdp-keygen xrdp /etc/xrdp/rsakeys.ini; \
fi && \
if [ ! -f /etc/xrdp/cert.pem ]; then \
  /usr/bin/openssl req -x509 -newkey rsa:2048 -sha256 -nodes \
    -keyout /etc/xrdp/key.pem -out \
    /etc/xrdp/cert.pem -days 365 \
    -subj /C=US/ST=CA/L=Sunnyvale/O=xrdp/CN=www.xrdp.org \
    -config ./openssl.conf; \
fi

Generating 2048 bit rsa key...

ssl_gen_key_xrdp1 ok

saving to /etc/xrdp/rsakeys.ini

Generating a RSA private key
..........................................+++++
...................+++++
writing new private key to '/etc/xrdp/key.pem'
-----
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/keygen'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/keygen'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/keygen'
Making install in docs
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/docs'
Making install in man
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/docs/man'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/docs/man'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 xrdp-dis.1 '/usr/local/share/man/man1'
 /usr/bin/mkdir -p '/usr/local/share/man/man5'
 /usr/bin/install -c -m 644 sesman.ini.5 xrdp.ini.5 '/usr/local/share/man/man5'
 /usr/bin/mkdir -p '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 xrdp.8 xrdp-chansrv.8 xrdp-genkeymap.8 xrdp-keygen.8 xrdp-sesadmin.8 xrdp-sesman.8 xrdp-sesrun.8 '/usr/local/share/man/man8'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/docs/man'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/docs/man'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/docs'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/docs'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/docs'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/docs'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/docs'
Making install in instfiles
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles'
Making install in pam.d
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles/pam.d'
./mkpamrules auto . xrdp-sesman
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles/pam.d'
make[3]: Nothing to be done for 'install-exec-am'.
./mkpamrules auto . xrdp-sesman
 /usr/bin/mkdir -p '/etc/pam.d'
 /usr/bin/install -c -m 644 xrdp-sesman '/etc/pam.d'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles/pam.d'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles/pam.d'
Making install in pulse
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles/pulse'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles/pulse'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/etc/xrdp/pulse'
 /usr/bin/install -c -m 644 default.pa '/etc/xrdp/pulse'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles/pulse'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles/pulse'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/etc/xrdp'
 /usr/bin/install -c -m 644 km-00000406.ini km-00000407.ini km-00000409.ini km-0000040a.ini km-0000040b.ini km-0000040c.ini km-00000410.ini km-00000411.ini km-00000412.ini km-00000414.ini km-00000415.ini km-00000416.ini km-00000419.ini km-0000041d.ini km-00000807.ini km-00000809.ini km-0000080a.ini km-0000080c.ini km-00000813.ini km-00000816.ini km-0000100c.ini km-00010409.ini km-19360409.ini '/etc/xrdp'
 /usr/bin/mkdir -p '/usr/lib/systemd/system'
 /usr/bin/install -c -m 644 xrdp-sesman.service xrdp.service '/usr/lib/systemd/system'
make  install-data-hook
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/instfiles'
if [ -f /etc/init.d/xrdp ]; then \
	sed -i 's|__BASE__|/usr/local|' /etc/init.d/xrdp; \
fi
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/instfiles'
Making install in genkeymap
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/genkeymap'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/genkeymap'
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c xrdp-genkeymap '/usr/local/bin'
libtool: install: /usr/bin/install -c xrdp-genkeymap /usr/local/bin/xrdp-genkeymap
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/genkeymap'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/genkeymap'
Making install in xrdpapi
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/xrdpapi'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/xrdpapi'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/xrdp'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libxrdpapi.la '/usr/local/lib/xrdp'
libtool: install: /usr/bin/install -c .libs/libxrdpapi.so.0.0.0 /usr/local/lib/xrdp/libxrdpapi.so.0.0.0
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libxrdpapi.so.0.0.0 libxrdpapi.so.0 || { rm -f libxrdpapi.so.0 && ln -s libxrdpapi.so.0.0.0 libxrdpapi.so.0; }; })
libtool: install: (cd /usr/local/lib/xrdp && { ln -s -f libxrdpapi.so.0.0.0 libxrdpapi.so || { rm -f libxrdpapi.so && ln -s libxrdpapi.so.0.0.0 libxrdpapi.so; }; })
libtool: install: /usr/bin/install -c .libs/libxrdpapi.lai /usr/local/lib/xrdp/libxrdpapi.la
libtool: install: /usr/bin/install -c .libs/libxrdpapi.a /usr/local/lib/xrdp/libxrdpapi.a
libtool: install: chmod 644 /usr/local/lib/xrdp/libxrdpapi.a
libtool: install: ranlib /usr/local/lib/xrdp/libxrdpapi.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/lib/xrdp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xrdp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/xrdpapi'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/xrdpapi'
Making install in pkgconfig
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/pkgconfig'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/pkgconfig'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 xrdp.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/pkgconfig'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/pkgconfig'
Making install in tests
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/tests'
Making install in common
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tests/common'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/common'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/common'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/common'
Making install in libxrdp
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tests/libxrdp'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/libxrdp'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/libxrdp'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/libxrdp'
Making install in memtest
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tests/memtest'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/memtest'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/memtest'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/memtest'
Making install in xrdp
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tests/xrdp'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests/xrdp'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/xrdp'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tests/xrdp'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tests'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tests'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tests'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/tests'
Making install in tools
make[1]: Entering directory '/opt/apps/xrdp-0.9.19/tools'
Making install in devel
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel'
Making install in tcp_proxy
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel/tcp_proxy'
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel/tcp_proxy'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel/tcp_proxy'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel/tcp_proxy'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[4]: Entering directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tools/devel'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19/tools'
make[3]: Entering directory '/opt/apps/xrdp-0.9.19/tools'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/apps/xrdp-0.9.19/tools'
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19/tools'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19/tools'
make[1]: Entering directory '/opt/apps/xrdp-0.9.19'
make[2]: Entering directory '/opt/apps/xrdp-0.9.19'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/opt/apps/xrdp-0.9.19'
make[1]: Leaving directory '/opt/apps/xrdp-0.9.19'
[root@localhost xrdp-0.9.19]# 

启动服务

cd /opt/apps/xrdp-0.9.19/instfiles/init.d
chmod +x xrdp
./xrdp restart

效果如下

[root@localhost init.d]# chmod +x xrdp 
[root@localhost init.d]# ls
Makefile  Makefile.am  Makefile.in  xrdp
[root@localhost init.d]# ./xrdp -h
[root@localhost init.d]# ./xrdp restart
[root@localhost init.d]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      140179/sshd: root@p 
tcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN      159449/xrdp         
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/systemd           
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1026/sshd           
tcp6       0      0 ::1:6010                :::*                    LISTEN      140179/sshd: root@p 
tcp6       0      0 :::111                  :::*                    LISTEN      1/systemd           
tcp6       0      0 :::22                   :::*                    LISTEN      1026/sshd   

此时,3389端口已经启动了

配置防火墙

systemctl stop firewalld.servic

连接

image-1659607041106

image-1659607062635