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:


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
        return 0
    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!

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.