Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Oct 2019, 04:31
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Attempting to install openvpn-2.4.6
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [31 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Tue 12 Feb 2019, 16:11    Post subject:  

Scott99 wrote:
./configure --prefix=/usr --disable-plugin-auth-pam

You should be typing all of those things on one line before hitting enter
Are you doing that?

Sorry, but I am getting confused as to what you are trying to do and in which different Puppies and what you have succeeded in doing so far.

The --disable-plugin-auth-pam bit is only needed in Slacko because Slacko does not have libpam included.

In the case of Xenial you don't need to type that bit anyway because Xenial does have libpam included.

The libpam dependency is only building a plugin for pam, which you are not using anyway so you can use the --disable-plugin-auth-pam argument and the plugin does not get built.

_________________
Oscar in England

Back to top
View user's profile Send private message 
Scott99

Joined: 21 Feb 2016
Posts: 62

PostPosted: Tue 12 Feb 2019, 17:16    Post subject:  

Thanks, I've got it working (at least for now Very Happy )
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12754
Location: S.C. USA

PostPosted: Wed 13 Feb 2019, 05:12    Post subject:  

So, tell us what you did to fix it?
_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
Scott99

Joined: 21 Feb 2016
Posts: 62

PostPosted: Sun 17 Feb 2019, 11:33    Post subject:  

rockedge wrote:
use SFS-Load-on-the-Fly and load the devx for your OS...it contains the C compiler.


Where can I find the devx for Xenialpup 7.5? Thanks Scott
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12754
Location: S.C. USA

PostPosted: Sun 17 Feb 2019, 11:42    Post subject:  

Two ways.

In a console type:
Code:
sfsget


Or you can go to the Puppy repository and get it here:
http://distro.ibiblio.org/puppylinux/puppy-xenial/32/

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
Scott99

Joined: 21 Feb 2016
Posts: 62

PostPosted: Mon 18 Feb 2019, 00:00    Post subject:  

OK, so now I am trying to install openvpn with windscribe on my CF-29 which has a frugal installation of Xenialpup 7.5. After downloading and installing opvenvpn in the root I am getting "bash : openvpn : command not found, when I type: openvpn --config Windscribe-US-East.ovpn. Please advise. Thanks in advance for your help. Scott
openvpn.png
Description 
png

 Download 
Filename  openvpn.png 
Filesize  66.9 KB 
Downloaded  52 Time(s) 
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Mon 18 Feb 2019, 06:12    Post subject:  

If you get command not found when trying to run openvpn it means you have not successfully installed it.
_________________
Oscar in England

Back to top
View user's profile Send private message 
Scott99

Joined: 21 Feb 2016
Posts: 62

PostPosted: Mon 18 Feb 2019, 08:34    Post subject:  

OscarTalks wrote:
If you get command not found when trying to run openvpn it means you have not successfully installed it.


Here is a screen shot of the result when use the make command.
result of make command.png
Description 
png

 Download 
Filename  result of make command.png 
Filesize  147.83 KB 
Downloaded  101 Time(s) 
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Mon 18 Feb 2019, 10:16    Post subject:  

What happened when you followed that up with make install?
_________________
Oscar in England

Back to top
View user's profile Send private message 
Scott99

Joined: 21 Feb 2016
Posts: 62

PostPosted: Mon 18 Feb 2019, 11:53    Post subject:  

OscarTalks wrote:
What happened when you followed that up with make install?


Here are screen shots showing the results from ./configure and make install. Thanks, Scott
make install.png
Description 
png

 Download 
Filename  make install.png 
Filesize  162.26 KB 
Downloaded  48 Time(s) 
Configure2.png
Description 
png

 Download 
Filename  Configure2.png 
Filesize  134.93 KB 
Downloaded  48 Time(s) 
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Mon 18 Feb 2019, 12:37    Post subject:  

As previously mentioned, you need to add the --prefix=/usr argument to ./configure
Enter ./configure --prefix=/usr
Followed by make
Followed by make install

Failure to add the --prefix=/usr argument will result in the openvpn executable being installed in /usr/local/sbin instead of /usr/sbin

/usr/local/sbin is not in your executable PATH locations so it will not be found
/usr/sbin on the other hand is in your executable PATH (the group of locations where executable binaries are found).

_________________
Oscar in England

Back to top
View user's profile Send private message 
Scott99

Joined: 21 Feb 2016
Posts: 62

PostPosted: Mon 18 Feb 2019, 13:26    Post subject:  

OscarTalks wrote:
As previously mentioned, you need to add the --prefix=/usr argument to ./configure
Enter ./configure --prefix=/usr
Followed by make
Followed by make install

Ok, I did this but when I ran make and make install I got the same result. I realize that I've been jumping all over the place. Is there somewhere that explains the process of installing and configuring openvpn, step by step, from downloading, unzipping, installing and configuring the deb package, to ovpn --configure Windscribe-US-East.ovpn? Right now I'm flipping around through several threads. Thanks, Scott

Failure to add the --prefix=/usr argument will result in the openvpn executable being installed in /usr/local/sbin instead of /usr/sbin

/usr/local/sbin is not in your executable PATH locations so it will not be found
/usr/sbin on the other hand is in your executable PATH (the group of locations where executable binaries are found).
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12743
Location: Stratford, Ontario

PostPosted: Mon 18 Feb 2019, 13:29    Post subject:  

Maybe you need a "make clean".
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4125
Location: holland

PostPosted: Mon 18 Feb 2019, 15:34    Post subject:  

Quote:
./configure --prefix=/usr --disable-plugin-auth-pam


This works fine for me, "make install" installs openvpn in /usr/sbin and plugins in /usr/lib/openvpn/

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Tue 19 Feb 2019, 14:22    Post subject:  

Scott99 wrote:
Is there somewhere that explains the process of installing and configuring openvpn, step by step, from downloading, unzipping, installing and configuring the deb package, to ovpn --configure Windscribe-US-East.ovpn?


Sounds like you have succeeded in doing all this at least once before and are just having problems repeating the process.

I think it would be easier for people to guide you on individual steps you are getting stuck on.

In Puppy, rule of thumb is to use ./configure --prefix=/usr

If you discover you have inadvertently forgotten to add --prefix=/usr and therefore installed everything under /usr/local/

Uninstall the files which are in the wrong place by entering make uninstall in terminal which must be open inside the extracted source directory (same as when you configured and installed).

Then enter make clean
Then enter make distclean

This restores everything in the source directory back to how it was when first extracted..

Now repeat the steps
./configure --prefix=/usr
make
make install

_________________
Oscar in England

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [31 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0572s ][ Queries: 13 (0.0090s) ][ GZIP on ]