tintin
tintin copied to clipboard
Update BSD section in install guide
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:
- pkg_add pcre
- ftp https://downloads.sf.net/tintin/tintin-2.02.41.tar.gz
- tar -zxvf tintin-2.02.41.tar.gz
- cd tt/src
All very boring, but the next part is why I believe adding this to the website guide may be worthwhile:
- pcre-config --cflags
- pcre-config --libs-cpp
Take the -I and the -L flag and replace them with the output of cflags and libs-cpp respectively.
- ./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
- make CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
- make install
Thank you for your consideration!
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
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!