Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This link: https://community.openvpn.net/openvpn/wiki/BuildingOpenVPN-GUI provides the following instructions:

$ autoreconf -v
$ ./configure --with-crypto-includes=/c/openssl/include --with-crypto-lib=/c/openssl/lib
$ make

As I'm new to Linux and Ubuntu, I would appreciate it if someone could show me the corresponding "sudo" commands. I understand that in Ubuntu, there's no such thing as a C:\ drive.

Thanks in advance.

----update---- Thank you guys for your help and suggestions. I know now that I don't need to sudo to issue the above commands.

I'd appreciate it if someone could explain to me what the "c" in "/c/openssl/include" and "/c/openssl/lib" stand for? Does "c" in those statements stand for the C: drive or C compiler?

share|improve this question
3  
Are you aware you're building a Windows application (cross-compiling) in these steps using the MinGW compiler? –  gertvdijk Jan 30 '13 at 14:16
    
Yes sir. That's what I'm learning how to cross-compile for the MS Windows platform using Ubuntu. In the process I hope to learn how to use Ubuntu more productively. –  n00b Jan 30 '13 at 14:58
add comment

2 Answers 2

up vote 5 down vote accepted

The instructions can be used on Ubuntu (which, like the MinGW environment on Windows, uses bash as its shell) but you will have to change the paths to the include and lib directories. You execute them (without sudo) in a Terminal window after you have downloaded the source code, etc.

share|improve this answer
2  
Exactly. No need to be root for compiling applications. It's a myth! :) –  gertvdijk Jan 30 '13 at 14:17
    
Could someone explain to me what the "c" in "/c/openssl/include" and "/c/openssl/lib" stand for? Does "c" in those statements stand for the C: drive or C compiler? –  n00b Jan 30 '13 at 15:00
1  
The commands are meant to be run (in bash) in a MinGW environment on Windows. When you do ls /c in such an environment you get the same as what you get when you do ls C:. –  jdthood Jan 30 '13 at 15:18
    
@ jdthood: Thanks for your pointers. Could you explain to me what is "ls" (without quotes)? I'm sorry if the question appears noobish to you. Well I did state right in my original post that I'm new. –  n00b Jan 30 '13 at 15:25
1  
@n00b Try man ls in a terminal to see the manual page about the ls command. It should more than answer your (new unrelated) question. –  gertvdijk Jan 30 '13 at 15:30
add comment

Some commands in Ubuntu/Linux are not intended to be used by normal users (only administrators)

When this is necessary simply prefix the command with sudo for a detailed explanation see here:

https://help.ubuntu.com/community/RootSudo

However, the commands you have should not need sudo and will run without it.

share|improve this answer
    
@ Warren Hill: Thanks for your pointers. –  n00b Jan 30 '13 at 15:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.