Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old September 12th, 2006   #1
Calculator
5 Cups of Ubuntu
 
Join Date: Sep 2006
Beans: 29
Installing OpenVPN - Configuring and 'make' problems

I am installing OpenVPN onto my server running Ubuntu 6.06 (newly installed) which requires the following steps:

./configure
make
make install

However, when I type the 'make' instruction I get the following in my terminal window:

root@Server1:/home/Stuff/lzo-2.02# make
make: *** No targets specified and no makefile found. Stop.
root@Server1:/home/Stuff/lzo-2.02# cd /home/Stuff/openvpn-2.1_beta15/

What is the target?

How do I specify a 'target' using a make command?

Thanks
Calculator is offline   Reply With Quote
Old September 12th, 2006   #2
Najand
May the Ubuntu Be With You!
 
Najand's Avatar
 
Join Date: Apr 2006
Location: Tokyo, Japan
Beans: 1,640
Ubuntu 9.04 Jaunty Jackalope
Send a message via MSN to Najand Send a message via Yahoo to Najand Send a message via Skype™ to Najand
Re: Installing OpenVPN - Configuring and 'make' problems

Do you have "build-essential" installed?
If not try:
Code:
sudo apt-get install build-essential
__________________
UMUNTU NGUMUNTU NGABANTU (UBUNTU): A person is a person through other persons
1 UBUNTU (x86) @ Home, 1 UBUNTU (ppc) @ iBook Laptop, 2 UBUNTUs (x86) @ University
Najand is offline   Reply With Quote
Old September 12th, 2006   #3
Calculator
5 Cups of Ubuntu
 
Join Date: Sep 2006
Beans: 29
Re: Installing OpenVPN - Configuring and 'make' problems

Thanks Najand

Problem is that I do not have my install CD available:

Typing in the command:
sudo apt-get install build-essential
Password:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
g++ g++-4.0 libstdc++6-4.0-dev
Suggested packages:
gcc-4.0-doc lib64stdc++6 libstdc++6-4.0-doc stl-manual
The following NEW packages will be installed:
build-essential g++ g++-4.0 libstdc++6-4.0-dev
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3750kB of archives.
After unpacking 14.3MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Media change: please insert the disc labeled
'Ubuntu-Server 6.06 _Dapper Drake_ - Release i386 (20060531)'
in the drive '/cdrom/' and press enter


Can I get the 'build-essential' from the net?

Thanks
Calculator is offline   Reply With Quote
Old September 13th, 2006   #4
Calculator
5 Cups of Ubuntu
 
Join Date: Sep 2006
Beans: 29
Re: Installing OpenVPN - Configuring and 'make' problems

I have installed 'Build essential' however, my "Make" requires a target - can someone please give me some insight into this issue. Thanks


root@Server1:/home/michael/Michaels_Stuff/lzo-2.02# sudo apt-get install
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
g++ g++-4.0 libstdc++6-4.0-dev
Suggested packages:
gcc-4.0-doc lib64stdc++6 libstdc++6-4.0-doc stl-manual
The following NEW packages will be installed:
build-essential g++ g++-4.0 libstdc++6-4.0-dev
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3750kB of archives.
After unpacking 14.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package libstdc++6-4.0-dev.
(Reading database ... 195236 files and directories currently installed.)
Unpacking libstdc++6-4.0-dev (from .../libstdc++6-4.0-dev_4.0.3-1ubuntu5_i386.deb) ...
Selecting previously deselected package g++-4.0.
Unpacking g++-4.0 (from .../g++-4.0_4.0.3-1ubuntu5_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4.0.3-1_i386.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.1_i386.deb) ...
Setting up g++-4.0 (4.0.3-1ubuntu5) ...
Setting up libstdc++6-4.0-dev (4.0.3-1ubuntu5) ...

Setting up g++ (4.0.3-1) ...

Setting up build-essential (11.1) ...
root@Server1:/home/michael/Michaels_Stuff/lzo-2.02# make
make: *** No targets specified and no makefile found. Stop.
root@Server1:/home/michael/Michaels_Stuff/lzo-2.02#
Calculator is offline   Reply With Quote
Old September 13th, 2006   #5
Calculator
5 Cups of Ubuntu
 
Join Date: Sep 2006
Beans: 29
Re: Installing OpenVPN - Configuring and 'make' problems

Fixed - I found that I have to run all the commands in sequence. Not just the one that I got stuck on.

Calculator is offline   Reply With Quote
Old September 22nd, 2006   #6
JohnW
5 Cups of Ubuntu
 
Join Date: Sep 2006
My beans are hidden!
Re: Installing OpenVPN - Configuring and 'make' problems

Why are you compiling from source? Openvpn is in the repositories. Not sure which one, I'd already gone into Synaptic Settings|Repositories and unchecked CD, checked all others offered, but it's there somewhere.
JohnW is offline   Reply With Quote
Old September 22nd, 2006   #7
steve.horsley
Chocolate-Covered Ubuntu Beans
 
steve.horsley's Avatar
 
Join Date: Jun 2005
Location: London, England
Beans: 2,311
Kubuntu 7.10 Gutsy Gibbon
Re: Installing OpenVPN - Configuring and 'make' problems

Quote:
Originally Posted by JohnW View Post
Why are you compiling from source? Openvpn is in the repositories. Not sure which one, I'd already gone into Synaptic Settings|Repositories and unchecked CD, checked all others offered, but it's there somewhere.
I'll second that. It's Soo much easier.
steve.horsley is offline   Reply With Quote
Old October 15th, 2006   #8
josh34
Just Give Me the Beans!
 
Join Date: Jan 2006
Beans: 55
Re: Installing OpenVPN - Configuring and 'make' problems

Could someone provide step-by-step instructions for installing openvpn-2.1 on a fresh ubuntu install? Here is the download link: http://openvpn.net/download.html and I have to use version 2.1_beta16 and compile using lzo compression.

Last edited by josh34; October 15th, 2006 at 11:15 PM..
josh34 is offline   Reply With Quote
Old October 15th, 2006   #9
capn_hector
Just Give Me the Beans!
 
capn_hector's Avatar
 
Join Date: Feb 2006
Beans: 67
Ubuntu 7.04 Feisty Fawn
Re: Installing OpenVPN - Configuring and 'make' problems

Quote:
Originally Posted by JohnW View Post
Why are you compiling from source? Openvpn is in the repositories. Not sure which one, I'd already gone into Synaptic Settings|Repositories and unchecked CD, checked all others offered, but it's there somewhere.
compiling from source gives greater control over options and its more configurable. plus once you can compile from source, you can install programs on any linux distro.
__________________
to error is human to forgive is not in the computers realm of ability
capn_hector is offline   Reply With Quote
Old November 28th, 2006   #10
Avian00
Just Give Me the Beans!
 
Join Date: Nov 2005
Beans: 60
Ubuntu 6.06
Re: Installing OpenVPN - Configuring and 'make' problems

Quote:
Originally Posted by JohnW View Post
Why are you compiling from source? Openvpn is in the repositories. Not sure which one, I'd already gone into Synaptic Settings|Repositories and unchecked CD, checked all others offered, but it's there somewhere.
I'll tell you why I wouldn't install OpenVPN from Repos... The version in the Dapper Repos is 2.0.6, a known-buggy version of OpenVPN (configured by the release notes of 2.0.7). If they'd update this package in the Repos, I might consider using them. Otherwise, I'm forced to install from source on this one. Oh well.
Avian00 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:21 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry