try this
apt-get install libpam0g-dev

On Mon, Jan 24, 2011 at 9:18 PM, Jason Towell <jtow...@sjgov.org> wrote:

> I think you need the dev package. They contain header files needed for
> compilation. I'm not sure the name. Try "apt-cache search openssl dev".
>
> Jason Towell
> San Joaquin County Comm Dev
> 1810 E. Hazelton Ave.
> Stockton, CA  95205
>
> (209)468-0978
>
>
> ----- Original Message -----
> From: "Marco Knaus" <marco.kn...@gmx.net>
> To: xrdp-devel@lists.sourceforge.net
> Sent: Friday, January 21, 2011 2:31:40 PM
> Subject: [Xrdp-devel] xrdp Support - openssl problem
>
> Dear Developper of xrdp
>
>
>
> I have tried installing xrdp 0.4.2 and 0.4.1, but all I get is an error
> telling me that openssl is not present, although it is. I have executed
> "sudo apt-get install openssl" (see second part of the listing) which tells
> me it is up to date. This is what I got (OS is Ubuntu 10.10 x64 Desktop in
> German):
>
>
>
> ------------------
>
> mak@Server:~/xrdp-0.4.1$ make
>
> make -C vnc
>
> make[1]: Betrete Verzeichnis '/home/mak/xrdp-0.4.1/vnc'
>
> gcc -Wall -O2 -I../common -fPIC    -c -o vnc.o vnc.c
>
> gcc -Wall -O2 -I../common -fPIC  -c -g ../common/os_calls.c
>
> ../common/os_calls.c: In function "g_random":
>
> ../common/os_calls.c:573: warning: ignoring return value of "read",
> declared with attribute warn_unused_result
>
> ../common/os_calls.c: In function "g_get_current_dir":
>
> ../common/os_calls.c:779: warning: ignoring return value of "getcwd",
> declared with attribute warn_unused_result gcc -Wall -O2 -I../common -fPIC
> -c -g ../common/d3des.c gcc -shared -o libvnc.so vnc.o os_calls.o d3des.o
> -ldl
>
> make[1]: Verlasse Verzeichnis '/home/mak/xrdp-0.4.1/vnc'
>
> make -C libxrdp
>
> make[1]: Betrete Verzeichnis '/home/mak/xrdp-0.4.1/libxrdp'
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o libxrdp.o libxrdp.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_tcp.o xrdp_tcp.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_iso.o xrdp_iso.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_mcs.o xrdp_mcs.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_sec.o xrdp_sec.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_rdp.o xrdp_rdp.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_orders.o
> xrdp_orders.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_bitmap_compress.o
> xrdp_bitmap_compress.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\"   -c -o xrdp_channel.o
> xrdp_channel.c
>
> gcc -Wall -O2 -I../common -fPIC -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\" -c ../common/os_calls.c
>
> ../common/os_calls.c: In function "g_random":
>
> ../common/os_calls.c:573: warning: ignoring return value of "read",
> declared with attribute warn_unused_result
>
> ../common/os_calls.c: In function "g_get_current_dir":
>
> ../common/os_calls.c:779: warning: ignoring return value of "getcwd",
> declared with attribute warn_unused_result gcc -Wall -O2 -I../common -fPIC
> -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\"
> -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\" -c ../common/ssl_calls.c
>
> ../common/ssl_calls.c:24: fatal error: openssl/rc4.h: Datei oder
> Verzeichnis nicht gefunden compilation terminated.
>
> make[1]: *** [ssl_calls.o] Fehler 1
>
> make[1]: Verlasse Verzeichnis '/home/mak/xrdp-0.4.1/libxrdp'
>
> make: *** [base] Fehler 2
>
>
>
> mak@Server:~/xrdp-0.4.1$ sudo apt-get install openssl Paketlisten werden
> gelesen... Fertig
>
> Abhängigkeitsbaum wird aufgebaut
>
> Statusinformationen werden eingelesen... Fertig openssl ist schon die
> neueste Version.
>
> Die folgenden Pakete wurden automatisch installiert und werden nicht mehr
> benötigt:
>
>   linux-headers-2.6.35-22-generic linux-headers-2.6.35-22 Verwenden Sie
> »apt-get autoremove«, um sie zu entfernen.
>
> 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
>
> ------------------
>
>
>
> Can you tell me what went wrong?
>
>
>
> Yours, Marco Knaus
>
> *CONFIDENTIALITY NOTICE*: This e-mail and any attachments are for the sole
> use of the intended recipient(s) and contain information that may be
> confidential and/or legally privileged. If you have received this e-mail in
> error, please notify the sender by reply e-mail and delete the message. Any
> disclosure, copying, distribution or use of this communication by someone
> other than the intended recipient is prohibited.
>
> *Please consider the environment before printing this e-mail.*
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> xrdp-devel mailing list
> xrdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xrdp-devel
>
>


-- 
Regards
Sunil Sankar
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to