Date: Thu, 01 Nov 2012 21:44:01 -0700 From: James Colannino <crankycyclops@gmail.com> To: freebsd-questions@freebsd.org Subject: Autotools, libraries and man pages: oh my! Message-ID: <50934F91.4030701@gmail.com>
next in thread | raw e-mail | index | archive | help
Hey everyone, So, I have a question. I have Makefile.am, configure.in and a file called dstring.pc.in (for a library of mine called dstring) for a project. It always built fine on Linux. My home is now FreeBSD. This is the first time I've tried to compile/install this library since moving away from Linux. I'm able to use autotools on FreeBSD to generate configure and Makefile.in, and can use gmake to compile and install it. Unfortunately, the man pages are installed to /usr/local/share/man instead of to /usr/local/man, which I thought the tools would've taken care of. Also, even though I see my library was successfully compiled and installed to /usr/local/lib, when I try to compile a program with gcc source.c -ldstring, I get: /usr/bin/ld: cannot find -ldstring Other open source projects I've seen have installed fine on FreeBSD just with the simple configure --prefix=/usr/local && make && make install. I'm not sure what's wrong with my own setup. Disclaimer: I have no idea what I'm doing :) Does anyone have a stab in the dark that might help me fix these things? I can send any of the three files above if you need to see them. Thanks so much everyone! James
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50934F91.4030701>