ChanServ changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
AlaskanEmily has joined #haiku
<andreasdr[m]> Hi EureniaLoli. I remember all this :)
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
erysdren has quit [Quit: Konversation terminated!]
Maturi0n_ has joined #haiku
Maturi0n has quit [Ping timeout: 480 seconds]
raymondmendoza has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
erysdren has joined #haiku
talos has joined #haiku
<pairisto[m]> is there a way to use the headers found in the headers directory of the source code in an already compiled and running system? I am trying to access the posix headers in particular.
<augiedoggie> why can't you use the headers that get installed?
<erysdren> i think those same headers are available on a regular system install, or after installing the haiku_devel package
<pairisto[m]> mostly because openvpn uses a lot of functions that are posix related
<pairisto[m]> unless the net headers that haiku has have the same functions that are in arpa/inet.h, netdb.h, if.h, and in6.h
<augiedoggie> like erysdren said, those are part of the haiku_devel package
<pairisto[m]> how would I access those to include them in a file? like arpa/inet.h because I have already tried that in particular and it doesn't work
<erysdren> sounds like your compiler or whatever isn't properly including the system header directory
<raymondmendoza> Could OpenVPN be looking for "Linuxisms" rather than being full POSIX?
<pairisto[m]> maybe? for openvpn I am trying to put them in syshead.h (https://github.com/OpenVPN/openvpn/blob/master/src/openvpn/syshead.h) since that is what gets included in every file I am getting an error from.
<pairisto[m]> s/I am getting an error from//
<pairisto[m]> after I ran ./configure after installing the devel packages for lzo, lz4, and openpam it works fine then when I run make it errors out saying certain functions are undefined which would be defined via a posix header
<raymondmendoza> I can't say for sure that's what is going on, but so much open source software just looks for Linux hooks. It makes it a pain to port things (even to the BSDs).
<augiedoggie> sounds like something is wrong with the configure script, perhaps it needs -lsocket to find those symbols
<erysdren> yeah
<erysdren> to get Quakespasm to compile on Haiku i had to add -lnetwork
<augiedoggie> yeah, -lnetwork
<erysdren> while on Linux those are just added implicitly from POSIX
* augiedoggie tired
<erysdren> or whatever
<erysdren> augiedoggie: afaik SunOS uses -lsocket -lnsl -lresolv
<erysdren> that's what the makefile for Quakespasm specifies under Sun anyway
<pairisto[m]> where would that be added in the config file?
<pairisto[m]> generally speaking
<erysdren> can you link to the original configure file?
<erysdren> i dunno where it is from that github link
<augiedoggie> if you just want to test it you can usually use 'LDFLAGS=-lnetworks ./configure ......'
<augiedoggie> er, -lnetwork no s on the end
<pairisto[m]> that worked! thank you augiedoggie & erysdren
<erysdren> awesome!
<augiedoggie> nice
<pairisto[m]> also, erysdren turns out the confiure file isn't in the github but it is at the .tar version of it here -> https://swupdate.openvpn.org/community/releases/openvpn-2.6.4.tar.gz
<pairisto[m]> hopefully that works, had to type it manually
<pairisto[m]> lol now make install fails now
<pairisto[m]> s//the next step `/, s//`/
<erysdren> where is it trying to install it?
<pairisto[m]> s//the next step `/, s//`/
<pairisto[m]> trying to figure that out currently
<erysdren> if it's unix-centric then it might be trying to go to /usr/bin or something
<erysdren> which is not valid on haiku
<pairisto[m]> in /usr/local/include/
<erysdren> yep nope
<pairisto[m]> lol
<erysdren> you'll wanna do some haiku magic for that
<erysdren> hmm
<erysdren> so basically, you can invoke `finddir` from the shell
<augiedoggie> --prefix=/boot/home/config/non-packaged
<erysdren> with a bunch of different enums to get different system directories
<erysdren> here's a list of them
<erysdren> `finddir B_USER_NONPACKAGED_HEADERS_DIRECTORY` might be a good place to dump them
<pairisto[m]> sounds good, I'll try that
<augiedoggie> configure scripts almost always need to be run with --prefix
<augiedoggie> on Haiu
<augiedoggie> Haiku
<pairisto[m]> got it
<pairisto[m]> where would I put --prefix with make install?
<erysdren> i guess make install --prefix=x?
<pairisto[m]> didn't work
<pairisto[m]> not an option
<erysdren> ohh
<erysdren> the configure script needs to be run with --prefix
<erysdren> not make
<pairisto[m]> unless augiedoggie meant it with the configure script?
<erysdren> yeah that's what they saod
<erysdren> said*
<augiedoggie> yeahm LDFLAGS=-lnetwork ./configure --prefix=/boot/home/config/non-packaged
<augiedoggie> there are other args that you can use to change the layout, those are automatically handled by haikuporter in the build recipes though
<augiedoggie> include dir, shared stat dir, etc...
<augiedoggie> state*
<pairisto[m]> okay so make install worked but did give me an error when running being libtool: warning: remember to run 'libtool -- finish /usr/local/lib/openvpn/plugins?
<pairisto[m]> gave me it twice actually
<augiedoggie> that might be because you had a dirty build directory?
<augiedoggie> the file was configure and compiled with a different prefix from the one it was installed to
<pairisto[m]> I didn't add anything between make and make install? Is it because of where I put it in /boot/home/config/non-packaged/develop/headers?
<augiedoggie> try 'make distclean' before 'make install' maybe
<augiedoggie> might have to configure again after the distclean
<pairisto[m]> I'll try it without configuring it again and configuring it again after distclean
<pairisto[m]> apparently configure has to be run again nrm. but no warnings this time?
<pairisto[m]> don't know how to run it now though
<pairisto[m]> mostly because I don't know where it put the binary unless its in /boot/home/config/non-packaged/develop/headers
<augiedoggie> it probably isn't using the develop/headers subdirectory, you have to specify that during configure
<augiedoggie> commands are in bin, libraries are in lib, headers are in include
<pairisto[m]> I did specify develop/headers
<augiedoggie> as the prefix?
<pairisto[m]> yeah
<augiedoggie> no, prefix is the top level
<pairisto[m]> ah
<augiedoggie> that is a different arg to the configure script
<pairisto[m]> welp, time to redo it all
<pairisto[m]> still no dice
<augiedoggie> worked fine for me, the command is in sbin for this package
<pairisto[m]> what is the path sbin?
<augiedoggie> /boot/home/config/non-packaged/sbin
<pairisto[m]> thank you augiedoggie! No I just gotta edit some code and build it like this to test. thanks for helping me port it over!
<augiedoggie> :)
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
raymondmendoza has quit [Quit: Vision[]: i've been blurred!]
<pairisto[m]> s/it/openvpn/
raymondmendoza has joined #haiku
<erysdren> said*
<erysdren> oops
<erysdren> wrong chat
probono9 has quit [Quit: The Lounge - https://thelounge.github.io]
probono9 has joined #haiku
tuaris has quit [Quit: Leaving.]
frkazoid333 has quit [Remote host closed the connection]
frkazoid333 has joined #haiku
kinkinkijkin has joined #haiku
orealis has quit [Read error: Connection reset by peer]
dby has joined #haiku
orealis has joined #haiku
frkazoid333 has quit [Remote host closed the connection]
frkazoid333 has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
frkazoid333 has quit [Ping timeout: 480 seconds]
Diver has joined #haiku
<jessicah> sbin is just bin, haiku doesn't differentiate it
Begasus has joined #haiku
<Begasus> g'morning peeps
Begas_VM has joined #haiku
_Dario_ has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
HaikuUser has quit []
dby has quit [Quit: Vision[]: i've been blurred!]
<erysdren> howdy
<Begasus> 'lo erysdren
Begasus_32 has joined #haiku
<erysdren> does Haiku have GLUT?
<erysdren> i see the header in the source
<erysdren> but i don't really know how to link it
<erysdren> the cross-compiler complains that it can't find it
<erysdren> oh huh, it's in there
<jessicah> -lGL?
<jessicah> just a guess :p
<erysdren> ah i figured it out
<erysdren> it was just CMake being stupid
<Begasus> iirc system library, so must be included in the source/build
<PulkoMandy> pairisto[m]: I would recommend using haikuporter to compile openvpn. It will take care of most of the problems you're having and will allow to have something other developers can easily reproduce
<erysdren> GLUT seems pretty buggy on Haiku
<erysdren> i know it's not what i should be using, but i'm toying with an old GL library
<erysdren> it has a problem where it doesn't refresh the window
<erysdren> so if the window doesn't update, it does this
<erysdren> some kind of buffer redraw problem i'd guess
jmairboeck has joined #haiku
xet7 has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/eb2e570da049...c9561a29d38f
<botifico-c849d97b> [haikuports/haikuports] Begasus c9561a2 - zlib_ng, bump version (#8736)
pvalue has joined #haiku
nephele has joined #haiku
nephele has quit []
nephele has joined #haiku
<nekobot> [haiku/haiku] 86574d08dda8 - Update translations from Pootle
<nekobot> [haiku/haiku] autocommitter pushed 1 commit to master [hrev57039] - https://git.haiku-os.org/haiku/log/?qt=range&q=86574d08dda8+%5E958b83c3ed45
pvalue has quit [Quit: Vision[]: i've been blurred!]
dpirate has joined #haiku
AlaskanEmily has quit [Remote host closed the connection]
HaikuUser has joined #haiku
HaikuUser has quit []
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus> 32bit buildmaster down ...
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/c9561a29d38f...8a2416b63fe4
<botifico-c849d97b> [haikuports/haikuports] Begasus 8a2416b - xtrans, bump version (#8738)
nephele has quit [Quit: Vision[]: i've been blurred!]
Blendie has joined #haiku
gouchi has joined #haiku
selfish has quit [Ping timeout: 480 seconds]
Andros has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit [Remote host closed the connection]
HaikuUser has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/8a2416b63fe4...198ec0632e27
<botifico-c849d97b> [haikuports/haikuports] Begasus 198ec06 - xorg_sgml_doctools, bump version (#8739)
bjorkintosh has quit [Remote host closed the connection]
bjorkintosh has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/198ec0632e27...d3bc64b55213
<botifico-c849d97b> [haikuports/haikuports] Begasus d3bc64b - util_macros, bump version (#8740)
HaikuUser has joined #haiku
HaikuUser has quit []
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
Ampilin has joined #haiku
<Ampilin> good morning
gouchi has quit [Remote host closed the connection]
Ampilin has quit [Quit: Vision[]: i've been blurred!]
<pairisto[m]> that is the goal to use HaikuPorter but I was trying to mostly get it built first to see what was needed and transfer it over to HaikuPorter in a .recipe file I am making
puck_ has quit [Remote host closed the connection]
puck_ has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
xet7 has quit [Quit: Leaving]
gouchi has joined #haiku
gouchi has quit []
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
<Begas_VM> pairisto[m], you'd have to delete the *.la libraries in the recipe too
<Begas_VM> at least for the build/packaging it should be straight forward
selfish has joined #haiku
Guest120 has quit [Quit: Gateway shutdown]
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<Begas_VM> All 2 tests passed :)
<raymondmendoza> Awesome!
Andros has quit [Quit: Leaving]
AlaskanEmily has joined #haiku
FreeFull has joined #haiku
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
<Begasus> closing down for today, cu peeps
Begasus has quit [Quit: Leaving]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
moparisthebest has joined #haiku
moparisthebest is now known as Guest1520
<botifico-c849d97b> [haikuports/haikuports] diversys pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/d3bc64b55213...d019546ed476
<botifico-c849d97b> [haikuports/haikuports] jmairboeck d019546 - texlive_core: patch security issue in luatex (#8742)
<jmairboeck> That was fast! Thanks Diver!
<Diver> np :)
tqh has joined #haiku
tqh has quit [Quit: Leaving]
jmairboeck has quit [Quit: Konversation terminated!]
<andreasdr[m]> Hi there.
<andreasdr[m]> Whats going on here? :DDD
<erysdren> not much!
raymondmendoza has quit []
FreeFull has quit []
Diver has quit [Quit: Leaving.]
Diver has joined #haiku
tuaris has joined #haiku
selfish- has joined #haiku
selfish has quit [Ping timeout: 480 seconds]
Diver has quit [Ping timeout: 480 seconds]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
kinkinkijkin has quit [Quit: Leaving]
<pairisto[m]> why do I have to delete *.la libraries in the recipe?
<x512[m]> Because *.pc is usually used.
<pairisto[m]> so is it because of the heavy unix integration with them or just because they won't be used at all?
<x512[m]> *.la files are not used in Haiku.
<pairisto[m]> got it
<x512[m]> Haiku preferred library discovery method is pkgconfig.
<pairisto[m]> makes sense
sanzfc has joined #haiku