« trackerd | Main

Remote Desktop from Solaris to Windows

I needed to reach a Windows machine from my Solaris 10 box via the Remote Desktop protocol, so I started downloaded the latest version (1.7.1 at the time this article is being written), from the main site:


http://www.rdesktop.org/


Once uncompressed the zip file in a new directory and started with the "usual" ./configure; make; make install series of command, I found that the OpenSSL libraries were not under the default location:


# ./configure
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... gcc
checking whether the C compiler works... yes

[...]
checking for OpenSSL directory... Not found

ERROR: Could not find OpenSSL headers/libraries.
To specify a path manually, use the --with-openssl option.

#

Basically this error message was generated from the configure and configure.ac scripts, because with this configuration, the 'make' command is not able to find the ssl.h header file:


checkssldir() { :
    if test -f "$1/include/openssl/ssl.h"; then
        ssldir="$1"
        return 0
    fi
    return 1
}

On my machine the ssl.h is provided by the SUNWopenssl package:


# grep openssl\/ssl.h /var/sadm/install/contents
/usr/sfw/include/openssl/ssl.h f none 0644 root bin 78675 16429 1331248219 SUNWopenssl-include


So I just need to pass the /usr/sfw/include directory to the configure command:


/Software/dev/rdesktop-1.7.1 # ./configure --prefix=/usr/sfw --with-openssl=/usr/sfw


/Software/dev/rdesktop-1.7.1 # make


/Software/dev/rdesktop-1.7.1 # make install


And it worked like a charme!

« trackerd | Main
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Marco Milo

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today