<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]>
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>
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!
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
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]