LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2007, 02:04 PM   #1
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
openvpn compilation


Hello

I am going to set up may slackware for VPN services with openVPN.
I am beginer with compilations and because I cannot download the tgz packages from slackware homepage right now - I decide that this is the right time to learn it. (even if I need it to work tomorrow )

I downloaded the source and extracted it from tar.gz.( By the way, it is right way extracted if I just open the file with midnight commander and copy to a directory (as root)?? It is necessary to extract such things with tar -xvzf command?)

And I read the install text file.
There are such things like (LZO for example) - remember to add "--with-lzo-headers" and "--with-lzo-lib" directives to configure pointing to /usr/local/include and /usr/local/lib.
- What does that mean?
- What if I forget in config something like this?
- Can it be corrected in second try of compilation?

( sorry for stupid questions)

Last edited by hua; 07-02-2007 at 02:05 PM.
 
Old 07-02-2007, 04:11 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
LZO is a data compression library which is suitable for data de-/compression in real-time. It is recommended for OpenVPN, but not required. OpenSSL is also recommended. If you want to LZO support compiled into OpenVPN, then you need to tell the configure script where to look for the LZO libraries and headers on your system. That is what those switches are for.

Pkgconfig will usually take care of finding headers and libraries for you. If you have pkgconfig, OpenVPN can be installed by simply
Code:
./configure --prefix=/usr --enable-iproute2 &&
make &&
su -c 'make install'
You can always reconfigure and/or recompile the package if you want to.

Last edited by weibullguy; 07-02-2007 at 04:12 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 10:28 PM
openVPN... lakshminarayan Linux - Networking 5 07-23-2006 04:52 AM
OpenVPN wwnexc Linux - Software 6 05-20-2006 02:34 PM
OpenVPN Voyager_MP Linux - Networking 0 07-09-2004 04:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration