scandum / tintin

TinTin++, aka tt++, is an extensible console MUD client.
https://tintin.mudhalla.net
GNU General Public License v3.0
204 stars 56 forks source link

Update BSD section in install guide #213

Open LAN-eD opened 9 months ago

LAN-eD commented 9 months ago

Good day!

I installed tintin on openbsd, and due to my insufficient experience it took me a while. The current BSD section of the install guide is very concise, but would it perhaps be possible to add to it? These are the steps I took to install tintin on Openbsd 7.4:

All very boring, but the next part is why I believe adding this to the website guide may be worthwhile:

Take the -I and the -L flag and replace them with the output of cflags and libs-cpp respectively.

Thank you for your consideration!

scandum commented 9 months ago

Thanks, tintin is generally not compiled with cpp though, so shouldn't it be as following?

pcre-config --cflags
pcre-config --libs

./configure CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
make CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
make install
LAN-eD commented 9 months ago

You are right.  It should be libs not CPP.
The output matches:

pcre-config --libs "-L/usr/local/lib -Wl,-R/usr/local/lib -lpcre" And thank you for adding the guide to the website!