|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
how to use pkgsrc package
hi guys ,i want use miredo from pkgsrc ./net/miredo in openbsd ,but i donnt know how to do that ,thank you guys.
|
|
|||
pksrc not exists on OpenBSD!
and, miredo not exists on ports. (see: openports.pl)
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
|
|||
sorry for my bad english ,i just want to use this software in openbsd ,if it need build from its source code and some making adjustments,how should i do to make it ?
|
|
|||
Choose autoconf-2.69 and automake-1.16 when prompted.
Code:
$ doas pkg_add autoconf automake gettext-runtime gmake libJudy $ git clone https://git.remlab.net/git/miredo.git $ cd miredo $ sed -i '29d' libteredo/packets.c $ sed -i '29d' libteredo/relay.c $ sed -i '29d' libteredo/maintain.c $ sed -i 's,ifdef IP_MULTICAST_IF,if 0,g' libteredo/discovery.c $ sed -i '59 a \ > extern char **environ;' src/privproc.c $ sed -i '27d' src/relayd.c $ sed -i '65 a \ > extern char **environ;' src/relayd.c $ sed -i '26d' libtun6/tun6.c $ sed -i '29d' src/miredo.c $ sed -i '26d' src/conf.c $ sed -i '27d' src/main.c $ sed -i 's,gettext_noop,gettext,g' compat/fixups.h $ sed -i '26d' src/serverd.c $ sed -i '26d' libteredo/server.c $ sed -i '26d' src/checkconf.c $ AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -fiv $ CC=cc CXX=c++ CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib -lintl' ./configure $ sed -i 's,include/gettext.h,,g' Makefile $ gmake V=1 $ doas gmake install |
|
|||
@ibara thank you very much ,i know it must take your times and efforts,i do it follow your step one by one ,after several times try.i get the same result,i dont kown which step i was missing.if you fell disturb, that's ok to ignore me ,thank you again.
Quote:
|
|
|||
after pkg_add libtool ,everything work ok! thank you again @ibara
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
xcb-xinput in Pkgsrc | darktrym | NetBSD Package System (pkgsrc) | 4 | 4th January 2017 09:26 PM |
Cmake can't find a package dependency within Pkgsrc recipt | darktrym | NetBSD Package System (pkgsrc) | 3 | 20th November 2016 09:09 PM |
wip pkgsrc | kaludis | NetBSD Installation and Upgrading | 1 | 16th April 2014 02:54 AM |
Which is the latest package site for netbsd 5.1.2? (pkgsrc-2012Q1) | sotris99 | NetBSD Package System (pkgsrc) | 5 | 22nd June 2012 07:40 PM |
Which is the significance about pkgsrc-2009Q2 and pkgsrc-2009Q3? | aleunix | NetBSD Package System (pkgsrc) | 3 | 16th December 2009 07:19 AM |