DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd May 2014
gkbsd's Avatar
gkbsd gkbsd is offline
Port Guard
 
Join Date: Jun 2013
Posts: 23
Question dnscrypt-proxy build errors?

Thanks for these informations. I guess I will have some read to do tomorrow
I noticed that "pkg_add" would give me errors but I expected it, that's why I never tried running a current before. However I do prefer to have a working network, and have some work to do to add two packages I need.

Thanks for the links/FAQ

Regards,
Guillaume.
Reply With Quote
  #2   (View Single Post)  
Old 2nd May 2014
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by gkbsd View Post
I noticed that "pkg_add" would give me errors but I expected it, that's why I never tried running a current before.
Can you share what the errors were that you received? We might be able to provide further assistance if we knew their content.
Reply With Quote
  #3   (View Single Post)  
Old 3rd May 2014
gkbsd's Avatar
gkbsd gkbsd is offline
Port Guard
 
Join Date: Jun 2013
Posts: 23
Default

I had the following errors, but that is I suppose either because I do not choose the good packages sources, or because there is no other way than to build from ports (I'll try both @jggimi suggestions).

dnscrypt-proxy :
Code:
$ export PKG_PATH=ftp://ftp.spline.de/pub/OpenBSD/5.5/packages/amd64
$ sudo pkg_add dnscrypt-proxy
quirks-1.87->1.113: ok
Can't install libexecinfo-0.2p3v0 because of libraries
|library c.73.1 not found
| /usr/lib/libc.so.74.2 (system): bad major
dnscrypt-proxy-1.3.3p0:libsodium-0.4.5: ok
Can't install dnscrypt-proxy-1.3.3p0: can't resolve libexecinfo-0.2p3v0
Read shared items: ok
openvpn :
Code:
$ sudo pkg_add openvpn
Can't install openvpn-2.3.2 because of libraries
|library c.73.1 not found
| /usr/lib/libc.so.74.2 (system): bad major
|library crypto.23.0 not found
| /usr/lib/libcrypto.so.26.1 (system): bad major
|library ssl.20.0 not found
| /usr/lib/libssl.so.24.0 (system): bad major
Direct dependencies for openvpn-2.3.2 resolve to lzo2-2.06p0
Full dependency tree is lzo2-2.06p0
Regards,
Guillaume.

Last edited by gkbsd; 3rd May 2014 at 08:40 AM.
Reply With Quote
  #4   (View Single Post)  
Old 3rd May 2014
gkbsd's Avatar
gkbsd gkbsd is offline
Port Guard
 
Join Date: Jun 2013
Posts: 23
Default

I read the FAQ, I though I was on the right track, but I encountered an error while trying to build "dnscrypt-proxy"from current sources.

Below are the steps I followed :
Code:
$ export CVSROOT=anoncvs@ftp5.eu.openbsd.org:/cvs
$ cd /usr
$ sudo cvs -d$CVSROOT checkout -P src
$ sudo cvs -d$CVSROOT checkout -P ports
$ sudo cvs -d$CVSROOT checkout -P sys
$ sudo cvs -d$CVSROOT checkout -P xenocara
$ sudo cvs -d$CVSROOT checkout -P X11

$ make search key=dnscrypt-proxy
$ cd /usr/ports/net/dnscrypt-proxy
$ make install
Fatal: building ports requires correctly installed X11 (in net/dnscrypt-proxy)
*** Error 1 in /usr/ports/net/dnscrypt-proxy (/usr/ports/infrastructure/mk/bsd.port.mk:3474 '.BEGIN': @exit 1)
I though I was doing it correctly, but apprently not Do I need to build the whole kernel, then userland, then the particular ports I want ? Or did I miss something else ? X11 is not installed on the system, but dnscrypt works without it , I do not understand the error.

Regards,
Guillaume.
Reply With Quote
  #5   (View Single Post)  
Old 3rd May 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

You were unable to install packages because you were using a -release package path, rather than pointing to snapshot packages.

Building ports require a complete OS, and you did not install the X11 filesets when you installed your -current snapshot. You can do this without re-installing. See FAQ 4.11. You will need, at minimum, the xbase fileset, as it contains X11 libraries.
Reply With Quote
  #6   (View Single Post)  
Old 3rd May 2014
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Discussion of net/dnscrypt-proxy build errors have been separated from the parent thread:

http://daemonforums.org/showthread.p...0477#post50477

...as discussion has moved from network connectivity issues to port build issues.

We have found that most members of this site mine the archives for past discussions. To make searching simpler, we ask members to keep to a single subject in message threads as directed by the thread's initial post. If conversation moves into a new direction, please start a new thread. Limiting discussion to a single subject in each thread also aids readers who are learning new technologies along with those where English is not their first language.

This is also covered in the forum's rules.
Reply With Quote
  #7   (View Single Post)  
Old 3rd May 2014
gkbsd's Avatar
gkbsd gkbsd is offline
Port Guard
 
Join Date: Jun 2013
Posts: 23
Default

Wonderful it works ! Just did an (U)pgrade to install all of the "x" packages I did not install previously, rebooted into the system, and I was able to successfully build dnscrypt from ports, configure it, and use it. It is operational

Regards,
Guillaume.

Last edited by gkbsd; 3rd May 2014 at 01:13 PM. Reason: Following forum's rules.
Reply With Quote
  #8   (View Single Post)  
Old 3rd May 2014
gkbsd's Avatar
gkbsd gkbsd is offline
Port Guard
 
Join Date: Jun 2013
Posts: 23
Default

Quote:
Originally Posted by ocicat View Post
Discussion of net/dnscrypt-proxy build errors have been separated from the parent thread:

http://daemonforums.org/showthread.p...0477#post50477

...as discussion has moved from network connectivity issues to port build issues.

We have found that most members of this site mine the archives for past discussions. To make searching simpler, we ask members to keep to a single subject in message threads as directed by the thread's initial post. If conversation moves into a new direction, please start a new thread. Limiting discussion to a single subject in each thread also aids readers who are learning new technologies along with those where English is not their first language.

This is also covered in the forum's rules.
Sorry just saw your message, I will be careful about not mixing things together.

Dnscrypt is now compiled and working.

Regards,
Guillaume.
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
please check my pf for any errors Thank You whispersGhost OpenBSD Security 9 20th April 2012 08:57 PM
Security DNSCrypt: a tool to encrypt all DNS traffic J65nko News 0 8th December 2011 08:13 PM
pkgdb errors maxrussell FreeBSD Ports and Packages 1 22nd May 2009 11:06 AM
apache log errors ijk FreeBSD Ports and Packages 4 13th July 2008 03:56 PM
lang/pcc build errors JMJ_coder NetBSD Package System (pkgsrc) 1 17th June 2008 02:00 AM


All times are GMT. The time now is 12:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick