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.

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,645
Ubuntu
Send a message via MSN to Najand Send a message via Yahoo 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

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 01:19 AM.


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